You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Vinaya Tirikkovalluru <vi...@converge.com> on 2009/04/28 22:55:52 UTC

Including a jsp

Hi,

 

I have a 2 jsps included in a jsp.

The 2 jsps are physically the same but I had to write them as 2
different jsps as I needed to pass a different set of values

 

Like....

 

 Have a jsp with users grouped into 2 categories A and B

 

A.jsp is a jsp with the list of all the users with Category A 

B.jsp represents B.

 

the jsps have a datatables, which has

value="#{aUser.dataModel}" for A.jsp and value="#{bUser.dataModel}" for
B.jsp

 

Is there any way, I can pass this dynamically and have a single jsp?

 

Thanks

Vinaya

 



This electronic message is intended only for the use of the individual(s) or entity(ies) named above and may contain information which is privileged and/or confidential.  If you are not the intended recipient, be aware that any disclosure, copying, distribution, dissemination or use of the contents of this message is prohibited.  If you received this message in error, please notify the sender immediately.