Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Multiline text in colum(As used in the NLS text editor)
Multiline text in colum [message #1282470] Wed, 02 April 2014 11:02 Go to next message
Dominic Hanlan is currently offline Dominic HanlanFriend
Messages: 98
Registered: July 2009
Member
Hi,

is this a special function of the IDE or is it possible in a scout application? When the cell is selected it shows a multiline area.

Regards
Re: Multiline text in colum [message #1282475 is a reply to message #1282470] Wed, 02 April 2014 11:07 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Dominic,

I am not sure if I understood correctly, do you mean this kind of feature?

index.php/fa/17874/0/
  • Attachment: multiline.png
    (Size: 56.17KB, Downloaded 416 times)
Re: Multiline text in colum [message #1282618 is a reply to message #1282475] Wed, 02 April 2014 15:30 Go to previous messageGo to next message
Dominic Hanlan is currently offline Dominic HanlanFriend
Messages: 98
Registered: July 2009
Member
Hi,

that is exactly what I'm looking for. Is it in the demo? If so I'll down load that and take a look at the source.

Regards
Re: Multiline text in colum [message #1283198 is a reply to message #1282618] Thu, 03 April 2014 06:30 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Dominic,
yes you are right, this is in the Widget demo app. Instructions on how to install the demo apps can be found here: https://wiki.eclipse.org/Scout/Demo.

Once you have installed the widget demo app, goto "TableField", make a rightclick on the table and create a new "company". Then, click on this new company and it will be like in my screenshot.

If you need any further help, let me know.

Best regards,
Matthias

Re: Multiline text in colum [message #1283443 is a reply to message #1283198] Thu, 03 April 2014 12:29 Go to previous messageGo to next message
Dominic Hanlan is currently offline Dominic HanlanFriend
Messages: 98
Registered: July 2009
Member
Hi,

just visited the Cloudbees link for the widget demo and found that the behavior is a single line text entry field. Is this not the version that you were demonstrating above??
Imported the project set using the URL in the SDK and couldn't see any multi line settings just multi select for the company name field??

What have I missed??

Regards



Re: Multiline text in colum [message #1286882 is a reply to message #1283443] Mon, 07 April 2014 06:42 Go to previous message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Dominic,
sorry, I was too unprecise.

Try the following in your table:

@Order(10.0)
public class Table extends AbstractTable {

 @Override
 protected boolean getConfiguredMultilineText() {
  return true;
 }

 ...



Best regards,
Matthias
Previous Topic:Checking field validity
Next Topic:Preventing a form or page being closed
Goto Forum:
  


Current Time: Thu Apr 25 09:02:40 GMT 2024

Powered by FUDForum. Page generated in 0.02867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top