cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From declan kelly <dec_ke...@yahoo.com>
Subject what am I doing wrong???
Date Mon, 28 May 2001 21:30:01 GMT
Hi,

I'm trying to write a page where users can edit their
details, so I'm pulling their details from the DB and
trying to put them into a form as the value, simple or
so I thought. What's happening in practice is that the
strings I'm putting into the value have a load of
whitespace around them and are way off the end of the
input box. I tried using .trim() but it doesn't do
anything. This is what I'm trying

<input type="text" name="firstName">
     <xsp:attribute name="value">
	<xsp:expr><esql:get-string
column="firstname"/></xsp:expr>
     </xsp:attribute>
</input>


and in my stylesheet 

<input type="{@type}" name="{@name}" value="{@value}"
maxlength="{@maxlength}" size="{@size}"/>

See, it's simple, but it doesn't work. I don't know if
my problem is with XSP, XSL, Java in general or what.

What am I doing wrong?????

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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