Hehe. I see 3 more new posts from Christopher Snow with new questions.
How many "aha" moments does it take to learn OFBiz? How many Jonathons does it take to change a
light bulb? How many... ok, there's work, Jonathon.
The framework does have very accessible names. Like "field-name" means just that, and "env-name"
means a variable from the environment. Or servlet context, rather.
Jonathon
Chris Howe wrote:
That looks like an "aha" moment.... :-)
Quick, what documentation is missing or is difficult to find to get you
there faster? When I passed that moment, I looked back and was like
it's all there. If you could add a missing "link" to the wiki, I'm
sure others will appreciate it greatly.
--- Christopher Snow <[EMAIL PROTECTED]> wrote:
Chris,
It's so obvious now!
Many thanks,
Chris ...
On Sun, 2007-02-04 at 15:04 -0800, Chris Howe wrote:
<condition-expr field-name="riskId" ??? />
<condition-expr field-name="riskId" env-name="parameters.riskId" />
--- Christopher Snow <[EMAIL PROTECTED]> wrote:
I have a screen that includes two forms (findRisks and
ListRisks).
I'm
having problems restricting the list based on the value of the
find.
Can anyone point me to where I am going wrong?
Many thanks ...
Controller:
===========
<request-map uri="FindRisk">
<security https="true" auth="true"/>
<response name="success" type="view" value="FindRisk"/>
</request-map>
...
<view-map name="FindRisk" type="screen"
page="component://riskmanagement/widget/riskmanagement/RiskScreens.xml#FindRisk"/>
RiskScreens.xml:
================
<screen name="FindRisk">
...
<include-form name="findRisks"
location="component://riskmanagement/widget/riskmanagement/RiskForms.xml"/>
<include-form name="ListRisks"
location="component://riskmanagement/widget/riskmanagement/RiskForms.xml"/>
RiskForms.xml:
==============
<form name="findRisks" target="FindRisk" title="" type="single"
default-title-style="tableheadtext"
default-tooltip-style="tabletext">
<field name="riskId" title="Risk id"><text/></field>
<field name="submitButton"
title="${uiLabelMap.RiskId}"><submit
button-type="button"/></field>
</form>
<form name="ListRisks" type="list" list-name="risks"
paginate-target="FindRisk" default-title-style="tableheadtext"
default-widget-style="tabletext"
default-tooltip-style="tabletext">
<actions>
<entity-condition entity-name="Risk">
<!-- ??? what should go in the condition ??? -->
<condition-expr field-name="riskId" ??? />
</entity-condition>
</actions>
...