First of all, thanks Ken for pointing this out to me.
I currently have a project that has the following:
Server: Tomcat 5.0.28
Database: Oracle 10g
JSF 1.1
Facelets 1.1.11
JSTL
Spring
Acegi-Security
Right now, I am running just fine with no problems. However, I need a
Tree and Tab component due to project requirements. The Tree component
in the webui.jar from SJSC2 would be perfect, however I was having a
heck of a time adding it to my project.
I'd add the necessary .jars, and added the following to my page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xmlns:ui="
http://java.sun.com/jsf/facelets"
xmlns:h="
http://java.sun.com/jsf/html"
xmlns:f="
http://java.sun.com/jsf/core"
xmlns:rave="
http://http://www.sun.com/web/ui>
<ui:composition template="/common/template.xhtml">
<ui:define name="title">Petro Admin: EAI/GFT</ui:define>
<ui:define name="body">
<rave:staticText id="statictext1" text="some text to
display" />
</ui:define>
</ui:composition>
</html>
However, this didn't work at all, what would happen is nothing would be
rendered in the browser, but viewing the source would display:
<rave:staticText id="statictext1" text="some text to display" />
Thus, the component wasn't rendered. I downloaded examples and wrapped
the rave:staticText in it's own rave:form.
Plus, I tried nesting the rave:staticText component in:
<ui:page>
<ui:html>
<ui:head id="head" title="Test text page" />
<ui:body>
<ui:form id="form1">
That didn't work either...
So, back to my original question, I downloaded jsftemplating.jar and ran
jar -xvf to view the contents, I can't find any TLD information?
How do I use the components offered?
I looked at the layout.dtd, I *think* the only components offered are:
Resources
ComponentTypes
HandlerDefinitions
- InputDef
- OutputDef
event
- handler
- input
- outputMapping
layout
- if
- foreach
- while
- facet
- staticText
- component
- option
- list
- event
- markup
- attribute
Insight would be appreciated on how the components are supposes to be
used.
Thanks!
--Todd
Todd Patrick
Web Developer
DTN
9110 West Dodge Road, Suite 200
Omaha, NE 68114
todd.patrick_at_dtn.com
Phone: 402-255-8155
Fax: 402-255-8825
www.dtn.com
DTN Smarter Decisions