I don't know if there's a blueprint, but the OptionalValidator
framework is one way to solve some of these issues.

http://wiki.apache.org/myfaces/OptionalValidationFramework

On 10/14/05, Navid Vahdat <[EMAIL PROTECTED]> wrote:
> Hi Guys!
>
> In a couple of my forms, I have to select a value from a list. If  my
> list were shorter I'd use a selectOneMenu. I'm expecting thousands of
> entries, though, and so I need to present the equivalent of a modal
> dialog to present a search and select dialog.
>
> In JSF I am stuck with the phased validation concept. If I don't use
> immediate, I can't leave the page and open the select dialog. Since the
> selected value is required itself, I can never complete the form. If I
> use immediate I loose all data in my form. When I have more than one of
> these required selectOne fields in a form, one gets always cleared, when
> the other is selected.
>
> Is there a kind of a blueprint for my problem? How could writing my own
> tag ease the problem?
>
> Cheers,
> Navid
>

Reply via email to