Re: Problems with character encoding of text from data model
Thanks Timo. I'm compiling on a mac using maven. This has not been a problem before, so I simply didn't think of it. My java source files are stored in iso-8859-1 (which gives less problems when interacting with people using windows). I specified the encoding in the maven pom-file, and that solved the problem. It's done like this, in case anyone else has this problem: project.. [...] plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration encodingiso-8859-15/encoding /configuration /plugin [...] /project -- View this message in context: http://www.nabble.com/Problems-with-character-encoding-of-text-from-data-model-tp18596015p18611341.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]
Re: How to build a dynamic navigation bar
Edbay wrote: I tried using ListView, but I could not get it to work, as it forces the wicket id of the line items to be all the same. Why is that a problem? Using ListView should be a good solution. Could you elaborate? -- View this message in context: http://www.nabble.com/How-to-build-a-dynamic-navigation-bar-tp18592899p18595504.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]
Problems with character encoding of text from data model
The characters from my markup pages and my data model is for some reason rendered with different character encoding. The characters in the markup shows up just right, while the exact same text hardcoded in a Label becomes garbage. This is what i get in the web browser. The web page is utf-8 encoded: Characters from markup page: æøå Characters from data model: ʯ From my WebApplication.init(): getMarkupSettings().setDefaultMarkupEncoding(iso-8859-1); this.getRequestCycleSettings().setResponseRequestEncoding(UTF-8); Java code: public class ContentPage extends SitePage { public ContentPage() { add(new Label(target, Characters from data model: æøå)); } } Markup: html body wicket:extend Characters from markup page: æøå br /wicket:extend /body /html Has anyone had this kind of problems? Is there any other places where character encoding is defined? -- View this message in context: http://www.nabble.com/Problems-with-character-encoding-of-text-from-data-model-tp18596015p18596015.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]