This again makes me think that JSF model should seperate processValidations phase to processConversions and processValidations:)
On 4/3/07, Volker Weber <[EMAIL PROTECTED]> wrote:
Hi, have you thought about immediate="true" on the picker ? regards, Volker 2007/4/3, Marko Asplund <[EMAIL PROTECTED]>: > I have a form where users can input data through text fields that are > each accompanied with an icon the user can click to popup a select > list window that will populate the corresponding text field value. > This is similar to the date picker component functionality. When the > user clicks on the select list popup icon I would need to update the > current values of the other form fields to the model (which affect the > select list content). > > Some components have the required attribute set which would result in > validation phase failing if these fields haven't been filled by the > user. The list item picker should allow empty values for required > fields, however. > > What would be the best way to implement this sort of behaviour? > > One option I came up with was to create a custom Validator that would > be registered for the required components. The validator would then > conditionally allow missing values based on the processing state > (allow empty values with list item picker action, disallow with form > "submit"). How should the current processing state information be > communicated to the validator? > > > marko >

