Tapestry offers lots of ways to do page navigation.
I suggest you read this for an explanation http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html

If you still can't figure out how to implement your use case, you'll have to provide more info about your specific problem.

Mohammad Shamsi wrote:
server side forward ? how can i forward to another page ?

On Jan 7, 2008 2:42 PM, Hugo Palma <[EMAIL PROTECTED]> wrote:

The approach i mentioned only work when referencing assets.
For creating the URL i guess you would have to go back to the initial
solution, although, if you want to elaborate a little more on your case
i'm sure there's a much simpler and cleaner way to do that forward
without javascript.

Mohammad Shamsi wrote:
how about creating url ?
i got error when putting this code on my page :

    <script language="JavaScript">
        document.location = '${asset:context:login}';
    </script>

i just want to forward another page...


On Jan 7, 2008 2:13 PM, Hugo Palma <[EMAIL PROTECTED]> wrote:


There sure is:

${asset:context:images/x.gif}

Mohammad Shamsi wrote:

hi all,

i want to use context path in my page template.
now i  do like this :

@Inject
Request request;

public String getContext() {
      return request.getContextPath();
}

in .tml :

<img src="${context}/images/x.gif" />


any better way ? (for example a symbol or ...)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







Reply via email to