myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dupont C├ędric <ced...@gmail.com>
Subject Re: [jira] Commented: (MYFACES-448) use an anchor with a commandLink
Date Mon, 05 Sep 2005 14:38:50 GMT
Hi Fabian,
Sorry for this late answear. You are right an outputLink just makes
it. I got confused buy another bug an thought I had to use a
commandLink. I believe this need might get real in some other cases,
even if one can find tons of workarounds. Thanks again for the great
work your guys are doing.
Cheers,
Cedric

2005/8/27, Fabian Frederick (JIRA) <myfaces-dev@incubator.apache.org>:
>    [ http://issues.apache.org/jira/browse/MYFACES-448?page=comments#action_12320264 ]
> 
> Fabian Frederick commented on MYFACES-448:
> ------------------------------------------
> 
> Hi Cedric,
> 
> What about outputlink ?
> 
> <h:outputLink value="somePage.jsf#anAnchor" ><h:outputText value="Go to somepage"/>
</h:outputLink>
> 
> > use an anchor with a commandLink
> > --------------------------------
> >
> >          Key: MYFACES-448
> >          URL: http://issues.apache.org/jira/browse/MYFACES-448
> >      Project: MyFaces
> >         Type: Wish
> >   Components: Sandbox
> >     Versions: 1.0.9 beta
> >  Environment: windows
> >     Reporter: Cedric Dupont
> 
> >
> > I'd like to use an anchor with a commandLink, something like:
> > <h:commandLink action="anAction#anAnchor"/>
> > with a navigation.xml like:
> >     <navigation-rule>
> >         <navigation-case>
> >             <from-outcome>anAction</from-outcome>
> >               <to-view-id>/somePage.jsp</to-view-id>
> >               <redirect/>
> >         </navigation-case>
> >     </navigation-rule>
> > and of course somePage.jsp would contain :
> > <a name="anAnchor">foo</a>
> > I just can't find any easy way to do that. It seems that struts has a anchor attribute
on the link tag so I guess it's a known issue, maybe trivial in myfaces. Is it a real issue
in MyFaces?
> > BTW, thanks a lot (a thousand times) for the great job your doing! I've been using
myfaces 1.0.9 since months now an it's the first time I really run into a problem, my app
is almost done. MyFaces does rock!
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
> 
>

Mime
View raw message