What version of Trinidad are you using? Also,
have you tried starting with a very simple page and
just getting *some* tag in the trinidad namespace to show up?
If the tag is just getting passed throug to the HTML,
it means the taglib isn't found by Facelets.
-- Adam
On 6/26/07, Hannum, Daniel <[EMAIL PROTECTED]> wrote:
Hi,
I am migrating from ADF to Trinidad. My old ADF code used the Facelets
taglib feature where I could specify a ui:component and have a snippet of
XHTML be substituted in for a custom tag.
For example, I had the following snippet in a JSPX file
<ui:component>
<c:if test="#{render}">
<af:form id="#{id}" usesUpload="#{usesUpload}"><ui:insert
/></af:form>
</c:if>
<c:if test="#{!render}">
<ui:insert />
</c:if>
</ui:component>
All it does is wrap the contents in an af:form if a parameter is set. I
called this custom tag "cs:form" and in ADF it worked fine. I put cs:forms
in my code and they were properly changed to af:forms, which were then
converted to HTML form tags by ADF.
However, in Trinidad, suddenly, my cs:forms are converted to af:forms, but
af:form is left in my HTML, clearly not working.
I think that because the cs->af translation happened, this isn't Facelets
fault. It's as if Trinidad is doing something differently. I also verified
that the page containing the cs:form does contain this line at the top
xmlns:af="http://myfaces.apache.org/trinidad"
so it should know what af:form is. Any ideas? Troubleshooting tips are also
appreciated. I didn't see anything in the log, where I'd expect some kind of
"I don't understand what af:form is, so leaving it as is" message.
Dan
________________________________
***Note:The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the Sender immediately by replying to the message and deleting
it from your computer. Thank you. Premier Inc.