- This topic has 15 replies, 9 voices, and was last updated 17 years, 9 months ago by
Riyad Kalla.
-
AuthorPosts
-
vtcoolMemberHi, I am creating a couple of JSF custom component tags and have created the TLD files and the associated setter and getter methods within the source for the custom component. However, when I try to use my custom component tag it flags them as errors with the message Unable to find setter method for attribute <attribute>. I was wondering how would I get my project to remove these error messages for I have only found that if I close and restart myeclipse and the webserver it sometimes removes the errors. Thanks in advance.
January 16, 2005 at 12:28 pm #222837
Riyad KallaMembervtcool,
Unfortunately you found the only workaround I am aware of at this time. There is some caching going on within the project data that isn’t getting cleared, I noticed this as well while developing custom taglibs and am talking with the team about fixing them up; no worries.May 11, 2005 at 8:40 am #229405
Dave RaymerMemberI had/have this same problem, and I’ve found another workaround
(1) go into tld and remove the “offending” <attribute/> (cut to clipboard) then save tld
(2) force re-validate of jsp, you get an error about the “offending” attribute not existing
(3) go back to tld, and put the “offending” <attribute/> back in. save tld.
(4) force another re-valide of jsp, error should go away@vtcool wrote:
Hi, I am creating a couple of JSF custom component tags and have created the TLD files and the associated setter and getter methods within the source for the custom component. However, when I try to use my custom component tag it flags them as errors with the message Unable to find setter method for attribute <attribute>. I was wondering how would I get my project to remove these error messages for I have only found that if I close and restart myeclipse and the webserver it sometimes removes the errors. Thanks in advance.
May 27, 2005 at 9:14 am #230281
RaseshMemberWow That worked !!, Thanks Raymerd, I wasted a lot of time on that and at last.
Rasesh
May 27, 2005 at 9:33 am #230284
RaseshMemberAlso you will need to restart MyEclipse if that doesn’t work sometimes.
Rasesh
June 20, 2005 at 12:13 pm #231378
RRLeveringMemberIn my case, I found that restarting Eclipse didn’t make it go away. However, if I just removed the attribute from the JSP, saved, then pasted it back in,saved, it was all fine. I read the suggestion too fast and discovered that by accident.
August 31, 2005 at 9:54 am #236247
smgeorge99MemberI am having the same problems described above, but none of the suggested solutions seem to work at all for me. A little background: this application used to work, then I updated one of the custom jars in the application (the one that contains the taglib in question). The taglib did not change from one version of the jar to the next. Now I am getting this error, and nothing I do seems to fix it.
I am using WSAD 5.1.1. Does anyone have any other suggestions?
September 7, 2005 at 2:38 pm #236824I am having the same problem using MyEclipse 4 GA. Is this problem supposed to be fixed 4.0 GA
September 7, 2005 at 3:04 pm #236826
Riyad KallaMemberGuys this is an issue with our taglib cache not being invalidated and refreshed appropriate, the fix is to restart eclipse and rebuild your project, we appologize in the mean time that the workaround is so time consuming, we are hoping to get this fixed in the 5.x release series as there is going to be MAJOR work behind the scenes for 5.0, so it may either get fixed as a side effect of that, or be fixed down the road in a subsequent release.
August 18, 2006 at 4:37 am #257127
Manuel85MemberIt works!!
Thank you raymerd!
(1) go into tld and remove the “offending” <attribute/> (cut to clipboard) then save tld
(2) force re-validate of jsp, you get an error about the “offending” attribute not existing
(3) go back to tld, and put the “offending” <attribute/> back in. save tld.
(4) force another re-valide of jsp, error should go awayOctober 2, 2007 at 5:12 am #276388
RenenMemberThis message has not been recovered.
October 2, 2007 at 11:59 am #276407
Riyad KallaMemberThis message has not been recovered.
October 2, 2007 at 2:14 pm #276420
RenenMemberThis message has not been recovered.
October 2, 2007 at 3:02 pm #276423
Riyad KallaMemberThis message has not been recovered.
October 2, 2007 at 4:30 pm #276427
RenenMemberThis message has not been recovered.
-
AuthorPosts