Code Comments
Programming Forum and web based access to our favorite programming groups.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>
Post Follow-up to this messageHi,
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>
Post Follow-up to this messageYou 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: >
Post Follow-up to this messageAlways 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 <rrejmer@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:
> at
> field-name="productCategory"/></not>
>
>
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.