Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-24 Thread daniel ccss
Thanks Jacob but I found a better solution on this page: http://www.nearinfinity.com/blogs/michael_bevels/dynamic_forms_using_jsf.html Thanks!!! On Tue, Feb 23, 2010 at 11:42 AM, Jakob Korherr jakob.korh...@gmail.comwrote: great! So you can use JSTL tags (c:if or c:choose) to determine the

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-24 Thread Jakob Korherr
You're welcome! However if you use such a solution, you will maybe run into different problems regarding the binding of the panelGrid (e.g. which scope are you using to bind it? session? what if you have multiple tabs/windows open on one machine?..). On my opinion it would be a lot better to

Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread daniel ccss
Hi all, I have a question: Does anyone have an example of how to paint a JSP from a Backing Bean ( I´m using myfaces tomahawk.)? I have a table in the db that indicades what types of fields the JSP will have. For example 1 = t:inputText 1= t:inputText 2= h:selectOneMenu 3= t:commandLink I

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread Jakob Korherr
hi, what jsf version are you using? 1.1, 1.2 or 2.0? Regards, Jakob 2010/2/23, daniel ccss danielcc...@gmail.com: Hi all, I have a question: Does anyone have an example of how to paint a JSP from a Backing Bean ( I´m using myfaces tomahawk.)? I have a table in the db that indicades what

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread daniel ccss
Thanks, 1.2 why?? On Tue, Feb 23, 2010 at 9:58 AM, Jakob Korherr jakob.korh...@gmail.comwrote: hi, what jsf version are you using? 1.1, 1.2 or 2.0? Regards, Jakob 2010/2/23, daniel ccss danielcc...@gmail.com: Hi all, I have a question: Does anyone have an example of how to paint a

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread Jakob Korherr
great! So you can use JSTL tags (c:if or c:choose) to determine the component to be rendered! So something like this should work: c:if test=#{bean.componenttype == 1} h:outputText value=#{bean.value} / /c:if Regards, Jakob 2010/2/23, daniel ccss danielcc...@gmail.com: Thanks, 1.2