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.
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
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
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
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
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
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
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
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
; --
>> 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.
>>
>> ---
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
/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
;> 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.
>>
>> ---
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
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
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
.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
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
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
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
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
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
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
> 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!
>
>
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
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
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
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
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:
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
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{
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
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
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
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
/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
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
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
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
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
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-
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
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
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
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
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
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
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
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)
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
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
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
<[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
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
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
-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
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
>
> 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
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
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
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;
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.
-
62 matches
Mail list logo