Could we see your web.xml? -- Adam
On 8/29/07, Rich Schramm <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I would like to use the color picker and calendar components in Trinidad. > I am currently running JSF 1.2 RI with facelets and richfaces. I have > configured the installation as per the instructions. When I display a page > with the choosecolor component, it renders the table, but the transparent > image is shows an error (a box with a broken image) and the javascript shows > an error "TrColorConverter" is undefined. Additionally, when I use the > requestContext palette, instead of showing the colors, it causes an > exception in the page showing that the long list of AWT color elements is a > string and not a list. > > > > Thinking maybe it was interference with the RichFaces tags, I created a > very simple page using the demo chooseColor page in demo war. > > > > It looks like: > > > > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" > > xmlns:f="http://java.sun.com/jsf/core" > > xmlns:h="http://java.sun.com/jsf/html" > > xmlns:trh="http://myfaces.apache.org/trinidad/html" > > xmlns:tr="http://myfaces.apache.org/trinidad" > > > <jsp:directive.page contentType="text/html;charset=utf-8"/> > > <f:view> > > <tr:document title="ChooseColor Demo" > > > <tr:form> > > <tr:panelGroupLayout layout="vertical"> > > <f:facet name="separator"> > > <tr:separator/> > > </f:facet> > > <tr:outputFormatted styleUsage="instruction" value="<b>A > chooseColor associated with a selectInputColor</b>"/> > > <tr:inputColor id="sic1" chooseId="cp1" > > shortDesc="Select color from pallette" > > label="Enter or select color from palette below"/> > > <tr:chooseColor id="cp1"/> > > </tr:panelGroupLayout> > > </tr:form> > > </tr:document> > > </f:view> > > </jsp:root> > > > > Again, I get the same issues. The javascript is broken and the > transparent image is broken. I doubt if it is a collision with RichFaces as > no components from that library are used on this page, and it seems to > render all of my other facelets pages (with Trinidad comps) in a useable > way, so I am guessing that is configured properly (as per the installation > doc). > > > > Any ideas? > > > > Thanks, > > > > *Rich* > > >

