>From: "James Reynolds" <[EMAIL PROTECTED]> 
>
> 
> I'm coding a cancel button on an update form. I've set its immediate 
> attribute to true, but that isn't skipping the client side validation. 
> Is there a way to do this, or must I only use server validation in this 
> case? 
> 

If you are using the JSF runtime commandButton or commandLink component, the 
JavaScript, "bCancel=true;", will be injected into the onclick event when the 
"immediate" is set to "true".

http://issues.apache.org/struts/browse/SHALE-37

Originally, this worked for all the "javax.faces.Command" family but it was 
just limited to the two JSF runtime command components due to a tomahawk 
component issue, http://issues.apache.org/struts/browse/SHALE-68.
 
Gary


> Thanks 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 

Reply via email to