You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/09/22 00:32:23 UTC

[jira] Updated: (TOMAHAWK-409) Sandbox 'form' code not working

     [ http://issues.apache.org/jira/browse/TOMAHAWK-409?page=all ]

Martin Marinschek updated TOMAHAWK-409:
---------------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 1.1.4-SNAPSHOT
       Resolution: Fixed
         Assignee: Martin Marinschek

This had already been fixed on the HEAD. Thanks to Peter Muir for this patch still.

regards,

Martin

> Sandbox 'form' code not working
> -------------------------------
>
>                 Key: TOMAHAWK-409
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-409
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects 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
>         Assigned To: Martin Marinschek
>             Fix For: 1.1.4-SNAPSHOT
>
>         Attachments: Sandbox-form.patch
>
>
> 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