I need to build a page *. ftl with information that are spread over several
classes java. I have a look in ofbiz and files *. bsh is used to construct
the context.

example:

file.bsh

orderId = request.getParameter("orderId");
if (orderId == null) orderId = parameters.get("orderId");
context.put("orderId", orderId);

file.ftl

<html>

<h1> ${orderId} </h1>

</html

There is some class in ofbiz that store such information in a context to be
displayed in the  *.ftl file?


BJ Freeman wrote:
> 
> the HttpServletRequest is when you go through the controller from a
> webpage.
> What info are you looking for?
> 
> jjmbconquista sent the following on 9/12/2008 4:44 AM:
>> I want to access HttpServletRequest into service, but  in a  service i
>> receive a DispatchContext dctx and Map context.
>> 
>> 
>> Bilgin Ibryam wrote:
>>> What is context request?
>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-acess-context-request--tp19441418p19454870.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to