Oohs! It should be http://lombok.demon.co.uk/tapestry4Demo/Inject.html
Shing --- Shing Hing Man <[EMAIL PROTECTED]> wrote: > > http://gauss/tapestry4Demo/Inject.html > > The above link might help (it works now). > > Shing > > > --- Denis Souza <[EMAIL PROTECTED]> wrote: > > > Thanks! That's where I was headed. I got as far as > > noticing that request > > context was deprecated so I was still looking for > > another solution. Anyway, > > I'll give that a try, so now I'm trying to find > out > > how to inject the > > HttpServletRequest object, but I can't seem to > > remember exactly what to > > write on the @Inject parameter. Can anyone point > me > > to documentation on > > this. I recall there was a hivemind registry page > > that showed everything you > > can inject into tapestry but I can't find it. The > > link I had to it is now a > > page not found error. > > > > Thanks, > > Denis > > > > -----Original Message----- > > From: Shing Hing Man [mailto:[EMAIL PROTECTED] > > Sent: terça-feira, 28 de novembro de 2006 19:18 > > To: Tapestry users > > Subject: Re: "External" POST > > > > I think you can 'post' to a a Tapestry page that > > implements > > the inteface org.apache.tapestry.IExternalPage > > > > The interface IExternalPage > > has a method > > activateExternalPage(java.lang.Object[] > parameters, > > IRequestCycle cycle) > > > > In Tapestry 3, you can retrieve the submitted > > parameters in method > > activateExternalPage : > > > cycle.getRequestContext().getParameter("parameterName"); > > > > In Tap4, cycle.getRequestContext() is deprecated, > > you > > might have to inject RequestContext (or maybe > > HttpServletRequest) into your page. > > > > Shing > > > > > > > > > > --- Denis Souza <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > > > > > > > I'm having a problem integrating with a 3rd > party. > > > The thing is they have > > > this system that sends me an http POST with some > > > data in it. I can chose the > > > url to which the post is sent, but I can't chose > > how > > > they set up the data. > > > It's very standard procedure to them and they > > won't > > > change it. > > > > > > > > > > > > If this was a GET, I could just create a page > that > > > supports "external" > > > requests, write an encoder for the url so I > could > > > read the parameters and > > > everything would be fine, but since it's a POST > I > > > don't know how I could do > > > it in Tapestry. Is there a way I can read any > post > > > with random data in > > > Tapestry? The last thing I want to do is to > > manually > > > get the request info > > > and decode the post message. > > > > > > > > > > > > Thanks in advance, > > > > > > Denis Souza > > > > > > > > > > > > Home page : > > http://uk.geocities.com/matmsh/index.html > > > > Send instant messages to your online friends > > http://uk.messenger.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > Home page : > http://uk.geocities.com/matmsh/index.html > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]