Re: Odd behavior of Number/String conversion??

2005-03-08 Thread Rahul P Akolkar
Rick wrote: > Thanks Rahul for the info. I'm wondering which would have > less overhead behind the scenes... using the replace like > you have it above or storingwhat I want to replace in > a temp var? The reason I ask is this operation will have > to actually be repeated several times within

Re: Odd behavior of Number/String conversion??

2005-03-08 Thread Rick Reumann
Rahul P Akolkar wrote the following on 3/7/2005 6:51 PM: Conceptually, a fn:join is a better fit here, but I'm not too keen on creating arrays in JSPs ;-) Finally, if temporary variables is what you're after, 'theField' would be the next in line, although readability has its own benefits. Than

Re: Odd behavior of Number/String conversion??

2005-03-07 Thread Rahul P Akolkar
> trying to convert String "field." to type "java.lang.Double" > I even tried using the fn:trim tag which is supposed to return a String In short, the spec says so :-) Remember, + is not string concatenation in JSPs, it is an arthmetic operator. The rogue argument here is not the index (so trim

Odd behavior of Number/String conversion??

2005-03-07 Thread Rick Reumann
Ok this seems weird There is a map with some keys named field.0.type, field.1.type etc (don't ask reasoning, I was given this:) There is also fieldCount as a map property so I know how many of the annoying field.X.type keys there are. What I need to do now is loop over the count and get out t

Re: odd

2002-10-15 Thread Shawn Bayern
On Tue, 15 Oct 2002, Shawn wrote: > xx<%= > currentRow_questions.get("numb") %>  > > currentRow_questions is a scripting variable (hashtable) in DbForms > (open source rad). > > However the c:out value was incorrect. Am I just an idiot who can't > do simple things correctly or is something go

odd

2002-10-14 Thread Shawn
Hi, I tried this line and thought I should get the same value but didn't: xx<%= currentRow_questions.get("numb") %>  currentRow_questions is a scripting variable (hashtable) in DbForms (open source rad). However the c:out value was incorrect. Am I just an idiot who can't do simple thing