Static and dynamic controles

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Static and dynamic controles

Postby markokrajnc » Wed Jul 01, 2009 1:50 am

Hello!

I have a question. What is the best strategy to mix static and dynamic controls?

My window consists partially of static controls which I build with GWT Designer and partially of dynamic controls which I build during the program execution. GET Designer tries to parse my dynamic code and wrongly interprets it (for example: changes my dynamic code or sets wrong properties in static code).

What are your guideline for such cases?

Marko Krajnc
http://www.cursor.si
Marko Krajnc
Founder and Director
Cursor d.o.o., Glavni trg 19 c, SI-2000 Maribor, Slovenia
http://www.cursor.si
markokrajnc
 
Posts: 10
Joined: Tue Aug 19, 2008 10:09 pm

Re: Static and dynamic controles

Postby Eric Clayberg » Wed Jul 01, 2009 5:29 am

You can use code hiding tags to hide any code that you want from the parser.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Static and dynamic controles

Postby markokrajnc » Mon Jul 06, 2009 7:09 am

Thank you!
Marko Krajnc
Founder and Director
Cursor d.o.o., Glavni trg 19 c, SI-2000 Maribor, Slovenia
http://www.cursor.si
markokrajnc
 
Posts: 10
Joined: Tue Aug 19, 2008 10:09 pm

Re: Static and dynamic controles

Postby Eric Clayberg » Mon Jul 06, 2009 8:02 am

I'm glad that worked for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest