incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renzo Tomaselli <renzo.tomase...@tecnotp.it>
Subject Re: [Trinidad] Tomahawk dataScroller not working
Date Fri, 22 Dec 2006 10:39:52 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Matthias, I can try - although I still have to decide
whether to stay with Trinidad or not, and basically I know nothing
about Tomahawk internals.<br>
It was fairly surprising to spend a week to include Trinidad in an
already working project, without actually using any of its component,
just to discover that there is no way to have it running as it is. And
a fairly simple application: a tree, a data table, a few buttons.<br>
On the other way I feel attracted by promising features of Trinidad,
such as skinning, dialogs, ppr, etc. But I'm also feeling that mixing
up with Tomahawk is a kind of thin-ice skating game.<br>
-- Renzo<br>
</font><br>
Matthias Wessendorf wrote:
<blockquote
 cite="mid71235db40612220224u740453d8y3d28a435df5b5f49@mail.gmail.com"
 type="cite">Renzo,
  <br>
  <br>
perhaps you can help out and provide a fix for Tomahawk 777 ?
  <br>
  <br>
thx,
  <br>
Matthias
  <br>
  <br>
On 12/22/06, Renzo Tomaselli <a class="moz-txt-link-rfc2396E" href="mailto:renzo.tomaselli@tecnotp.it">&lt;renzo.tomaselli@tecnotp.it&gt;</a>
wrote:
  <br>
  <blockquote type="cite"><br>
&nbsp;Adam,
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; thanks, indeed now I found the Tomhawk-777 jira.
No way till they
fix
    <br>
it, my only chance to stay with Trinidad is to rewrite my dataTable
stuff
    <br>
through Trinidad-equivalent tr:table.
    <br>
&nbsp;The dataTable is by far one of mostly used components, can I expect
    <br>
equivalent functionalities in tr:table ? This is an overlapping area:
did
    <br>
anybody compare ?
    <br>
&nbsp;Thanks -- Renzo
    <br>
    <br>
    <br>
&nbsp;Adam Winer wrote:
    <br>
If I remember correctly, this is a bug in dataScroller - it assumes
    <br>
&nbsp;behavior of CommandLinkRenderer that is not at all guaranteed,
    <br>
&nbsp;in terms of encodeBegin()/encodeChildren()/encodeEnd() and
    <br>
where
    <br>
&nbsp;all the content gets written.
    <br>
    <br>
&nbsp;-- Adam
    <br>
    <br>
    <br>
&nbsp;On 12/21/06, Renzo Tomaselli <a class="moz-txt-link-rfc2396E" href="mailto:renzo.tomaselli@tecnotp.it">&lt;renzo.tomaselli@tecnotp.it&gt;</a>
wrote:
    <br>
    <br>
    <br>
&nbsp; Hi, I wonder if anybody succeeded in getting dataScroller working
under
    <br>
&nbsp;Trinidad. Mine doesn't work anymore since I updated my web.xml to
Trinidad
    <br>
&nbsp;stuff.
    <br>
&nbsp;A dataScroller such as:
    <br>
    <br>
&nbsp;&lt;t:dataScroller id="resultScroller"&nbsp;&nbsp; actionListener="#{
    <br>
&nbsp;resultBean.paginator}" ....&gt;
    <br>
    <br>
&nbsp;having a facet such as:
    <br>
    <br>
&nbsp;&lt;f:facet name="next"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;h:panelGroup rendered="true"&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h:commandButton
value="#{msg['result.scroller.next']}"
    <br>
&nbsp;styleClass="nextPrevious" action="#{resultBean.apply}"/&gt;
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;t:graphicImage
url="#{sessionBean.map['arrow-next']}"
    <br>
&nbsp;style="border: 1px""/&gt;
    <br>
&nbsp; &lt;/h:panelGroup&gt;
    <br>
&nbsp;&lt;/f:facet&gt;
    <br>
    <br>
&nbsp;is rendered as:
    <br>
    <br>
&nbsp;&lt;input id="_id50:result:_id409" name="_id50:result:_id409"
type="submit"
    <br>
&nbsp;value="next"
    <br>
    <br>
onclick="submitForm('_id50',1,{source:'_id50:result:_id409'});return
    <br>
false;"
    <br>
&nbsp;class="nextPrevious"&gt;
    <br>
&nbsp;&lt;img src="/AxxBrowser/images/arrow-next.gif" style="border:
1px"&gt;
    <br>
&nbsp;&lt;a id="_id50:result:resultScrollernext"
    <br>
&nbsp;name="_id50:result:resultScrollernext"
    <br>
    <br>
onclick="submitForm('_id50',1,{source:'_id50:result:resultScrollernext','_id50:result:resultScroller':'next'});return
    <br>
&nbsp;false;"
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
class="OraLink" href="#"&gt;&lt;/a&gt;
    <br>
    <br>
&nbsp;the image element has no "onclick" attribute anymore, thus is not
active,
    <br>
&nbsp;unlike the non-Trinidad version.
    <br>
&nbsp;Furthermore, "next" button submits, but result is not as before (I'm
still
    <br>
&nbsp;investigating about this).
    <br>
&nbsp;Any idea ?
    <br>
&nbsp;Thanks -- Renzo
    <br>
    <br>
    <br>
    <br>
    <br>
  </blockquote>
  <br>
  <br>
</blockquote>
</body>
</html>

Mime
View raw message