Servoy 6.1 web table forms

Release notes for Servoy betas

Servoy 6.1 web table forms

Postby djlapin » Wed Jul 25, 2012 7:38 pm

I heard (and read on the wiki) that the list forms on the web are now "true" scrolling list forms. However, they look the same to me. What has changed? Is there some setting that needs to be revised?

Thank you,
Don
djlapin
 
Posts: 309
Joined: Fri Feb 18, 2011 9:36 am
Location: San Francisco, CA

Re: Servoy 6.1 web table forms

Postby patrick » Wed Jul 25, 2012 8:23 pm

You need to enable this by calling

application.setUIProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true)
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Servoy 6.1 web table forms

Postby djlapin » Thu Jul 26, 2012 12:34 am

Thank you Patrick!

Don
djlapin
 
Posts: 309
Joined: Fri Feb 18, 2011 9:36 am
Location: San Francisco, CA

Re: Servoy 6.1 web table forms

Postby itgenetics » Sun Aug 05, 2012 4:50 pm

Can I ask a really dumb question please? Where do I put this? A start up script or on every form? Thanks
itgenetics
 
Posts: 63
Joined: Fri Apr 08, 2011 11:26 am
Location: Cambridge, UK

Re: Servoy 6.1 web table forms

Postby logicimpresa » Sun Aug 05, 2012 5:58 pm

Put the command in "onSolutionOpen" method of your solution.

Gianluca
User avatar
logicimpresa
 
Posts: 65
Joined: Sun May 01, 2011 3:58 pm
Location: Bernate Ticino (MI) - Italy

Re: Servoy 6.1 web table forms

Postby grahamg » Sun Aug 05, 2012 6:16 pm

application.setUIProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true); has been deprected so best to use:

application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true);
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Servoy 6.1 web table forms

Postby itgenetics » Sun Aug 05, 2012 6:54 pm

OK - I am getting The property TABLEVIEW_WC_DEFAULT_SCROLLABLE is undefined in APP_UI_PROPERTY
The method puClientProperty() is undefined for the type JSApplication
itgenetics
 
Posts: 63
Joined: Fri Apr 08, 2011 11:26 am
Location: Cambridge, UK

Re: Servoy 6.1 web table forms

Postby grahamg » Sun Aug 05, 2012 7:17 pm

Have added screenshot - this is not throwing any warnings for me with SV6.1 Final.

Can be found in Application/Constants/UIconstants
Attachments
Screen shot 2012-08-05 at 18.14.15.png
Screen shot 2012-08-05 at 18.14.15.png (17.07 KiB) Viewed 14554 times
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Servoy 6.1 web table forms

Postby itgenetics » Sun Aug 05, 2012 9:53 pm

Works like a charm! Thanks for the walk through.
itgenetics
 
Posts: 63
Joined: Fri Apr 08, 2011 11:26 am
Location: Cambridge, UK

Re: Servoy 6.1 web table forms

Postby itgenetics » Sun Aug 05, 2012 11:17 pm

I have found however - it does not appear to work on the application server? It works perfectly on the developer web client however....
itgenetics
 
Posts: 63
Joined: Fri Apr 08, 2011 11:26 am
Location: Cambridge, UK

Re: Servoy 6.1 web table forms

Postby Gabi Boros » Tue Aug 07, 2012 11:53 am

I just tested it on the application server, and it does work; make sure your
solution does set the client property when running from the application server, and
that it does it before touching any form
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania


Return to Latest Releases

Who is online

Users browsing this forum: No registered users and 15 guests

cron