A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Not able to understand the error
Joined: Nov 08, 2005
Feb 07, 2007 07:13:00
I wrote this line in my application:
<html:text name = "departmentLoadForm" property = "aliasFacilityName" class="input" id="FacName" disabled="true"/>
This line is giving an error stating :
Unable to locate tag attribute info for tag attribute class
Can you please help me out..
Regards,<br />Akshay Singhvi<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (86%)
Joined: Feb 08, 2006
Feb 07, 2007 10:13:00
The message is a little odd, but I think the problem is that "id" is not a valid attribute for the html:text tag. Try using styleId instead (which renders an id tag in the html).
Joined: Feb 15, 2005
Feb 07, 2007 10:45:00
Brent is right about the fact that id is not a valid attribute. I also wanted to mention that "class" isn't a valid attribute either. Substitute "styleClass" instead. This is actually the attribute the error message is complaining about.
subject: Not able to understand the error
Newbie lost in JSP
General problems with some beginner stuff
custom tag SetProperty: Mandatory attribute property missing
strange problems with taglib
Strange problems with taglib
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014