Sandbox 'form' code not working
-------------------------------
Key: TOMAHAWK-409
URL: http://issues.apache.org/jira/browse/TOMAHAWK-409
Project: MyFaces Tomahawk
Type: Bug
Versions: 1.1.3-SNAPSHOT
Environment: 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)
Reporter: Peter Muir
Fix For: 1.1.3-SNAPSHOT
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) ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira