Re: [Wicket-user] Bread crumbs based on pages, not panels?
igor.vaynberg wrote: i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous pages. In fact I'm porting an application made with Struts and all pages seem to be stateless (their structure does not change, state is held by a persisted object model) so I guess a list of beans describing how to build the link should be all I need to keep the breadcrumbs working, and yes, I can use page constructors and some special link subclass to complete a simple but working solution. Thank you Best regards Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6233851 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Bread crumbs based on pages, not panels?
Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does not seem to be possible, ain't it? Cheers Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bread crumbs based on pages, not panels?
it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own.-Igor On 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi,would it be possible (and advisable) to have bread crumbs that work on pagesrather than panels?My UI is basically a big tree of configuration pages (such as the ones foran IDE)and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBarand BreadcrumbPanel this does not seem to be possible, ain't it?CheersAndrea Aime--View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855Sent from the Wicket - User forum at Nabble.com.- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bread crumbs based on pages, not panels?
Yeah, although the breadcrumbs core implementation (package wicket.extensions.breadcrumb) does not make the assumption you have to work with panels, the only default implementation (wicket.extensions.breadcrumb.panel) does so. It's possible to adopt this model to a page based one, but as I never actually tried it, I'm not sure how easy or difficult this will be. It's probably easier to roll something of your own, maybe reusing some of the ideas of the bread crumb panel we have. I know that Martijn created a page-based bread crumb component for one of his projects... maybe he's got some ideas to share? Eelco On 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own. -Igor On 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does not seem to be possible, ain't it? Cheers Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bread crumbs based on pages, not panels?
it should be very simple. Just store the breadcrumb in the session object.There is only one big problem.. That is the back button. How are you going to rollback the session data?Wicket currenty doesn't have support for that only for page versions not session versions... johanOn 9/9/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, although the breadcrumbs core implementation (packagewicket.extensions.breadcrumb)does not make the assumption you haveto work with panels, the only default implementation(wicket.extensions.breadcrumb.panel ) does so. It's possible to adoptthis model to a page based one, but as I never actually tried it, I'mnot sure how easy or difficult this will be.It's probably easier to roll something of your own, maybe reusing some of the ideas of the bread crumb panel we have.I know that Martijn created a page-based bread crumb component for oneof his projects... maybe he's got some ideas to share?EelcoOn 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own. -IgorOn 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does not seem to be possible, ain't it? Cheers Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855 Sent from the Wicket - User forum at Nabble.com.- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bread crumbs based on pages, not panels?
i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous pages. but same idea might apply, you can pass the breadcrumbs object into the page constructor - that will avoid the session problem Johan mentioned.-IgorOn 9/9/06, Johan Compagner [EMAIL PROTECTED] wrote: it should be very simple. Just store the breadcrumb in the session object.There is only one big problem.. That is the back button. How are you going to rollback the session data?Wicket currenty doesn't have support for that only for page versions not session versions... johanOn 9/9/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, although the breadcrumbs core implementation (packagewicket.extensions.breadcrumb)does not make the assumption you haveto work with panels, the only default implementation(wicket.extensions.breadcrumb.panel ) does so. It's possible to adoptthis model to a page based one, but as I never actually tried it, I'mnot sure how easy or difficult this will be.It's probably easier to roll something of your own, maybe reusing some of the ideas of the bread crumb panel we have.I know that Martijn created a page-based bread crumb component for oneof his projects... maybe he's got some ideas to share?EelcoOn 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own. -IgorOn 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does not seem to be possible, ain't it? Cheers Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855 Sent from the Wicket - User forum at Nabble.com.- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Bread crumbs based on pages, not panels?
Another thing is that you don't always want to create a (or just one) breadcrumb for every action. The bread crumbs component in wicket-extensions has a seperate model etc to allow more flexibility in designating what exactly the path is. But if you need just the simple exact path of navigation, you don't need this complexity. Eelco On 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous pages. but same idea might apply, you can pass the breadcrumbs object into the page constructor - that will avoid the session problem Johan mentioned. -Igor On 9/9/06, Johan Compagner [EMAIL PROTECTED] wrote: it should be very simple. Just store the breadcrumb in the session object. There is only one big problem.. That is the back button. How are you going to rollback the session data? Wicket currenty doesn't have support for that only for page versions not session versions... johan On 9/9/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, although the breadcrumbs core implementation (package wicket.extensions.breadcrumb) does not make the assumption you have to work with panels, the only default implementation (wicket.extensions.breadcrumb.panel ) does so. It's possible to adopt this model to a page based one, but as I never actually tried it, I'm not sure how easy or difficult this will be. It's probably easier to roll something of your own, maybe reusing some of the ideas of the bread crumb panel we have. I know that Martijn created a page-based bread crumb component for one of his projects... maybe he's got some ideas to share? Eelco On 9/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own. -Igor On 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does not seem to be possible, ain't it? Cheers Andrea Aime -- View this message in context: http://www.nabble.com/Bread-crumbs-based-on-pages%2C-not-panels--tf2244730.html#a6225855 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo