Where does this code need to be, that page.java?
On 7/20/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> There is an example in howards book. The code is something like:
> private void error(IValidationDelegate delegate, String componentId,
> String message, ValidationConstraint constraint) {
> IFormComponent component = (IFormComponent)
> getComponent(componentId);
> delegate.setFormComponent(component);
> delegate.record(message, constraint);
> }
>
>
> ציטוט Chris Chiappone:
> > My question is, say I have a select list in which the selected option
> > is "Choose One". The user forgot to choose one from the list so I
> > need to send an error back to the page and still maintain everything
> > in the form, like how a validator works. I also have the same case
> > when two fields do not match. How would I go about doing this?
> > Thanks.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
~chris