Re: Byte order mark is displayed on the page
Thanks for the link. I mistakenly thought that BOM was required for UTF-8 encoded files. Here is from wikipedia: The Unicode Standard does permit the BOM in UTF-8 but does not require or recommend its use. On Thu, May 24, 2012 at 11:07 PM, Francois Meillet francois.meil...@gmail.com wrote: Have a look to http://www.w3.org/International/questions/qa-utf8-bom.en.php Le 24 mai 2012 à 23:49, Alec Swan a écrit : Hello, I have HTML markup fie saved with UTF-8 encoding. When I open HTML in the browser it looks good, however if the same HTML is displayed by Wicket I see a byte-order-mark: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html lang=en xml:lang=en xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=http://www.w3.org/1999/html; head meta http-equiv=Content-Type content=text/html; charset=UTF-8/ ... When I check page info in the browser it says that the page uses UTF-8 encoding. What do I need to do to continue using UTF-8 but prevent byte-order-mark from being rendered? Thanks, Alec - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Pretty URLs for AjaxLazyLoadPanel
I'm using AjaxTabbedPanel and AjaxLazyLoadPanel. How do I make the URLs for the individual panels the way I want? Right now, a link to a specific panel looks like http://localhost:/?1-1.ILinkListener-tabs-tabs~container-tabs-2-link. How do I make it something like http://localhost:/myTab2? I cannot seem to find a way. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pretty-URLs-for-AjaxLazyLoadPanel-tp4649499.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Disabled Auto link bookmarkable page
Hi all. I think there is a conceptual problem with setDefaultBeforeDisabledLink, and setDefaultAfterDisabledLink. For a pretty css button for example, an enabled link looks like this : Validate And a disabled link looks like this : Validate With setDefaultBeforeDisabledLink and setDefaultAfterDisabledLink, link looks like this : setDefaultBeforeDisabledLink(); setDefaultAfterDisabledLink(); Validate Right. Two problems I see : - the tag are added INTO the replacement tag. It's not before and after. - it's not easy to theme with css. With css we can do : .lk {background:url('image-of-left') top left} .lk span {background:url('image-of-right') top right} But we can't change the left part of the button when inactive (with browser that doesn't support css 1). .lk {background:url('image-of-left') top left} // here is the problem, how to remove background image ? .lk span.inactive {background:url('image-of-left') top right} .lk span.inactive span {background:url('image-of-right-inactive') top right} I think it has been better to put the before and after tag REALLY before and after the inactive link tag. And then a better solution will consist of a set of function setDefaultClassEnabledLink and setDefaultClassDisabledLink. I have try to make my own component. But it's not easy because lots of things refer to Links of wicket, and i can't remake all the framework. The tag.setName(span) solution doesn't offer class modification... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-Auto-link-bookmarkable-page-tp1888129p4649502.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Disabled Auto link bookmarkable page
Hum sorry the tag.setName(span) allow to add class=\...\. But it has to be done for each link in code. It will be bettet to have a global solution that is more css standard (experienced by lot of web developement in many language and platform). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-Auto-link-bookmarkable-page-tp1888129p4649503.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org