ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Howe <cjhowe76...@yahoo.com>
Subject Re: list minilang question
Date Mon, 30 Oct 2006 06:04:03 GMT
try something like this:
<entity-and entity-name="FooEntity"
list-name="barList">
    <field-map field="bazField"/>
</entity-and>
<iterate list-name="barList" entry-name="quxEntry">
    <create-object class-name="java.util.HashMap"
field-name="quuxField">
        <field field-name="quxEntry"
type="java.util.Map"/>
    </create-object>
    <set field="quuxField.extraField" value="QUUUX"/>
    <field-to-list list-name="myFinalList"
field-name="quuxField"/>
</iterate>


--- marceloh <marcelo_hamra@hotmail.com> wrote:

> 
> 
> I need to program a service that retrieves a list of
> genericValues from the
> database using find-by-and tag and calculates a new
> value for each
> genercValue. How can I include this new column in
> the result list to be
> consumed in a table (form type "list") of a form?
> 
> Thanks
> Marcelo
> -- 
> View this message in context:
>
http://www.nabble.com/list-minilang-question-tf2537347.html#a7069002
> Sent from the OFBiz - User mailing list archive at
> Nabble.com.
> 
> 


Mime
View raw message