You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Grant Edwards <gr...@gmail.com> on 2008/06/11 21:31:24 UTC
ecommerce category-include screen
Hi
Can someone please point me in the right direction here. Where / how
would I find what ${detailScreen} is referencing.
In the case of --> name="main-decorator"
location="${parameters.mainDecoratorLocation}", its simple. Just look at
the web.xml. As for ${detailScreen}, I am lost.
Kind regards
Grant Edwards
<screen name="category-include">
<section>
<widgets>
<section>
<condition>
<not><if-empty field-name="productCategory"/></not>
</condition>
<widgets>
<include-screen name="${detailScreen}"/>
</widgets>
<fail-widgets>
<label
style="head2">${uiLabelMap.ProductCategoryNotFoundforCategoryID}
${productCategoryId}!</label>
</fail-widgets>
</section>
</widgets>
</section>
</screen>
Re: ecommerce category-include screen
Posted by Ashish Vijaywargiya <vi...@gmail.com>.
Always remember that the value kept by ${} in the Screenwidget may come from
either web.xml or particular Beanshell file or value set in the <action> tag
of screen widget.
For this context Rashko is saying right.
--
Ashish
On Wed, Jun 11, 2008 at 4:04 PM, Rashko Rejmer <rr...@iguanait.com> wrote:
> You can also check category.bsh script.
>
> Regards,
> Rashko Rejmer
>
> On Wed, 2008-06-11 at 23:00 +0300, Rashko Rejmer wrote:
> > Hi,
> >
> > detailScreen is set in product.bsh script.
> > It's value depends of the type of product and also of detailScreen field
> > in Product entity. But if you check product.bsh you will get to all
> > possible values.
> >
> > Regards,
> > Rashko Rejmer
> >
> > On Wed, 2008-06-11 at 21:31 +0200, Grant Edwards wrote:
> > > Hi
> > >
> > > Can someone please point me in the right direction here. Where / how
> > > would I find what ${detailScreen} is referencing.
> > >
> > > In the case of --> name="main-decorator"
> > > location="${parameters.mainDecoratorLocation}", its simple. Just look
> at
> > > the web.xml. As for ${detailScreen}, I am lost.
> > >
> > > Kind regards
> > >
> > >
> > > Grant Edwards
> > >
> > >
> > >
> > > <screen name="category-include">
> > > <section>
> > > <widgets>
> > > <section>
> > > <condition>
> > > <not><if-empty
> field-name="productCategory"/></not>
> > > </condition>
> > > <widgets>
> > > <include-screen name="${detailScreen}"/>
> > > </widgets>
> > > <fail-widgets>
> > > <label
> > > style="head2">${uiLabelMap.ProductCategoryNotFoundforCategoryID}
> > > ${productCategoryId}!</label>
> > > </fail-widgets>
> > > </section>
> > > </widgets>
> > > </section>
> > > </screen>
> >
>
>
Re: ecommerce category-include screen
Posted by Rashko Rejmer <rr...@iguanait.com>.
You can also check category.bsh script.
Regards,
Rashko Rejmer
On Wed, 2008-06-11 at 23:00 +0300, Rashko Rejmer wrote:
> Hi,
>
> detailScreen is set in product.bsh script.
> It's value depends of the type of product and also of detailScreen field
> in Product entity. But if you check product.bsh you will get to all
> possible values.
>
> Regards,
> Rashko Rejmer
>
> On Wed, 2008-06-11 at 21:31 +0200, Grant Edwards wrote:
> > Hi
> >
> > Can someone please point me in the right direction here. Where / how
> > would I find what ${detailScreen} is referencing.
> >
> > In the case of --> name="main-decorator"
> > location="${parameters.mainDecoratorLocation}", its simple. Just look at
> > the web.xml. As for ${detailScreen}, I am lost.
> >
> > Kind regards
> >
> >
> > Grant Edwards
> >
> >
> >
> > <screen name="category-include">
> > <section>
> > <widgets>
> > <section>
> > <condition>
> > <not><if-empty field-name="productCategory"/></not>
> > </condition>
> > <widgets>
> > <include-screen name="${detailScreen}"/>
> > </widgets>
> > <fail-widgets>
> > <label
> > style="head2">${uiLabelMap.ProductCategoryNotFoundforCategoryID}
> > ${productCategoryId}!</label>
> > </fail-widgets>
> > </section>
> > </widgets>
> > </section>
> > </screen>
>
Re: ecommerce category-include screen
Posted by Rashko Rejmer <rr...@iguanait.com>.
Hi,
detailScreen is set in product.bsh script.
It's value depends of the type of product and also of detailScreen field
in Product entity. But if you check product.bsh you will get to all
possible values.
Regards,
Rashko Rejmer
On Wed, 2008-06-11 at 21:31 +0200, Grant Edwards wrote:
> Hi
>
> Can someone please point me in the right direction here. Where / how
> would I find what ${detailScreen} is referencing.
>
> In the case of --> name="main-decorator"
> location="${parameters.mainDecoratorLocation}", its simple. Just look at
> the web.xml. As for ${detailScreen}, I am lost.
>
> Kind regards
>
>
> Grant Edwards
>
>
>
> <screen name="category-include">
> <section>
> <widgets>
> <section>
> <condition>
> <not><if-empty field-name="productCategory"/></not>
> </condition>
> <widgets>
> <include-screen name="${detailScreen}"/>
> </widgets>
> <fail-widgets>
> <label
> style="head2">${uiLabelMap.ProductCategoryNotFoundforCategoryID}
> ${productCategoryId}!</label>
> </fail-widgets>
> </section>
> </widgets>
> </section>
> </screen>