myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TRINIDAD-69) h:commandButton with Image does not post x y coordinates with Trinidad as default renderer
Date Mon, 25 Jun 2007 16:38:26 GMT

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

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

    Resolution: Fixed

OK, now it's fully fixed.

> 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.


Mime
View raw message