You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Hans Sowa <ha...@gmail.com> on 2006/03/07 11:37:37 UTC
normal Link
Hi
I want to add a normal link like http://.... to my jsf site. This link
should go to a non-jsf site. The link should be open in a new browser
independent from the browser wich the link was called. How can I do this?
With a commandLink and if yes where should I add the http link?
Thanks in advance.
--
mfg Hans Sowa
mailto:hanssowa@gmail.com
Re: normal Link
Posted by Hans Sowa <ha...@gmail.com>.
Thanks a lot.
It works!
2006/3/7, Ken McArthur <ke...@fgood.org>:
>
> Try something like this:
>
> <h:outputLink value="http://www.domainName.com"
> title="#{bundle.link_name}"
> onclick="javascript:popup02('myId',600,600);"
> target="myId"
> styleClass="lnk01 borderLeft">
> <h:outputText id="termsText"
> value="#{bundle.link_name}"/>
> </h:outputLink>
>
> where popup01 =
>
> function popup02(id,width,height) {
> winOptions=eval("'width="+ width
> +",height="+height+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no'");
> popup = window.open("",id,winOptions);
> popup.openerFormId = id;
> popup.focus();
> }
>
>
>
>
> On 3/7/06, Volker Weber <us...@weber-oldenburg.de> wrote:
> >
> > Hi Hans,
> >
> > see
> >
> > http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/outputLink.html
> >
> >
> >
> > Regards,
> > Volker
> >
> >
> >
> > Hans Sowa wrote:
> > > Hi
> > >
> > > I want to add a normal link like http://.... to my jsf site. This link
> > > should go to a non-jsf site. The link should be open in a new browser
> > > independent from the browser wich the link was called. How can I do
> > this?
> > > With a commandLink and if yes where should I add the http link?
> > >
> > > Thanks in advance.
> > >
> > > --
> > > mfg Hans Sowa
> > > mailto:hanssowa@gmail.com
> > >
> >
> > --
> > Don't answer to From: address!
> > Mail to this account are droped if not recieved via mailinglist.
> > To contact me direct create the mail address by
> > concatenating my forename to my senders domain.
> >
>
>
--
mfg Hans Sowa
mailto:hanssowa@gmail.com
Re: normal Link
Posted by Ken McArthur <ke...@fgood.org>.
Try something like this:
<h:outputLink value="http://www.domainName.com"
title="#{bundle.link_name}"
onclick="javascript:popup02('myId',600,600);"
target="myId"
styleClass="lnk01 borderLeft">
<h:outputText id="termsText"
value="#{bundle.link_name}"/>
</h:outputLink>
where popup01 =
function popup02(id,width,height) {
winOptions=eval("'width="+ width
+",height="+height+",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no'");
popup = window.open("",id,winOptions);
popup.openerFormId = id;
popup.focus();
}
On 3/7/06, Volker Weber <us...@weber-oldenburg.de> wrote:
>
> Hi Hans,
>
> see
>
> http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/outputLink.html
>
>
>
> Regards,
> Volker
>
>
>
> Hans Sowa wrote:
> > Hi
> >
> > I want to add a normal link like http://.... to my jsf site. This link
> > should go to a non-jsf site. The link should be open in a new browser
> > independent from the browser wich the link was called. How can I do
> this?
> > With a commandLink and if yes where should I add the http link?
> >
> > Thanks in advance.
> >
> > --
> > mfg Hans Sowa
> > mailto:hanssowa@gmail.com
> >
>
> --
> Don't answer to From: address!
> Mail to this account are droped if not recieved via mailinglist.
> To contact me direct create the mail address by
> concatenating my forename to my senders domain.
>
Re: normal Link
Posted by Volker Weber <us...@weber-oldenburg.de>.
Hi Hans,
see
http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/h/outputLink.html
Regards,
Volker
Hans Sowa wrote:
> Hi
>
> I want to add a normal link like http://.... to my jsf site. This link
> should go to a non-jsf site. The link should be open in a new browser
> independent from the browser wich the link was called. How can I do this?
> With a commandLink and if yes where should I add the http link?
>
> Thanks in advance.
>
> --
> mfg Hans Sowa
> mailto:hanssowa@gmail.com
>
--
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.