Have you tried injecting the request directly into your BindingFactory?
-Filip
jeffrey ai skrev:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]