Re: Link to non tapestry page from actionlink
http://tapestry.apache.org/tapestry5/guide/pagenav.html 2008/11/14 Tuan <[EMAIL PROTECTED]> > Just a question to Thiago H. de Paula Figueiredo: How, Where do you know > that? > > Thiago H. de Paula Figueiredo wrote: > >> Em Thu, 13 Nov 2008 16:54:28 -0300, jthompson209 <[EMAIL PROTECTED]> >> escreveu: >> >> what is the best way to link to a non tapestry page, from an actionlink >>> for example. i am trying to return a link object from an on action method on >>> the server side >>> >> >> Instead of returning a Link, return a java.net.URL instance in your event >> handler method. >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- with regards Sven Homburg http://www.chenillekit.org http://tapestry5-components.googlecode.com
Re: Link to non tapestry page from actionlink
Just a question to Thiago H. de Paula Figueiredo: How, Where do you know that? Thiago H. de Paula Figueiredo wrote: Em Thu, 13 Nov 2008 16:54:28 -0300, jthompson209 <[EMAIL PROTECTED]> escreveu: what is the best way to link to a non tapestry page, from an actionlink for example. i am trying to return a link object from an on action method on the server side Instead of returning a Link, return a java.net.URL instance in your event handler method. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Link to non tapestry page from actionlink
Em Thu, 13 Nov 2008 16:54:28 -0300, jthompson209 <[EMAIL PROTECTED]> escreveu: what is the best way to link to a non tapestry page, from an actionlink for example. i am trying to return a link object from an on action method on the server side Instead of returning a Link, return a java.net.URL instance in your event handler method. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Link to non tapestry page from actionlink
what is the best way to link to a non tapestry page, from an actionlink for example i am trying to return a link object from an on action method on the server side public Link onActionFromActionLink(){ Link link = new LinkImpl(response, null, 'http://www.yahoo.com', request.getContextPath(), null) return link } but i get a null pointer exception, im not sure what to pass in for the requestpathoptimizer and componentevocation objects if there is a better way to do this please help -jeff -- View this message in context: http://n2.nabble.com/Link-to-non-tapestry-page-from-actionlink-tp1495327p1495327.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]