BTW It helps to keep the orginal message.
1) create a view-entity
2) query the view-entity just like any other.
there are a couple of ways you will find in the code.
3) Use an Ftl to create the XML output the way you want.
look at the fedex template

Now
the url you give to an external source to query for the xml
would go to a service thru the controller to process the request.
on the return through the controller your view would then present the
data thru the ftl(xml format).
you can wrap the ftl in a widget if you want to add more functionality.
There are examples in the code for all of this if you study it.
studing this helps
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner's+Development+Guide+Using+Practice+Application



David Gay sent the following on 12/14/2008 10:24 AM:
> On Sat, Dec 13, 2008 at 11:50 PM, BJ Freeman <[email protected]> wrote:
>> Clarification:
>> you understand this is a view only.
>> Not like the DB view where you can add data.
> 
> Yes, that's fine: the use case is feeding (paginated) search results
> through an XML-based form.  (An easy alternative to this approach is
> to use row-actions to gather the required fields, but I wanted to
> avoid hitting the database on a per-row basis.)
> 
> .Dave
> 
> 

Reply via email to