SivaKumarl <[EMAIL PROTECTED]> writes:
> Hi friends,
>            I am using jspx instead of jsp pages ,in jspx
> <stripes:layout-definition> and tags related to layout are not
> working.Please,inform me how to use jspx using Stripes
> 
> Cheers
> ------
> Siva


Hi Siva,

I'm using jspx and stripes for a while now and never had any problems. Could you
post an example of how you're using the layout?

Here is an example how it works for me, as Scott already mentioned you have to
define the taglibs as XML namespaces:

<?xml version="1.0" encoding="utf-8"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.1" 
    xmlns:stripes="http://stripes.sourceforge.net/stripes.tld";>

    <jsp:output doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd";
        doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
    <jsp:directive.page contentType="text/html;charset=utf-8" language="java" />

    <stripes:layout-render name="/layout.jsp">
        <stripes:layout-component name="page-content">
           Some content
        </stripes:layout-component>
    </stripes:layout-render>
</jsp:root>


cheers

lars



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to