I would have created an issue on JIRA but the Sandbox JIRA link points to the
Tomahawk issue tracker which has no categories for Sandbox components.

The Sandbox form component allows the action attribute to be manually
specified (which I am using to set the action to j_security_check for
logging in using Jboss Security).  It does this by overriding the
getActionUrl(FacesContext facesContext, UIForm form) method. However the
HtmlFormRendererBase class's encodeBegin method calls
getActionUrl(facesContext) meaning that, in fact the
getActionUrl(FacesContext facesContext, UIForm form) in the subclass isn't
called.

I can't see any way using getActionUrl(facesContext) to alter the forms
action attribute so, as a work around I've written my own custom form
component which overrides encodeBegin.  Is it possible that
HtmlFormRendererBase can be altered so it uses getActionUrl(FacesContext
facesContext, UIForm form) ?

Best

Peter
--
View this message in context: 
http://www.nabble.com/Sandbox-form-component-bug-t1539106.html#a4181286
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to