cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject !!!XSP makes unwanted line returns when compiling on every page!!!!
Date Wed, 21 May 2003 12:44:53 GMT
I also have the problem in all the other pages! WHY? :

XSP:
String myquerya = "SELECT * FROM Processes";
myquerya += " WHERE (pc_name LIKE '%<xsp:expr>mywfname</xsp:expr>%')";

Gives (in java):
String myquerya = "SELECT * FROM Processes";
        myquerya += " WHERE (pc_name LIKE '%
                    (mywfname) %')";

And returns the errors:
Line 1162, column 20:  String not terminated at end of line.
Line 1163, column 0:  ';' expected.
Line 1163, column 32:  Invalid character constant.



>  In my XSP page I have this :
>   if (!datebox.equals("")){
>    myfirstdate = "AND (pc_enddate &gt;
'<xsp:expr>datebox</xsp:expr>')";
>   }
>  
>  and in the .JAVA page I have this :
>  if (!datebox.equals("")) {
>   myfirstdate = "AND (pc_enddate > '
>    (datebox) ')";
>  }
>  So that causes the error :
>  Line 1162, column 24:  String not terminated at end of line.
>  Line 1163, column 0:  ';' expected.
>  Line 1163, column 34:  Invalid character constant.
>  
>  How can I do to write : myfirstdate = "AND (pc_enddate >
'(datebox)')";
>  on one line?
>  Thanks
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message