DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37932>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37932





------- Additional Comments From [EMAIL PROTECTED]  2006-01-10 06:13 -------
Created an attachment (id=17376)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17376&action=view)
patch for another approach 

This is another approach to fix client side validation for an immediate
command.  This approach is based on a comment from David Geary that Renderer
should be decorated like the ViewHandler.

The shale view handler creates a wrapper RenderKit that decorates the original.
 The wrapper overrides the getRenderer() method creating a decorator for the
renderer's of the "javax.faces.Command" family and then re-registering with the
RenderKit.

This approach seems cleaner than hard coding the RI and myfaces renderers in
the source. We might also create our own decorated renderer's configuration
file making this a feature that could be applied to all components.

We could also add logic to fix the commandLink java script error in the RI. 
The form onsubmit event is not invoked making client side validation
nonfunctional using the commandLink component.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to