You seem to be using a very old version of MyFaces - with sourceforge packages?
Please download the current version, and try this one. regards, Martin On 6/22/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote: > > Thanks, > > After sending the mail, that is what I was trying to do. I have the > following jar files in my application > > Jsf-api.jar > Jsf-imple.jar > Myfaces-extensions.jar > > I have not configured any extensions filter on my web.xml. It's a simple > web.xml used for any JSF application. My JSP includes the tree2 > component. No other dependencies on any other MyFaces component. I get > the following error when I access the JSP page. Do you know any specific > reasons for this? > > org.apache.jasper.JasperException: Unable to compile class for JSP > > Generated servlet error: > Only a type can be imported. > net.sourceforge.myfaces.custom.tree.DefaultMutableTreeNode resolves to a > package > > Generated servlet error: > Only a type can be imported. > net.sourceforge.myfaces.custom.tree.model.DefaultTreeModel resolves to a > package > > An error occurred at line: 31 in the jsp file: /tree.jsp > Generated servlet error: > DefaultMutableTreeNode cannot be resolved or is not a type > > > > > -----Original Message----- > From: Martin Marinschek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 22, 2005 11:11 AM > To: MyFaces Discussion; [EMAIL PROTECTED] > Subject: Re: Compatibility with SUN RI > > > first: you need to replace myfaces-jsf-api.jar and the > myfaces-jsf-impl.jar to get rid of the MyFaces implementation. > > If that does not run, either, here what I think: > > Even though many (not all) of the custom components work with the RI, I > would doubt that the whole example application works with the RI... > there are many hooks used in the examples which depend on the > implementation, afaik. > > I would say you should try to setup your own examples. > > regards, > > Martin > > On 6/22/05, Balaji Saranathan <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > For certain reasons, I have to show that the using myfaces components > > is compatible with the SUN JSF RI, though we might go ahead and use > > Myfaces completely. I tried replacing the myfaces-jsf-api.jar with > > Sun's implementation in the myfaces-examples application. However, I > > get only a blank screen, no error messages too. I removed the > > commons-el.jar and jsp2.0 jar from the WEB-INF/lib directory. Can any > > one throw some light on the same? > > > > Your help is appreciated. > > > > Thanks > > Balaji > > > > > > Confidentiality Notice > > > > The information contained in this electronic message and any > > attachments to this message are intended for the exclusive use of the > > > addressee(s) and may contain confidential or privileged information. > > If you are not the intended recipient, please notify the sender at > > Wipro or [EMAIL PROTECTED] immediately > > and destroy all copies of this message and any attachments. > > > > > > > Confidentiality Notice > > The information contained in this electronic message and any attachments to > this message are intended > for the exclusive use of the addressee(s) and may contain confidential or > privileged information. If > you are not the intended recipient, please notify the sender at Wipro or > [EMAIL PROTECTED] immediately > and destroy all copies of this message and any attachments. >

