You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ba...@Koopmanint.com on 2008/06/24 09:25:35 UTC

[Trinidad] + Facelets + RichFaces / Ajax4JSF

Hi,

We're very happy using Trinidad components on Facelets, running on a 
Glassfish (v2) server, hence using the Sun RI JSF implementation. One of 
the few features that Trinidad is missing is drag-and-drop support. I 
tried to add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has 
the ability to add AJAX functions to existing JSF components. However, I 
did not succeed in my attempt. It seems tuning the web.xml is a very 
delicate matter. Every time I try to add RichFaces, the whole application 
breaks.

Does someone have any experience with the combination of Trinidad 
components, Facelets pages, Sun RI JSF implementation and additional 
RichFaces / Ajax4JSF components? Or does anybody have a alternative 
suggestion on how to add drag-and-drop support to Trinidad components?

Best regards,
Bart Kummel

PS
I already asked a similar question on the RichFaces user forum 
(http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it 
seems very quiet there...

Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Ba...@Koopmanint.com.
Hi Stephen,

Thanks for pointing me at that example. I will have a look at it.

Best regards,
Bart Kummel




Stephen Friedrich <tr...@eekboom.com> 
24-06-2008 17:07
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
MyFaces Discussion <us...@myfaces.apache.org>
cc

Subject
Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF






Have a look at the Seam Framework's seamdiscs example.
It uses both Trinidad and RichFaces. Have not tried it myself, though.

For example it makes this slightly mysterious statement in 
trinidad-config.xml:

    <!-- Improve a4j compatibility -->
     <accessibility-mode>inaccessible</accessibility-mode>

Bart.Kummel@Koopmanint.com wrote:
> 
> Hi,
> 
> We're very happy using Trinidad components on Facelets, running on a 
> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of 

> the few features that Trinidad is missing is drag-and-drop support. I 
> tried to add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which 
> has the ability to add AJAX functions to existing JSF components. 
> However, I did not succeed in my attempt. It seems tuning the web.xml is 

> a very delicate matter. Every time I try to add RichFaces, the whole 
> application breaks.
> 
> Does someone have any experience with the combination of Trinidad 
> components, Facelets pages, Sun RI JSF implementation and additional 
> RichFaces / Ajax4JSF components? Or does anybody have a alternative 
> suggestion on how to add drag-and-drop support to Trinidad components?
> 
> Best regards,
> Bart Kummel
> 
> PS
> I already asked a similar question on the RichFaces user forum 
> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it 
> seems very quiet there...



Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Stephen Friedrich <tr...@eekboom.com>.
Have a look at the Seam Framework's seamdiscs example.
It uses both Trinidad and RichFaces. Have not tried it myself, though.

For example it makes this slightly mysterious statement in trinidad-config.xml:

    <!-- Improve a4j compatibility -->
     <accessibility-mode>inaccessible</accessibility-mode>

Bart.Kummel@Koopmanint.com wrote:
> 
> Hi,
> 
> We're very happy using Trinidad components on Facelets, running on a 
> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of 
> the few features that Trinidad is missing is drag-and-drop support. I 
> tried to add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which 
> has the ability to add AJAX functions to existing JSF components. 
> However, I did not succeed in my attempt. It seems tuning the web.xml is 
> a very delicate matter. Every time I try to add RichFaces, the whole 
> application breaks.
> 
> Does someone have any experience with the combination of Trinidad 
> components, Facelets pages, Sun RI JSF implementation and additional 
> RichFaces / Ajax4JSF components? Or does anybody have a alternative 
> suggestion on how to add drag-and-drop support to Trinidad components?
> 
> Best regards,
> Bart Kummel
> 
> PS
> I already asked a similar question on the RichFaces user forum 
> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it 
> seems very quiet there...


Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Matthias Wessendorf <ma...@apache.org>.
Bart,

in the wiki we have some documentation about that.

-Matthias
[1] http://wiki.apache.org/myfaces/Trinidad

On Wed, Jun 25, 2008 at 12:21 AM,  <Ba...@koopmanint.com> wrote:
>
> Hi Cagatay,
>
> Yes, I get several exceptions at deploytime. But I don't have the server log
> anymore. At the moment I'm working at another project, that has higher
> priority. I'll post the exact exceptions when I have time to try it again.
>
> Best regards,
> Bart
>
>
>
> "Cagatay Civici" <ca...@gmail.com>
>
> 25-06-2008 08:15
>
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
> To
> "MyFaces Discussion" <us...@myfaces.apache.org>
> cc
> Subject
> Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF
>
>
>
>
> Hi Bart,
>
> Sorry, I don't have the example anymore.
>
> Do you get an exception when you add RichFaces?
>
> Cagatay
>
> On Wed, Jun 25, 2008 at 9:10 AM, <Ba...@koopmanint.com> wrote:
>
> Hi Cagatay,
>
> Can you recall any special configuration that you had to do to let Trinidad
> and Ajax4JSF coexist in the same application? I cannot get my application
> deployed without errors when I try to combine them both...
>
> Best regards,
> Bart Kummel
>
>
> "Cagatay Civici" <ca...@gmail.com>
>
> 24-06-2008 16:04
>
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
> To
> "MyFaces Discussion" <us...@myfaces.apache.org>
> cc
> Subject
> Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF
>
>
>
>
>
>
> I've tried to combine these two for an experimental project, other than the
> ppr stuff, it was fine.
>
> Ajax4JSF and Trinidad PPR doesn't play well.
>
> On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <ma...@apache.org>
> wrote:
> On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
>>
>> Hi,
>>
>> We're very happy using Trinidad components on Facelets, running on a
>> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of
>> the
>> few features that Trinidad is missing is drag-and-drop support. I tried to
>> add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the
>> ability
>> to add AJAX functions to existing JSF components. However, I did not
>> succeed
>> in my attempt. It seems tuning the web.xml is a very delicate matter.
>> Every
>> time I try to add RichFaces, the whole application breaks.
>>
>> Does someone have any experience with the combination of Trinidad
>> components, Facelets pages, Sun RI JSF implementation and additional
>> RichFaces / Ajax4JSF components? Or does anybody have a alternative
>> suggestion on how to add drag-and-drop support to Trinidad components?
>
> here is the myfaces lists are several reports, that kinda indicate that
> these
> too don't work well together.
>
> :(
>
> -Matthias
>>
>> Best regards,
>> Bart Kummel
>>
>> PS
>> I already asked a similar question on the RichFaces user forum
>> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it
>> seems
>> very quiet there...
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Ba...@Koopmanint.com.
Hi Cagatay,

Yes, I get several exceptions at deploytime. But I don't have the server 
log anymore. At the moment I'm working at another project, that has higher 
priority. I'll post the exact exceptions when I have time to try it again.

Best regards,
Bart




"Cagatay Civici" <ca...@gmail.com> 
25-06-2008 08:15
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
"MyFaces Discussion" <us...@myfaces.apache.org>
cc

Subject
Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF






Hi Bart,

Sorry, I don't have the example anymore.

Do you get an exception when you add RichFaces?

Cagatay

On Wed, Jun 25, 2008 at 9:10 AM, <Ba...@koopmanint.com> wrote:

Hi Cagatay, 

Can you recall any special configuration that you had to do to let 
Trinidad and Ajax4JSF coexist in the same application? I cannot get my 
application deployed without errors when I try to combine them both... 

Best regards, 
Bart Kummel 



"Cagatay Civici" <ca...@gmail.com> 
24-06-2008 16:04 


Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
"MyFaces Discussion" <us...@myfaces.apache.org> 
cc

Subject
Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF








I've tried to combine these two for an experimental project, other than 
the ppr stuff, it was fine.

Ajax4JSF and Trinidad PPR doesn't play well.

On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <ma...@apache.org> 
wrote: 
On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
>
> Hi,
>
> We're very happy using Trinidad components on Facelets, running on a
> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of 
the
> few features that Trinidad is missing is drag-and-drop support. I tried 
to
> add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the 
ability
> to add AJAX functions to existing JSF components. However, I did not 
succeed
> in my attempt. It seems tuning the web.xml is a very delicate matter. 
Every
> time I try to add RichFaces, the whole application breaks.
>
> Does someone have any experience with the combination of Trinidad
> components, Facelets pages, Sun RI JSF implementation and additional
> RichFaces / Ajax4JSF components? Or does anybody have a alternative
> suggestion on how to add drag-and-drop support to Trinidad components?

here is the myfaces lists are several reports, that kinda indicate that 
these
too don't work well together.

:(

-Matthias
>
> Best regards,
> Bart Kummel
>
> PS
> I already asked a similar question on the RichFaces user forum
> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it 
seems
> very quiet there...



--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org 



Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Cagatay Civici <ca...@gmail.com>.
Hi Bart,

Sorry, I don't have the example anymore.

Do you get an exception when you add RichFaces?

Cagatay

On Wed, Jun 25, 2008 at 9:10 AM, <Ba...@koopmanint.com> wrote:

>
> Hi Cagatay,
>
> Can you recall any special configuration that you had to do to let Trinidad
> and Ajax4JSF coexist in the same application? I cannot get my application
> deployed without errors when I try to combine them both...
>
> Best regards,
> Bart Kummel
>
>
>
>  *"Cagatay Civici" <ca...@gmail.com>*
>
> 24-06-2008 16:04
>  Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>   To
> "MyFaces Discussion" <us...@myfaces.apache.org>  cc
>   Subject
> Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF
>
>
>
>
> I've tried to combine these two for an experimental project, other than the
> ppr stuff, it was fine.
>
> Ajax4JSF and Trinidad PPR doesn't play well.
>
> On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <*m...@apache.org>>
> wrote:
> On Tue, Jun 24, 2008 at 12:25 AM,  <*B...@koopmanint.com>>
> wrote:
> >
> > Hi,
> >
> > We're very happy using Trinidad components on Facelets, running on a
> > Glassfish (v2) server, hence using the Sun RI JSF implementation. One of
> the
> > few features that Trinidad is missing is drag-and-drop support. I tried
> to
> > add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the
> ability
> > to add AJAX functions to existing JSF components. However, I did not
> succeed
> > in my attempt. It seems tuning the web.xml is a very delicate matter.
> Every
> > time I try to add RichFaces, the whole application breaks.
> >
> > Does someone have any experience with the combination of Trinidad
> > components, Facelets pages, Sun RI JSF implementation and additional
> > RichFaces / Ajax4JSF components? Or does anybody have a alternative
> > suggestion on how to add drag-and-drop support to Trinidad components?
>
> here is the myfaces lists are several reports, that kinda indicate that
> these
> too don't work well together.
>
> :(
>
> -Matthias
> >
> > Best regards,
> > Bart Kummel
> >
> > PS
> > I already asked a similar question on the RichFaces user forum
> > (*http://jboss.com/index.html?module=bb&op=viewtopic&t=137717*<http://jboss.com/index.html?module=bb&op=viewtopic&t=137717>),
> but it seems
> > very quiet there...
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: *http://matthiaswessendorf.wordpress.com/*<http://matthiaswessendorf.wordpress.com/>
> sessions: *http://www.slideshare.net/mwessendorf*<http://www.slideshare.net/mwessendorf>
> mail: matzew-at-apache-dot-org
>
>

Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Jun 24, 2008 at 7:04 AM, Cagatay Civici
<ca...@gmail.com> wrote:
> I've tried to combine these two for an experimental project, other than the
> ppr stuff, it was fine.
>
> Ajax4JSF and Trinidad PPR doesn't play well.

that's due to the fact of no standard way for communication channels
JSF 2 may fix that
when they use the open ajax hub
but... not sure if that really happens

Which is of course, not a good answerer to your problem.

-Matthias

>
> On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <ma...@apache.org>
> wrote:
>>
>> On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
>> >
>> > Hi,
>> >
>> > We're very happy using Trinidad components on Facelets, running on a
>> > Glassfish (v2) server, hence using the Sun RI JSF implementation. One of
>> > the
>> > few features that Trinidad is missing is drag-and-drop support. I tried
>> > to
>> > add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the
>> > ability
>> > to add AJAX functions to existing JSF components. However, I did not
>> > succeed
>> > in my attempt. It seems tuning the web.xml is a very delicate matter.
>> > Every
>> > time I try to add RichFaces, the whole application breaks.
>> >
>> > Does someone have any experience with the combination of Trinidad
>> > components, Facelets pages, Sun RI JSF implementation and additional
>> > RichFaces / Ajax4JSF components? Or does anybody have a alternative
>> > suggestion on how to add drag-and-drop support to Trinidad components?
>>
>> here is the myfaces lists are several reports, that kinda indicate that
>> these
>> too don't work well together.
>>
>> :(
>>
>> -Matthias
>> >
>> > Best regards,
>> > Bart Kummel
>> >
>> > PS
>> > I already asked a similar question on the RichFaces user forum
>> > (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it
>> > seems
>> > very quiet there...
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> further stuff:
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> mail: matzew-at-apache-dot-org
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Ba...@Koopmanint.com.
Hi Cagatay,

Can you recall any special configuration that you had to do to let 
Trinidad and Ajax4JSF coexist in the same application? I cannot get my 
application deployed without errors when I try to combine them both...

Best regards,
Bart Kummel




"Cagatay Civici" <ca...@gmail.com> 
24-06-2008 16:04
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


To
"MyFaces Discussion" <us...@myfaces.apache.org>
cc

Subject
Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF






I've tried to combine these two for an experimental project, other than 
the ppr stuff, it was fine.

Ajax4JSF and Trinidad PPR doesn't play well.

On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <ma...@apache.org> 
wrote:
On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
>
> Hi,
>
> We're very happy using Trinidad components on Facelets, running on a
> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of 
the
> few features that Trinidad is missing is drag-and-drop support. I tried 
to
> add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the 
ability
> to add AJAX functions to existing JSF components. However, I did not 
succeed
> in my attempt. It seems tuning the web.xml is a very delicate matter. 
Every
> time I try to add RichFaces, the whole application breaks.
>
> Does someone have any experience with the combination of Trinidad
> components, Facelets pages, Sun RI JSF implementation and additional
> RichFaces / Ajax4JSF components? Or does anybody have a alternative
> suggestion on how to add drag-and-drop support to Trinidad components?

here is the myfaces lists are several reports, that kinda indicate that 
these
too don't work well together.

:(

-Matthias
>
> Best regards,
> Bart Kummel
>
> PS
> I already asked a similar question on the RichFaces user forum
> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it 
seems
> very quiet there...



--
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org


Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Cagatay Civici <ca...@gmail.com>.
I've tried to combine these two for an experimental project, other than the
ppr stuff, it was fine.

Ajax4JSF and Trinidad PPR doesn't play well.

On Tue, Jun 24, 2008 at 5:00 PM, Matthias Wessendorf <ma...@apache.org>
wrote:

> On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
> >
> > Hi,
> >
> > We're very happy using Trinidad components on Facelets, running on a
> > Glassfish (v2) server, hence using the Sun RI JSF implementation. One of
> the
> > few features that Trinidad is missing is drag-and-drop support. I tried
> to
> > add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the
> ability
> > to add AJAX functions to existing JSF components. However, I did not
> succeed
> > in my attempt. It seems tuning the web.xml is a very delicate matter.
> Every
> > time I try to add RichFaces, the whole application breaks.
> >
> > Does someone have any experience with the combination of Trinidad
> > components, Facelets pages, Sun RI JSF implementation and additional
> > RichFaces / Ajax4JSF components? Or does anybody have a alternative
> > suggestion on how to add drag-and-drop support to Trinidad components?
>
> here is the myfaces lists are several reports, that kinda indicate that
> these
> too don't work well together.
>
> :(
>
> -Matthias
> >
> > Best regards,
> > Bart Kummel
> >
> > PS
> > I already asked a similar question on the RichFaces user forum
> > (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it
> seems
> > very quiet there...
>
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org
>

Re: [Trinidad] + Facelets + RichFaces / Ajax4JSF

Posted by Matthias Wessendorf <ma...@apache.org>.
On Tue, Jun 24, 2008 at 12:25 AM,  <Ba...@koopmanint.com> wrote:
>
> Hi,
>
> We're very happy using Trinidad components on Facelets, running on a
> Glassfish (v2) server, hence using the Sun RI JSF implementation. One of the
> few features that Trinidad is missing is drag-and-drop support. I tried to
> add it via the "Ajax4Jsf" (a4j) approach of RichFaces, which has the ability
> to add AJAX functions to existing JSF components. However, I did not succeed
> in my attempt. It seems tuning the web.xml is a very delicate matter. Every
> time I try to add RichFaces, the whole application breaks.
>
> Does someone have any experience with the combination of Trinidad
> components, Facelets pages, Sun RI JSF implementation and additional
> RichFaces / Ajax4JSF components? Or does anybody have a alternative
> suggestion on how to add drag-and-drop support to Trinidad components?

here is the myfaces lists are several reports, that kinda indicate that these
too don't work well together.

:(

-Matthias
>
> Best regards,
> Bart Kummel
>
> PS
> I already asked a similar question on the RichFaces user forum
> (http://jboss.com/index.html?module=bb&op=viewtopic&t=137717), but it seems
> very quiet there...



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org