To have the same markup in deployment and development mode you can turn off
the wicket tags in the development mode as well by doing
getMarkupSettings().setStripWicketTags(true);
in your app's init method. Maybe that helps you ...
regards,
Michael
insom wrote:
>
> Sorry, the yellow text should say:
>
> <span style="background-color: yellow; font-weight:
> bold;"><wicket:message key="takeTheTest">Take the
> Test</wicket:message></span>
>
>
> insom wrote:
>>
>> I'm not sure if this is a Wicket bug or my own misunderstanding of
>> development vs. deployment modes. My markup included the following:
>>
>> <wicket:message style="display: inline; background-color: yellow;
>> font-weight: bold;" key="takeTheTest">Take the Test</wicket:message>
>>
>> That worked find in development mode, but when I switched to deployment,
>> the style attribute was stripped from the final source. In the end I
>> solved it like this:
>>
>> <wicket:message key="takeTheTest">Take the Test</wicket:message>
>>
>> Is that intentional different in development/deployment, and if so, why?
>>
>
>
-----
Michael Sparer
http://talk-on-tech.blogspot.com
--
View this message in context:
http://www.nabble.com/Development-Deployment-style-attributes-tp19401772p19407968.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]