On 11/7/06, Torsten Krah <[EMAIL PROTECTED]> wrote:
This would be sufficient but i would like to see it in the tlddoc too.
<snip/> Took a stab (site should be updated shortly): http://svn.apache.org/viewvc?view=rev&revision=472288 Please feel free to suggest further improvements to the brief addition above. -Rahul
Torsten Am Dienstag, den 07.11.2006, 06:29 -0500 schrieb [EMAIL PROTECTED]: > Er, that's not javadoc - that's comments inside the method. If this was moved to > the javadoc it would be sufficient IMHO. > > > Quoting [EMAIL PROTECTED]: > > > Hi > > > > It does if you read the javadoc for org.apache.shale.component.Token in the > > validate method: > > /** > > * <p>Perform superclass validations, then ensure that the specified > > input > > * value is acceptable at this point in time.</p> > > * > > * @param context <code>FacesContext</code> for the current request > > */ > > public void validate(FacesContext context) { > > > > // If any of the other input components in this form triggered > > // validation errors, we do NOT want to validate the token component > > // here, because that would erase the saved token and prevent the > > // subsequent valid resubmit from succeeding. > > // > > // WARNING - for this test to be successful, the token component must > > // be the last input component child of the parent form to be > > // processed > > if (context.getMaximumSeverity() != null) { > > ..... > > > > I think that maybe the wiki should mention this also though. > > > > > > Hermod > >
<snip/>