Re: [Wicket-user] Is it possible to test Wicket templates out-of-container?
igor.vaynberg wrote: > > like eelco said, in devel mode this is the default for markup only. if you > want class reloading there is a reloadingwicketfilter, or whatever its > called. in production reloading templates is rarely necessary. for cases > that require them there are a few solutions: you can do what eelco said > and > implement your own markup cache which will change globally how all > template > caching works, if you have a requierment where only certain > pages/components > need to be reloaded while the app is deployed you can let them implement > imarkupcachekeyprovider and override the cache key. > > -igor > > Is it possible to expire the page cache with JMX? Or even better, expire individual pages from the cache with JMX? Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-test-Wicket-templates-out-of-container--tf4071714.html#a11572349 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] Is it possible to test Wicket templates out-of-container?
Eelco Hillenius wrote: > >> Is it possible to use Tapestry's parser in tests to verify that template >> syntax is correct? > > Certainly not Tapestry's; it's a different syntax :) > Doh! That's what I get for asking the same question on the Facelets and Tapestry lists. I was bound to screw up somewhere. ;-) Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-test-Wicket-templates-out-of-container--tf4071714.html#a11572219 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
[Wicket-user] Is it possible to test Wicket templates out-of-container?
Is it possible to use Tapestry's parser in tests to verify that template syntax is correct? I'd like to run tests (like you do when doing a JSP pre-compile) to verify syntax w/o having to start the app and find out at runtime. Also, is it possible to adjust Wicket's template caching strategy? In other words, is it possible to make it like JSP where there's a timestamp check to see if a page has been updated? I realize I can turn off page caching, but does that make Wicket slower than a JSP-based solution? Can I provide my own implementation (or configure the existing one) to check every 2 minutes? Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-test-Wicket-templates-out-of-container--tf4071714.html#a11571536 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] Is it possible to prevent page expired?
I'll try disabling SiteMesh and see if it still happens. Matt Eelco Hillenius wrote: > > Using Wicket 1.3 is the surest way to get rid of it. > > In your case, I wouldn't be surprised if the problem can be traced > back to the fact that you use SiteMesh with Wicket. As I understand > it, SiteMesh combines separate requests like working with frames would > do, correct? So for every Wicket piece you include, and instance is > kept, and if you have too many pieces you may run out of what Wicket > reserves by default for back button support. To fix this, place every > SiteMesh fragment in a separate page map[1]. > > If it is not SiteMesh (e.g. you just include one fragment), you should > try to figure out why it can't find the page. Typically, in any Wicket > application, refreshing like that should work should fine. > > Eelco > > [1] > http://cwiki.apache.org/WICKET/faqs.html#FAQs-HowdoIprovidethepagemapforbookmarkablepages%253F > > > On 4/25/07, mraible <[EMAIL PROTECTED]> wrote: >> >> I'm using Eclipse, Maven 2 and the Maven Jetty Plugin (with "mvn >> jetty:run") >> to develop my Wicket application. Everytime I save a .java or .html >> file, >> Jetty reloads and all is good. However, when I hit "refresh" on my >> browser, >> Wicket allways gives me a "page expired" error and I have to start from >> http://localhost/app again. Is there anyway to prevent this? Does >> DEVELOPMENT mode (in Application.init()) create a new page instead of >> expiring it? >> >> Thanks, >> >> Matt >> -- >> View this message in context: >> http://www.nabble.com/Is-it-possible-to-prevent-page-expired--tf3646633.html#a10184774 >> 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/Is-it-possible-to-prevent-page-expired--tf3646633.html#a10185174 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] Is there a success message example?
Eelco Hillenius wrote: > >> // Fixed SiteMesh: >> http://spatula.net/blog/2006/10/wicket-sitemesh-feces-nocturnus.html >> >> getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER); >> >> It's likely be pretty easy to port when I have with SiteMesh to use the >> page >> extension stuff that Wicket has, but I'm lazy. ;-) > > I see how SiteMesh can work with Wicket, and I even can imagine a > couple of useful use cases, but in general I believe people are > ruining their programming model by using it with Wicket. > > My 2c, > > Eelco > I agree that using Wicket's decoration mechanism is probably a better way to go. One small question though - how do I put the contextPath into URLs in my BasePage.html? In my SiteMesh decorator, I have: Thanks, Matt -- View this message in context: http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10184929 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
[Wicket-user] Is it possible to prevent page expired?
I'm using Eclipse, Maven 2 and the Maven Jetty Plugin (with "mvn jetty:run") to develop my Wicket application. Everytime I save a .java or .html file, Jetty reloads and all is good. However, when I hit "refresh" on my browser, Wicket allways gives me a "page expired" error and I have to start from http://localhost/app again. Is there anyway to prevent this? Does DEVELOPMENT mode (in Application.init()) create a new page instead of expiring it? Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-prevent-page-expired--tf3646633.html#a10184774 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] Is there a success message example?
Eelco Hillenius wrote: > >> Does it do this with 1.2.6? >> >> When I don't have it, and I hit refresh after submitting a form, I get >> the >> good ol' "postdata" message from Firefox. If I add setRedirect(true), >> there >> is no message. > > That's surprising. What does your application object look like? > > The default IRequestCycleSettings.RenderStrategy setting for Wicket > (since quite a long time) is to use > IRequestCycleSettings#REDIRECT_TO_BUFFER. Did you change that to > ONE_PASS_RENDER by any chance? > Yes, I did. // Fixed SiteMesh: http://spatula.net/blog/2006/10/wicket-sitemesh-feces-nocturnus.html getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER); It's likely be pretty easy to port when I have with SiteMesh to use the page extension stuff that Wicket has, but I'm lazy. ;-) Matt -- View this message in context: http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10175198 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] Is there a success message example?
igor.vaynberg wrote: > > On 4/24/07, mraible <[EMAIL PROTECTED]> wrote: >> >> > >> > You typically don't need to call setRedirect yourself though. Was >> > there any reason for doing that? Also, flash message works good here, >> > but if you already know the page you are going to display it on, you >> > might as well set it on there. >> > >> > >> >> I'm using setRedirect(true) in order to do redirect-after-post so >> clicking >> refresh on the browser doesn't prompt the user. > > what eelco meant to say is that wicket does redirect-after-post for you by > default, thus no need for you to bother with it. > Does it do this with 1.2.6? When I don't have it, and I hit refresh after submitting a form, I get the good ol' "postdata" message from Firefox. If I add setRedirect(true), there is no message. Matt -- View this message in context: http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10175013 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] Is there a success message example?
Got it - I needed getSession().info() instead of info(). Thanks guys - I really appreciate the excellent support. Matt mraible wrote: > > > > Eelco Hillenius wrote: >> >>> I'm trying to success messages working. In my Detail.java page, I have: >>> >>> protected void onSaveUser(User user) { >>> userManager.saveUser(user); >>> getSession().info("It worked!"); >>> setRedirect(true); >>> setResponsePage(backPage); >>> } >>> >>> First of all, is this the proper way to put messages in flash scope? >> >> Yep. >> >> You typically don't need to call setRedirect yourself though. Was >> there any reason for doing that? Also, flash message works good here, >> but if you already know the page you are going to display it on, you >> might as well set it on there. >> >> > > I'm using setRedirect(true) in order to do redirect-after-post so clicking > refresh on the browser doesn't prompt the user. > > > Eelco Hillenius wrote: >> >> >>> On my "backPage", I have the following code, but it never seems to find >>> anything. >>> >>> // check for success messages >>> if (!getSession().getFeedbackMessages().isEmpty()) { >>> // just display first message for now >>> add(new Label("success-messages", >>> String.valueOf(getSession().getFeedbackMessages().iterator().next(; >>> } else { >>> add(new Label("success-messages", "")); >>> } >> >> That's definitively not the way to do it :) >> >> First of all, that code - if it would work - would obviously only take >> the first message. If you want to display an arbitrary list of things, >> you should use ListViews or Repeaters. >> >> But more importantly, you should just use a FeedbackPanel. Typically, >> add(new FeedbackPanel("feedback")); does the trick. If you need more >> fine grained control over which messages to display, you can create it >> with a IFeedbackMessageFilter. Also, not relevant for this case, but >> take a look at FormComponentFeedbackBorder as well. >> >> > > I tried adding that in the page I'm routing to, but not dice - the span > shows up, but there's nothing it in: > > public UserList() { > setPageTitle(TITLE); > > add(new FeedbackPanel("feedback")); > ... > > It really is strange because it seems like it should work. > > Thanks, > > Matt > > > Eelco Hillenius wrote: >> >> >> Another note is that the way you do labels in your example is rather >> static. Typically you should try to use models that work in a 'pull' >> way (gets the results just in time/ when rendering). >> >> Take this code (which is comparable to what you did): >> >> SomeObject foo = ... >> if (foo != null) { >> add(new Label("foo", foo.toString)); >> } else { >> add(new Label("foo", "")); >> } >> >> rather you should do: >> >> SomeObject foo = bar.getFoo(); >> add(new Label("foo", new Model(foo))); >> >> or more dynamic (evaluated on every request) >> >> add(new Label("foo", new PropertyModel(bar, "foo"))); >> >> or even >> >> add(new Label("foo", new AbstractReadOnlyModel(){ >> public Object getObject() { >> return bar.getFoo(); >> } >> }); >> >> for complete control. >> >> Hope that helps, >> >> Eelco >> >> - >> 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/Is-there-a-success-message-example--tf3642922.html#a10174595 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] Is there a success message example?
Eelco Hillenius wrote: > >> I'm trying to success messages working. In my Detail.java page, I have: >> >> protected void onSaveUser(User user) { >> userManager.saveUser(user); >> getSession().info("It worked!"); >> setRedirect(true); >> setResponsePage(backPage); >> } >> >> First of all, is this the proper way to put messages in flash scope? > > Yep. > > You typically don't need to call setRedirect yourself though. Was > there any reason for doing that? Also, flash message works good here, > but if you already know the page you are going to display it on, you > might as well set it on there. > > I'm using setRedirect(true) in order to do redirect-after-post so clicking refresh on the browser doesn't prompt the user. Eelco Hillenius wrote: > > >> On my "backPage", I have the following code, but it never seems to find >> anything. >> >> // check for success messages >> if (!getSession().getFeedbackMessages().isEmpty()) { >> // just display first message for now >> add(new Label("success-messages", >> String.valueOf(getSession().getFeedbackMessages().iterator().next(; >> } else { >> add(new Label("success-messages", "")); >> } > > That's definitively not the way to do it :) > > First of all, that code - if it would work - would obviously only take > the first message. If you want to display an arbitrary list of things, > you should use ListViews or Repeaters. > > But more importantly, you should just use a FeedbackPanel. Typically, > add(new FeedbackPanel("feedback")); does the trick. If you need more > fine grained control over which messages to display, you can create it > with a IFeedbackMessageFilter. Also, not relevant for this case, but > take a look at FormComponentFeedbackBorder as well. > > I tried adding that in the page I'm routing to, but not dice - the span shows up, but there's nothing it in: public UserList() { setPageTitle(TITLE); add(new FeedbackPanel("feedback")); ... It really is strange because it seems like it should work. Thanks, Matt Eelco Hillenius wrote: > > > Another note is that the way you do labels in your example is rather > static. Typically you should try to use models that work in a 'pull' > way (gets the results just in time/ when rendering). > > Take this code (which is comparable to what you did): > > SomeObject foo = ... > if (foo != null) { > add(new Label("foo", foo.toString)); > } else { > add(new Label("foo", "")); > } > > rather you should do: > > SomeObject foo = bar.getFoo(); > add(new Label("foo", new Model(foo))); > > or more dynamic (evaluated on every request) > > add(new Label("foo", new PropertyModel(bar, "foo"))); > > or even > > add(new Label("foo", new AbstractReadOnlyModel(){ > public Object getObject() { > return bar.getFoo(); > } > }); > > for complete control. > > Hope that helps, > > Eelco > > - > 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/Is-there-a-success-message-example--tf3642922.html#a10174556 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] What's the easiest way to do a pageable/sortable list screen?
The stack trace I was getting turned out to be caused by something else - the code I posted actually does work. As far as moving to 1.3, I'll be happy to do that if there's a beta (or snapshot) release in a public Maven repo. Thanks, Matt Eelco Hillenius wrote: > >> Thanks guys - I appreciate all your help. I've decided to go with >> DataView >> over DefaultDataTable because I couldn't get the "click on column value >> for >> link"[1] to work. >> >> Unfortunately, the following doesn't work with Wicket 1.2.6: >> >> item.add(new AttributeModifier("class", >> true, new AbstractReadOnlyModel() >> { >> public Object getObject() >> { >> return (item.getIndex() % >> 2 >> == 1) ? "even" : "odd"; >> } >> })); > > That's correct. IModel#getObject() is Wicket 1.3 code; in Wicket 1.2 > we had getObject(Component). > > There are quite a few differences between 1.3 and 1.2 (more than > initially planned, but you can read about that in the archives and on > ). > > A migration document from 1.2 to 1.3 can be found here > http://cwiki.apache.org/WICKET/migrate-13.html > > If you're starting out, I'd strongly encourage you to use 1.3. There > are many improvements in it, and we're getting very close to doing a > release (which at this stage will also be used to propose graduation > with Apache, or at least get a step further in that). > >> I tried the following (I'm a complete newbie, so sorry if this is dumb), >> but >> it doesn't work: >> >> public Object getObject(Component component) { >> Item item = (Item) component; >> return (item.getIndex() % 2 == 1) ? "even" : >> "odd"; >> } > > Like I said, I think it is better if you use 1.3, but in 1.2 you the > component argument would be the component the behavior is added to. > I'm not sure whether that is the Item? > > If it is, what doesn't work? Is the CSS availalbe etc? Or do you get > an exception? > > Eelco > > - > 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/What%27s-the-easiest-way-to-do-a-pageable-sortable-list-screen--tf3639929.html#a10173898 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
[Wicket-user] Is there a success message example?
I'm trying to success messages working. In my Detail.java page, I have: protected void onSaveUser(User user) { userManager.saveUser(user); getSession().info("It worked!"); setRedirect(true); setResponsePage(backPage); } First of all, is this the proper way to put messages in flash scope? On my "backPage", I have the following code, but it never seems to find anything. // check for success messages if (!getSession().getFeedbackMessages().isEmpty()) { // just display first message for now add(new Label("success-messages", String.valueOf(getSession().getFeedbackMessages().iterator().next(; } else { add(new Label("success-messages", "")); } Thanks, Matt -- View this message in context: http://www.nabble.com/Is-there-a-success-message-example--tf3642922.html#a10173842 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] What's the easiest way to do a pageable/sortable list screen?
Thanks guys - I appreciate all your help. I've decided to go with DataView over DefaultDataTable because I couldn't get the "click on column value for link"[1] to work. Unfortunately, the following doesn't work with Wicket 1.2.6: item.add(new AttributeModifier("class", true, new AbstractReadOnlyModel() { public Object getObject() { return (item.getIndex() % 2 == 1) ? "even" : "odd"; } })); I tried the following (I'm a complete newbie, so sorry if this is dumb), but it doesn't work: public Object getObject(Component component) { Item item = (Item) component; return (item.getIndex() % 2 == 1) ? "even" : "odd"; } Matt [1] http://tinyurl.com/yw3e5l Matej Knopp-2 wrote: > > Hi, > > the code for sortable pageable list can look like this: > > public class SortingPage extends BasePage > { > > public SortingPage() > { > SortableContactDataProvider dp = new > SortableContactDataProvider(); > final DataView dataView = new DataView("sorting", dp) > { > protected void populateItem(final Item item) > { > Contact contact = > (Contact)item.getModelObject(); > item.add(new ActionPanel("actions", > item.getModel())); > item.add(new Label("contactid", > String.valueOf(contact.getId(; > item.add(new Label("firstname", > contact.getFirstName())); > item.add(new Label("lastname", > contact.getLastName())); > item.add(new Label("homephone", > contact.getHomePhone())); > item.add(new Label("cellphone", > contact.getCellPhone())); > > item.add(new AttributeModifier("class", true, > new > AbstractReadOnlyModel() > { > public Object getObject() > { > return (item.getIndex() % 2 == > 1) ? "even" : "odd"; > } > })); > } > }; > > dataView.setItemsPerPage(8); > > add(new OrderByBorder("orderByFirstName", "firstName", dp)); > > add(new OrderByBorder("orderByLastName", "lastName", dp)); > > add(dataView); > > add(new PagingNavigator("navigator", dataView)); > } > } > > -Matej > > On 4/25/07, mraible <[EMAIL PROTECTED]> wrote: >> >> That site has a way to view the source of the templates, but not the Java >> code. Anywhere I can download that? >> >> What's the least amount of required classes to do a sortable/pageable >> grid >> with i18n? Compared to all the other web frameworks I've used, Wicket >> seems >> to make this the most difficult. Stripes is 30 lines of Java code and 20 >> lines of JSP. ;-) >> >> I know, I know - Wicket gives you a much more powerful way to do grids - >> but >> does it offer a simplistic grid as well? >> >> Thanks, >> >> Matt >> >> >> igor.vaynberg wrote: >> > >> > see >> > >> > http://wicketstuff.org/wicket13/repeater/ >> > >> > namely the datatable example >> > >> > -igor >> > >> > >> > On 4/24/07, mraible <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> What's the easiest way to do a pageable/sortable list with >> >> Wicket? Looking >> >> at the following example, there's quite a few files required to >> replicate >> >> the DisplayTag's functionality. >> >> >> >> http://www.wicket-library.com/wicket-examples/displaytag >> >> >> >> Is this packaged up as a component I can use? >> >> >> >> The other example I found was "wicket_crud" and it seems to req
Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?
That site has a way to view the source of the templates, but not the Java code. Anywhere I can download that? What's the least amount of required classes to do a sortable/pageable grid with i18n? Compared to all the other web frameworks I've used, Wicket seems to make this the most difficult. Stripes is 30 lines of Java code and 20 lines of JSP. ;-) I know, I know - Wicket gives you a much more powerful way to do grids - but does it offer a simplistic grid as well? Thanks, Matt igor.vaynberg wrote: > > see > > http://wicketstuff.org/wicket13/repeater/ > > namely the datatable example > > -igor > > > On 4/24/07, mraible <[EMAIL PROTECTED]> wrote: >> >> >> What's the easiest way to do a pageable/sortable list with >> Wicket? Looking >> at the following example, there's quite a few files required to replicate >> the DisplayTag's functionality. >> >> http://www.wicket-library.com/wicket-examples/displaytag >> >> Is this packaged up as a component I can use? >> >> The other example I found was "wicket_crud" and it seems to require 4 >> Java >> files just for a list screen - not example simple in my mind. ;-) >> >> Matt >> -- >> View this message in context: >> http://www.nabble.com/What%27s-the-easiest-way-to-do-a-pageable-sortable-list-screen--tf3639929.html#a10165178 >> 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/What%27s-the-easiest-way-to-do-a-pageable-sortable-list-screen--tf3639929.html#a10171203 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
[Wicket-user] What's the easiest way to do a pageable/sortable list screen?
What's the easiest way to do a pageable/sortable list with Wicket? Looking at the following example, there's quite a few files required to replicate the DisplayTag's functionality. http://www.wicket-library.com/wicket-examples/displaytag Is this packaged up as a component I can use? The other example I found was "wicket_crud" and it seems to require 4 Java files just for a list screen - not example simple in my mind. ;-) Matt -- View this message in context: http://www.nabble.com/What%27s-the-easiest-way-to-do-a-pageable-sortable-list-screen--tf3639929.html#a10165178 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
[Wicket-user] Joost uses Wicket
Thought y'all might be interested: http://opensource.joost.com/ Joost is a new company started by the founders of Skype: http://en.wikipedia.org/wiki/Joost Matt -- View this message in context: http://www.nabble.com/Joost-uses-Wicket-tf3390296.html#a9437082 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ApacheCon 2007
Huh? I don't think I've ever worn a cowboy hat in 20 years! What's "too American"? I doubt I'll be too American, but I might be a bit "countrified" - I am a hick from the sticks you know. ;-) Matt nilo de roock wrote: > > There's a 2 hour presentation from Matt Raible wearing a cowboy hat on > Google Video somewhere. > I wasn't planning on seeing him live, I hope it won't be too American. > Thanks for the tips. > - nilo > > > Martijn Dashorst wrote: >> >> It would be my first as well. From previous conferences (JavaOne, >> TSSJS Europe, JavaPolis): >> >> Do's: drink lots of beer >> Don'ts: drink too much beer >> >> Stay away from Matt Raible if you can't hold your liquor. Run and >> don't look back when he offers you a 'car bomb'. >> >> Other than that, keep an eye out for interesting presentations, meet >> lots of interesting folks, don't hesitate to ask open source >> luminaries about their frameworks. They're just normal people with too >> much free time on their hands or no social life ;-). >> >> Also the BoF (evening) sessions are always nice places to get >> information. >> >> Martijn >> >> On 2/7/07, nilo de roock <[EMAIL PROTECTED]> wrote: >>> >>> My office approved my attendance of the ApacheCon, all 4 days. I have >>> seen >>> that registration is open now. I thought that the entrance fee of >>> +/-$900 >>> covered everything, this doesn't seem to be the case. They charge $300 >>> for >>> attending a Wicket seminar. The thing is that I am rather newbie to >>> ApacheCon's. I don't want to miss the opportunity especially since it's >>> in >>> The Netherlands. My budget is probably 4 days off plus say 1000euro out >>> of >>> the pocket expense. For a lot of companies this may be peanuts, not to >>> ours. >>> >>> Any advice on the do's and don't's regarding ApacheCon's is highly >>> appreciated. >>> -nilo >>> -- >>> View this message in context: >>> http://www.nabble.com/-Wicket-user--ApacheCon-2007-tf3189250.html#a8853017 >>> Sent from the Wicket - User mailing list archive 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=lnk&kid=120709&bid=263057&dat=121642 >>> ___ >>> Wicket-user mailing list >>> Wicket-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/wicket-user >>> >> >> >> -- >> Vote for Wicket at the >> http://www.thebeststuffintheworld.com/vote_for/wicket >> Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now! >> http://wicketframework.org >> >> - >> 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=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> 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/-Wicket-user--ApacheCon-2007-tf3189250.html#a8857659 Sent from the Wicket - User mailing list archive 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=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user