You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Dimm, Jason" <ja...@cingular.com> on 2006/02/20 17:51:21 UTC
persistence with different page files
If I have the same "property-specification" line with "persistent=yes" tag
in two different *.page files
where user goes to page1 and then to page2, then willl "ack" in page2 be the
same as what was set in page1?
What's the best way to do this? I'm tempted to use the "Visit" object like
the HttpSession, but I know their has to be a better way.
thanks
Page1.page
<property-specification name="ack" type="java.lang.String"
persistent="yes"/>
Page2.page
<property-specification name="ack" type="java.lang.String"
persistent="yes"/>
Jason E. Dimm, Senior Analyst, Cingular Wireless
IT eCommerce/Payments (Payment Processing)
Cingular Java Components, QuickPay, Wedat
Sun Certified Java Developer
Sun Certified Java Programmer
12555 Cingular Way
Alpharetta, GA 30004
Office (678)893-2232
as� es la vida.
RE: persistence with different page files
Posted by James Carman <ja...@carmanconsulting.com>.
Id use an session-scoped ASO (or visit object).
_____
From: Dimm, Jason [mailto:jason.dimm@cingular.com]
Sent: Monday, February 20, 2006 11:51 AM
To: 'tapestry-user@jakarta.apache.org'
Subject: persistence with different page files
-->
If I have the same "property-specification" line with "persistent=yes" tag
in two different *.page files
where user goes to page1 and then to page2, then willl "ack" in page2 be the
same as what was set in page1?
What's the best way to do this? I'm tempted to use the "Visit" object like
the HttpSession, but I know their has to be a better way.
thanks
Page1.page
<property-specification name="ack" type="java.lang.String"
persistent="yes"/>
Page2.page
<property-specification name="ack" type="java.lang.String"
persistent="yes"/>
Jason E. Dimm, Senior Analyst, Cingular Wireless
IT eCommerce/Payments (Payment Processing)
Cingular Java Components, QuickPay, Wedat
Sun Certified Java Developer
Sun Certified Java Programmer
12555 Cingular Way
Alpharetta, GA 30004
Office (678)893-2232
así es la vida.