incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Opening link in a new external window
Date Thu, 26 Oct 2006 20:44:16 GMT
even the example, they show it pretty much!

here is the docu link:
http://incubator.apache.org/adffaces/devguide/dialogs.html

pretty cool feature, you even can have a special scope, which is
greater than request but
shorter than session :)

-M

On 10/26/06, Adam Winer <awiner@gmail.com> wrote:
> useWindow, etc. only apply to actions that use the Trinidad dialog framework
> (check the docs about that).
>
> -- Adam
>
>
> On 10/26/06, Döring Markus <Markus.Doering@tcc-products.de> wrote:
> >
> > Don't used it yet, but the <tr:commandLink> has attributes for this.
> > Try:
> >
> > <tr:commandLink test="Forgot your password?" action="passwordRetr"
> > useWindow="true" windowHeight="yyy" windowWidht="xxx" />
> >
> > > -----Urspr√ľngliche Nachricht-----
> > > Von: Causevic, Dzenan [mailto:dcausevic@navisite.com]
> > > Gesendet: Donnerstag, 26. Oktober 2006 16:32
> > > An: adffaces-user@incubator.apache.org
> > > Betreff: Opening link in a new external window
> > >
> > >
> > > I am using <h:commandLink style="margin-left:10px;"
> > action="passwordRetr"
> > > value="Forgot your password?" /> as a link to the Password Retrieval
> > page,
> > > however I want to open it in a new external window with specified
> > > position, height and widht like I would use to do with regular HTML <a
> > > href="javascript:OpenUp(list of arguments...)"> where OpenUp would be a
> > > Java Script function that opens a new window.
> > > How do I implement this same approach using JSF tag <h:commandLink...>
> > > mentioned above?
> > >
> > > passwordRetr is defined in navigation-faces.xml as following:
> > > <navigation-rule>
> > >         <from-view-id>/jsp/registration/loginJSF.jsp</from-view-id>
> > >         <navigation-case>
> > >             <from-outcome>passwordRetr</from-outcome>
> > >
> > <to-view-id>/jsp/registration/passwordRetrJSF.jsp</to-view-id>
> > >         </navigation-case>
> > > </navigation-rule>
> >
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message