![]() |
| ||
| Element is undefined in a Java object of type class [Ljava.lang.String; referenced as I am trying to debug a form that is basically a popup where the user enters a date and then two more dates are generated based off of date and the user can then edit those dates. When the user tries to save the second set of dates the "Element is undefined in a Java object of type class [Ljava.lang.String; referenced as" error is generated I am thinking this could just be a simple syntax error if that is the case here is the code for the page that has the error: <cfif isdefined("form.txtFFFirstDate")>
my other idea is that the values are never being passed to this page. <cfloop index="i" from="2" to="#SESSION.Order.FrequentFlyer.Count#"> anyway any help at all would be great |
| ||
| Re: Element is undefined in a Java object of type class [Ljava.lang.String; reference the referring page has a loop that generate the value for the page that is getting the error and I am thinking that the value is not being passed to that page. </tr> this hidden field <input type="hidden" name="txtFFDateSet[<cfoutput>#i#</cfoutput>]">contains the undefined value. does it need a value (name="" value="") on the referring page and if so what should it be? Forgive me in advance if I am not being clear, I have looked at this issue all day with no revelations. |
| ||
| Re: Element is undefined in a Java object of type class [Ljava.lang.String; referenced as well no one responded to this post so I don't have to thank anyone but I did get it figured out and in case someone has the same trouble... I needed an eval statement in my loop so my cfset needed something like this: <cfset tmpDate = EVALUATE("FORM.txtFFDateSet#i#")> |
| All times are GMT -4. The time now is 7:32 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC