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