Looks like a bug needing a JIRA issue.
-- Adam
On 6/19/07, andy jenkins <[EMAIL PROTECTED]> wrote:
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 POSTed:
org.apache.myfaces.trinidad.faces.FORM=pageContent%3AmapPanel%3AmapForm
org.apache.myfaces.trinidad.faces.STATE=%2140
Without trinidad (using myFaces):
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.
But now our trinidad tables won't render without trinidad being the
default renderer.
So:
a. how could I fix the commandButton to work with trinidad?
b. how could I remove trinidad as the default renderer but still use
the trinidad tables?
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>
Many thanks,
Andy.