Scott O'Bryan schrieb:
Tobias,
These mechanism's are not compatible. They are, essentially, two
different AJAX mechanisms. Do you mind me asking what AJAX4JSF
provides that Trinidad doesn't out of the box? In other words, why is
Trinidad's AJAX mechanism not sufficient.
Hi Scott!
I think the Trinidad approach is better, because only the listener has
to know the event source and not vice versa. But I am tempted (and
ordered by my boss) to use richfaces wherever possible - it seems to be
a more monolithic system and looks nicer without having to fight with
all those css. The other thing is i really need a tag like I described
which updates on every request and couldnt find it in Trinidad.
Greetings,
Tobias Kilian
<http://dict.leo.org/ende?lp=ende&p=eL4jU.&search=system>
AJAX4JSF is intended to make a non-ajax enabled renderkit work like an
ajax enabled one and it seems unnecessarily complex if your renderkit
is ajax-enabled to begin with.
Scott
Tobias Kilian wrote:
Hi All!
I want to use Trinidad together with ajax4jsf (richfaces), and have
problems using the two different ppr-mechanisms together.
Trinidad uses the attribute partialTriggers="list of components,
whose events update this component"
while a4j uses reRender="list of components to update on this.Event"
These seem to be contrairy mechanisms and im sure they both have been
discussed long before I got to know jsf.
However the question is, how can they be used together? AFAIK i can
neither have a trinidad component be a listener for an a4j component
nor let an a4j component reRender a trinidad component.
Another thing is i have a tr:messages wich i want to be updated on
every ajax request.
Is there any component to realize auto-update on every ppr-request?
In a4j there is <a4j:outputPanel ajaxRendered="true"> which does
exactly what i want, but - same as above - only for requests
originating from a4j components.
Thanks for any light on this,
Tobias Kilian