Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.3-SNAPSHOT
-
None
-
None
-
MyFaces 1.1.2, Tomahawk 1.1.3-SNAPSHOT (CVS as of 02/05/2006),Tomahawk-Sandbox 1.1.3-SNAPSHOT (CVS as of 02/05/2006)
Description
The Sandbox form component allows the action attribute to be manually specified 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) ?