Hi Folks,

I think I'm missing something here, but would appreciate a shove in the
right direction.
I created a new BindingFactory, introduced a new prefix, and successfully
contributed it to BindingSource.
I am trying to do the following things in my new BindingFactory,
=====
        public Binding newBinding( String description, ComponentResources
container, ComponentResources component,
                        String expression, Location location )
        {
                final HttpServletRequest request = 
getRequestFromComponent(component);

                final String personalizedMessage =
getPersonalizedMessage(request.getParameter("personID"), expression);

                return new LiteralBinding( description, personalizedMessage, 
location );
        }
=====

I couldn't find a way to dig the Http request out from the component at this
point -- page expansion phase.

Thanks for any advice,
Jeffrey Ai
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Is-there-a-way-to-make-a-BindingFactory-request-aware-tf4884618.html#a13980504
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to