You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Johannes Geppert <jo...@web.de> on 2009/03/20 09:36:32 UTC

Javatemplates Plugin ans XHTM Theme

Hello,

i try to use the Javatemplates Plugin.

On my page I have a mix of forms in the simple theme
and the XHTML Theme. 

The Simple Forms are no Problem they works fine.
But on some Sites where I use the old xhtml forms
they are not rendering becouse theme xhtml is not found.

Can I not use the xhtml themes while using the Javatemplates Plugin?

I added the Jar to my lib Folder and add following Lines to my struts.xml:
<constant name="struts.ui.templateSuffix" value="java" />
<constant name="struts.ui.theme" value="simple" />

Best Regards
Johannes Geppert

#################################
web:  http://www.jgeppert.com http://www.jgeppert.com 
web:  http://www.weinfreund.de http://www.weinfreund.de 


-- 
View this message in context: http://www.nabble.com/Javatemplates-Plugin-ans-XHTM-Theme-tp22616224p22616224.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Javatemplates Plugin ans XHTM Theme

Posted by Johannes Geppert <jo...@web.de>.
thats what i thought, but I becoume an Error that the xhtml theme is not
found
when I using theme="xhtml" in Tags.

This site works with out Errors before I put the jar in the lib
and I have added this two constants.

<constant name="struts.ui.templateSuffix" value="java" />
<constant name="struts.ui.theme" value="simple" /> 

Why struts can't find the theme?

Best Regards
Johannes Geppert

#################################
web: http://www.jgeppert.com
web: http://www.weinfreund.de



Musachy Barroso wrote:
> 
> You can mix them, but understand that the simple theme and the java
> templates will not output the wrapping "tr"s and "td"s so it could
> mess up your layout.
> 
> musachy
> 

-- 
View this message in context: http://www.nabble.com/Javatemplates-Plugin-ans-XHTM-Theme-tp22616224p22620553.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Javatemplates Plugin ans XHTM Theme

Posted by Musachy Barroso <mu...@gmail.com>.
You can mix them, but understand that the simple theme and the java
templates will not output the wrapping "tr"s and "td"s so it could
mess up your layout.

musachy

On Fri, Mar 20, 2009 at 4:36 AM, Johannes Geppert <jo...@web.de> wrote:
>
> Hello,
>
> i try to use the Javatemplates Plugin.
>
> On my page I have a mix of forms in the simple theme
> and the XHTML Theme.
>
> The Simple Forms are no Problem they works fine.
> But on some Sites where I use the old xhtml forms
> they are not rendering becouse theme xhtml is not found.
>
> Can I not use the xhtml themes while using the Javatemplates Plugin?
>
> I added the Jar to my lib Folder and add following Lines to my struts.xml:
> <constant name="struts.ui.templateSuffix" value="java" />
> <constant name="struts.ui.theme" value="simple" />
>
> Best Regards
> Johannes Geppert
>
> #################################
> web:  http://www.jgeppert.com http://www.jgeppert.com
> web:  http://www.weinfreund.de http://www.weinfreund.de
>
>
> --
> View this message in context: http://www.nabble.com/Javatemplates-Plugin-ans-XHTM-Theme-tp22616224p22616224.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org