You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by James Carman <ja...@carmanconsulting.com> on 2008/03/13 22:20:21 UTC

JNLP File Link (within same webapp)

This is probably a dumb question, but what kind of link should I use
to link to a JNLP file which resides within the same webapp?  We have
the JnlpDownloadServlet running which accepts any *.jnlp file requests
and we're using WicketFilter (so it shouldn't interfere).  I don't
think it's an ExternalLink, since it lives within the same webapp.  I
guess I could use external link, but I'll have to do a little URL
building to get the correct url with the correct context path and
everything, right?

James

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: JNLP File Link (within same webapp)

Posted by Igor Vaynberg <ig...@gmail.com>.
yeah. external link is for building non-wicket related urls

-igor


On Fri, Mar 14, 2008 at 2:16 PM, James Carman
<ja...@carmanconsulting.com> wrote:
> On 3/13/08, Igor Vaynberg <ig...@gmail.com> wrote:
>  > see ContextImage and how it builds a context-relative path...
>  >
>
>  So, still use an ExternalLink?
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>  For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: JNLP File Link (within same webapp)

Posted by James Carman <ja...@carmanconsulting.com>.
On 3/13/08, Igor Vaynberg <ig...@gmail.com> wrote:
> see ContextImage and how it builds a context-relative path...
>

So, still use an ExternalLink?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: JNLP File Link (within same webapp)

Posted by Igor Vaynberg <ig...@gmail.com>.
see ContextImage and how it builds a context-relative path...

-igor


On Thu, Mar 13, 2008 at 2:20 PM, James Carman
<ja...@carmanconsulting.com> wrote:
> This is probably a dumb question, but what kind of link should I use
>  to link to a JNLP file which resides within the same webapp?  We have
>  the JnlpDownloadServlet running which accepts any *.jnlp file requests
>  and we're using WicketFilter (so it shouldn't interfere).  I don't
>  think it's an ExternalLink, since it lives within the same webapp.  I
>  guess I could use external link, but I'll have to do a little URL
>  building to get the correct url with the correct context path and
>  everything, right?
>
>  James
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>  For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org