Ohh!!!
You are righ.
Thank you Jeff.
-----Original Message-----
From: Jeff Bischoff [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20, 2006 1:15 PM
To: MyFaces Discussion
Subject: Re: Trouble using <t:div Tomahawk tags.
You're not showing us your f:verbatim tags...
Iakouchev Alexander-EAL027C wrote:
> I upgraded Tomahawk, and My Faces from My Faces 1.1.3, and Tomahawk
> 1.1.2 1.1.4/1.1.3.
> After upgrade t:div refuse to work. It is generate error.
> Exception below...
>
> javax.servlet.ServletException: component must be of type 'Div'
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
>
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsF
> il
> ter.java:144)
>
>
> org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:
> 18
> 8)
>
>
>
> Original JSF page invoke exception
>
>
>
> <t:div styleClass="noprint">
>
> <jsp:include page="/include/pageFooter.jsp" flush="true"/>
>
> </t:div>
>
>
>
> If I change t:div on dif tag, it is work perfectly.
>
>
>
> <div class="noprint">
>
> <jsp:include page="/include/pageFooter.jsp" flush="true"/>
>
> <div>
>
>
>
> // CSS CONTENT
>
> @media print {.noprint{display:none;}
>
> @media print {.print {
>
> visibility:visible;width:100%;
>
> width: auto;
>
> margin: 0 5%;
>
> padding: 0;
>
> border: 0;
>
> float: none !important;
>
> color: black;
>
> background: transparent none;
>
> }}
>
>