Re: [Wicket-user] use images in pagingNavigator
Thanks Ryan Ryan Holmes wrote: > > If you want to keep it simple and you don't mind using images served > from your context root, do something like: > > > > > img/navigation/first.png >img/navigation/prev.png > > # 5 span> > >img/navigation/next.png >img/navigation/last.png > > > > > If you want to package the images alongside your java and html files, > you could do what John Krasnay suggested (I haven't tried this myself > so I'm not sure if it's a 1.3 thing or if it also works in 1.2): > > ... > first.png > ... > > The main point here is that you don't need to re-implement > PagingNavigator/AjaxPagingNavigator. Your subclass already inherits > all of the logic to create the navigation, links, etc. Just keep the > wicket id's and markup hierarchy intact in your html file. > > The only reason you would need to re-implement is if you actually > want to add new components to the links. But hopefully I just > demonstrated two ways to avoid that. > > -Ryan > > > > On Apr 21, 2007, at 12:40 AM, Lec wrote: > >> >> If this is the case of implementation in the markup, then how do we >> go about >> doing its implementation in Subclass of ajax paging navigator. Do >> we need to >> combine its implementation with the AjaxPagingNavigation, >> AjaxPagingNavigationLink and AjaxPagingNavigationBehaviour all >> together? how >> do these 3 objects combination of usage look like in the skeleton >> code? >> Would like somebodyto give a pointer here. :) Thanks >> >> >> igor.vaynberg wrote: >>> >>> you can create a subclass of the paging navigator and override the >>> markup >>> so >>> it looks something like this: >>> >>> >>> >>> >>> first.gif prev.gif >>> >>># 5 >>> >>> next.gif last.gif >>> >>> >>> >>> >>> -Igor >>> >>> >>> >>> On 5/5/06, Potje rode kool <[EMAIL PROTECTED]> wrote: Hi, I have a page with a AjaxPagingNavigator which I use with a PageableListView to display some thumbnales of images, all working ok but I want to display an image (as a link) instead of the arrows (like < or <<), but how to do this? I am a bit lost on that. Thanks, Evert >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/use-images-in- >> pagingNavigator-tf1562785.html#a10114659 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> -- >> --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/use-images-in-pagingNavigator-tf1562785.html#a10123282 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] use images in pagingNavigator
If you want to keep it simple and you don't mind using images served from your context root, do something like: 5 If you want to package the images alongside your java and html files, you could do what John Krasnay suggested (I haven't tried this myself so I'm not sure if it's a 1.3 thing or if it also works in 1.2): ... ... The main point here is that you don't need to re-implement PagingNavigator/AjaxPagingNavigator. Your subclass already inherits all of the logic to create the navigation, links, etc. Just keep the wicket id's and markup hierarchy intact in your html file. The only reason you would need to re-implement is if you actually want to add new components to the links. But hopefully I just demonstrated two ways to avoid that. -Ryan On Apr 21, 2007, at 12:40 AM, Lec wrote: > > If this is the case of implementation in the markup, then how do we > go about > doing its implementation in Subclass of ajax paging navigator. Do > we need to > combine its implementation with the AjaxPagingNavigation, > AjaxPagingNavigationLink and AjaxPagingNavigationBehaviour all > together? how > do these 3 objects combination of usage look like in the skeleton > code? > Would like somebodyto give a pointer here. :) Thanks > > > igor.vaynberg wrote: >> >> you can create a subclass of the paging navigator and override the >> markup >> so >> it looks something like this: >> >> >> >> >> first.gif prev.gif >> >># 5 >> >> next.gif last.gif >> >> >> >> >> -Igor >> >> >> >> On 5/5/06, Potje rode kool <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>> I have a page with a AjaxPagingNavigator which I use with a >>> PageableListView to display some thumbnales of images, >>> all working ok but I want to display an image (as a link) instead >>> of the >>> arrows (like < or <<), but how to do this? I am a bit lost on that. >>> >>> Thanks, >>> Evert >>> >> >> > > -- > View this message in context: http://www.nabble.com/use-images-in- > pagingNavigator-tf1562785.html#a10114659 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > -- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] use images in pagingNavigator
If this is the case of implementation in the markup, then how do we go about doing its implementation in Subclass of ajax paging navigator. Do we need to combine its implementation with the AjaxPagingNavigation, AjaxPagingNavigationLink and AjaxPagingNavigationBehaviour all together? how do these 3 objects combination of usage look like in the skeleton code? Would like somebodyto give a pointer here. :) Thanks igor.vaynberg wrote: > > you can create a subclass of the paging navigator and override the markup > so > it looks something like this: > > > > > first.gif prev.gif > ># 5 > > next.gif last.gif > > > > > -Igor > > > > On 5/5/06, Potje rode kool <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have a page with a AjaxPagingNavigator which I use with a >> PageableListView to display some thumbnales of images, >> all working ok but I want to display an image (as a link) instead of the >> arrows (like < or <<), but how to do this? I am a bit lost on that. >> >> Thanks, >> Evert >> > > -- View this message in context: http://www.nabble.com/use-images-in-pagingNavigator-tf1562785.html#a10114659 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] use images in pagingNavigator
you can create a subclass of the paging navigator and override the markup so it looks something like this: 5 -IgorOn 5/5/06, Potje rode kool < [EMAIL PROTECTED]> wrote:Hi,I have a page with a AjaxPagingNavigator which I use with a PageableListView to display some thumbnales of images, all working ok but I want to display an image (as a link) instead of the arrows (like < or <<), but how to do this? I am a bit lost on that. Thanks,Evert
[Wicket-user] use images in pagingNavigator
Hi,I have a page with a AjaxPagingNavigator which I use with a PageableListView to display some thumbnales of images,all working ok but I want to display an image (as a link) instead of the arrows (like < or <<), but how to do this? I am a bit lost on that. Thanks,Evert