is there a change as to where to put the groovy files related to a ftl.
use to be that groovy files related to an ftl was put in the action folder under the web-inf of the same webapp. now that widgets are used it seems that is not followed in this one case. /specialpurpose/ecommerce/widget/catalogscreen.xml <screen name="sidedeepcategory"> <section> <actions> <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/SideDeepCategory.groovy"/> </actions> <widgets> <platform-specific><html><html-template location="component://ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl"/></html></platform-specific> </widgets> </section> </screen> -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
That is just a script in the order component that is reused by the
ecommerce component. Regards Scott On 1/06/2009, at 3:42 PM, BJ Freeman wrote: > is there a change as to where to put the groovy files related to a > ftl. > use to be that groovy files related to an ftl was put in the action > folder under the web-inf of the same webapp. > now that widgets are used it seems that is not followed in this one > case. > > /specialpurpose/ecommerce/widget/catalogscreen.xml > > <screen name="sidedeepcategory"> > <section> > <actions> > <property-map resource="ProductUiLabels" > map-name="uiLabelMap" global="true"/> > <script > location="component://order/webapp/ordermgr/WEB-INF/actions/entry/ > catalog/SideDeepCategory.groovy"/> > </actions> > <widgets> > <platform-specific><html><html-template > location="component://ecommerce/webapp/ecommerce/catalog/ > sidedeepcategory.ftl"/></html></platform-specific> > </widgets> > </section> > </screen> > > > -- > BJ Freeman > http://www.businessesnetwork.com/automation > http://bjfreeman.elance.com > http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro > Systems Integrator. > smime.p7s (3K) Download Attachment |
In reply to this post by BJ Freeman
thanks Scott
Scott Gray sent the following on 5/31/2009 9:15 PM: > That is just a script in the order component that is reused by the > ecommerce component. > > Regards > Scott > > On 1/06/2009, at 3:42 PM, BJ Freeman wrote: > >> is there a change as to where to put the groovy files related to a ftl. >> use to be that groovy files related to an ftl was put in the action >> folder under the web-inf of the same webapp. >> now that widgets are used it seems that is not followed in this one case. >> >> /specialpurpose/ecommerce/widget/catalogscreen.xml >> >> <screen name="sidedeepcategory"> >> <section> >> <actions> >> <property-map resource="ProductUiLabels" >> map-name="uiLabelMap" global="true"/> >> <script >> location="component://order/webapp/ordermgr/WEB-INF/actions/entry/catalog/SideDeepCategory.groovy"/> >> >> </actions> >> <widgets> >> <platform-specific><html><html-template >> location="component://ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl"/></html></platform-specific> >> >> </widgets> >> </section> >> </screen> >> >> >> -- >> BJ Freeman >> http://www.businessesnetwork.com/automation >> http://bjfreeman.elance.com >> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro >> >> Systems Integrator. >> > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
Free forum by Nabble | Edit this page |