If I remember correctly, this is a bug in dataScroller - it assumes
behavior of CommandLinkRenderer that is not at all guaranteed,
in terms of encodeBegin()/encodeChildren()/encodeEnd() and where
all the content gets written.

-- Adam


On 12/21/06, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:

 Hi, I wonder if anybody succeeded in getting dataScroller working under
Trinidad. Mine doesn't work anymore since I updated my web.xml to Trinidad
stuff.
A dataScroller such as:

<t:dataScroller id="resultScroller"   actionListener="#{
resultBean.paginator}" ....>

having a facet such as:

<f:facet name="next">
    <h:panelGroup rendered="true">
        <h:commandButton value="#{msg['result.scroller.next']}"
styleClass="nextPrevious" action="#{resultBean.apply}"/>
        <t:graphicImage url="#{sessionBean.map['arrow-next']}"
style="border: 1px""/>
 </h:panelGroup>
</f:facet>

is rendered as:

<input id="_id50:result:_id409" name="_id50:result:_id409" type="submit"
value="next"

onclick="submitForm('_id50',1,{source:'_id50:result:_id409'});return false;"
class="nextPrevious">
<img src="/AxxBrowser/images/arrow-next.gif" style="border: 1px">
<a id="_id50:result:resultScrollernext"
name="_id50:result:resultScrollernext"

onclick="submitForm('_id50',1,{source:'_id50:result:resultScrollernext','_id50:result:resultScroller':'next'});return
false;"
                class="OraLink" href="#"></a>

the image element has no "onclick" attribute anymore, thus is not active,
unlike the non-Trinidad version.
Furthermore, "next" button submits, but result is not as before (I'm still
investigating about this).
Any idea ?
Thanks -- Renzo


Reply via email to