I am trying to use the x:transform tag to render the following page (code
pasted below).  The transformation works (displayed in browser correctly),
but the elements of <html:html> (lang and xhtml) are not rendering - any
ideas?

The following:

<html:html locale="true" xhtml="true">

produces:

<html locale="" xhtml="">

If I remove the x:transform tag - it produces the HTML just fine. The other
tags (html:form and bean:message) work just fine.

Thanks,

Matt

Code from page
-----------------------------------------
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<%@ taglib uri="http://java.sun.com/jstl/ea/core"; prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/ea/xml"; prefix="x" %>


<c:import url="/styles/xsl-xhtml.jsp" var="xslt"/>
<x:transform xslt="$xslt">

<html:html locale="true" xhtml="true">

<properties>
  <author>Matt Raible</author>
  <title><bean:message key="logon.title"/></title>
</properties>

<body>

<html:errors/>

<html:form action="/logon" focus="username">

<element label="<bean:message key='prompt.username'/>">
        <html:text property="username" size="16" maxlength="16"/></input>
</element>

<element label="<bean:message key='prompt.password'/>">
        <html:password property="password" size="16" maxlength="16"
redisplay="false"/></input>
</element>

<button name="submit" value="Submit" type="submit" />
<button name="reset" value="Reset" type="reset" />

</html:form>

</body>
</html:html>

</x:transform>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to