Re: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Davor Hrg
no need to change your pom, just remove the import statement, and import the Inject annottation from tapestry ioc Eclipse: CTRL+SHIFT+O Davor Hrg On 10/28/07, James Lin <[EMAIL PROTECTED]> wrote: > > dear all: > > I have read one sample from Tapestry website > http://wiki.apache.org/tapestry/T

How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread James Lin
dear all: I have read one sample from Tapestry website http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest @Inject private RequestGlobals requestGlobals; public void onActivate(Object context) { HttpSession session = requestGlobals.getHTTPServletRequest().getSe

RE: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Angelo Chen
s Inject class,but I could not find > it anywhere > ps. My tapestry version is 5.0.6(before last week I use 5.0.5) > > > > -- View this message in context: http://www.nabble.com/How-do-I-get-parameter-from-URL-in-Tapestry-5---tf4706868.html#a13455077 Sent from the Ta

RE: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Mike_R
:04:36 -0700 >> From: [EMAIL PROTECTED] >> To: users@tapestry.apache.org >> Subject: Re: How do I get parameter from URL in Tapestry 5 ? >> >> >> do you have these lines in the code: >> >> import org.apache.tapestry.services.RequestGlobals; >>

RE: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread James Lin
James > Date: Sun, 28 Oct 2007 07:04:36 -0700 > From: [EMAIL PROTECTED] > To: users@tapestry.apache.org > Subject: Re: How do I get parameter from URL in Tapestry 5 ? > > > do you have these lines in the code: > > import org.apache.tapestry.s

Re: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Robin Helgelin
On 10/28/07, James Lin <[EMAIL PROTECTED]> wrote: > dear all: > > I have read one sample from Tapestry website > http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest > > @Inject > private RequestGlobals requestGlobals; > > public void onActivate(Object context) { >

Re: How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread Angelo Chen
Care! > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews > -- View this message in context: http://www.nabble.com/How-do-I-get-parameter-from-URL-in-Tapestry-5---tf4706868.html#a13453670 Sent from the Tapestry - User mailing list archive at Nabble.com. -

How do I get parameter from URL in Tapestry 5 ?

2007-10-28 Thread James Lin
dear all: I have read one sample from Tapestry website http://wiki.apache.org/tapestry/Tapestry5ObtainingHttpServletRequest @Inject private RequestGlobals requestGlobals; public void onActivate(Object context) { HttpSession session = requestGlobals.getHTTPServletRequest().getS