Processing order of components in a JSP page

Hi,

If you place two components in the same JSP page with the same data model (let's say a simple checkbox and a outputText that renders the state of it), you can find that one is rendered _before_ the values are applied to the datamodel by the other (the outputText is processed and then the datamodel is updated with the checkbox state).

Do you know any workaround for this problem (like forcing a component to be processed first) ?

Thanks in advance,

Juan

[490 byte] By [Juan_M.a] at [2007-10-2 3:59:55]
«« help
»» local access
# 1

Hi,

I am new to JSF, and for this reason not sure if I am correct, but if you use Creator:

1-set Page Layout to Grid Layout

2-then order your components in the application outline by dragging.

As far as I understand, the processing order is controlled by application outline.If you choose grid layout the placement of your components become independent of their execution order which can be controlled by application outline.

Akif

maolcaya at 2007-7-15 23:21:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I'm not using Creator, but I'm curious about that application layout. Do you know how changing the elements in that layout affects the code ?Regards,Juan
Juan_M.a at 2007-7-15 23:21:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
This was solved in this thread http://forum.java.sun.com/thread.jspa?threadID=678183&tstart=0Sorry for the double posting -too many hours in front of the computer-.Regards,Juan
Juan_M.a at 2007-7-15 23:21:46 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...