ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhi Krishnan <madhi.krish...@udyogmandir.in>
Subject Re: Not getting the variable name value
Date Thu, 02 Aug 2018 11:54:03 GMT
Thanks brother...that's working.


On Thu, Aug 2, 2018 at 1:51 PM, Aditya Sharma <
aditya.sharma@hotwaxsystems.com> wrote:

> Hi Madhi Krishnan,
>
> I think the structure seems inapt.
>
> To set 'name' to 'madhi' for the overall screen, use:
> <screen name="ConditionalScreen">
>     <section>
>       <actions>
>         <set field="name" value="madhi"/>
>       </actions>
>       <widgets>
>          <section>
>           <condition>
>               <if-compare  field="parameters.show" operator="equals"
> value="widgets"/>
>           </condition>
>          <widgets>
>            <label text="Condition Passed. showing widget element. name is :
> ${name}"></label>
>          </widgets>
>         <fail-widgets>
>            <label text="Condition failed! Showing Fail-widgets element.
> name is :${name}"></label>
>         </fail-widgets>
>         </section>
>       </widgets>
>    </section>
> </screen>
>
> HTH
>
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> <http://www.hotwaxsystems.com/>
>
> <https://www.linkedin.com/in/aditya-sharma-78291810a/>
>
>
> On Thu, Aug 2, 2018 at 1:32 PM Madhi Krishnan <
> madhi.krishnan@udyogmandir.in>
> wrote:
>
> > <screen name="ConditionalScreen">
> >     <section>
> >     <condition>
> >     <if-compare  field="parameters.show" operator="equals"
> > value="widgets"/>
> >     </condition>
> >     <actions>
> >     <set field="name" value="madhi"/>
> >     </actions>
> >     <widgets>
> >     <label text="Condition Passed. showing widget element. name is :
> > ${name}"></label>
> >     </widgets>
> >     <fail-widgets>
> >     <label text="Condition failed! Showing Fail-widgets element. name is
> :
> > ${name}"></label>
> >     </fail-widgets>
> >     </section>
> >     </screen>
> >
> > I,m new to ofbiz...not able to get the value of name in the else part?...
> > Thanks in advance.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message