users@jsf-extensions.java.net

Re: Adding dynamic content

From: Nasim_sa <nasim.breeze_at_gmail.com>
Date: Sat, 27 Oct 2007 03:48:05 -0700 (PDT)

Of course you can,you an fine a smart sample here with ful details,if you
need more to know please email to me:
http://www.velocityreviews.com/forums/t363859-dynamic-forms.html Dynamic
Input field generation-velocity


Scott-181 wrote:
>
> Does anyone know of an easy way to create dynamic fields on a JSF page
> based on the selection of a combo box? My combo box has constraint types
> listed in it, one of them being a range. For instance, the user can
> specify that an integer value must be between a minimum and maximum value.
> When this constraint is selected, I want to create a min and a max field
> as inputs and dynamically create them on the page. I want to be able to
> have these fields be h:inputText fields.
>
> Any ideas? For now, unless there is a cooler way, I am going to try
> creating all the different constraint edits within div tags and simply
> disable the fields and hide the divs. Then with an onchange event on the
> selection I can bring the appropriate field to the forefront.
>
> Thanks,
>
> Scott
>

-- 
View this message in context: http://www.nabble.com/Adding-dynamic-content-tf4684804.html#a13441910
Sent from the jsf-extensions users mailing list archive at Nabble.com.