Hi Laurie  / Dave,

          can you please help on this?

---------- Forwarded message ----------
From: Narayana S <[EMAIL PROTECTED]>
Date: Tue, Jun 24, 2008 at 3:12 PM
Subject: Re: Struts Themes Problem - help
To: Struts Users Mailing List <user@struts.apache.org>, [EMAIL PROTECTED]


Hi laurie,

         <s:form action="TestAction" method="post">
        <s:label key="app.indexheader" />
        <s:textfield name="cname" key="app.cname"/><br>

This is a part of the form i am creating, when the theme is default(xhtml)
the label could get value app.indexheader from resource bundle and working
fine, the text fields also could generate a label with the values given for
app.cname, but when simple theme is given ( like <s:form action="TestAction"
method="post" theme="simple"> )  the label is not rendered!!

can you help me on solving this >?



On Mon, Jun 23, 2008 at 11:18 PM, Laurie Harper <[EMAIL PROTECTED]> wrote:

> Narayana S wrote:
>
>> Hi Dave,
>>
>>     thanks for your reply, but when i use simple theme, my application is
>> not getting any values from resource bundle..
>>
>
> How is it failing? Note that the 'simple' theme generates a lot less
> markup, and doesn't generate everything the other themes do. Are I18N
> resources failing to get resolved, or is the theme just not generating the
> things you were expecting to see?
>
>  will this problem be solved by extending theme ?
>>
>> can you provide any best link to extend a theme if it is the solution... ?
>>
>
> See the Themes and Templates documentation:
>
> http://struts.apache.org/2.0.11.1/docs/themes-and-templates.html
>
> L.
>
>
>  On Sun, Jun 22, 2008 at 8:25 PM, Dave Newton <[EMAIL PROTECTED]>
>> wrote:
>>
>>  --- On Sun, 6/22/08, Narayana S <[EMAIL PROTECTED]> wrote:
>>>
>>>> The problem is here struts 2 is applying it's own styles to
>>>> my page, i want to give my own styles instead of using struts
>>>> default styles,
>>>>
>>> The easiest answer is to just supply your own CSS styles. You can also
>>> extend an existing, or create your own, theme.
>>>
>>> Dave
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to