Re: invoking a method of a bean
Benjamin- one thing you could use is Struts Shale. Its AbstractFacesBean has getBean() to just simple call getBean("nameOfmyBB"); instead of all that VariableResolver related stuff. It keeps your BBs simple. -Matthias On 4/5/06, Matthias Kahlau <[EMAIL PROTECTED]> wrote: > > You may also want to take a look at > > http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother > > -Matthias > > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von Murat Hazer > Gesendet: Mittwoch, 5. April 2006 10:55 > An: MyFaces Discussion > Betreff: Re: invoking a method of a bean > > Hi, > > Take a look to the examples in the myfaces source code (sortTable.jsp). > (you can checkout the examples for SVN with any SVN client, > http://myfaces.apache.org/source-repository.html ) > > regards... > > > On 4/5/06, Benjamin Bratkus <[EMAIL PROTECTED]> wrote: > > hello users, > > > > i want to invoke a method for sorting a list in a managed bean of my app > > within another managed bean. can anyone give me a hint ? > > > > best regards, thanks in advance, > > > > ben > > > > > > -- > Murat HAZER > Elektrik-Elektronik Mühendisi - Electrical-Electronics Engineer > Tel - Phone: +90 222 335 05 80 - 1395 > Cep Tel - Mobile Phone: +90 532 472 00 63 > Blog URL: http://www.projedunyasi.org > Yahoo Group: > http://groups.yahoo.com/group/malatyafenlisesi/ > -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com
AW: invoking a method of a bean
You may also want to take a look at http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother -Matthias -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Im Auftrag von Murat HazerGesendet: Mittwoch, 5. April 2006 10:55An: MyFaces DiscussionBetreff: Re: invoking a method of a beanHi,Take a look to the examples in the myfaces source code (sortTable.jsp).(you can checkout the examples for SVN with any SVN client, http://myfaces.apache.org/source-repository.html )regards... On 4/5/06, Benjamin Bratkus <[EMAIL PROTECTED]> wrote: hello users,i want to invoke a method for sorting a list in a managed bean of my appwithin another managed bean. can anyone give me a hint ?best regards, thanks in advance,ben-- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics EngineerTel - Phone: +90 222 335 05 80 - 1395Cep Tel - Mobile Phone: +90 532 472 00 63Blog URL: http://www.projedunyasi.orgYahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
Re: invoking a method of a bean
Hi,Take a look to the examples in the myfaces source code (sortTable.jsp).(you can checkout the examples for SVN with any SVN client, http://myfaces.apache.org/source-repository.html )regards...On 4/5/06, Benjamin Bratkus <[EMAIL PROTECTED]> wrote: hello users,i want to invoke a method for sorting a list in a managed bean of my appwithin another managed bean. can anyone give me a hint ?best regards, thanks in advance,ben -- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics EngineerTel - Phone: +90 222 335 05 80 - 1395Cep Tel - Mobile Phone: +90 532 472 00 63Blog URL: http://www.projedunyasi.orgYahoo Group: http://groups.yahoo.com/group/malatyafenlisesi/
invoking a method of a bean
hello users, i want to invoke a method for sorting a list in a managed bean of my app within another managed bean. can anyone give me a hint ? best regards, thanks in advance, ben