I would be very interested in using MyFaces components with Sun's JSF RI. Is that possible? Is that what the below discussion is about?

Thanks,

-Jon Andersen
Software developer
734-260-6083 (work)
734-646-5577 (home)
Digital Media Commons - Duderstadt Center
University of Michigan
On Feb 14, 2005, at 9:18 AM, Stefan Frank wrote:

Hi Kalle,

pretty cool idea to allow a consistent packaging of components - is this in
some way standardized, or does it have chances to get standardized? Or is
there another proposed way to package ressources like images or .js that are
needed by the component?!


---

Aah, and by the way: Do I have to add the references to the *.js and images
manually to the jsp? Or should the extension-filter magically detect the
components on the page and even more magically adds the references? Right
now, I added the filter and get the same results like before(none:() It
looks like the filter is working, at least ressources like
<web-app>/faces/myFacesExtensionResource/ htmlEditor.HtmlEditorRenderer/kupud
rawers/demolibraries.xml
are properly resolved.


Any other steps to do?

Cheers
stf

PS: ok, I volunteer to scribble some document together that describes the
steps needed to set this up with suns jsf-implementation, when I finally got
this stuff to run:)




-----Original Message-----
From: Korhonen, Kalle [mailto:[EMAIL PROTECTED]
Sent: Montag, 14. Februar 2005 18:21
To: MyFaces Discussion
Subject: RE: Empty Pages with myfaces-examples

-----Original Message-----
From: Stefan Frank [mailto:[EMAIL PROTECTED]
Subject: RE: Empty Pages with myfaces-examples Now I started to
integrate the x:htmlEditor component: This works. Sort of.
The component is rendered, but all references to styles,
images or the
.js used by the editor are unsatisfied: All ressources
needed by the
html-editor are in myfaces-extensions.jar. Sorry, if I
bother you with
basic tomcat-questions, but how do I tell the web-app to
lookup these
ressources inside the jar?! Or do I have to unpackage them? (no, in
the myfaces-example, these files are still packaged inside the jar)

You need to specify Myfaces extensions filter in your web.xml, see the example web.xml. It's a clever, clever way of handling access to packaged resources, but it should really be documented properly somewhere, or maybe some underlying code could log a warning if it's not there. Some of the guys here as well were more than a little confused about it a while ago.

Kalle

Btw. myfaces_ext_sf.tld is for legacy support of our
sourceforge code
base. (backwards compatibility) myfaces_ext.tld all *new*
components
and Apache Namespaces



HTH, Matthias


Thx for the help! stf




-- Matthias We�endorf Aechterhoek 18 DE-48282 Emsdetten Germany phone: +49-2572-9170275 cell phone: +49-179-1118979 email: matzew AT apache DOT org url: http://www.wessendorf.net callto://mwessendorf (Skype) icq: 47016183











Reply via email to