Chris,
Do you have XML declaration at the beginning of your Facelets document?
Try getting rid of it. The issue is that Facelets compiler sends all XML
instructions
to the rendered output. When Trinidad renders PPR response, it sends its
own XML declaration,
so you may end up with two. You can use Firebug to see what the PPR
response looks like
to see if my theory is right or not.
Max
Dreher, Markus wrote:
Hi Chris,
we've got a similar problem.
The tree does not react when expanding a node.
Try setting the facelets context parameter in web.xml:
<context-param>
<param-name>facelets.REFRESH_PERIOD</param-name>
<param-value>-1</param-value>
</context-param>
Markus
-----Ursprüngliche Nachricht-----
Von: C J [mailto:[email protected]]
Gesendet: Dienstag, 27. Oktober 2009 01:49
An: [email protected]
Cc: [email protected]
Betreff: [Trinidad] tr:treeTable PPR not refreshing with facelets
I have set up a Trinidad tr:treeTable (and tr:tree) using PPR, but the tree is not refreshed upon clicking a RowDisclosureEvent. The RowDisclosureEvents are received by my event handler. If I press F5, the nodes are redisplayed as they should be.
I am running Facelets 1.1.14 and Trinidad 1.2.11. Has anyone encountered problems using PPR with Trinidad's tree controls? Does anyone know of PPR problems or other reasons why Trinidad will not act as advertised? Can anyone who's used Trinidad's tree offer some suggestions for resolving PPR?
-Chris
Abonnieren Sie unseren Infobrief und erfahren Sie regelmäßig die neuesten
Nachrichten über unsere Lösungen, aktuellen Projekte und Entwicklungen. Melden
sie sich an mit diesem Link http://www.datenzentrale.de/Info-Brief
_______________________________________________________________________________
Datenzentrale Baden-Württemberg, Anstalt des öffentlichen Rechts
Krailenshaldenstr. 44, 70469 Stuttgart
Telefon (0711) 8108-0, Telefax (0711) 8108-350
E-Mail [email protected], Internet www.datenzentrale.de
Vorstand: Karl Tramer (Vors.) und Harald Schätzle, Vorsitzender des
Verwaltungsrats: Gunter Czisch
USt-Id-Nr. DE147794223
_______________________________________________________________________________