Re: How to render character entities such as nbsp
Thanks to all for the feedback on this. I ended up solving my issue with a combination of the two approaches. I hadn't noticed the setEscapeModelStrings method, so I definitely appreciate you pointing it out. Very handy. -- Jason Eelco Hillenius wrote: Is it possible to render a character entity such as nbsp; in a Label? I've tried a few things, but I can't seem to get it to happen. setEscapeModelStrings(false) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/How-to-render-character-entities-such-as-nbsp-tf4433127.html#a12727886 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to render character entities such as nbsp
Is it possible to render a character entity such as nbsp; in a Label? I've tried a few things, but I can't seem to get it to happen. I am working with the PageableListView and AjaxPagingNavigator and trying to get the AjaxPagingNavigator to render in a fixed location at the bottom of the HTML rows that are bound to the PageableListView. The way it seems to work by default is that the AjaxPagingNavigator renders at the bottom of the table and when there are less rows on the last page than the rowsPerPage given to the PageableListView constructor, the AjaxPagingNavigator renders higher on the page since there aren't enough rows on the page to meet the rowsPerPage count specified. My quick fix for this was going to be to render blank rows using nbsp; in order to fill out the table and keep a consistent size for the table, but I haven't seen a way to do this yet. If there's another approach to achieving my above desired result, please feel free to offer your suggestion. Thanks in advance, Jason -- View this message in context: http://www.nabble.com/How-to-render-character-entities-such-as-nbsp-tf4433127.html#a12647458 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 render character entities such as nbsp
Is it possible to render a character entity such as nbsp; in a Label? I've tried a few things, but I can't seem to get it to happen. setEscapeModelStrings(false) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to render character entities such as nbsp
You could use CSS positioning. Place an absolute positioned div on the page, put the table in it positioned relative to the div, place the AjaxPagingNavigator in a below the table positioned absolutely to the bottom of the div. The following example will place the navigator 300px from the bottom of the first div div style=position: absolute; table style=position: relative;... tha col head/ththa col head/th trtda column/tdtda column/tdtda column/tdtda column/td/tr /table div wicket:id=nav style=position: absolute; width=100%; bottom=300pxNAVIGATOR/div /div Jason Mihalick wrote: Is it possible to render a character entity such as nbsp; in a Label? I've tried a few things, but I can't seem to get it to happen. I am working with the PageableListView and AjaxPagingNavigator and trying to get the AjaxPagingNavigator to render in a fixed location at the bottom of the HTML rows that are bound to the PageableListView. The way it seems to work by default is that the AjaxPagingNavigator renders at the bottom of the table and when there are less rows on the last page than the rowsPerPage given to the PageableListView constructor, the AjaxPagingNavigator renders higher on the page since there aren't enough rows on the page to meet the rowsPerPage count specified. My quick fix for this was going to be to render blank rows using nbsp; in order to fill out the table and keep a consistent size for the table, but I haven't seen a way to do this yet. If there's another approach to achieving my above desired result, please feel free to offer your suggestion. Thanks in advance, Jason -- View this message in context: http://www.nabble.com/How-to-render-character-entities-such-as-nbsp-tf4433127.html#a12648534 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]