Hello James, can you or someone else send me an example of how to use
@InjectState ?  What exactly does @InjectState do?

Thanks

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.


-----Original Message-----
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 12:16 PM
To: 'Tapestry users'
Subject: RE: persistence with different page files

Somewhat, but Tapestry will manage it for you to make sure that it's handled
correctly.  You can also "inject" the ASO into your page/component classes
via the @InjectState attribute which comes in handy.

-----Original Message-----
From: Dimm, Jason [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 12:09 PM
To: 'Tapestry users'
Subject: RE: persistence with different page files

Thanks James,
Concerning the visit object, if I use this, wouldn't I be using the visit
object as a glorified HttpSession?

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.


-----Original Message-----
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 11:54 AM
To: 'Tapestry users'
Subject: RE: persistence with different page files

I'd use an session-scoped ASO (or visit object).

 

  _____  

From: Dimm, Jason [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 20, 2006 11:51 AM
To: '[email protected]'
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.


 




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

Reply via email to