I have got one date-time field. It is giving error that object required
because of it is not geting call_cal. please help |
Please provide more information like what you did, what you want to
do, any error logs etc. Vikas On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: > I have got one date-time field. It is giving error that object > required > because of it is not geting call_cal. please help |
I think calendar_date_select.js is not included in screen.
This js file have function call_cal(...) Please provide more information if it doesnt help you. Thanks & Regards Chirag Manocha HotWax Media http://www.hotwaxmedia.com ============================ Email :- [hidden email] Contact :- +91-982-631-9099 Vikas Mayur wrote: > Please provide more information like what you did, what you want to > do, any error logs etc. > > Vikas > > On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: > >> I have got one date-time field. It is giving error that object required >> because of it is not geting call_cal. please help > |
Hi,
Supply the proper parameters to the call_cal function. such as textbox name. On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < [hidden email]> wrote: > I think calendar_date_select.js is not included in screen. > This js file have function call_cal(...) > > Please provide more information if it doesnt help you. > > Thanks & Regards > > Chirag Manocha > HotWax Media > http://www.hotwaxmedia.com > ============================ > Email :- [hidden email] > Contact :- +91-982-631-9099 > > > > > Vikas Mayur wrote: > >> Please provide more information like what you did, what you want to do, >> any error logs etc. >> >> Vikas >> >> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >> >> I have got one date-time field. It is giving error that object required >>> because of it is not geting call_cal. please help >>> >> >> -- With regards, S K Pradeep kumar |
In reply to this post by Chirag Manocha-2
please tell me how to included calendar_date_select.js in screen.
On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < [hidden email]> wrote: > I think calendar_date_select.js is not included in screen. > This js file have function call_cal(...) > > Please provide more information if it doesnt help you. > > Thanks & Regards > > Chirag Manocha > HotWax Media > http://www.hotwaxmedia.com > ============================ > Email :- [hidden email] > Contact :- +91-982-631-9099 > > > > > Vikas Mayur wrote: > >> Please provide more information like what you did, what you want to do, >> any error logs etc. >> >> Vikas >> >> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >> >> I have got one date-time field. It is giving error that object required >>> because of it is not geting call_cal. please help >>> >> >> |
You can see this in CommonScreens.xml file of common component.
with this the ready reference is <set field="layoutSettings.javaScripts[]" value="/images/calendar_date_select.js" global="true"/> Thanks & Regards Chirag Manocha HotWax Media http://www.hotwaxmedia.com ============================ Email :- [hidden email] Contact :- +91-982-631-9099 Suhas Yalgude wrote: > please tell me how to included calendar_date_select.js in screen. > > > On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < > [hidden email]> wrote: > > >> I think calendar_date_select.js is not included in screen. >> This js file have function call_cal(...) >> >> Please provide more information if it doesnt help you. >> >> Thanks & Regards >> >> Chirag Manocha >> HotWax Media >> http://www.hotwaxmedia.com >> ============================ >> Email :- [hidden email] >> Contact :- +91-982-631-9099 >> >> >> >> >> Vikas Mayur wrote: >> >> >>> Please provide more information like what you did, what you want to do, >>> any error logs etc. >>> >>> Vikas >>> >>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>> >>> I have got one date-time field. It is giving error that object required >>> >>>> because of it is not geting call_cal. please help >>>> >>>> >>> > > |
In reply to this post by Suhas Yalgude
do a search of the code for
calendar_date_select.js you will find it in xml files in ecommerce, framework, and specialpurpose then search for those files in the code. these will give you examples on how to include it in other screens. Suhas Yalgude sent the following on 10/15/2008 10:34 PM: > please tell me how to included calendar_date_select.js in screen. > > > On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < > [hidden email]> wrote: > >> I think calendar_date_select.js is not included in screen. >> This js file have function call_cal(...) >> >> Please provide more information if it doesnt help you. >> >> Thanks & Regards >> >> Chirag Manocha >> HotWax Media >> http://www.hotwaxmedia.com >> ============================ >> Email :- [hidden email] >> Contact :- +91-982-631-9099 >> >> >> >> >> Vikas Mayur wrote: >> >>> Please provide more information like what you did, what you want to do, >>> any error logs etc. >>> >>> Vikas >>> >>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>> >>> I have got one date-time field. It is giving error that object required >>>> because of it is not geting call_cal. please help >>>> >>> > |
undescribed
-----Original Message----- From: BJ Freeman [mailto:[hidden email]] Sent: Thursday, October 16, 2008 2:20 PM To: [hidden email] Subject: Re: call_cal do a search of the code for calendar_date_select.js you will find it in xml files in ecommerce, framework, and specialpurpose then search for those files in the code. these will give you examples on how to include it in other screens. Suhas Yalgude sent the following on 10/15/2008 10:34 PM: > please tell me how to included calendar_date_select.js in screen. > > > On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < > [hidden email]> wrote: > >> I think calendar_date_select.js is not included in screen. >> This js file have function call_cal(...) >> >> Please provide more information if it doesnt help you. >> >> Thanks & Regards >> >> Chirag Manocha >> HotWax Media >> http://www.hotwaxmedia.com >> ============================ >> Email :- [hidden email] >> Contact :- +91-982-631-9099 >> >> >> >> >> Vikas Mayur wrote: >> >>> Please provide more information like what you did, what you want to do, >>> any error logs etc. >>> >>> Vikas >>> >>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>> >>> I have got one date-time field. It is giving error that object required >>>> because of it is not geting call_cal. please help >>>> >>> > |
http://docs.ofbiz.org/display/OFBADMIN/Mailing+Lists
茆文俊 sent the following on 10/15/2008 11:28 PM: > undescribed > > -----Original Message----- > From: BJ Freeman [mailto:[hidden email]] > Sent: Thursday, October 16, 2008 2:20 PM > To: [hidden email] > Subject: Re: call_cal > > do a search of the code for > calendar_date_select.js > you will find it in xml files > in ecommerce, framework, and specialpurpose > then search for those files in the code. > these will give you examples on how to include it in other screens. > > Suhas Yalgude sent the following on 10/15/2008 10:34 PM: >> please tell me how to included calendar_date_select.js in screen. >> >> >> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < >> [hidden email]> wrote: >> >>> I think calendar_date_select.js is not included in screen. >>> This js file have function call_cal(...) >>> >>> Please provide more information if it doesnt help you. >>> >>> Thanks & Regards >>> >>> Chirag Manocha >>> HotWax Media >>> http://www.hotwaxmedia.com >>> ============================ >>> Email :- [hidden email] >>> Contact :- +91-982-631-9099 >>> >>> >>> >>> >>> Vikas Mayur wrote: >>> >>>> Please provide more information like what you did, what you want to do, >>>> any error logs etc. >>>> >>>> Vikas >>>> >>>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>>> >>>> I have got one date-time field. It is giving error that object required >>>>> because of it is not geting call_cal. please help >>>>> > > > |
In reply to this post by Chirag Manocha-2
yes i have done but not working
i have tried <set field="layoutSettings.javaScripts[]" value="component://framewotk/images/calendar_date_select.js" global="true"/> i also tried following copied calendar_date_select.js to my folder and then changed as follows <set field="layoutSettings.javaScripts[]" value="calendar_date_select.js" global="true"/> but any how it is not working please help. thanks & regards, Suhas On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha < [hidden email]> wrote: > You can see this in CommonScreens.xml file of common component. > with this the ready reference is > <set field="layoutSettings.javaScripts[]" > value="/images/calendar_date_select.js" global="true"/> > > Thanks & Regards > > Chirag Manocha > HotWax Media > http://www.hotwaxmedia.com > ============================ > Email :- [hidden email] > Contact :- +91-982-631-9099 > > > > Suhas Yalgude wrote: > >> please tell me how to included calendar_date_select.js in screen. >> >> >> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < >> [hidden email]> wrote: >> >> >> >>> I think calendar_date_select.js is not included in screen. >>> This js file have function call_cal(...) >>> >>> Please provide more information if it doesnt help you. >>> >>> Thanks & Regards >>> >>> Chirag Manocha >>> HotWax Media >>> http://www.hotwaxmedia.com >>> ============================ >>> Email :- [hidden email] >>> Contact :- +91-982-631-9099 >>> >>> >>> >>> >>> Vikas Mayur wrote: >>> >>> >>> >>>> Please provide more information like what you did, what you want to do, >>>> any error logs etc. >>>> >>>> Vikas >>>> >>>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>>> >>>> I have got one date-time field. It is giving error that object required >>>> >>>> >>>>> because of it is not geting call_cal. please help >>>>> >>>>> >>>>> >>>> >>>> >>> >> >> > |
<set field="layoutSettings.javaScripts[]"
value="/images/fieldlookup.js" global="true"/> /images is setup as a html reference. Suhas Yalgude sent the following on 10/16/2008 12:33 AM: > yes i have done but not working > i have tried > <set field="layoutSettings.javaScripts[]" > value="component://framewotk/images/calendar_date_select.js" global="true"/> > > > i also tried following > > copied calendar_date_select.js to my folder > and then changed as follows > <set field="layoutSettings.javaScripts[]" value="calendar_date_select.js" > global="true"/> > > but any how it is not working > > please help. > > thanks & regards, > > Suhas > > On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha < > [hidden email]> wrote: > >> You can see this in CommonScreens.xml file of common component. >> with this the ready reference is >> <set field="layoutSettings.javaScripts[]" >> value="/images/calendar_date_select.js" global="true"/> >> >> Thanks & Regards >> >> Chirag Manocha >> HotWax Media >> http://www.hotwaxmedia.com >> ============================ >> Email :- [hidden email] >> Contact :- +91-982-631-9099 >> >> >> >> Suhas Yalgude wrote: >> >>> please tell me how to included calendar_date_select.js in screen. >>> >>> >>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < >>> [hidden email]> wrote: >>> >>> >>> >>>> I think calendar_date_select.js is not included in screen. >>>> This js file have function call_cal(...) >>>> >>>> Please provide more information if it doesnt help you. >>>> >>>> Thanks & Regards >>>> >>>> Chirag Manocha >>>> HotWax Media >>>> http://www.hotwaxmedia.com >>>> ============================ >>>> Email :- [hidden email] >>>> Contact :- +91-982-631-9099 >>>> >>>> >>>> >>>> >>>> Vikas Mayur wrote: >>>> >>>> >>>> >>>>> Please provide more information like what you did, what you want to do, >>>>> any error logs etc. >>>>> >>>>> Vikas >>>>> >>>>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: >>>>> >>>>> I have got one date-time field. It is giving error that object required >>>>> >>>>> >>>>>> because of it is not geting call_cal. please help >>>>>> >>>>>> >>>>>> >>>>> >>> > |
Hi
you are not given right location of your js file in xml file in value . may be for that its not working . pass the location where your java script file is stored. for reference look into ecommerce component. Regards Ravindra Mandre Hotwax Media Inc. |
In reply to this post by BJ Freeman
I have added to my common decoder then also it is not working
<actions> <!-- base/top/specific map first, then more common map added for shared labels --> <property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/> <set field="MainColumnStyle" value="nocolumns" global="true"/> <!-- The default (global) shortcut icon --> <set field="layoutSettings.shortcutIcon" value="/images/ofbiz.ico" global="true"/> <!-- The default (main) java scripts --> <!-- NOTE: this should be included on each screen that uses it to avoid including it in all screens: --> <set field="layoutSettings.javaScripts[]" value="/images/fieldlookup.js" global="true"/> <set field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/> <set field="layoutSettings.javaScripts[]" value="/images/calendar_date_select.js" global="true"/> <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/effects.js" global="true"/> <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/validation.js" global="true"/> <set field="layoutSettings.javaScripts[+0]" value="/images/prototypejs/prototype.js" global="true"/> <set field="layoutSettings.javaScripts[]" value="/images/prototypejs/popup.js" global="true"/> <set field="layoutSettings.extraHead" value="<link rel="stylesheet" href="/content/images/contentForum.css" type="text/css"/>" global="true"/> <script location="component://ecommerce/widget/EcommerceSetup.groovy"/> <!-- The default (main) stylesheets --> <set field="layoutSettings.styleSheets[+0]" value="/ecommerce/images/blog.css" global="true"/> <set field="layoutSettings.styleSheets[+0]" value="${productStore.styleSheet}" default-value="/images/ecommain.css" global="true"/> <set field="layoutSettings.styleSheets[+0]" value="/images/prototypejs/popup.css" global="true"/> </actions> thanks and regards Suhas Yalgude On Thu, Oct 16, 2008 at 1:14 PM, BJ Freeman <[hidden email]> wrote: > <set field="layoutSettings.javaScripts[]" > value="/images/fieldlookup.js" global="true"/> > /images is setup as a html reference. > > Suhas Yalgude sent the following on 10/16/2008 12:33 AM: > > yes i have done but not working > > i have tried > > <set field="layoutSettings.javaScripts[]" > > value="component://framewotk/images/calendar_date_select.js" > global="true"/> > > > > > > i also tried following > > > > copied calendar_date_select.js to my folder > > and then changed as follows > > <set field="layoutSettings.javaScripts[]" value="calendar_date_select.js" > > global="true"/> > > > > but any how it is not working > > > > please help. > > > > thanks & regards, > > > > Suhas > > > > On Thu, Oct 16, 2008 at 11:11 AM, Chirag Manocha < > > [hidden email]> wrote: > > > >> You can see this in CommonScreens.xml file of common component. > >> with this the ready reference is > >> <set field="layoutSettings.javaScripts[]" > >> value="/images/calendar_date_select.js" global="true"/> > >> > >> Thanks & Regards > >> > >> Chirag Manocha > >> HotWax Media > >> http://www.hotwaxmedia.com > >> ============================ > >> Email :- [hidden email] > >> Contact :- +91-982-631-9099 > >> > >> > >> > >> Suhas Yalgude wrote: > >> > >>> please tell me how to included calendar_date_select.js in screen. > >>> > >>> > >>> On Wed, Oct 15, 2008 at 5:42 PM, Chirag Manocha < > >>> [hidden email]> wrote: > >>> > >>> > >>> > >>>> I think calendar_date_select.js is not included in screen. > >>>> This js file have function call_cal(...) > >>>> > >>>> Please provide more information if it doesnt help you. > >>>> > >>>> Thanks & Regards > >>>> > >>>> Chirag Manocha > >>>> HotWax Media > >>>> http://www.hotwaxmedia.com > >>>> ============================ > >>>> Email :- [hidden email] > >>>> Contact :- +91-982-631-9099 > >>>> > >>>> > >>>> > >>>> > >>>> Vikas Mayur wrote: > >>>> > >>>> > >>>> > >>>>> Please provide more information like what you did, what you want to > do, > >>>>> any error logs etc. > >>>>> > >>>>> Vikas > >>>>> > >>>>> On Oct 15, 2008, at 5:30 PM, Suhas Yalgude wrote: > >>>>> > >>>>> I have got one date-time field. It is giving error that object > required > >>>>> > >>>>> > >>>>>> because of it is not geting call_cal. please help > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>> > > > |
Are you including global decorator screen inside your main decorator , if
not please include global Decorator and try again. -- -- Awdesh Parihar |
Free forum by Nabble | Edit this page |