cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: esql:get-string and java String
Date Mon, 30 Sep 2002 15:07:59 GMT
On 30.Sep.2002 -- 05:12 PM, Gabor Bartha wrote:
> Hi,
> 
> I want to use the esql:get-string method to initialize a java String 
> object like this:
> 
> <xsp:logic>
>  String formula = <esql:get-string column="formula"/>;
> </xsp:logic>
> 
> But I got incompatible types exception. If I tried to use casting:
> 
> <xsp:logic>
>  String formula = (String)<esql:get-string column="formula"/>;
> </xsp:logic>
> 
> I got inconvertible types Exception.
> 
> How can I use that variable as a java String object?

I'm puzzled. Could you please post the lines from the resulting java
code generated by the XSP?

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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