You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/06/20 05:02:32 UTC

[jira] Resolved: (TRINIDAD-69) h:commandButton with Image does not post x y coordinates with Trinidad as default renderer

     [ https://issues.apache.org/jira/browse/TRINIDAD-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved TRINIDAD-69.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2-core

Fixed - thanks for the report!

> h:commandButton with Image does not post x y coordinates with Trinidad as default renderer
> ------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-69
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-69
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.0-incubating-core
>         Environment: JRE 6
>            Reporter: Andy Jenkins
>            Assignee: Adam Winer
>             Fix For: 1.0.2-core
>
>
> With trinidad as the default renderer I can't get the x y coordinates of an image commandButton.
> With trinidad as the default renderer, here's what's POSTed:
>  org.apache.myfaces.trinidad.faces.FORM=pageContent%3AmapPanel%3AmapForm
>  org.apache.myfaces.trinidad.faces.STATE=%2140
> Without trinidad (using myFaces, same setup, just removing the default renderer):
>  pageContent%3AmapPanel%3AmapForm_SUBMIT=1
>  pageContent%3AmapPanel%3AmapForm%3A_idcl=
>  pageContent%3AmapPanel%3AmapForm%3A_link_hidden_=
> javax.faces.ViewState=rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAEycHQADi9ob21lUGFnZS50aWxl
>  pageContent%3AmapPanel%3AmapForm%3Amap.x=462
>  pageContent%3AmapPanel%3AmapForm%3Amap.y=241
> Notice the x=462 and y=241 params.
> Here's the commandButton usage:
>  <h:commandButton id="map" action="#{sessionMB.getOutcome}"
>     image="#{sessionMB.currentMapImage}"
>     onmousedown="ShowLoading(); return true;"
>     styleClass="mapClass">
>   <f:actionListener type="tv.faces.event.MapImageAction" />
>  </h:commandButton>
> tr:commandButton with icon also posts no coordinates.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.