User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 374,198 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,613 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 159 | Replies: 0
Reply
Join Date: May 2008
Posts: 14
Reputation: luxmi_gee is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
luxmi_gee luxmi_gee is offline Offline
Newbie Poster

custom control

  #1  
May 15th, 2008
hi

i received one error when i run jsp page with custom control.the error is

cannot find setter method for the attribute <attribute name> of the tag handler <tag handler name>

my pgm is.

private String dfontSize="12";

public void setDfontSize(String dfontSize) {
this.dfontSize = dfontSize;
}

out.print("<SPAN STYLE=\"" +
"font-size: " + dfontSize + "px; " +
"font-family: " + fontList + "; ");
if (color != null) {
out.println("color: " + color + ";");
}
out.print("\">" ); // End of <SPAN ...>

and

i also added that attribute in tld file also. even though i got this error.
i don't know where did i do mistake.

can any one help me solve this.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 5:14 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC