Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Multiline text in colum(As used in the NLS text editor)
Multiline text in colum [message #1282470] Wed, 02 April 2014 07:02 Go to next message
Dominic Hanlan is currently offline Dominic Hanlan
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 07:07 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias Nick
Messages: 163
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/
Re: Multiline text in colum [message #1282618 is a reply to message #1282475] Wed, 02 April 2014 11:30 Go to previous messageGo to next message
Dominic Hanlan is currently offline Dominic Hanlan
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 02:30 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias Nick
Messages: 163
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 08:29 Go to previous messageGo to next message
Dominic Hanlan is currently offline Dominic Hanlan
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 02:42 Go to previous message
Matthias Nick is currently offline Matthias Nick
Messages: 163
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: Wed Aug 20 09:01:35 EDT 2014

Powered by FUDForum. Page generated in 0.08948 seconds