How to return to home

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to return to home

julien.bittard
Hello,

I use the structure of the portal example. I add my example and i want to go back 'home' , i.e. i want to leave my example and return to example 'hello world' with a button cancel for example.
which url put on my button cancel ?

thank you.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to return to home (continuation)

julien.bittard

I want to add, that if I put this url : '/tutorial-hello1' , I go to the example tutorial-hello1 but in the list of examples, my example is always selected and the example '/tutorial-hello1' is not selected.

So how to 'restart' the application ? How to go back to the beginning of the application ?

I hope you understand what i mean...

Tank you.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: How to return to home (continuation)

Claudio Delgado
Julien,

May be you can trigger an action to your first page declared in the
pageflow, I return to home making a link to /

-----Mensaje original-----
De: [hidden email] [mailto:[hidden email]]
Enviado el: Jueves, 01 de Septiembre de 2005 5:32
Para: [hidden email]
Asunto: [ops-users] Re: How to return to home (continuation)



I want to add, that if I put this url : '/tutorial-hello1' , I go to the
example tutorial-hello1 but in the list of examples, my example is always
selected and the example '/tutorial-hello1' is not selected.

So how to 'restart' the application ? How to go back to the beginning of the
application ?

I hope you understand what i mean...

Tank you.





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: How to return to home

Erik Bruchez
Administrator
In reply to this post by julien.bittard
You can use a link like this:

<a href="/goto-example/welcome" f:url-type="resource">Back to the
Welcome Example</a>

or:

<a href="/goto-example/welcome" f:url-type="resource">Back Home</a>

Note the special OPS f:url-type which allows you, in a portlet, to
control if a link is a resource, render, or action link.

-Erik

[hidden email] wrote:
 > Hello,
 >
 > I use the structure of the portal example. I add my example and i
 > want to go back 'home' , i.e. i want to leave my example and return
 > to example 'hello world' with a button cancel for example.  which
 > url put on my button cancel ?
 >
 > thank you.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws