Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-16 Thread Ralph Skulbörstad
+1 Ralph -- Meddelandet har kontrollerats mot virus samt skadligt innehåll av MailScanner och förmodas vara säkert. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

SV: logic error in esql:row-results

2005-07-01 Thread Ralph Skulbörstad
Hi. I belive you have to declare your variables before using them. /Ralph -Ursprungligt meddelande-Från: Franco Andrao [mailto:[EMAIL PROTECTED]Skickat: den 1 juli 2005 10:31Till: users@cocoon.apache.orgÄmne: xsp:logic error in esql:row-resultsHi, I'm developing a web

SV: dynamic query with esql

2005-06-29 Thread Ralph Skulbörstad
Hi. One way you can do is to use: xsp:logic String yourLocalStringVariable; /xsp:logic and get the value from esql: ... esql:row-results xsp:logic yourLocalStringVariable = esql:get-string column="rst_child"/ /xsp:logic /esql:row-results ... and use it in the last query:

SV: MySQL error on cocoon - please could some one help!

2005-06-28 Thread Ralph Skulbörstad
Hi. I've had kind of the same problem some time ago. IIRC, the string became longer and longer each time due to an adding of whitespace to the string. The solution was to trim the field each time prior to the update/insert. Regards /Ralph -Ursprungligt meddelande- Från: Fadi Qutaishat

SV: SV: MySQL error on cocoon - please could some one help!

2005-06-28 Thread Ralph Skulbörstad
Hi. The answer to this is depends on what environment (?) you are working in At least in Flowscript and xsp, you could declare a String-object and put your variable into it, then apply the Trim()-method on the new variable. Even in pure JAVA you could do this of course. If you do your work