You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by nikkomarc <ma...@gmail.com> on 2007/11/07 01:04:22 UTC

Accessing a managed bean in a phase listener?

Is it possible to access managed bean (session) in my phase listener. 
Specifically, how would I access it in the afterPhase method?

    public void afterPhase(PhaseEvent event) {
        
    }

Thank you,

Marc
-- 
View this message in context: http://www.nabble.com/Accessing-a-managed-bean-in-a-phase-listener--tf4761876.html#a13618833
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: My Faces & Ajax

Posted by Gerhard Petracek <ge...@gmail.com>.
hello shipra,

there are several libraries for jsf supporting ajax (ajax4jsf is just one
out of many).
e.g. there is trinidad which uses a different name for ajax (ppr ... partial
page rendering)

maybe it's a good idea to evaluate different component libraries (to choose
one for your project).

however, trinidad will solve your described scenario in a very easy fashion.
more details at: http://myfaces.apache.org/trinidad/devguide/ppr.html

live demos and other interesting information you will find at:
http://myfaces.apache.org/trinidad/

regards,
gerhard



2007/11/20, SJain@sperianprotection.com <SJ...@sperianprotection.com>:
>
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the
> best way ? A link to some examples / site would be helpful. I have seen lot
> of mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the
> whole page is refreshed & it comes to the top of the page . The user has to
> scroll down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without refreshing
> the page or at least come back to the same place ? Am I on the right track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra




-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: Migration to myfaces 1.2.0

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

if I were you, I'd wait for the 1.2.1 of MyFaces. That is out soon and
contains lot's of fixes and cool enhancement, all provided by this
community!
I noticed that there were some *discussions* on Tomahawk and myfaces
1.2x, but I can't tell about it.

My apps (trinidad 1.2. + myfaces 1.2) work nicely.

-Matthias

On Nov 28, 2007 9:32 AM,  <Pa...@anicasystem.com.pl> wrote:
>
> Hi,
>
> I have an application perfectly running on:
> - Tomcat 6.0.14,
> - Myfaces 1.1.5,
> - Tomahawk 1.1.6,
> - latest RichFaces.
>
> I would like to migrate to myfaces 1.2.0 , and I would like to know what
> steps should I follow to succeed. Of course I tried to simply replace the
> old myfaces library with the new one, but then the deployed application has
> a lot of errors (jscookmenu not renders, nlp exceptions in almost every
> situation). I googled and searched withing this mailing list but I've not
> found answers. I just need brief information and also your opinion if moving
> to myfaces 1.2.0 is worth of efforts at all.
>
> Thanks in advance!
>
>
> --
>  Regards
>  Paweł Czerwiński
>



-- 
Matthias Wessendorf

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

Re: Trinidad Ajax

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

I know all the "issues" with not able to use IE w/ activated ActiveX.
Sure, a solution is possible, but it is (as always) a matter of time.

Are you willing to help out on this?

I'll also check our internal requirements, since we have also
customers, that may "upgrade"
to Trinidad, coming from ADF Faces 10.x.

Can you file an issue in our jira w/ some details, that we don't forget it?

Thx,
Matthias

On Nov 28, 2007 1:38 PM, Goerss, Jan <ja...@hypoport.de> wrote:
>
> The problem is that our customers are banking houses.
> They define the security constrains (IE5.5+ with deactivated ActiveX).
>
> We use Trinidad 1.2.1 and we can't switch to latest version of Trinidad with AJAX.
>
> I hope, a fallback option is possible, otherwise we can't use the latest version of Trinidad and our project can work with Trinidad version 1.2.1 only.
> The problems are with this constrain:
>   - we get no bugfixing more
>   - we can't use new components and features (new releases)
>   - we can't use new trinidad development
>
>
> I hope a solution is possible.
>
> Thanks,
>
> Jan
>
>
> -----Ursprüngliche Nachricht-----
> Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag von Matthias Wessendorf
> Gesendet: Mittwoch, 28. November 2007 11:04
> An: MyFaces Discussion
> Betreff: Re: Trinidad Ajax
>
>
> Hi Jan,
>
> yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> There is no way to use IFrame instead of XHR.
>
> This will remain, because Ajax is pretty common these days and
> other JSF-libs have that as well.
>
> Providing an option to "fallback" might be possible, but not sure if that
> will be done.
>
> Is "IE 5.5" really still supported by M$?
> If not, I'd strongly recommend to kick that guy out.
> Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
>
> I am not aware of a solution for that.
>
> Do you have any ideas ?
>
> -Matthias
>
> On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >
> >
> >
> >
> > Hello all,
> >
> >
> >
> > we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> > AJAX and the XmlHttpRequest object.
> >
> >
> >
> > We are using Trinidad is the finance sector. There it is normal that the
> > clients use the Internet Explorer with deactivated ActiveX.
> >
> > Furthermore they use not the newest browsers, so we although need to support
> > at least IE 5.5+.
> >
> >
> >
> > At the beginning of our project we decide to take Trinidad because of it's
> > IFrame-PPR solution.
> >
> >
> >
> > It seems as if it is not possible to choose between the two modes: PPR or
> > AJAX.
> >
> >
> >
> > Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> > library users will encounter problems with their clientsJ
> >
> >
> >
> > Thanks in advance,
> >
> > Jan
> >
> >
> >
> >
> >
> >
>
>
>
> --
> 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

AW: Trinidad Ajax

Posted by "Goerss, Jan" <ja...@hypoport.de>.
The problem is that our customers are banking houses.
They define the security constrains (IE5.5+ with deactivated ActiveX).

We use Trinidad 1.2.1 and we can't switch to latest version of Trinidad with AJAX.

I hope, a fallback option is possible, otherwise we can't use the latest version of Trinidad and our project can work with Trinidad version 1.2.1 only.
The problems are with this constrain:
  - we get no bugfixing more 
  - we can't use new components and features (new releases)
  - we can't use new trinidad development
 

I hope a solution is possible. 

Thanks,

Jan


-----Ursprüngliche Nachricht-----
Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag von Matthias Wessendorf
Gesendet: Mittwoch, 28. November 2007 11:04
An: MyFaces Discussion
Betreff: Re: Trinidad Ajax

Hi Jan,

yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
There is no way to use IFrame instead of XHR.

This will remain, because Ajax is pretty common these days and
other JSF-libs have that as well.

Providing an option to "fallback" might be possible, but not sure if that
will be done.

Is "IE 5.5" really still supported by M$?
If not, I'd strongly recommend to kick that guy out.
Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.

I am not aware of a solution for that.

Do you have any ideas ?

-Matthias

On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
>
>
>
>
> Hello all,
>
>
>
> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> AJAX and the XmlHttpRequest object.
>
>
>
> We are using Trinidad is the finance sector. There it is normal that the
> clients use the Internet Explorer with deactivated ActiveX.
>
> Furthermore they use not the newest browsers, so we although need to support
> at least IE 5.5+.
>
>
>
> At the beginning of our project we decide to take Trinidad because of it's
> IFrame-PPR solution.
>
>
>
> It seems as if it is not possible to choose between the two modes: PPR or
> AJAX.
>
>
>
> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> library users will encounter problems with their clientsJ
>
>
>
> Thanks in advance,
>
> Jan
>
>
>
>
>
>



-- 
Matthias Wessendorf

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

Re: Trinidad Ajax

Posted by Matthias Wessendorf <ma...@apache.org>.
> Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.

IE6 does...

>
> I am not aware of a solution for that.
>
> Do you have any ideas ?
>
> -Matthias
>
>
> On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >
> >
> >
> >
> > Hello all,
> >
> >
> >
> > we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> > AJAX and the XmlHttpRequest object.
> >
> >
> >
> > We are using Trinidad is the finance sector. There it is normal that the
> > clients use the Internet Explorer with deactivated ActiveX.
> >
> > Furthermore they use not the newest browsers, so we although need to support
> > at least IE 5.5+.
> >
> >
> >
> > At the beginning of our project we decide to take Trinidad because of it's
> > IFrame-PPR solution.
> >
> >
> >
> > It seems as if it is not possible to choose between the two modes: PPR or
> > AJAX.
> >
> >
> >
> > Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> > library users will encounter problems with their clientsJ
> >
> >
> >
> > Thanks in advance,
> >
> > Jan
> >
> >
> >
> >
> >
> >
>
>
>
> --
> 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 Ajax

Posted by Matthias Wessendorf <ma...@apache.org>.
regarding IE 5.5 I think it came up here on the list,
that MS isn't supporting anymore, so we also don't really :-)

On Nov 28, 2007 6:35 PM, Scott O'Bryan <da...@gmail.com> wrote:
> Jan,
>
> I understand that sometimes companies like this may be unwilling to
> change for security reasons, but the XHR is actually a more secure
> implementation.  Because of the nature of iframe, you are open to may
> more exploits then you will be using XHR.  This is because using XHR
> requires someone trying to exploit the system to familiar with the
> application being used whereas in the iframe case they need to know only
> that they are in a browser.
>
> If companies want to run in a secure environment, they really need to
> not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
> Trinidad had a minimum technical requirement of IE6 anyway.
>
> Scott
>
>
> Matthias Wessendorf wrote:
> > Hi Jan,
> >
> > yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> > There is no way to use IFrame instead of XHR.
> >
> > This will remain, because Ajax is pretty common these days and
> > other JSF-libs have that as well.
> >
> > Providing an option to "fallback" might be possible, but not sure if that
> > will be done.
> >
> > Is "IE 5.5" really still supported by M$?
> > If not, I'd strongly recommend to kick that guy out.
> > Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
> >
> > I am not aware of a solution for that.
> >
> > Do you have any ideas ?
> >
> > -Matthias
> >
> > On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >
> >>
> >>
> >> Hello all,
> >>
> >>
> >>
> >> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> >> AJAX and the XmlHttpRequest object.
> >>
> >>
> >>
> >> We are using Trinidad is the finance sector. There it is normal that the
> >> clients use the Internet Explorer with deactivated ActiveX.
> >>
> >> Furthermore they use not the newest browsers, so we although need to support
> >> at least IE 5.5+.
> >>
> >>
> >>
> >> At the beginning of our project we decide to take Trinidad because of it's
> >> IFrame-PPR solution.
> >>
> >>
> >>
> >> It seems as if it is not possible to choose between the two modes: PPR or
> >> AJAX.
> >>
> >>
> >>
> >> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> >> library users will encounter problems with their clientsJ
> >>
> >>
> >>
> >> Thanks in advance,
> >>
> >> Jan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>



-- 
Matthias Wessendorf

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

Re: Trinidad Ajax

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

file an issue in our jira, and we don't forget about it.

-Matthias

On Nov 28, 2007 7:09 PM, Matthias Wessendorf <ma...@apache.org> wrote:
> Didn't know that XHR is much more secure.
> However, I can see that at least some companies have restrictions to use IE6.
> In case they want IE6 w/ disabled ActiveX, the same issue ramains.
>
> Perhaps... we may introduce a "flag" for doing a fallback to IFrame...
> (like done w/ a context-param)
> Not sure if this is really worth to look at it, right now.
>
> The good thing for IE7 is, that this guy does support XHR :-)
>
> -Matthias
>
> On Nov 28, 2007 6:35 PM, Scott O'Bryan <da...@gmail.com> wrote:
>
> > Jan,
> >
> > I understand that sometimes companies like this may be unwilling to
> > change for security reasons, but the XHR is actually a more secure
> > implementation.  Because of the nature of iframe, you are open to may
> > more exploits then you will be using XHR.  This is because using XHR
> > requires someone trying to exploit the system to familiar with the
> > application being used whereas in the iframe case they need to know only
> > that they are in a browser.
> >
> > If companies want to run in a secure environment, they really need to
> > not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
> > Trinidad had a minimum technical requirement of IE6 anyway.
> >
> > Scott
> >
> >
> > Matthias Wessendorf wrote:
> > > Hi Jan,
> > >
> > > yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> > > There is no way to use IFrame instead of XHR.
> > >
> > > This will remain, because Ajax is pretty common these days and
> > > other JSF-libs have that as well.
> > >
> > > Providing an option to "fallback" might be possible, but not sure if that
> > > will be done.
> > >
> > > Is "IE 5.5" really still supported by M$?
> > > If not, I'd strongly recommend to kick that guy out.
> > > Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
> > >
> > > I am not aware of a solution for that.
> > >
> > > Do you have any ideas ?
> > >
> > > -Matthias
> > >
> > > On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> > >
> > >>
> > >>
> > >> Hello all,
> > >>
> > >>
> > >>
> > >> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> > >> AJAX and the XmlHttpRequest object.
> > >>
> > >>
> > >>
> > >> We are using Trinidad is the finance sector. There it is normal that the
> > >> clients use the Internet Explorer with deactivated ActiveX.
> > >>
> > >> Furthermore they use not the newest browsers, so we although need to support
> > >> at least IE 5.5+.
> > >>
> > >>
> > >>
> > >> At the beginning of our project we decide to take Trinidad because of it's
> > >> IFrame-PPR solution.
> > >>
> > >>
> > >>
> > >> It seems as if it is not possible to choose between the two modes: PPR or
> > >> AJAX.
> > >>
> > >>
> > >>
> > >> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> > >> library users will encounter problems with their clientsJ
> > >>
> > >>
> > >>
> > >> Thanks in advance,
> > >>
> > >> Jan
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> >
> >
>
>
>
>
> --
> 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 Ajax

Posted by Matthias Wessendorf <ma...@apache.org>.
Didn't know that XHR is much more secure.
However, I can see that at least some companies have restrictions to use IE6.
In case they want IE6 w/ disabled ActiveX, the same issue ramains.

Perhaps... we may introduce a "flag" for doing a fallback to IFrame...
(like done w/ a context-param)
Not sure if this is really worth to look at it, right now.

The good thing for IE7 is, that this guy does support XHR :-)

-Matthias

On Nov 28, 2007 6:35 PM, Scott O'Bryan <da...@gmail.com> wrote:
> Jan,
>
> I understand that sometimes companies like this may be unwilling to
> change for security reasons, but the XHR is actually a more secure
> implementation.  Because of the nature of iframe, you are open to may
> more exploits then you will be using XHR.  This is because using XHR
> requires someone trying to exploit the system to familiar with the
> application being used whereas in the iframe case they need to know only
> that they are in a browser.
>
> If companies want to run in a secure environment, they really need to
> not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
> Trinidad had a minimum technical requirement of IE6 anyway.
>
> Scott
>
>
> Matthias Wessendorf wrote:
> > Hi Jan,
> >
> > yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> > There is no way to use IFrame instead of XHR.
> >
> > This will remain, because Ajax is pretty common these days and
> > other JSF-libs have that as well.
> >
> > Providing an option to "fallback" might be possible, but not sure if that
> > will be done.
> >
> > Is "IE 5.5" really still supported by M$?
> > If not, I'd strongly recommend to kick that guy out.
> > Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
> >
> > I am not aware of a solution for that.
> >
> > Do you have any ideas ?
> >
> > -Matthias
> >
> > On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >
> >>
> >>
> >> Hello all,
> >>
> >>
> >>
> >> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> >> AJAX and the XmlHttpRequest object.
> >>
> >>
> >>
> >> We are using Trinidad is the finance sector. There it is normal that the
> >> clients use the Internet Explorer with deactivated ActiveX.
> >>
> >> Furthermore they use not the newest browsers, so we although need to support
> >> at least IE 5.5+.
> >>
> >>
> >>
> >> At the beginning of our project we decide to take Trinidad because of it's
> >> IFrame-PPR solution.
> >>
> >>
> >>
> >> It seems as if it is not possible to choose between the two modes: PPR or
> >> AJAX.
> >>
> >>
> >>
> >> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> >> library users will encounter problems with their clientsJ
> >>
> >>
> >>
> >> Thanks in advance,
> >>
> >> Jan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>



-- 
Matthias Wessendorf

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

Identifying which tab is disclosed in a disclosure listener

Posted by Richard Yee <ry...@cruzio.com>.
Hi,
Is there a way to determine which tab is being disclosed/undisclosed in 
a disclosure listener for a showDetailItem that is in a showOneTab? I am 
dynamically creating tabs based on the members of a family (ie. Father, 
Mother, Child1, Child2, etc.) The text and shortDesc attributes of the 
showDetailItem are used to display the person's name. Is there a way to 
attach additional information to the showDetailItem that is not 
displayed to the user and that can be used to identify the tab item. The 
text and shortDesc values cannot uniquely be used for identification 
because there can be more than one person in the family with the same name.

Thanks,

Richard


Re: Trinidad Ajax

Posted by Matthias Wessendorf <ma...@apache.org>.
MTR ?

I was not really speaking about Trinidad here.
Just wanted to let you guys know, that other folks are only supporting
IE7 and FF2.

Which makes life easier (for those folks)

-M

On Dec 4, 2007 5:13 PM, Scott O'Bryan <da...@gmail.com> wrote:
> Trinidad does have an MTR of IE6 and it works just fine as long as you
> can support XHR...  :)  If you want to be able to lock out ActiveX
> though, you'll need IE7..
>
>
> Scott
>
> Matthias Wessendorf wrote:
> > Hi,
> >
> > Just as a side-note;
> > I just ran across this link (see [1]).
> > Looks like Google (at least for Gmail) is also paying the
> > most attention to IE7 and FF2.
> >
> > I wouldn't wonder fix they skip FF2, once FF3 is available longer than 3 month.
> >
> > -Matthias
> >
> > [1] http://mail.google.com/mail/help/about_whatsnew.html
> >
> >
> >> If companies want to run in a secure environment, they really need to
> >> not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
> >> Trinidad had a minimum technical requirement of IE6 anyway.
> >>
> >> Scott
> >>
> >>
> >> Matthias Wessendorf wrote:
> >>
> >>> Hi Jan,
> >>>
> >>> yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> >>> There is no way to use IFrame instead of XHR.
> >>>
> >>> This will remain, because Ajax is pretty common these days and
> >>> other JSF-libs have that as well.
> >>>
> >>> Providing an option to "fallback" might be possible, but not sure if that
> >>> will be done.
> >>>
> >>> Is "IE 5.5" really still supported by M$?
> >>> If not, I'd strongly recommend to kick that guy out.
> >>> Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
> >>>
> >>> I am not aware of a solution for that.
> >>>
> >>> Do you have any ideas ?
> >>>
> >>> -Matthias
> >>>
> >>> On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >>>
> >>>
> >>>> Hello all,
> >>>>
> >>>>
> >>>>
> >>>> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> >>>> AJAX and the XmlHttpRequest object.
> >>>>
> >>>>
> >>>>
> >>>> We are using Trinidad is the finance sector. There it is normal that the
> >>>> clients use the Internet Explorer with deactivated ActiveX.
> >>>>
> >>>> Furthermore they use not the newest browsers, so we although need to support
> >>>> at least IE 5.5+.
> >>>>
> >>>>
> >>>>
> >>>> At the beginning of our project we decide to take Trinidad because of it's
> >>>> IFrame-PPR solution.
> >>>>
> >>>>
> >>>>
> >>>> It seems as if it is not possible to choose between the two modes: PPR or
> >>>> AJAX.
> >>>>
> >>>>
> >>>>
> >>>> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> >>>> library users will encounter problems with their clientsJ
> >>>>
> >>>>
> >>>>
> >>>> Thanks in advance,
> >>>>
> >>>> Jan
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>
> >
> >
> >
> >
>
>



-- 
Matthias Wessendorf

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

Re: Trinidad Ajax

Posted by Scott O'Bryan <da...@gmail.com>.
Trinidad does have an MTR of IE6 and it works just fine as long as you 
can support XHR...  :)  If you want to be able to lock out ActiveX 
though, you'll need IE7..

Scott

Matthias Wessendorf wrote:
> Hi,
>
> Just as a side-note;
> I just ran across this link (see [1]).
> Looks like Google (at least for Gmail) is also paying the
> most attention to IE7 and FF2.
>
> I wouldn't wonder fix they skip FF2, once FF3 is available longer than 3 month.
>
> -Matthias
>
> [1] http://mail.google.com/mail/help/about_whatsnew.html
>
>   
>> If companies want to run in a secure environment, they really need to
>> not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
>> Trinidad had a minimum technical requirement of IE6 anyway.
>>
>> Scott
>>
>>
>> Matthias Wessendorf wrote:
>>     
>>> Hi Jan,
>>>
>>> yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
>>> There is no way to use IFrame instead of XHR.
>>>
>>> This will remain, because Ajax is pretty common these days and
>>> other JSF-libs have that as well.
>>>
>>> Providing an option to "fallback" might be possible, but not sure if that
>>> will be done.
>>>
>>> Is "IE 5.5" really still supported by M$?
>>> If not, I'd strongly recommend to kick that guy out.
>>> Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
>>>
>>> I am not aware of a solution for that.
>>>
>>> Do you have any ideas ?
>>>
>>> -Matthias
>>>
>>> On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
>>>
>>>       
>>>> Hello all,
>>>>
>>>>
>>>>
>>>> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
>>>> AJAX and the XmlHttpRequest object.
>>>>
>>>>
>>>>
>>>> We are using Trinidad is the finance sector. There it is normal that the
>>>> clients use the Internet Explorer with deactivated ActiveX.
>>>>
>>>> Furthermore they use not the newest browsers, so we although need to support
>>>> at least IE 5.5+.
>>>>
>>>>
>>>>
>>>> At the beginning of our project we decide to take Trinidad because of it's
>>>> IFrame-PPR solution.
>>>>
>>>>
>>>>
>>>> It seems as if it is not possible to choose between the two modes: PPR or
>>>> AJAX.
>>>>
>>>>
>>>>
>>>> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
>>>> library users will encounter problems with their clientsJ
>>>>
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Jan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>>     
>
>
>
>   


Re: Trinidad Ajax

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

Just as a side-note;
I just ran across this link (see [1]).
Looks like Google (at least for Gmail) is also paying the
most attention to IE7 and FF2.

I wouldn't wonder fix they skip FF2, once FF3 is available longer than 3 month.

-Matthias

[1] http://mail.google.com/mail/help/about_whatsnew.html

> If companies want to run in a secure environment, they really need to
> not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought
> Trinidad had a minimum technical requirement of IE6 anyway.
>
> Scott
>
>
> Matthias Wessendorf wrote:
> > Hi Jan,
> >
> > yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> > There is no way to use IFrame instead of XHR.
> >
> > This will remain, because Ajax is pretty common these days and
> > other JSF-libs have that as well.
> >
> > Providing an option to "fallback" might be possible, but not sure if that
> > will be done.
> >
> > Is "IE 5.5" really still supported by M$?
> > If not, I'd strongly recommend to kick that guy out.
> > Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
> >
> > I am not aware of a solution for that.
> >
> > Do you have any ideas ?
> >
> > -Matthias
> >
> > On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
> >
> >>
> >>
> >> Hello all,
> >>
> >>
> >>
> >> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> >> AJAX and the XmlHttpRequest object.
> >>
> >>
> >>
> >> We are using Trinidad is the finance sector. There it is normal that the
> >> clients use the Internet Explorer with deactivated ActiveX.
> >>
> >> Furthermore they use not the newest browsers, so we although need to support
> >> at least IE 5.5+.
> >>
> >>
> >>
> >> At the beginning of our project we decide to take Trinidad because of it's
> >> IFrame-PPR solution.
> >>
> >>
> >>
> >> It seems as if it is not possible to choose between the two modes: PPR or
> >> AJAX.
> >>
> >>
> >>
> >> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> >> library users will encounter problems with their clientsJ
> >>
> >>
> >>
> >> Thanks in advance,
> >>
> >> Jan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
>



-- 
Matthias Wessendorf

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

Re: Trinidad Ajax

Posted by Scott O'Bryan <da...@gmail.com>.
Jan,

I understand that sometimes companies like this may be unwilling to 
change for security reasons, but the XHR is actually a more secure 
implementation.  Because of the nature of iframe, you are open to may 
more exploits then you will be using XHR.  This is because using XHR 
requires someone trying to exploit the system to familiar with the 
application being used whereas in the iframe case they need to know only 
that they are in a browser.

If companies want to run in a secure environment, they really need to 
not be running IE6, but rather Mozilla or IE7.  As for IE 5.5, I thought 
Trinidad had a minimum technical requirement of IE6 anyway.

Scott

Matthias Wessendorf wrote:
> Hi Jan,
>
> yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
> There is no way to use IFrame instead of XHR.
>
> This will remain, because Ajax is pretty common these days and
> other JSF-libs have that as well.
>
> Providing an option to "fallback" might be possible, but not sure if that
> will be done.
>
> Is "IE 5.5" really still supported by M$?
> If not, I'd strongly recommend to kick that guy out.
> Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.
>
> I am not aware of a solution for that.
>
> Do you have any ideas ?
>
> -Matthias
>
> On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
>   
>>
>>
>> Hello all,
>>
>>
>>
>> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
>> AJAX and the XmlHttpRequest object.
>>
>>
>>
>> We are using Trinidad is the finance sector. There it is normal that the
>> clients use the Internet Explorer with deactivated ActiveX.
>>
>> Furthermore they use not the newest browsers, so we although need to support
>> at least IE 5.5+.
>>
>>
>>
>> At the beginning of our project we decide to take Trinidad because of it's
>> IFrame-PPR solution.
>>
>>
>>
>> It seems as if it is not possible to choose between the two modes: PPR or
>> AJAX.
>>
>>
>>
>> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
>> library users will encounter problems with their clientsJ
>>
>>
>>
>> Thanks in advance,
>>
>> Jan
>>
>>
>>
>>
>>
>>
>>     
>
>
>
>   


Re: Trinidad Ajax

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

yes, we switched to XHR with the release of 1.0.2 (and 1.2.2).
There is no way to use IFrame instead of XHR.

This will remain, because Ajax is pretty common these days and
other JSF-libs have that as well.

Providing an option to "fallback" might be possible, but not sure if that
will be done.

Is "IE 5.5" really still supported by M$?
If not, I'd strongly recommend to kick that guy out.
Sure... only the IE7 doesn't require ActiveX for XHR, but IE does.

I am not aware of a solution for that.

Do you have any ideas ?

-Matthias

On Nov 28, 2007 10:48 AM, Goerss, Jan <ja...@hypoport.de> wrote:
>
>
>
>
> Hello all,
>
>
>
> we noticed that MyFaces Trinidad is changing the PPR mechanism towards real
> AJAX and the XmlHttpRequest object.
>
>
>
> We are using Trinidad is the finance sector. There it is normal that the
> clients use the Internet Explorer with deactivated ActiveX.
>
> Furthermore they use not the newest browsers, so we although need to support
> at least IE 5.5+.
>
>
>
> At the beginning of our project we decide to take Trinidad because of it's
> IFrame-PPR solution.
>
>
>
> It seems as if it is not possible to choose between the two modes: PPR or
> AJAX.
>
>
>
> Will this remain? If so why? Otherwise, we think that a lot of Trinidad
> library users will encounter problems with their clientsJ
>
>
>
> Thanks in advance,
>
> Jan
>
>
>
>
>
>



-- 
Matthias Wessendorf

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

Trinidad Ajax

Posted by "Goerss, Jan" <ja...@hypoport.de>.
Hello all,

 

we noticed that MyFaces Trinidad is changing the PPR mechanism towards
real AJAX and the XmlHttpRequest object.

 

We are using Trinidad is the finance sector. There it is normal that the
clients use the Internet Explorer with deactivated ActiveX. 

Furthermore they use not the newest browsers, so we although need to
support at least IE 5.5+.

 

At the beginning of our project we decide to take Trinidad because of
it's IFrame-PPR solution. 

 

It seems as if it is not possible to choose between the two modes: PPR
or AJAX.

 

Will this remain? If so why? Otherwise, we think that a lot of Trinidad
library users will encounter problems with their clients:-)

 

Thanks in advance, 

Jan

 

 

 


Migration to myfaces 1.2.0

Posted by Pa...@anicasystem.com.pl.
Hi, 

I have an application perfectly running on:
- Tomcat 6.0.14,
- Myfaces 1.1.5,
- Tomahawk 1.1.6,
- latest RichFaces.

I would like to migrate to myfaces 1.2.0 , and I would like to know what 
steps should I follow to succeed. Of course I tried to simply replace the 
old myfaces library with the new one, but then the deployed application 
has a lot of errors (jscookmenu not renders, nlp exceptions in almost 
every situation). I googled and searched withing this mailing list but 
I've not found answers. I just need brief information and also your 
opinion if moving to myfaces 1.2.0 is worth of efforts at all. 

Thanks in advance!


-- 
Regards
Paweł Czerwiński

Re: My Faces & Ajax

Posted by Gerhard Petracek <ge...@gmail.com>.
just as supplement (for the archive):

if you don't like to build it by hand - you will find builds at the
subdirectories of:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/
(alternative link: http://people.apache.org/builds/myfaces/ - already
mentioned at: http://www.nabble.com/Re%3A-My-Faces---Ajax-p13981870.html)

or add a maven dependency to your pom.xml
concerning the tomahawk and sandbox question e.g.:
<!-- tomahawk -->
        <dependency>
            <groupId>org.apache.myfaces.tomahawk</groupId>
            <artifactId>tomahawk</artifactId>
            <version>1.1.7-SNAPSHOT</version>
            <scope>compile</scope>
        </dependency>

<!-- tomahawk-sandbox -->
        <dependency>
            <groupId>org.apache.myfaces.tomahawk</groupId>
            <artifactId>tomahawk-sandbox</artifactId>
            <version>1.1.7-SNAPSHOT</version>
            <scope>compile</scope>
        </dependency>

regards,
gerhard



2007/11/27, Gerhard Petracek <ge...@gmail.com>:
>
> hello,
>
> you can checkout tomahawk only:
> svn checkout http://svn.apache.org/repos/asf/myfaces/tomahawk/trunktomahawk
> and build it:
> cd tomahawk
> mvn install
>
> -> you will also get the sandbox.
>
> for more details:
> http://wiki.apache.org/myfaces/Building_With_Maven
> (section: "For Tomahawk only")
>
> regards,
> gerhard
>
>
>
> 2007/11/27, SJain@sperianprotection.com <SJain@sperianprotection.com >:
> >
> >
> > Hi Gerald
> >
> > I looked at some of the examples of ppr & also focus components , that
> > might solve my issue . But where do I download the sandbox.jar from ?
> >
> > Thanks
> >
> > Shipra Jain
> > Lead System Software Engineer
> > Sperian
> > 900 Douglas Pike
> > Smithfield, RI 02917
> > 401-757-2332
> > http://www.sperianprotection.com
> >
> >
> >  *"Gerald Müllan" <ge...@gmail.com>*
> > Sent by: bierbrauen@gmail.com
> >
> > 11/21/2007 06:20 AM  Please respond to
> > "MyFaces Discussion" <us...@myfaces.apache.org>
> >
> >   To
> > "MyFaces Discussion" <us...@myfaces.apache.org>  cc
> >
> >  Subject
> > Re: My Faces & Ajax
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > if you are already using MyFaces I would suggest to have a quick look
> > at our sandbox-ajax stuff if it fits your needs.
> >
> > http://www.irian.at/myfaces-sandbox/home.jsf
> >
> > Go to the partial page rendering section at the very top of the page.
> > If you want to use it in your application you only have to add
> > the MyFaces sandbox jar and use the ppr component in the view layer.
> >
> > The advantage is that MyFaces Sandbox ppr is very lightweight and quite
> > fast.
> >
> > Please report if you have any questions to it.
> >
> > cheers,
> >
> > Gerald
> >
> > On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
> > >
> > > Can anyone tell me , if I want to use AJAX with My Faces , what is the
> > best
> > > way ? A link to some examples / site would be helpful. I have seen lot
> > of
> > > mails about a4j . Have people been using this library successfully ?
> > >
> > > My main issue is that after a valueChange Listener is triggered , the
> > whole
> > > page is refreshed & it comes to the top of the page . The user has to
> > scroll
> > > down to get to the place where he left .
> > > Can I use AJAX to make the necessary changed to my form without
> > refreshing
> > > the page or at least come back to the same place ? Am I on the right
> > track ?
> > > If not please point me to correct solution .
> > >
> > > All the help is appreciated .
> > >
> > > Shipra
> >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: My Faces & Ajax

Posted by Gerhard Petracek <ge...@gmail.com>.
hello,

you can checkout tomahawk only:
svn checkout http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk tomahawk
and build it:
cd tomahawk
mvn install

-> you will also get the sandbox.

for more details:
http://wiki.apache.org/myfaces/Building_With_Maven
(section: "For Tomahawk only")

regards,
gerhard



2007/11/27, SJain@sperianprotection.com <SJ...@sperianprotection.com>:
>
>
> Hi Gerald
>
> I looked at some of the examples of ppr & also focus components , that
> might solve my issue . But where do I download the sandbox.jar from ?
>
> Thanks
>
> Shipra Jain
> Lead System Software Engineer
> Sperian
> 900 Douglas Pike
> Smithfield, RI 02917
> 401-757-2332
> http://www.sperianprotection.com
>
>
>  *"Gerald Müllan" <ge...@gmail.com>*
> Sent by: bierbrauen@gmail.com
>
> 11/21/2007 06:20 AM  Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>   To
> "MyFaces Discussion" <us...@myfaces.apache.org>  cc
>
>  Subject
> Re: My Faces & Ajax
>
>
>
>
>
>
> Hi,
>
> if you are already using MyFaces I would suggest to have a quick look
> at our sandbox-ajax stuff if it fits your needs.
>
> http://www.irian.at/myfaces-sandbox/home.jsf
>
> Go to the partial page rendering section at the very top of the page.
> If you want to use it in your application you only have to add
> the MyFaces sandbox jar and use the ppr component in the view layer.
>
> The advantage is that MyFaces Sandbox ppr is very lightweight and quite
> fast.
>
> Please report if you have any questions to it.
>
> cheers,
>
> Gerald
>
> On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
> >
> > Can anyone tell me , if I want to use AJAX with My Faces , what is the
> best
> > way ? A link to some examples / site would be helpful. I have seen lot
> of
> > mails about a4j . Have people been using this library successfully ?
> >
> > My main issue is that after a valueChange Listener is triggered , the
> whole
> > page is refreshed & it comes to the top of the page . The user has to
> scroll
> > down to get to the place where he left .
> > Can I use AJAX to make the necessary changed to my form without
> refreshing
> > the page or at least come back to the same place ? Am I on the right
> track ?
> > If not please point me to correct solution .
> >
> > All the help is appreciated .
> >
> > Shipra
>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: My Faces & Ajax

Posted by Matthias Wessendorf <ma...@apache.org>.
On Nov 21, 2007 12:17 PM, Gerald Müllan <ge...@gmail.com> wrote:
> Hi,
>
> if you are already using MyFaces I would suggest to have a quick look
> at our sandbox-ajax stuff if it fits your needs.

I personally think, that the JSF Runtime (like MyFaces) doesn't make a
different.
Sandbox is fine, when already using Tomahawk, since the sandbox is a
"subproject" of
Tomahawk.

-M

>
> http://www.irian.at/myfaces-sandbox/home.jsf
>
> Go to the partial page rendering section at the very top of the page.
> If you want to use it in your application you only have to add
> the MyFaces sandbox jar and use the ppr component in the view layer.
>
> The advantage is that MyFaces Sandbox ppr is very lightweight and quite fast.
>
> Please report if you have any questions to it.
>
> cheers,
>
> Gerald
>
>
> On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
> >
> > Can anyone tell me , if I want to use AJAX with My Faces , what is the best
> > way ? A link to some examples / site would be helpful. I have seen lot of
> > mails about a4j . Have people been using this library successfully ?
> >
> > My main issue is that after a valueChange Listener is triggered , the whole
> > page is refreshed & it comes to the top of the page . The user has to scroll
> > down to get to the place where he left .
> > Can I use AJAX to make the necessary changed to my form without refreshing
> > the page or at least come back to the same place ? Am I on the right track ?
> > If not please point me to correct solution .
> >
> > All the help is appreciated .
> >
> > Shipra
>
>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>



-- 
Matthias Wessendorf

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

Re: My Faces & Ajax

Posted by SJ...@SperianProtection.com.
Hi Gerald

I looked at some of the examples of ppr & also focus components , that 
might solve my issue . But where do I download the sandbox.jar from ?

Thanks

Shipra Jain
Lead System Software Engineer
Sperian 
900 Douglas Pike
Smithfield, RI 02917
401-757-2332
http://www.sperianprotection.com



"Gerald Müllan" <ge...@gmail.com> 
Sent by: bierbrauen@gmail.com
11/21/2007 06:20 AM
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


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

Subject
Re: My Faces & Ajax






Hi,

if you are already using MyFaces I would suggest to have a quick look
at our sandbox-ajax stuff if it fits your needs.

http://www.irian.at/myfaces-sandbox/home.jsf

Go to the partial page rendering section at the very top of the page.
If you want to use it in your application you only have to add
the MyFaces sandbox jar and use the ppr component in the view layer.

The advantage is that MyFaces Sandbox ppr is very lightweight and quite 
fast.

Please report if you have any questions to it.

cheers,

Gerald

On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the 
best
> way ? A link to some examples / site would be helpful. I have seen lot 
of
> mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the 
whole
> page is refreshed & it comes to the top of the page . The user has to 
scroll
> down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without 
refreshing
> the page or at least come back to the same place ? Am I on the right 
track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: My Faces & Ajax

Posted by Gerhard Petracek <ge...@gmail.com>.
hello salvador,

here you will find some mails concerning books:
http://www.nabble.com/JSF-Book-tf4863667.html

generally you will find a lot of information at:
http://myfaces.apache.org
and
http://wiki.apache.org/myfaces/

trinidad online documentation:
http://myfaces.apache.org/trinidad/
e.g.:
http://myfaces.apache.org/trinidad/trinidad-api/tagdoc.html
http://myfaces.apache.org/trinidad/devguide/index.html
http://myfaces.apache.org/trinidad/skin-selectors.html

there are also a lot of on-line demos and of course a lot of other pages for
getting started...

however, improvement of the documentation is also in progress...

regards,
gerhard



2007/11/28, Bravo Villegas Salvador Francisco <SB...@sigmatao.com>:
>
>  Thanks 4 the welcome!
>
> Ok, I'm no so good with the programming but I'll try to do it by hand.
>
>
>
> Any book or manual that I could look at to learn a little bit more of
> this?
>
>
>  ------------------------------
>
> *De:* Gerhard Petracek [mailto:gerhard.petracek@gmail.com]
> *Enviado el:* Martes, 27 de Noviembre de 2007 03:07 p.m.
> *Para:* MyFaces Discussion
> *Asunto:* Re: My Faces & Ajax
>
>
>
> hello salvador,
>
> first of all: welcome @ myfaces!
>
> with trinidad:
> the logic for filtering data you have to implement by hand.
>
> however - at the moment there is a problem with sorting and filtering
> within the same table - for more details see:
> https://issues.apache.org/jira/browse/TRINIDAD-782
>
> regards,
> gerhard
>
>
>  2007/11/27, Bravo Villegas Salvador Francisco < SBRAVO@sigmatao.com>:
>
> Hi,
>
>
>
> I'm newbie in develop with myfaces.
>
> Someone know or have an example of how can I make a simulation in a table
> of an Excel autofilter in a table?
>
> This is how can I make in a combo box sorting and filtering at same time.
>
>
>
> Thanks in advance
>
> Salvador
>
>
>
> P.D. Sorry for my bad English.
>
>
>  ------------------------------
>
> *De:* SJain@SperianProtection.com [mailto: SJain@SperianProtection.com]
> *Enviado el:* Miércoles, 21 de Noviembre de 2007 08:38 a.m.
> *Para:* MyFaces Discussion
> *Asunto:* Re: My Faces & Ajax
>
>
>
>
> Thank you everyone . I'll try your suggestions
>
> Shipra Jain
> Lead System Software Engineer
> Sperian
> 900 Douglas Pike
> Smithfield, RI 02917
> 401-757-2332
> http://www.sperianprotection.com
>
> *"Gerald Müllan" < gerald.muellan@gmail.com>*
> Sent by: bierbrauen@gmail.com
>
> 11/21/2007 06:20 AM
>
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>    To
>
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
> cc
>
>
>
> Subject
>
> Re: My Faces & Ajax
>
>
>
>
>
>
>
>
>
>
> Hi,
>
> if you are already using MyFaces I would suggest to have a quick look
> at our sandbox-ajax stuff if it fits your needs.
>
> http://www.irian.at/myfaces-sandbox/home.jsf
>
> Go to the partial page rendering section at the very top of the page.
> If you want to use it in your application you only have to add
> the MyFaces sandbox jar and use the ppr component in the view layer.
>
> The advantage is that MyFaces Sandbox ppr is very lightweight and quite
> fast.
>
> Please report if you have any questions to it.
>
> cheers,
>
> Gerald
>
> On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
> >
> > Can anyone tell me , if I want to use AJAX with My Faces , what is the
> best
> > way ? A link to some examples / site would be helpful. I have seen lot
> of
> > mails about a4j . Have people been using this library successfully ?
> >
> > My main issue is that after a valueChange Listener is triggered , the
> whole
> > page is refreshed & it comes to the top of the page . The user has to
> scroll
> > down to get to the place where he left .
> > Can I use AJAX to make the necessary changed to my form without
> refreshing
> > the page or at least come back to the same place ? Am I on the right
> track ?
> > If not please point me to correct solution .
> >
> > All the help is appreciated .
> >
> > Shipra
>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

RE: My Faces & Ajax

Posted by Bravo Villegas Salvador Francisco <SB...@sigmatao.com>.
Thanks 4 the welcome!

Ok, I'm no so good with the programming but I'll try to do it by hand.

 

Any book or manual that I could look at to learn a little bit more of this?

 

________________________________

De: Gerhard Petracek [mailto:gerhard.petracek@gmail.com] 
Enviado el: Martes, 27 de Noviembre de 2007 03:07 p.m.
Para: MyFaces Discussion
Asunto: Re: My Faces & Ajax

 

hello salvador,

first of all: welcome @ myfaces!

with trinidad:
the logic for filtering data you have to implement by hand.

however - at the moment there is a problem with sorting and filtering within the same table - for more details see: 
https://issues.apache.org/jira/browse/TRINIDAD-782

regards,
gerhard




2007/11/27, Bravo Villegas Salvador Francisco < SBRAVO@sigmatao.com>:

Hi,

 

I'm newbie in develop with myfaces.

Someone know or have an example of how can I make a simulation in a table of an Excel autofilter in a table?

This is how can I make in a combo box sorting and filtering at same time.

 

Thanks in advance

Salvador 

 

P.D. Sorry for my bad English.

 

________________________________

De: SJain@SperianProtection.com [mailto: SJain@SperianProtection.com <ma...@SperianProtection.com> ] 
Enviado el: Miércoles, 21 de Noviembre de 2007 08:38 a.m.
Para: MyFaces Discussion
Asunto: Re: My Faces & Ajax

 


Thank you everyone . I'll try your suggestions 

Shipra Jain
Lead System Software Engineer
Sperian                               
900 Douglas Pike
Smithfield, RI 02917
401-757-2332
http://www.sperianprotection.com 

"Gerald Müllan" < gerald.muellan@gmail.com <ma...@gmail.com> > 
Sent by: bierbrauen@gmail.com 

11/21/2007 06:20 AM 

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

To

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

cc

 

Subject

Re: My Faces & Ajax

 

 

 




Hi,

if you are already using MyFaces I would suggest to have a quick look
at our sandbox-ajax stuff if it fits your needs.

http://www.irian.at/myfaces-sandbox/home.jsf

Go to the partial page rendering section at the very top of the page.
If you want to use it in your application you only have to add
the MyFaces sandbox jar and use the ppr component in the view layer.

The advantage is that MyFaces Sandbox ppr is very lightweight and quite fast.

Please report if you have any questions to it.

cheers,

Gerald

On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the best
> way ? A link to some examples / site would be helpful. I have seen lot of
> mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the whole
> page is refreshed & it comes to the top of the page . The user has to scroll
> down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without refreshing
> the page or at least come back to the same place ? Am I on the right track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces 


Re: My Faces & Ajax

Posted by Gerhard Petracek <ge...@gmail.com>.
hello salvador,

first of all: welcome @ myfaces!

with trinidad:
the logic for filtering data you have to implement by hand.

however - at the moment there is a problem with sorting and filtering within
the same table - for more details see:
https://issues.apache.org/jira/browse/TRINIDAD-782

regards,
gerhard



2007/11/27, Bravo Villegas Salvador Francisco <SB...@sigmatao.com>:
>
>  Hi,
>
>
>
> I'm newbie in develop with myfaces.
>
> Someone know or have an example of how can I make a simulation in a table
> of an Excel autofilter in a table?
>
> This is how can I make in a combo box sorting and filtering at same time.
>
>
>
> Thanks in advance
>
> Salvador
>
>
>
> P.D. Sorry for my bad English.
>
>
>  ------------------------------
>
> *De:* SJain@SperianProtection.com [mailto:SJain@SperianProtection.com]
> *Enviado el:* Miércoles, 21 de Noviembre de 2007 08:38 a.m.
> *Para:* MyFaces Discussion
> *Asunto:* Re: My Faces & Ajax
>
>
>
>
> Thank you everyone . I'll try your suggestions
>
> Shipra Jain
> Lead System Software Engineer
> Sperian
> 900 Douglas Pike
> Smithfield, RI 02917
> 401-757-2332
> http://www.sperianprotection.com
>
>   *"Gerald Müllan" <ge...@gmail.com>*
> Sent by: bierbrauen@gmail.com
>
> 11/21/2007 06:20 AM
>
> Please respond to
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
>    To
>
> "MyFaces Discussion" <us...@myfaces.apache.org>
>
> cc
>
>
>
> Subject
>
> Re: My Faces & Ajax
>
>
>
>
>
>
>
>
>
>
> Hi,
>
> if you are already using MyFaces I would suggest to have a quick look
> at our sandbox-ajax stuff if it fits your needs.
>
> http://www.irian.at/myfaces-sandbox/home.jsf
>
> Go to the partial page rendering section at the very top of the page.
> If you want to use it in your application you only have to add
> the MyFaces sandbox jar and use the ppr component in the view layer.
>
> The advantage is that MyFaces Sandbox ppr is very lightweight and quite
> fast.
>
> Please report if you have any questions to it.
>
> cheers,
>
> Gerald
>
> On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
> >
> > Can anyone tell me , if I want to use AJAX with My Faces , what is the
> best
> > way ? A link to some examples / site would be helpful. I have seen lot
> of
> > mails about a4j . Have people been using this library successfully ?
> >
> > My main issue is that after a valueChange Listener is triggered , the
> whole
> > page is refreshed & it comes to the top of the page . The user has to
> scroll
> > down to get to the place where he left .
> > Can I use AJAX to make the necessary changed to my form without
> refreshing
> > the page or at least come back to the same place ? Am I on the right
> track ?
> > If not please point me to correct solution .
> >
> > All the help is appreciated .
> >
> > Shipra
>
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>



-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

RE: My Faces & Ajax

Posted by Bravo Villegas Salvador Francisco <SB...@sigmatao.com>.
Hi,

 

I'm newbie in develop with myfaces.

Someone know or have an example of how can I make a simulation in a table of an Excel autofilter in a table?

This is how can I make in a combo box sorting and filtering at same time.

 

Thanks in advance

Salvador

 

P.D. Sorry for my bad English.

 

________________________________

De: SJain@SperianProtection.com [mailto:SJain@SperianProtection.com] 
Enviado el: Miércoles, 21 de Noviembre de 2007 08:38 a.m.
Para: MyFaces Discussion
Asunto: Re: My Faces & Ajax

 


Thank you everyone . I'll try your suggestions 

Shipra Jain
Lead System Software Engineer
Sperian                               
900 Douglas Pike
Smithfield, RI 02917
401-757-2332
http://www.sperianprotection.com 



"Gerald Müllan" <ge...@gmail.com> 
Sent by: bierbrauen@gmail.com 

11/21/2007 06:20 AM 

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

To

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

cc

 

Subject

Re: My Faces & Ajax

 

 

 




Hi,

if you are already using MyFaces I would suggest to have a quick look
at our sandbox-ajax stuff if it fits your needs.

http://www.irian.at/myfaces-sandbox/home.jsf

Go to the partial page rendering section at the very top of the page.
If you want to use it in your application you only have to add
the MyFaces sandbox jar and use the ppr component in the view layer.

The advantage is that MyFaces Sandbox ppr is very lightweight and quite fast.

Please report if you have any questions to it.

cheers,

Gerald

On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the best
> way ? A link to some examples / site would be helpful. I have seen lot of
> mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the whole
> page is refreshed & it comes to the top of the page . The user has to scroll
> down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without refreshing
> the page or at least come back to the same place ? Am I on the right track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: My Faces & Ajax

Posted by SJ...@SperianProtection.com.
Thank you everyone . I'll try your suggestions

Shipra Jain
Lead System Software Engineer
Sperian 
900 Douglas Pike
Smithfield, RI 02917
401-757-2332
http://www.sperianprotection.com



"Gerald Müllan" <ge...@gmail.com> 
Sent by: bierbrauen@gmail.com
11/21/2007 06:20 AM
Please respond to
"MyFaces Discussion" <us...@myfaces.apache.org>


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

Subject
Re: My Faces & Ajax






Hi,

if you are already using MyFaces I would suggest to have a quick look
at our sandbox-ajax stuff if it fits your needs.

http://www.irian.at/myfaces-sandbox/home.jsf

Go to the partial page rendering section at the very top of the page.
If you want to use it in your application you only have to add
the MyFaces sandbox jar and use the ppr component in the view layer.

The advantage is that MyFaces Sandbox ppr is very lightweight and quite 
fast.

Please report if you have any questions to it.

cheers,

Gerald

On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the 
best
> way ? A link to some examples / site would be helpful. I have seen lot 
of
> mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the 
whole
> page is refreshed & it comes to the top of the page . The user has to 
scroll
> down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without 
refreshing
> the page or at least come back to the same place ? Am I on the right 
track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: My Faces & Ajax

Posted by Gerald Müllan <ge...@gmail.com>.
Hi,

if you are already using MyFaces I would suggest to have a quick look
at our sandbox-ajax stuff if it fits your needs.

http://www.irian.at/myfaces-sandbox/home.jsf

Go to the partial page rendering section at the very top of the page.
If you want to use it in your application you only have to add
the MyFaces sandbox jar and use the ppr component in the view layer.

The advantage is that MyFaces Sandbox ppr is very lightweight and quite fast.

Please report if you have any questions to it.

cheers,

Gerald

On Nov 20, 2007 11:52 PM,  <SJ...@sperianprotection.com> wrote:
>
> Can anyone tell me , if I want to use AJAX with My Faces , what is the best
> way ? A link to some examples / site would be helpful. I have seen lot of
> mails about a4j . Have people been using this library successfully ?
>
> My main issue is that after a valueChange Listener is triggered , the whole
> page is refreshed & it comes to the top of the page . The user has to scroll
> down to get to the place where he left .
> Can I use AJAX to make the necessary changed to my form without refreshing
> the page or at least come back to the same place ? Am I on the right track ?
> If not please point me to correct solution .
>
> All the help is appreciated .
>
> Shipra



-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Re: My Faces & Ajax

Posted by David Brainard <sd...@gmail.com>.
Hi Shipra,

> My main issue is that after a valueChange Listener is triggered , the 
> whole page is refreshed & it comes to the top of the page . The user 
> has to scroll down to get to the place where he left . 
You can look into http://www.irian.at/myfacesexamples/autoscroll.jsf 
this link.
This might help you to solve the problem.

Thanks,
David Brainard


My Faces & Ajax

Posted by SJ...@SperianProtection.com.
Can anyone tell me , if I want to use AJAX with My Faces , what is the 
best way ? A link to some examples / site would be helpful. I have seen 
lot of mails about a4j . Have people been using this library successfully 
?

My main issue is that after a valueChange Listener is triggered , the 
whole page is refreshed & it comes to the top of the page . The user has 
to scroll down to get to the place where he left . 
Can I use AJAX to make the necessary changed to my form without refreshing 
the page or at least come back to the same place ? Am I on the right track 
? If not please point me to correct solution .

All the help is appreciated . 

Shipra 

Re: Accessing a managed bean in a phase listener?

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

For 1.1,

FacesContext ctx =  FacesContext.getCurrentInstance();
ValueBinding vb= ctx.getApplication().createValueBinding("#{barca}");
Barca barca = (Barca)vb.getValue(ctx);

or

Barca barca = (Barca)ctx
.getApplication().getVariableResolver().resolveVariable(ctx ,
"barca");

If you're on 1.2, ValueExpressions would do the same.

Cagatay

On Nov 7, 2007 2:04 AM, nikkomarc <ma...@gmail.com> wrote:
>
> Is it possible to access managed bean (session) in my phase listener.
> Specifically, how would I access it in the afterPhase method?
>
>     public void afterPhase(PhaseEvent event) {
>
>     }
>
> Thank you,
>
> Marc
> --
> View this message in context: http://www.nabble.com/Accessing-a-managed-bean-in-a-phase-listener--tf4761876.html#a13618833
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>