Re: STrutsMenu & JSF

Matt Raible <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
This is a limitation of JSF - you have to hit a page first to invoke a
method in a managed-bean.  See the passwordHint.jsp in AppFuse for an
example.  It's a hack, but it works.  Another option is to just use a
filter for a specified URL.

Matt

On 10/10/05, Marco Mistroni <[email protected]> wrote:
> Hello Matt,
>     i am at a dead end....
> before, with StrutsMenu, i could invoke an action straight from Struts Menu
> (by mapping to  a myAction.do).,
> now i need to do the same with JSF.. because i am still using Struts Menu
>
> could you tell me how did you do it with AppFuse(i mean, redirecting to a
> jsp that invokes the managed bean method)?
>
> i don't want the user click on any link other than the struts menu link...
>
>
> thanks in advance and regards
>      marco
>
>
> On 9/20/05, Matt Raible <[email protected]> wrote:
> >
> > I'm using it in AppFuse - but it's still in a JSP rather than included
> > as a JSF Component.  With JSF, it's not possible to link directly to a
> > bean - only to a page that invokes that bean.
> >
> > Matt
> >
> > On 9/20/05, Marco Mistroni <[email protected]> wrote:
> > > hello all,
> > >  has anyone used STrutsMenu with JSF?
> > > any hints on how to map the link in menu-config.xml to actual JSF beans?
> > >
> > >
> > > thanx in advance and regards
> > >  marco
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server.
> Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP.  Click here to play:
> http://sourceforge.net/geronimo.php
> > _______________________________________________
> > struts-menu-user mailing list
> > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> >
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.