cocoon-users mailing list archives

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

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">

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

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