cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Place" <>
Subject XSP and ESQL
Date Tue, 26 Nov 2002 11:58:21 GMT
Hi all, 

I was wondering if anyone could help me with the following. I am trying
to put the results from a row of results directly into String variables
as show below and Cocoon isn’t happy. I get a unclosed character literal
compilation error.

The XSP I am executing is as follows

      while (class1 = null) {

	    <esql:query>select * from profile where SELECTION =

                  class1 = "<esql:get-string column="CLASS"/>";
                  engine1 = "<esql:get-string column="ENGINE_TYPE"/>";


	      if (currentSelection.equals("Strongly Agree")) {
	        currentSelection = "Agree";
	      } else if (currentSelection.equals("Agree")) {
	        currentSelection = "Undecided";
	      } else if (currentSelection.equals("Undecided")) {
	        currentSelection = "Disagree";
	      } else { 
	        currentSelection = null;
		class1 = "error";


Any help greatly appreciated


Tom Place 

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message