Re: page navigation

2012-12-26 Thread Howard Lewis Ship
Further, part of a page is its page activation context: knowing that ProductCatalog/1234 is a 'Minolta Camera" and ProductCatalog/5465 is a "Bogen Tripod", and the relationship between these two configurations of the ProductCatalog page, is again very application specific.

page navigation

2012-12-26 Thread sommeralex
context: http://tapestry.1045711.n5.nabble.com/page-navigation-tp5718990.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: Page navigation to predecessor pages plugin

2012-05-30 Thread sommeralex
thank you both very much for your help! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-navigation-to-predecessor-pages-plugin-tp5713504p5713522.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Page navigation to predecessor pages plugin

2012-05-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 May 2012 09:28:04 -0300, sommeralex wrote: Hi! Hi! I would like to implement a simple page navigation helper on my pages. It should be a link list with a fixed length of previous loaded/visited pages, like> start - profile - editprofile So, the user should see a link l

Re: Page navigation to predecessor pages plugin

2012-05-29 Thread Lance Java
Here are a couple of libraries https://bitbucket.org/zenios/tapestry-zbreadcrumbs/wiki/Home https://github.com/argoyle/tapestry-breadcrumbs -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-navigation-to-predecessor-pages-plugin-tp5713504p5713505.html Sent from the

Page navigation to predecessor pages plugin

2012-05-29 Thread sommeralex
Hi! I would like to implement a simple page navigation helper on my pages. It should be a link list with a fixed length of previous loaded/visited pages, like> start - profile - editprofile So, the user should see a link list with his previous visited sites. Is there a plug? How can I implem

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread George Christman
As Taha indicated, you probable should use PageRenderLinkSource instead of LinkSource. Good luck! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4632134.html Sent from the Tapestry

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Julien Martin
LinkWithContext(Index.class, > contextId); > return link; >} > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631991.html > Sent from the

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread George Christman
context: http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631991.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Taha Hafeez
; -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631914.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> ---

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Julien Martin
e LinkSource _linkSource; > > Class onActionFromModify(String contextId) { > return linkSource.createPageRenderLinkWithContext(YourClass.class, > contextId); > } > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageA

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread George Christman
/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631914.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Julien Martin
;> View this message in context: >> http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631615.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> ---

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Julien Martin
t; for > the context parameter must be "jobPosting" of course. > > - > http://www.winfonet.eu > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631615

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread nillehammer
Me again, I have a typo in the pagelink (damn copy and paste). The value for the context parameter must be "jobPosting" of course. - http://www.winfonet.eu -- View this message in context: http://tapestry.1045711.n5.nabble.com/Beginner-needs-help-with-PageActivationContex

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Igor Drobiazko
Returning page's class in a handler method you tell Tapestry where to navigate to, but yor target page needs a context. Just create a Link with context and return it instead of class. 25.07.2011, в 19:06, Julien Martin написал(а): Hello, I have a page that lists job postings (beans) as fo

Re: Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread nillehammer
.nabble.com/Beginner-needs-help-with-PageActivationContext-and-page-navigation-in-Tapestry-tp4631566p4631593.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Beginner needs help with PageActivationContext and page navigation in Tapestry

2011-07-25 Thread Julien Martin
Hello, I have a page that lists job postings (beans) as follows: Template: *http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> activate modify * Java

Re: Page Navigation - Link vs Page when appending a query string to the result

2010-06-20 Thread Joel Halbert
Thanks, I was curious as to whether I could do what I need using Page, but in the meantime can get around it using Link. On 18/06/10 18:02, Howard Lewis Ship wrote: Currently, there isn't a good way to do what you want. I just hit a similar problem for my client and am deciding on the right sol

Re: Page Navigation - Link vs Page when appending a query string to the result

2010-06-18 Thread Howard Lewis Ship
Currently, there isn't a good way to do what you want. I just hit a similar problem for my client and am deciding on the right solution; I think another callback event, much like passivate, but passed the Link so it can be customized. See https://issues.apache.org/jira/browse/TAP5-1190 On Fri, Ju

Page Navigation - Link vs Page when appending a query string to the result

2010-06-18 Thread Joel Halbert
I want to return the user to a page that has a context and some query params: I can do this, using Link: public Object onSubmit(){ Link link = ls.createPageRenderLinkWithContext(Buy.class, product); link.addParameter("x", x); link.addParameter("y", y); return

Re: Page navigation ....

2009-09-28 Thread Josh Canfield
Hmm... that interface isn't in the internal package, neither is the parameter object that createComponentEventLink receives. To be honest, I wasn't thinking very hard about whether it was the right thing to do... and I can't really think of a situation to rebut the strong objection ;) Josh On Mo

Re: Page navigation ....

2009-09-28 Thread Howard Lewis Ship
Really not the right approach. I strongly object to having a page poke around in the internals of another page ... for page-to-page interactions, the right approach is an event handler method on page A that injects and invokes methods on page B. Alternately, you can build you own kind of interact

Re: Page navigation ....

2009-09-28 Thread Josh Canfield
> How do I trigger an action method in another page. Presuming Tapestry 5 take a look at ComponentEventLinkEncoder http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/ComponentEventLinkEncoder.html Josh On Mon, Sep 28, 2009 at 9:34 AM, Gunnar Eketrapp wrote: > Hi! > >

Re: Page navigation ....

2009-09-28 Thread Thiago H. de Paula Figueiredo
Em Mon, 28 Sep 2009 13:34:10 -0300, Gunnar Eketrapp escreveu: Hi! Hi! How do I trigger an action method in another page. Use the activation context for it. Or @InjectPage the page, invoke any methods, and return it. -- Thiago H. de Paula Figueiredo Independent Java consultant, develope

Page navigation ....

2009-09-28 Thread Gunnar Eketrapp
Hi! How do I trigger an action method in another page. I.e. navigate to some other page and execute an action method within it. Thanks in advance, Gunnar Eketrapp

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread manuel aldana
Original-Nachricht > Datum: Sat, 07 Mar 2009 13:01:33 +0100 > Von: Andy Pahne > An: Tapestry users > Betreff: Re: Page navigation passed value not displayed (@InjectPage style) > manuel aldana schrieb: > > So you mean if I provide a coercion for User, the

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread Andy Pahne
manuel aldana schrieb: So you mean if I provide a coercion for User, the User gets serialized to an activation-context snippet in the URL, and after that the snippets gets deserialized back to my User object? I don't think that serialization is used. It's more that you pass those values nec

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread ningdh
General speaking when with Hibernate, only convert entity to primary key id, and then get back to entity, much like HibernateEntityValueEncoder class. DH - Original Message - From: "manuel aldana" To: "Tapestry users" Sent: Saturday, March 07, 2009 5:13 PM Subject:

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-07 Thread manuel aldana
So you mean if I provide a coercion for User, the User gets serialized to an activation-context snippet in the URL, and after that the snippets gets deserialized back to my User object? Maybe an out of the box coercion for custom types would be interesting (to an ordered comma separated String

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread Andy Pahne
That's possible. Have a look at http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/coerce.html esp. the section "Contributing new Coercions" Example: I want to pass a User through activation context: class User { private String name; private String password;...} Registration{

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread manuel aldana
manuel aldana schrieb: manuel aldana schrieb: [...] Thanks. Adding @Persist made the trick. But I think I will go for the activation context,[...] But I wonder, how to overcome the HttpSession, if I want to pass multiple values and want to use activation context for that. So far I have only

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread manuel aldana
manuel aldana schrieb: [...] Thanks. Adding @Persist made the trick. But I think I will go for the activation context,[...] But I wonder, how to overcome the HttpSession, if I want to pass multiple values and want to use activation context for that. So far I have only seen onActivation() metho

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread manuel aldana
Thiago H. de Paula Figueiredo schrieb: On Thu, Mar 5, 2009 at 10:24 PM, Luther Baker wrote: Try adding @Persist to the destination class ... otherwise, I'm not sure you're guaranteed which page instance will get rendered. I would suggest @Persist("flash"): the field is put in the sess

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-06 Thread Thiago H. de Paula Figueiredo
On Thu, Mar 5, 2009 at 10:24 PM, Luther Baker wrote: > Try adding @Persist to the destination class ... otherwise, I'm not sure > you're guaranteed which page instance will get rendered. I would suggest @Persist("flash"): the field is put in the session and then removed after it's read the first

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread DH
/tapestry5/guide/pagenav.html # Page Navigation Patterns Thanks DH - Original Message - From: "Andy Pahne" To: "Tapestry users" Sent: Friday, March 06, 2009 10:33 AM Subject: Re: Page navigation passed value not displayed (@InjectPage style) > > > I usually

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Andy Pahne
I usually do it a little differnet and it works for me: class YourPage{ @InjectPage private DestinationPage destinationPage; Object onAction(String emailAddress){ return destinationPage.startEdit(emailAddress); } } class DestinationPagePage{ @Property @Pers

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread manuel aldana
thanks, but same issue. Anyway I think with the InjectPage pattern and returning an Object you have control which page-instance is passed. I debugged an the same page instance is used to retrieve the value. But further debugging shows that the setter is called, but when displaying the page the

Re: Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread Luther Baker
Try adding @Persist to the destination class ... otherwise, I'm not sure you're guaranteed which page instance will get rendered. public class SendingActivationEmail { @Persist private String email; -Luther On Thu, Mar 5, 2009 at 7:10 PM, manuel aldana wrote: > Hi, > > I want to pass on

Page navigation passed value not displayed (@InjectPage style)

2009-03-05 Thread manuel aldana
Hi, I want to pass one value to one page with the InjectPage pattern (http://tapestry.apache.org/tapestry5/guide/pagenav.html). But below code does not work (email does not get displayed on other page). public class Registration { @Property private String email; @InjectPage p

[HOWTO] Context and page navigation aware submit button

2008-10-18 Thread Ville Virtanen
here: http://tapestry.apache.org/tapestry5/guide/pagenav.html. I also made the context optional, so now you can satisfy all your submitting needs with one button :) Enjoy! (And remember to tell of any bugs etc..) - Ville -- View this message in context: http://www.nabble.com/-HOWTO--Context-and-page-

Re: page navigation (return to arbitrary page)

2007-12-04 Thread Joachim Van der Auwera
Thanks Josh, that is what I was looking for. Joachim Josh Canfield wrote: I do something similar to this, but instead of a page I store an Object, generally a Link: @Persist Object returnTo; So that I can store a page or a link depending on what the calling page requires. If you generate a li

Re: page navigation (return to arbitrary page)

2007-12-04 Thread Josh Canfield
I do something similar to this, but instead of a page I store an Object, generally a Link: @Persist Object returnTo; So that I can store a page or a link depending on what the calling page requires. If you generate a link using _resources.createPageLink and don't provide the last context paramete

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Joachim Van der Auwera
share state between multiple pages. You could also have an ASO that returns the next or previous page based on the current state g, kris Joachim Van der Auwera <[EMAIL PROTECTED]> 04.12.2007 15:44 Bitte antworten an "Tapestry users" An Tapestry users Kopie The

Re: page navigation (return to arbitrary page)

2007-12-04 Thread Angelo Chen
e is not known in advance. > > Any suggestions? > > Thanks for the help, > Joachim > > -- > Joachim Van der Auwera > PROGS bvba, progs.be > > > > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTEC

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Kristian Marinkovic
just to clarify i'm talking about T5 here! T4 is different as it does not have redirects g kris Kristian Marinkovic <[EMAIL PROTECTED]> 04.12.2007 16:20 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: Antwort: page navig

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Kristian Marinkovic
g, kris Joachim Van der Auwera <[EMAIL PROTECTED]> 04.12.2007 16:10 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Antwort: page navigation (return to arbitrary page) Hmm, I don't like the ASO approach as that is not sompatible with havi

Re: page navigation (return to arbitrary page)

2007-12-04 Thread Norman Franke
You could make a "client" persisted string property where you store the page name, then just return the page name in a listener. I'm not sure, but I think that your onActionFromLinkback has to return either a String or an IPage, not Object. -Norman Franke ASD, Inc. On Dec 4, 2007, at 9:27

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Joachim Van der Auwera
ASO that returns the next or previous page based on the current state g, kris Joachim Van der Auwera <[EMAIL PROTECTED]> 04.12.2007 15:44 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Antwort: page navigation (return to arbitrary page)

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Kristian Marinkovic
helps! g, kris Kristian Marinkovic <[EMAIL PROTECTED]> 04.12.2007 15:57 Bitte antworten an "Tapestry users" An "Tapestry users" Kopie Thema Re: Antwort: page navigation (return to arbitrary page) i'd recommend to use ApplicationStateObjects (ASOs) if

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Kristian Marinkovic
ntworten an "Tapestry users" An Tapestry users Kopie Thema Re: Antwort: page navigation (return to arbitrary page) Kristian Marinkovic wrote: > you could change your setReturnPage method to store > a string with the page name or a Class instance of the > return page

Re: Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Joachim Van der Auwera
return destination; } g, kris Joachim Van der Auwera <[EMAIL PROTECTED]> 04.12.2007 15:27 Bitte antworten an "Tapestry users" An "users@tapestry.apache.org >> Tapestry users" Kopie Thema page navigation (return to arbitrary page) I have situa

Antwort: page navigation (return to arbitrary page)

2007-12-04 Thread Kristian Marinkovic
<[EMAIL PROTECTED]> 04.12.2007 15:27 Bitte antworten an "Tapestry users" An "users@tapestry.apache.org >> Tapestry users" Kopie Thema page navigation (return to arbitrary page) I have situation where I have a page in my application which can be reached f

page navigation (return to arbitrary page)

2007-12-04 Thread Joachim Van der Auwera
I have situation where I have a page in my application which can be reached from many different pages. When a certain link is indicated, I want the user to move back to the previous page. The problem is that this class has no idea (cannot know) what the possible return pages are. I thought about

Re: AW: T5:Page navigation

2007-04-13 Thread Patrick Moore
I hope it will be possible to turn this off for some sessions. The case I am concerned about is my phone browser -- which asks the user to confirm every client-side redirect. While I understand the reasons for page-redirects by default -- I do need to not make our phone users life miserable. -Pa

AW: AW: T5:Page navigation

2007-04-12 Thread Peter Schröder
-cache -Ursprüngliche Nachricht- Von: Weisu [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. April 2007 02:03 An: [EMAIL PROTECTED] Betreff: Re: AW: T5:Page navigation Thanks everyone. In T4, you can throw redirect-exception, don't think there is one in T5. Peter Schröder-2

Re: AW: T5:Page navigation

2007-04-11 Thread Howard Lewis Ship
t- > Von: Weisu [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 11. April 2007 08:42 > An: users@tapestry.apache.org > Betreff: T5:Page navigation > > > Hi, > I have a login page, when user logins, it navigates to next page. How can > I > hide the login page when I

Re: AW: T5:Page navigation

2007-04-11 Thread Weisu
> > i like this statement: > if (!_user.isLogin()== true) > > very creative! > > -Ursprüngliche Nachricht- > Von: Weisu [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 11. April 2007 08:42 > An: users@tapestry.apache.org > Betreff: T5:Page navig

Re: T5:Page navigation

2007-04-11 Thread Howard Lewis Ship
When you click the browser back button, the page that is displayed often comes from the browser cache. T5 does not yet have the ability to set the response headers that prevent the browser from caching pages. On 4/10/07, Weisu <[EMAIL PROTECTED]> wrote: Hi, I have a login page, when user login

AW: T5:Page navigation

2007-04-11 Thread Peter Schröder
PROTECTED] Gesendet: Mittwoch, 11. April 2007 08:42 An: users@tapestry.apache.org Betreff: T5:Page navigation Hi, I have a login page, when user logins, it navigates to next page. How can I hide the login page when I click the back button from IE. I am using onActive() in Login page likes

T5:Page navigation

2007-04-10 Thread Weisu
Hi, I have a login page, when user logins, it navigates to next page. How can I hide the login page when I click the back button from IE. I am using onActive() in Login page likes: String onActivate() { if (!_user.isLogin()== true) { return null;

Page navigation links not working

2007-01-15 Thread kmadha
I am using contrib table which iterators over arraylist. Initially page links 1 is shown selected. When I click 2 the data in the table gets changed but still 1 is shown as selected page and not 2. Can anyone help me to figure out what I am doing wrong? Regards. -