ecommerce category-include screen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ecommerce category-include screen

Grant Edwards-2
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>
Reply | Threaded
Open this post in threaded view
|

Re: ecommerce category-include screen

Rashko Rejmer
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>

Reply | Threaded
Open this post in threaded view
|

Re: ecommerce category-include screen

Rashko Rejmer
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>
>

Reply | Threaded
Open this post in threaded view
|

Re: ecommerce category-include screen

Ashish Vijaywargiya
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 <[hidden email]> 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>
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: ecommerce category-include screen

rajiv
Can't find any *.bsh file in my ofbiz folder? Con't find where detailscreen is set in ofbiz9.04. Also wondering why so many way to set the value of detailscreen.