Re: AjaxFallbackLink Text
Finally figured it out... For the benefit of others, my entire page with the AjaxFallbackLink w/ custom text: @SuppressWarnings("serial") public AssetsPage () { // List for columns List columns = new ArrayList(); // Abstract column for showing a pop up window with details columns.add(new AbstractColumn(new Model("")) { public void populateItem(Item cellItem, String componentId, IModel rowModel) { final Workstation item = (Workstation)rowModel.getObject(); // HashMap for all the item's values - will be sent to window final HashMap map = new HashMap(); map.put("AGENTIDENTIFIER", item.getAgentIdentifier()); map.put("HOSTNAME", item.getHostname()); map.put("DOMAIN", item.getDomainname()); map.put("FQDN", item.getFqdn()); map.put("IP","The IP Address"); map.put("NETMASK", "The Netmask"); map.put("GATEWAY", item.getGateway()); map.put("DNS1", item.getDns1()); map.put("DNS2", item.getDns2()); // ModalWindow functions as a pop up window with the item's details final ModalWindow modalWindowDetail; add(modalWindowDetail = new ModalWindow("modalWindowDetail")); // Action for close button callback modalWindowDetail.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() { public boolean onCloseButtonClicked(AjaxRequestTarget target) { return true; } }); // Action for window close modalWindowDetail.setWindowClosedCallback(new ModalWindow.WindowClosedCallback() { public void onClose(AjaxRequestTarget target) { // Do Nothing } }); AjaxFallbackLink link = new AjaxFallbackLink(componentId) { @Override public void onClick(AjaxRequestTarget target) { System.out.println("Viewed Details for " + item.getAgentIdentifier()); modalWindowDetail.setTitle("Detail: " + item.getHostname()); modalWindowDetail.setCookieName("modal-window-detail"); modalWindowDetail.setContent(new ModalPanel1(modalWindowDetail.getContentId(), map)); modalWindowDetail.show(target); } public void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) { String linkText = "View Details"; replaceComponentTagBody(markupStream, openTag, linkText); } }; cellItem.add(link); } }); // Property columns columns.add(new PropertyColumn(new Model("Agent Identifier"), "agentIdentifier", "agentIdentifier")); columns.add(new PropertyColumn(new Model("Hostname"), "hostname", "hostname")); columns.add(new PropertyColumn(new Model("FQDN"), "fqdn", "fqdn")); // Add the datatable to the page add(new DefaultDataTable("datatable", columns, new SortableWorkstationProvider(), 8)); } -- _ Joshua S. Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: img tags from external src slow down my page
Yeah I think the apache proxy mod are one good bet for this ... So if you are using apache http, just add the proxy directive.. 2009/7/2 Igor Vaynberg : > its a matter of building a simple cache. all you need is a servlet > that can check if the image is on disk and if not download it, then > serve it from there > > mount the servlet on /external and rewrite your urls to be > /external?url= > > there are probably already things like this for apache, you just have > to rewrite the url so it passes through your site and doesnt go > directly to the external one. > > -igor > > On Thu, Jul 2, 2009 at 1:57 PM, Jim Pinkham wrote: >> Hi, >> >> I have an AjaxFallbackDefaultDataTable on the main page of my Wicket >> app with an image column like this: >> >> columns.add(new ImagePropertyColumn(new ResourceModel("imageURL"), >> "imageURL")); >> >> My item model has an imageURL string property backed by a database >> column, and it pretty much works OK. >> >> I don't need to store any images, bandwidth is low, and it's simple, >> but I have seen some users enter URLs to huge TIFF images that are not >> properly sized, and it makes my page display take forever. I'd like >> to try to fix or prevent this. >> >> I had a few ideas: >> >> 1. a note on the item entry page asking users to 'please don't do that'. :) >> 2. add an ImageURLValidator to check the image size somehow... hmmm... >> 3. find some utility to help read the image, properly size it, and >> store a local copy with my own id (filesystem should work fine) >> and let my model's imageURL property point to it. >> >> I'm trying to write this so it could scale up a bit without getting >> crazy - This app lists items for a charity fundraising auction event, >> so access is light for several weeks, then peaks at about 300 hits per >> day (I know, not much) for a few days. But on those peak days, I'd >> like it to be fast (despite the decrepit old server it's running on). >> >> I've got about 300 items to show on a single page (users prefer a >> simple scrollbar without pagination). Also, I should mention that I >> have a search form that 'decorates' the matching text as it filters >> rows, and I'd like to make it fast enough to take away the search >> button and just ajax refresh on keypresses. >> >> Thanks for any suggestions, links to examples ...etc. >> -- Jim. >> >> http://firstuucolumbus.org/auction >> >> - >> 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
Re: img tags from external src slow down my page
its a matter of building a simple cache. all you need is a servlet that can check if the image is on disk and if not download it, then serve it from there mount the servlet on /external and rewrite your urls to be /external?url= there are probably already things like this for apache, you just have to rewrite the url so it passes through your site and doesnt go directly to the external one. -igor On Thu, Jul 2, 2009 at 1:57 PM, Jim Pinkham wrote: > Hi, > > I have an AjaxFallbackDefaultDataTable on the main page of my Wicket > app with an image column like this: > > columns.add(new ImagePropertyColumn(new ResourceModel("imageURL"), > "imageURL")); > > My item model has an imageURL string property backed by a database > column, and it pretty much works OK. > > I don't need to store any images, bandwidth is low, and it's simple, > but I have seen some users enter URLs to huge TIFF images that are not > properly sized, and it makes my page display take forever. I'd like > to try to fix or prevent this. > > I had a few ideas: > > 1. a note on the item entry page asking users to 'please don't do that'. :) > 2. add an ImageURLValidator to check the image size somehow... hmmm... > 3. find some utility to help read the image, properly size it, and > store a local copy with my own id (filesystem should work fine) > and let my model's imageURL property point to it. > > I'm trying to write this so it could scale up a bit without getting > crazy - This app lists items for a charity fundraising auction event, > so access is light for several weeks, then peaks at about 300 hits per > day (I know, not much) for a few days. But on those peak days, I'd > like it to be fast (despite the decrepit old server it's running on). > > I've got about 300 items to show on a single page (users prefer a > simple scrollbar without pagination). Also, I should mention that I > have a search form that 'decorates' the matching text as it filters > rows, and I'd like to make it fast enough to take away the search > button and just ajax refresh on keypresses. > > Thanks for any suggestions, links to examples ...etc. > -- Jim. > > http://firstuucolumbus.org/auction > > - > 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
img tags from external src slow down my page
Hi, I have an AjaxFallbackDefaultDataTable on the main page of my Wicket app with an image column like this: columns.add(new ImagePropertyColumn(new ResourceModel("imageURL"), "imageURL")); My item model has an imageURL string property backed by a database column, and it pretty much works OK. I don't need to store any images, bandwidth is low, and it's simple, but I have seen some users enter URLs to huge TIFF images that are not properly sized, and it makes my page display take forever. I'd like to try to fix or prevent this. I had a few ideas: 1. a note on the item entry page asking users to 'please don't do that'. :) 2. add an ImageURLValidator to check the image size somehow... hmmm... 3. find some utility to help read the image, properly size it, and store a local copy with my own id (filesystem should work fine) and let my model's imageURL property point to it. I'm trying to write this so it could scale up a bit without getting crazy - This app lists items for a charity fundraising auction event, so access is light for several weeks, then peaks at about 300 hits per day (I know, not much) for a few days. But on those peak days, I'd like it to be fast (despite the decrepit old server it's running on). I've got about 300 items to show on a single page (users prefer a simple scrollbar without pagination). Also, I should mention that I have a search form that 'decorates' the matching text as it filters rows, and I'd like to make it fast enough to take away the search button and just ajax refresh on keypresses. Thanks for any suggestions, links to examples ...etc. -- Jim. http://firstuucolumbus.org/auction - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Large internet rich UI Wicket websites?
Igor Vaynberg wrote: what makes you think you need any special tweaking or scaling in wicket to handle that kind of load? I've got a bit of knowledge (not wicket-specific) in this area and the one thing I can say for sure is: if there is a financial stake in the project, then you should never assume it will scale. The only way to know is to test it up to (and past) the expected load level. Chris Disclaimer: my employer sells load testing software and services. -- - Chris Merrill | Web Performance, Inc. ch...@webperformance.com| http://webperformance.com 919-433-1762| 919-845-7601 Website Load Testing and Stress Testing Software & Services - - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Large internet rich UI Wicket websites?
Nothing makes me think I can't but the point here is that nothing makes me think I can ;) I'll end up doing it at some point. it can't be helped, I've been wicketized. John- On Thu, Jul 2, 2009 at 12:53 PM, Igor Vaynberg wrote: > what makes you think you need any special tweaking or scaling in > wicket to handle that kind of load? > > -igor > > On Thu, Jul 2, 2009 at 12:43 PM, John Armstrong wrote: >> I see 3 tiers of sites >> >> Intranet : Low traffic / high functionality with a small audience and >> the common wicket use case from what I can tell. >> >> Mid-market : <5 million hits per day >> >> Premium : The ebays and googles of the world. >> >> No one stack can serve the Premium market but I instinctually think >> that wicket can do well "out of the box" in the Mid-market as well if >> we had just a bit more info about how people are scaling it in that >> range. >> >> John- >> >> On Thu, Jul 2, 2009 at 12:26 PM, Randy S. wrote: >>> For what it's worth, my employer is a large financial services organization >>> and we are considering switching to Wicket for all our major internal and >>> external development. I also have been disappointed while going through the >>> Wiki page that lists sites using Wicket. Many are not even in existence >>> anymore, and I saw no high volume sites. >>> >>> This is not a complaint to anyone. Wicket is what it is, including the >>> community. My point is that despite the lack of (advertised) usage on high >>> volume sites, some of us are lurking and see lots of potential. >>> >>> On Jul 2, 2009 2:16 PM, "David Chang" wrote: >>> >>> >>> Igor, thanks very much for your input and insight. I really mean it. >>> >>> All the best. >>> >>> >>> --- On Thu, 7/2/09, Igor Vaynberg wrote: >>> From: Igor Vaynberg >>> Subject: Re: Large internet rich UI Wicket websites? > To: >>> users@wicket.apache.org Date: Thursday, July 2, 2009, 2:35 PM >>> lets say the entire backend of amazon > is written in wicket. would you > >>> consider that to be a la... >>> >> >> - >> 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
Re: JDeveloper - Can I get a show of hands?
Since we are plugging our favorite DB tools I swear by Database Workbench Pro (http://www.upscene.com/). The author is extremely responsive (he'll give you a custom build, usually in 48 hours, when you find a bug), it supports a nice variety of databases and has some killer tools like cross-database data migration, schema migration, schema differentiation, ERD generation etc etc. Check it out, well worth the money but Windows only so I find myself in VMWare with it these days. John- On Thu, Jul 2, 2009 at 4:55 AM, Richard Allen wrote: > Now that Oracle bought Sun I wonder if JDev and Netbeans will cross paths. > > A great free, cross-platform SQL tool is SQuirreL ( > http://squirrel-sql.sourceforge.net/). > > > On Sat, Jun 20, 2009 at 4:45 PM, Scott Swank wrote: > >> I'm at best 50% DBA, by training. You end up with multi-step >> operations that work very well as sql*plus scripts. I also run >> analogous queries in TOAD, PL/SQL Dev or SQL Dev -- but no DBA worth >> hiring works in the click-and-drag world. But then I suppose this has >> gotten off topic. >> >> On Sat, Jun 20, 2009 at 10:37 AM, James >> Carman wrote: >> > As a DBA, you use SQL Plus? I would think most DBAs would either use the >> > console thingy that comes with Oracle or Toad. SQL Plus always seemed a >> bit >> > limiting to me, but that's probably because of my limited knowledge of >> all >> > the commands, so I need the nice GUI stuff to guide me along. :) >> > >> > On Sat, Jun 20, 2009 at 1:04 PM, Scott Swank >> wrote: >> > >> >> And if you're an Oracle DBA your main tool is called "SQL Plus". >> >> >> >> On Fri, Jun 19, 2009 at 8:58 PM, James >> >> Carman wrote: >> >> > +1 to sqldeveloper (java or native). For developers (not DBAs), it's >> a >> >> very >> >> > nice tool and does what you need for the majority of the cases. >> >> > >> >> > On Fri, Jun 19, 2009 at 11:28 PM, Vasu Srinivasan >> >> wrote: >> >> > >> >> >> JDeveloper is good to target a narrow Oracle infrastructure. We use >> it >> >> for >> >> >> Oracle soa suite, and there are no other IDEs / plugins which can >> match >> >> >> that, it has good integration for ADF too. And thats pretty much it. >> >> >> >> >> >> Otherwise, it doesn't come half close to IDEA or Eclipse. The project >> >> >> structure it generates is pretty un-intuitive. Bad IDE is indirectly >> >> >> proportional to Productivity. Lack of good plugins is another major >> >> reason. >> >> >> >> >> >> Our team has only a few licenses for TOAD, so I use sql developer >> (the >> >> >> windows native version, not the java version).. Pretty happy with it, >> >> >> though >> >> >> it gets a bit slow at times. Last I used the java version was buggy >> and >> >> >> low. >> >> >> >> >> >> >> >> >> >> >> >> On Fri, Jun 19, 2009 at 9:09 PM, Daniel Toffetti < >> dto...@yahoo.com.ar >> >> >> >wrote: >> >> >> >> >> >> > Juan Carlos Garcia M. gmail.com> writes: >> >> >> > > >> >> >> > > I always thought God used only in LISP :) >> >> >> > > >> >> >> > > Nicolas Melendez wrote: >> >> >> > > > >> >> >> > > > god used Eclipse 1.0 to develop universe. >> >> >> > > > >> >> >> > > > NM >> >> >> > > > Software Developer - Buenos aires, Argentina. >> >> >> > > > >> >> >> > >> >> >> > No. Sadly, He didn't: >> >> >> > >> >> >> > http://xkcd.com/224/ >> >> >> > >> >> >> > Daniel >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> - >> >> >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> >> >> > For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> >> -- >> >> >> Regards, >> >> >> Vasu Srinivasan >> >> >> >> >> > >> >> >> >> - >> >> 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
Re: Large internet rich UI Wicket websites?
what makes you think you need any special tweaking or scaling in wicket to handle that kind of load? -igor On Thu, Jul 2, 2009 at 12:43 PM, John Armstrong wrote: > I see 3 tiers of sites > > Intranet : Low traffic / high functionality with a small audience and > the common wicket use case from what I can tell. > > Mid-market : <5 million hits per day > > Premium : The ebays and googles of the world. > > No one stack can serve the Premium market but I instinctually think > that wicket can do well "out of the box" in the Mid-market as well if > we had just a bit more info about how people are scaling it in that > range. > > John- > > On Thu, Jul 2, 2009 at 12:26 PM, Randy S. wrote: >> For what it's worth, my employer is a large financial services organization >> and we are considering switching to Wicket for all our major internal and >> external development. I also have been disappointed while going through the >> Wiki page that lists sites using Wicket. Many are not even in existence >> anymore, and I saw no high volume sites. >> >> This is not a complaint to anyone. Wicket is what it is, including the >> community. My point is that despite the lack of (advertised) usage on high >> volume sites, some of us are lurking and see lots of potential. >> >> On Jul 2, 2009 2:16 PM, "David Chang" wrote: >> >> >> Igor, thanks very much for your input and insight. I really mean it. >> >> All the best. >> >> >> --- On Thu, 7/2/09, Igor Vaynberg wrote: >> >>> From: Igor Vaynberg >> >>> Subject: Re: Large internet rich UI Wicket websites? > To: >> users@wicket.apache.org >>> Date: Thursday, July 2, 2009, 2:35 PM >> >>> lets say the entire backend of amazon > is written in wicket. would you > >> consider that to be a la... >> > > - > 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
Re: Image with parameters
Aah! Okay, found it It is exactly where it should be: add( new Image( "image", imageResource, new ValueMap( map ) ) ) Thanks... Joe Johannes Schneider wrote: > Hi, > > I have registered a shared resource with > IndexedSharedResourceCodingStrategy. > Now I want to add an image to one of my pages. But of course I need to > add a parameter to that image. How can this be done? I really can't find > any fitting constructor... > > What I have so far is: > > > > ResourceReference imageResource = new ResourceReference( > "MyWellKnownKey" ); > > HashMap map = new HashMap(); > map.put( "0", "myParameterIWantToAdd ); > > CharSequence url = RequestCycle.get().urlFor( imageResource, new > ValueMap( map ) ); //that URL looks good! But what to do with? > > add( new Image( "image", String.valueOf( url ) ) ); //does not work > > > > Where is > > new ResourceReference ("MyWellKnownKey" , new ValueMap() ); > > > > Any hints? > > > Thanks, > > Johannes > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Image with parameters
Hi, I have registered a shared resource with IndexedSharedResourceCodingStrategy. Now I want to add an image to one of my pages. But of course I need to add a parameter to that image. How can this be done? I really can't find any fitting constructor... What I have so far is: ResourceReference imageResource = new ResourceReference( "MyWellKnownKey" ); HashMap map = new HashMap(); map.put( "0", "myParameterIWantToAdd ); CharSequence url = RequestCycle.get().urlFor( imageResource, new ValueMap( map ) ); //that URL looks good! But what to do with? add( new Image( "image", String.valueOf( url ) ) ); //does not work Where is new ResourceReference ("MyWellKnownKey" , new ValueMap() ); Any hints? Thanks, Johannes - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Large internet rich UI Wicket websites?
I see 3 tiers of sites Intranet : Low traffic / high functionality with a small audience and the common wicket use case from what I can tell. Mid-market : <5 million hits per day Premium : The ebays and googles of the world. No one stack can serve the Premium market but I instinctually think that wicket can do well "out of the box" in the Mid-market as well if we had just a bit more info about how people are scaling it in that range. John- On Thu, Jul 2, 2009 at 12:26 PM, Randy S. wrote: > For what it's worth, my employer is a large financial services organization > and we are considering switching to Wicket for all our major internal and > external development. I also have been disappointed while going through the > Wiki page that lists sites using Wicket. Many are not even in existence > anymore, and I saw no high volume sites. > > This is not a complaint to anyone. Wicket is what it is, including the > community. My point is that despite the lack of (advertised) usage on high > volume sites, some of us are lurking and see lots of potential. > > On Jul 2, 2009 2:16 PM, "David Chang" wrote: > > > Igor, thanks very much for your input and insight. I really mean it. > > All the best. > > > --- On Thu, 7/2/09, Igor Vaynberg wrote: > >> From: Igor Vaynberg > >> Subject: Re: Large internet rich UI Wicket websites? > To: > users@wicket.apache.org >> Date: Thursday, July 2, 2009, 2:35 PM > >> lets say the entire backend of amazon > is written in wicket. would you > > consider that to be a la... > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Looking to implement a table that has it all.
Nice, thanks for the pointers Jeremy! -- View this message in context: http://www.nabble.com/Looking-to-implement-a-table-that-has-it-all.-tp24311958p24312781.html Sent from the Wicket - User 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: Large internet rich UI Wicket websites?
For what it's worth, my employer is a large financial services organization and we are considering switching to Wicket for all our major internal and external development. I also have been disappointed while going through the Wiki page that lists sites using Wicket. Many are not even in existence anymore, and I saw no high volume sites. This is not a complaint to anyone. Wicket is what it is, including the community. My point is that despite the lack of (advertised) usage on high volume sites, some of us are lurking and see lots of potential. On Jul 2, 2009 2:16 PM, "David Chang" wrote: Igor, thanks very much for your input and insight. I really mean it. All the best. --- On Thu, 7/2/09, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: Large internet rich UI Wicket websites? > To: users@wicket.apache.org > Date: Thursday, July 2, 2009, 2:35 PM > lets say the entire backend of amazon > is written in wicket. would you > consider that to be a la...
Re: Looking to implement a table that has it all.
Wicket stuff. https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/ -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jul 2, 2009 at 2:18 PM, satar wrote: > > Jeremy, those examples are PERFECT! Where does one find the source to them :P > -- > View this message in context: > http://www.nabble.com/Looking-to-implement-a-table-that-has-it-all.-tp24311958p24312528.html > Sent from the Wicket - User 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 > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Looking to implement a table that has it all.
Jeremy, those examples are PERFECT! Where does one find the source to them :P -- View this message in context: http://www.nabble.com/Looking-to-implement-a-table-that-has-it-all.-tp24311958p24312528.html Sent from the Wicket - User 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: Large internet rich UI Wicket websites?
Igor, thanks very much for your input and insight. I really mean it. All the best. --- On Thu, 7/2/09, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: Large internet rich UI Wicket websites? > To: users@wicket.apache.org > Date: Thursday, July 2, 2009, 2:35 PM > lets say the entire backend of amazon > is written in wicket. would you > consider that to be a large application? how would you ever > know that > it was written in wicket? people who work on projects like > these do > not often go, or most times are not even allowed, to boast > on some > public mailing list. > > wicket is best suited for very complex uis, and such uis > are not often > suited for public websites - whose mission is to make the > experience > as simple as possible for the user. not saying that it > cannot be done. > > i think if this is some sort of a "criteria" for choosing a > framework > you should probably go with servlets. there are some very > very large > sites out there written in pure jsp and servlets. good > luck. > > -igor > > On Thu, Jul 2, 2009 at 10:57 AM, David Chang > wrote: > > > > > > Jeremy, thanks for your input. I don't quite > understand the side note in your reply. For a large website > such as Amazon to work, there should absolutely be different > technologies/tiers, tuning, security, and other > considerations. The basic question is whether a framework is > up to that task and whether there is evidence in reality. > > > > Still back to my original question, any there any > large Wicket website out there? Wicket people have to face > it, me too, if I am going to use it. > > > > > > --- On Wed, 7/1/09, Jeremy Thomerson > wrote: > > > >> From: Jeremy Thomerson > >> Subject: Re: Large internet rich UI Wicket > websites? > >> To: users@wicket.apache.org > >> Date: Wednesday, July 1, 2009, 4:08 PM > >> There are some large ones that have > >> been mentioned on the mailing > >> lists in the past - you can try searching Nabble - > they may > >> not be on > >> that page. > >> > >> As a side note, I find it funny how everyone > always > >> compares their > >> anticipated traffic with Amazon or eBay. I > worked at > >> eBay for quite > >> some time, and I know that you are not going to > run either > >> of those > >> sites with any framework straight out of the > box. I'm > >> not saying > >> Wicket can't scale to that size, I'm saying that > no > >> framework defaults > >> to being made for that size. Could eBay or > Amazon use > >> Wicket? Sure, > >> with the right techniques. Could your website > use > >> it? Yes, and > >> probably much easier. :) > >> > >> -- > >> Jeremy Thomerson > >> http://www.wickettraining.com > >> > >> > >> > >> > >> On Wed, Jul 1, 2009 at 2:51 PM, David Chang > >> wrote: > >> > > >> > > >> > Martin, I looked at the list and it seems > none of them > >> meets what I said about large rich ui Wicket > website. Likely > >> I am ignorant. Please enlighten me. By large, I > mean > >> something similar or close to amazon.com or > ebay.com that > >> have a large number of concurrent users. Which > Wicket > >> website in your knowledge seems to the largest > one? > >> > > >> > Thanks! > >> > > >> > > >> > --- On Wed, 7/1/09, Martin Funk > >> wrote: > >> > > >> >> From: Martin Funk > >> >> Subject: Re: Large internet rich UI > Wicket > >> websites? > >> >> To: users@wicket.apache.org > >> >> Date: Wednesday, July 1, 2009, 3:21 PM > >> >> > >> >> Am 01.07.2009 um 20:11 schrieb David > Chang: > >> >> > >> >> > > >> >> > I am still learning Wicket. The more > I read > >> from > >> >> <>, the > more I like > >> it. > >> >> > > >> >> > From the book, I know that companies > from > >> startups to > >> >> large-size ones such as IBM, Amazon, etc. > use > >> Wicket for > >> >> their projects, but I cannot find a list > of > >> specific larget > >> >> internet rich UI websites coded with > Wicket. Could > >> someone > >> >> help? > >> >> > > >> >> > The backgound for this request is > that we may > >> use > >> >> Wicket for a large highly-active > website. > >> >> maybe this helps: > >> >> http://cwiki.apache.org/WICKET/sites-using-wicket.html > >> >> mf > >> >> > > >> >> > Cheers! > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > >> > - > >> >> > 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 > >> > > >> > > >> >
RE: Wicket behind proxy (AJP)
> From: jcar...@carmanconsulting.com > Date: Thu, 2 Jul 2009 14:43:59 -0400 > Subject: Re: Wicket behind proxy (AJP) > To: users@wicket.apache.org > > I don't think ProxyPass supports the "/" path, does it? At least, it didn't > back when I wanted to set my site up like that. What I had to do was put a > dummy HTML page in there with a refresh directive to make it go to: > http://mysite/mywicketapp ProxyPass supports the /, but it doesn't pass to tomcat very well when you go to /. Tomcat will get the request for / through proxy pass, but it gets filtered through the default lookup which seems to only look at files and does NOT create a request to your servlet. In my case I want all requests to go through Spring at *.htm and there is no physical JSP mapped, so it only looks at files on disk. I would love to hear an easy solution. I guess you could create a single JSP that forward the request. Russ _ Insert movie times and more without leaving Hotmail®. http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
Re: Wicket behind proxy (AJP)
This doesn't sound like a very smooth way (: And as I said, it all works perfectly well with HTTP but not with AJP. On Thu, Jul 2, 2009 at 10:43 PM, James Carman wrote: > I don't think ProxyPass supports the "/" path, does it? At least, it didn't > back when I wanted to set my site up like that. What I had to do was put a > dummy HTML page in there with a refresh directive to make it go to: > http://mysite/mywicketapp > > On Thu, Jul 2, 2009 at 2:27 PM, Sergey Podatelev > wrote: > >> Hello, >> >> I know this question had already been asked here, but I still couldn't >> get it working on my side. >> What I'm trying to achieve, is a configuration of Wicket running as >> filter on Tomcat with an Apache host as a frontend. Particular problem >> is with the context path. >> >> Here's my configuration: >> Tomcat's "server.xml": >> >> ... >> > enableLookups="false" /> >> ... >> >> Apache's "sites-enabled/mysite": >> >> ... >> >> ServerName "mysite" >> >> ProxyRequests Off >> >> Order deny,allow >> Deny from all >> Allow from localhost >> >> >> ProxyPass / http://localhost:8084/Mysite/ >> ProxyPassReverse / http://localhost:8084/Mysite/ >> >> # this doesn't work >> #ProxyPass / ajp://localhost:8099/Mysite/ >> #ProxyPassReverse / ajp://localhost:8099/Mysite/ >> >> # this doesn't work either >> #ProxyPass / ajp://localhost:8099/Mysite/ >> #ProxyPassReverse / http://localhost:8084/Mysite/ >> >> ProxyPassReverseCookiePath /Mysite / >> >> >> ... >> >> The only way I got it working with (almost) no issues is the first >> one, where both ProxyPass and ProxyPassReverse directives use HTTP >> protocol. >> If I try AJP for both, or, as was stated somewhere in the mailing list >> here, HTTP for ProxyPassReverse and AJP for ProxyPass. >> >> The specific problem is when I access http://mysite/, some Wicket >> requests work fine, some, however, are pointing to >> http://mysite/Mysite/ (this, for instance, happens when I do >> setResponsePage(Page.class, pageParameters). At first, this doesn't >> seem to affect anything, but I have "Infinite Redirect Loop" error on >> 404 page, which is mounted the way it's described on Wicket's wiki. >> >> I'm not sure, whose problem is this, Wicket's or AJP's. >> I'm sure someone had similar issues and got them solved, I'd really >> appreciate any comments. >> >> -- >> sp >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > -- sp - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket behind proxy (AJP)
I don't think ProxyPass supports the "/" path, does it? At least, it didn't back when I wanted to set my site up like that. What I had to do was put a dummy HTML page in there with a refresh directive to make it go to: http://mysite/mywicketapp On Thu, Jul 2, 2009 at 2:27 PM, Sergey Podatelev wrote: > Hello, > > I know this question had already been asked here, but I still couldn't > get it working on my side. > What I'm trying to achieve, is a configuration of Wicket running as > filter on Tomcat with an Apache host as a frontend. Particular problem > is with the context path. > > Here's my configuration: > Tomcat's "server.xml": > > ... > enableLookups="false" /> > ... > > Apache's "sites-enabled/mysite": > > ... > > ServerName "mysite" > >ProxyRequests Off > > Order deny,allow > Deny from all > Allow from localhost > > >ProxyPass/ http://localhost:8084/Mysite/ >ProxyPassReverse / http://localhost:8084/Mysite/ > ># this doesn't work >#ProxyPass/ ajp://localhost:8099/Mysite/ >#ProxyPassReverse / ajp://localhost:8099/Mysite/ > ># this doesn't work either >#ProxyPass/ ajp://localhost:8099/Mysite/ >#ProxyPassReverse / http://localhost:8084/Mysite/ > >ProxyPassReverseCookiePath /Mysite / > > > ... > > The only way I got it working with (almost) no issues is the first > one, where both ProxyPass and ProxyPassReverse directives use HTTP > protocol. > If I try AJP for both, or, as was stated somewhere in the mailing list > here, HTTP for ProxyPassReverse and AJP for ProxyPass. > > The specific problem is when I access http://mysite/, some Wicket > requests work fine, some, however, are pointing to > http://mysite/Mysite/ (this, for instance, happens when I do > setResponsePage(Page.class, pageParameters). At first, this doesn't > seem to affect anything, but I have "Infinite Redirect Loop" error on > 404 page, which is mounted the way it's described on Wicket's wiki. > > I'm not sure, whose problem is this, Wicket's or AJP's. > I'm sure someone had similar issues and got them solved, I'd really > appreciate any comments. > > -- > sp > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Looking to implement a table that has it all.
I've never used it, but Matej created the inmethod grid: http://wicketstuff.org/grid-examples/ -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jul 2, 2009 at 1:36 PM, Steve Tarlton wrote: > I am looking to develop a table that has sortable columns, using an ajax > approach of course. I want to highlight the row that one is mousing over > with one color and ideally if a row is currently selected it would be > highlighted with a different color. Additionally, I want to have alternating > colors for the rows that are not selected. Only one row at a time can be > selected because the row selected displays its values in a form on the left > hand side. > > I have seen different examples containing pretty much everything I want but > haven't seen one that does it all. I implemented an example using Igor's > AjaxFallbackDefaultDataTable, which made it extremely easy to create a > sortable ajax enabled table :). I have also ran across the alternating > colors and the mouseover highlighting in the WickeStuff Dojo > (selectabletable) Example. Is it possible to have it all using one or the > other approach? Sorry if the answer is obvious, I am still pretty new to > Wicket. > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Large internet rich UI Wicket websites?
lets say the entire backend of amazon is written in wicket. would you consider that to be a large application? how would you ever know that it was written in wicket? people who work on projects like these do not often go, or most times are not even allowed, to boast on some public mailing list. wicket is best suited for very complex uis, and such uis are not often suited for public websites - whose mission is to make the experience as simple as possible for the user. not saying that it cannot be done. i think if this is some sort of a "criteria" for choosing a framework you should probably go with servlets. there are some very very large sites out there written in pure jsp and servlets. good luck. -igor On Thu, Jul 2, 2009 at 10:57 AM, David Chang wrote: > > > Jeremy, thanks for your input. I don't quite understand the side note in your > reply. For a large website such as Amazon to work, there should absolutely be > different technologies/tiers, tuning, security, and other considerations. The > basic question is whether a framework is up to that task and whether there is > evidence in reality. > > Still back to my original question, any there any large Wicket website out > there? Wicket people have to face it, me too, if I am going to use it. > > > --- On Wed, 7/1/09, Jeremy Thomerson wrote: > >> From: Jeremy Thomerson >> Subject: Re: Large internet rich UI Wicket websites? >> To: users@wicket.apache.org >> Date: Wednesday, July 1, 2009, 4:08 PM >> There are some large ones that have >> been mentioned on the mailing >> lists in the past - you can try searching Nabble - they may >> not be on >> that page. >> >> As a side note, I find it funny how everyone always >> compares their >> anticipated traffic with Amazon or eBay. I worked at >> eBay for quite >> some time, and I know that you are not going to run either >> of those >> sites with any framework straight out of the box. I'm >> not saying >> Wicket can't scale to that size, I'm saying that no >> framework defaults >> to being made for that size. Could eBay or Amazon use >> Wicket? Sure, >> with the right techniques. Could your website use >> it? Yes, and >> probably much easier. :) >> >> -- >> Jeremy Thomerson >> http://www.wickettraining.com >> >> >> >> >> On Wed, Jul 1, 2009 at 2:51 PM, David Chang >> wrote: >> > >> > >> > Martin, I looked at the list and it seems none of them >> meets what I said about large rich ui Wicket website. Likely >> I am ignorant. Please enlighten me. By large, I mean >> something similar or close to amazon.com or ebay.com that >> have a large number of concurrent users. Which Wicket >> website in your knowledge seems to the largest one? >> > >> > Thanks! >> > >> > >> > --- On Wed, 7/1/09, Martin Funk >> wrote: >> > >> >> From: Martin Funk >> >> Subject: Re: Large internet rich UI Wicket >> websites? >> >> To: users@wicket.apache.org >> >> Date: Wednesday, July 1, 2009, 3:21 PM >> >> >> >> Am 01.07.2009 um 20:11 schrieb David Chang: >> >> >> >> > >> >> > I am still learning Wicket. The more I read >> from >> >> <>, the more I like >> it. >> >> > >> >> > From the book, I know that companies from >> startups to >> >> large-size ones such as IBM, Amazon, etc. use >> Wicket for >> >> their projects, but I cannot find a list of >> specific larget >> >> internet rich UI websites coded with Wicket. Could >> someone >> >> help? >> >> > >> >> > The backgound for this request is that we may >> use >> >> Wicket for a large highly-active website. >> >> maybe this helps: >> >> http://cwiki.apache.org/WICKET/sites-using-wicket.html >> >> mf >> >> > >> >> > Cheers! >> >> > >> >> > >> >> > >> >> > >> >> > >> >> >> - >> >> > 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 >> > >> > >> >> - >> 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
Looking to implement a table that has it all.
I am looking to develop a table that has sortable columns, using an ajax approach of course. I want to highlight the row that one is mousing over with one color and ideally if a row is currently selected it would be highlighted with a different color. Additionally, I want to have alternating colors for the rows that are not selected. Only one row at a time can be selected because the row selected displays its values in a form on the left hand side. I have seen different examples containing pretty much everything I want but haven't seen one that does it all. I implemented an example using Igor's AjaxFallbackDefaultDataTable, which made it extremely easy to create a sortable ajax enabled table :). I have also ran across the alternating colors and the mouseover highlighting in the WickeStuff Dojo (selectabletable) Example. Is it possible to have it all using one or the other approach? Sorry if the answer is obvious, I am still pretty new to Wicket.
Wicket behind proxy (AJP)
Hello, I know this question had already been asked here, but I still couldn't get it working on my side. What I'm trying to achieve, is a configuration of Wicket running as filter on Tomcat with an Apache host as a frontend. Particular problem is with the context path. Here's my configuration: Tomcat's "server.xml": ... ... Apache's "sites-enabled/mysite": ... ServerName "mysite" ProxyRequests Off Order deny,allow Deny from all Allow from localhost ProxyPass/ http://localhost:8084/Mysite/ ProxyPassReverse / http://localhost:8084/Mysite/ # this doesn't work #ProxyPass/ ajp://localhost:8099/Mysite/ #ProxyPassReverse / ajp://localhost:8099/Mysite/ # this doesn't work either #ProxyPass/ ajp://localhost:8099/Mysite/ #ProxyPassReverse / http://localhost:8084/Mysite/ ProxyPassReverseCookiePath /Mysite / ... The only way I got it working with (almost) no issues is the first one, where both ProxyPass and ProxyPassReverse directives use HTTP protocol. If I try AJP for both, or, as was stated somewhere in the mailing list here, HTTP for ProxyPassReverse and AJP for ProxyPass. The specific problem is when I access http://mysite/, some Wicket requests work fine, some, however, are pointing to http://mysite/Mysite/ (this, for instance, happens when I do setResponsePage(Page.class, pageParameters). At first, this doesn't seem to affect anything, but I have "Infinite Redirect Loop" error on 404 page, which is mounted the way it's described on Wicket's wiki. I'm not sure, whose problem is this, Wicket's or AJP's. I'm sure someone had similar issues and got them solved, I'd really appreciate any comments. -- sp - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Large internet rich UI Wicket websites?
Jeremy, thanks for your input. I don't quite understand the side note in your reply. For a large website such as Amazon to work, there should absolutely be different technologies/tiers, tuning, security, and other considerations. The basic question is whether a framework is up to that task and whether there is evidence in reality. Still back to my original question, any there any large Wicket website out there? Wicket people have to face it, me too, if I am going to use it. --- On Wed, 7/1/09, Jeremy Thomerson wrote: > From: Jeremy Thomerson > Subject: Re: Large internet rich UI Wicket websites? > To: users@wicket.apache.org > Date: Wednesday, July 1, 2009, 4:08 PM > There are some large ones that have > been mentioned on the mailing > lists in the past - you can try searching Nabble - they may > not be on > that page. > > As a side note, I find it funny how everyone always > compares their > anticipated traffic with Amazon or eBay. I worked at > eBay for quite > some time, and I know that you are not going to run either > of those > sites with any framework straight out of the box. I'm > not saying > Wicket can't scale to that size, I'm saying that no > framework defaults > to being made for that size. Could eBay or Amazon use > Wicket? Sure, > with the right techniques. Could your website use > it? Yes, and > probably much easier. :) > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Wed, Jul 1, 2009 at 2:51 PM, David Chang > wrote: > > > > > > Martin, I looked at the list and it seems none of them > meets what I said about large rich ui Wicket website. Likely > I am ignorant. Please enlighten me. By large, I mean > something similar or close to amazon.com or ebay.com that > have a large number of concurrent users. Which Wicket > website in your knowledge seems to the largest one? > > > > Thanks! > > > > > > --- On Wed, 7/1/09, Martin Funk > wrote: > > > >> From: Martin Funk > >> Subject: Re: Large internet rich UI Wicket > websites? > >> To: users@wicket.apache.org > >> Date: Wednesday, July 1, 2009, 3:21 PM > >> > >> Am 01.07.2009 um 20:11 schrieb David Chang: > >> > >> > > >> > I am still learning Wicket. The more I read > from > >> <>, the more I like > it. > >> > > >> > From the book, I know that companies from > startups to > >> large-size ones such as IBM, Amazon, etc. use > Wicket for > >> their projects, but I cannot find a list of > specific larget > >> internet rich UI websites coded with Wicket. Could > someone > >> help? > >> > > >> > The backgound for this request is that we may > use > >> Wicket for a large highly-active website. > >> maybe this helps: > >> http://cwiki.apache.org/WICKET/sites-using-wicket.html > >> mf > >> > > >> > Cheers! > >> > > >> > > >> > > >> > > >> > > >> > - > >> > 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 > > > > > > - > 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
Can a RadioChoice display input for null value?
Hello, is it possible to get RadioChoice behave more like DropDownChoice concerning a null value? Consider a RadioChoice defining a search parameter, e.g. two values 'male' and 'female' and a third one meaning "doesn't matter". With a DropDownChoice I could easily use setNullValid(true) and then define a property .nullValid which is them used for the null value. Looking into the source it seems that DropDownChoice always adds getDefaultChoice() which does the magic while RadioChoice does not. Can anyone elaborate on this topic? Is there a workaround? Background is that I have dozens of enums with property files for localization and a self-written EnumChoiceRenderer which does the localization. So if I have a property of (enum) type Gender which defines Gender.MALE and Gender.FEMALE I can't easily define a special "NULL" value without modifying the enum. So the only option I see would be to really pass null to the RadioChoice or to define a special enum (like GenderWithNull) for any enum I want to use in a RadioChoice. regards, Robin. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Localization message for validators
Major Péter schrieb: Dear Igor referring to your comment on https://issues.apache.org/jira/browse/WICKET-2350 where it reads: "the proper format of the override key is formid.componentid.key, you are missing the formid part. this was considered a bug in earlier versions of wicket and was fixed. " this is quite misleading. we have the same issue here and while myField=MyFunkyField is picked up for automatically created ErrorMessages, even though the fully qualified key would be: myForm.myField=MyFunkyField it seems when looking up error messages, you need to fully qualify it. Means: myForm.myField=works myField=works as well (!) myForm.myField.Required=works myField.Required=doesnt. looks quite inconsistent to me? what am i missing? cu uwe -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T + 49 761 3 85 59 410 F + 49 761 3 85 59 550 E lar...@thomas-daily.de www.thomas-daily.de Geschäftsführer/Managing Directors: Wendy Thomas, Susanne Larbig Handelsregister Freiburg i.Br., HRB 3947 Registrieren Sie sich unter http://www.signin.thomas-daily.de für die kostenfreien TD Morning News, eine Auswahl aktueller Themen des Tages morgens um 9:00 in Ihrer Mailbox. Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um 8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 16:00 Uhr des Vortages eingegangen sind. Die Email-Adresse unserer Redaktion lautet redakt...@thomas-daily.de. To receive the free TD News International – a selection of the day’s top issues delivered to your mail box every day – please register at www.signin.thomas-daily.de Please note: Information received for our TD News International after 4 p.m. will be given priority for publication the following day. The daily editorial deadline is 8:30 a.m. You can reach our editorial staff at redakt...@thomas-daily.de. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Two WebPages one Site
try with rc5/6/snapshot. i think sometihng like this might have been fixed since then. -igor On Thu, Jul 2, 2009 at 9:36 AM, Enes Fazli wrote: > Hi Igor, > > I use Wicket 1.4-rc4. > > Regards, > Enes > > On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > >> what version of wicket are you using? >> >> -igor >> >> On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli >> wrote: >> > Hello everybody, >> > >> > I have a requirement where I need to have two or more styles for a >> website. >> > Since layout and content can be different between the two variations I >> went >> > for a two Webpage classes solution. I created base and base2 which are >> both >> > abstract and extend webpage. >> > >> > Each page inherits either from base or base2. The homepage of base is >> > mounted on / while the homepage of base2 is mounted on /base2. This works >> > fine. But oddly all the form submits (stateless forms) on base2 pages do >> not >> > work. It seems that the action url is wrong because I get an 404 not >> found >> > error. >> > >> > Could someone give me a hint to where I have to look to debug this issue. >> > >> > Regards, >> > Enes >> > >> >> - >> 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
Re: Two WebPages one Site
Hi Igor, I use Wicket 1.4-rc4. Regards, Enes On Thu, Jul 2, 2009 at 5:33 PM, Igor Vaynberg wrote: > what version of wicket are you using? > > -igor > > On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli > wrote: > > Hello everybody, > > > > I have a requirement where I need to have two or more styles for a > website. > > Since layout and content can be different between the two variations I > went > > for a two Webpage classes solution. I created base and base2 which are > both > > abstract and extend webpage. > > > > Each page inherits either from base or base2. The homepage of base is > > mounted on / while the homepage of base2 is mounted on /base2. This works > > fine. But oddly all the form submits (stateless forms) on base2 pages do > not > > work. It seems that the action url is wrong because I get an 404 not > found > > error. > > > > Could someone give me a hint to where I have to look to debug this issue. > > > > Regards, > > Enes > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: how to notify session time out to disabled user
if their session times out they will get a page expired error page next time they try to use the app. just make sure your page expired error page is 508 compliant. if you actually want to let them know *when* it happens you can add a javascript timer to every page and redirect to page expired error page when the time hits. although, not a lot of screenreaders, etc, support js. -igor On Thu, Jul 2, 2009 at 7:47 AM, tubin gen wrote: > our application must support 508 Accessibility, I need suggestion on > how to implement > automatic session timeout.If i user is idle for 30 minutes then > session times out and how can I let a disabled user know about this ? > > - > 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
Re: Too many path parts in page parameters
your highslide js is making those requests, you may have to change it to request images via absolute urls -igor On Thu, Jul 2, 2009 at 7:22 AM, Bas Vroling wrote: > I ran the debugger, and the urlPath the mixedParamUrlCodingStrategy gets > served is "/img/info01.gif", which does not make sense. This is just an > image and nowhere is there a request to open up a new page... After that, it > goes to parse "/highslide/graphics/outlines/rounded-white.png" , then one > more and then it renders. > > Any ideas? > > > On 2 Jul, at 14:42, Daniele Dellafiore wrote: > >> as you can see I posted a similar issue. >> >> you can start debugging the strategy to see the values of parameters. >> >> On Thu, Jul 2, 2009 at 10:36 AM, Bas Vroling wrote: >>> >>> I have a page which takes one parameter ('id') and build itself from >>> there. >>> In the debugger it shows that only one parameter is passed, and the >>> constructor of the page runs without problems. Somewhere further down the >>> line however an exception is thrown: >>> >>> ERROR - RequestCycle - Too many path parts, please provide >>> sufficient number of path parameter names >>> java.lang.IllegalArgumentException: Too many path parts, please provide >>> sufficient number of path parameter names >>> at >>> >>> org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.decodeParameters(MixedParamUrlCodingStrategy.java:167) >>> >>> The page is loaded ok, although the markup is changed (references to css >>> files are prepended with '../' for some weird reason) and all panels are >>> there and working. >>> >>> Any ideas? >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> >> >> -- >> Daniele Dellafiore >> http://blog.ildella.net >> http://twitter.com/ildella >> >> - >> 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
Re: MixedParamUrlCodingStrategy IllegalArgumentException: "Too many path parts" due to some javascript
looks like the js lib is trying to load an image by creating a relative path which is hitting your wicket page. -igor On Thu, Jul 2, 2009 at 3:56 AM, Daniele Dellafiore wrote: > Hi everyone. I have integrated highslide JS to my application (well, > the web designer did). Now I have a wicket Page with, in wicket:head > > > hs.registerOverlay({ > overlayId: 'closebutton', > position: 'top right', > fade: 2 // fading the semi-transparent overlay looks bad in IE > }); > > > hs.graphicsDir = 'highslide/graphics/'; > hs.wrapperClassName = 'borderless'; > > > now when I load the page I receive a > > WARN - DataRequestCycle - Handling exception for request > [requestcy...@15efa6a thread=3737...@qtp-18621578-3], exception: > java.lang.IllegalArgumentException: Too many path parts, please > provide sufficient number of path parameter names > java.lang.IllegalArgumentException: Too many path parts, please > provide sufficient number of path parameter names > at > org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.decodeParameters(MixedParamUrlCodingStrategy.java:178) > > > debugging the decodeParameters method, I get that the two parameters > have these values: > > urlFragment > (java.lang.String) /highslide/graphics/outlines/drop-shadow.png > urlParameters > (java.util.HashMap) {} > > Now, I do not understand perfectly how this stuff works, I just did > not expect any javascript to interfer with my URL strategy but it > does. > You have any suggestion? > > Ah, everything works perfectly, I just I have this exception. > > -- > Daniele Dellafiore > http://blog.ildella.net > http://twitter.com/ildella > > - > 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
Re: WebPage instantiation before asking the AuthorizationStrategy?
there is no mechanism in pure java that would allow us to intercept an instantiation and execute something before that. we could do that with aop but that would force whatever aop solution we choose into your projects. so we do the next best thing, we call the auth strategy from the Page constructor. what this means is that this is called as soon as you instantiate the page but *before* any code in any other subclass constructors runs. this is why isinstantiationauthorized gets a class and not an instance - because the instance is not yet fully constructed. so the auth code does run *before* your code. -igor On Thu, Jul 2, 2009 at 3:06 AM, Daniele Dellafiore wrote: > Hi everyone. I noticed this strange behavior this way. I mounted > MyPage to /mypage and if IO point to: > > http://localhost:8080/myapp/mypage > > before being authenticated, instead of being redirected to the > LoginPage I receive a blank page. The reason is in MyPage constructor > I try to access to the user, that is null so I get a NullPointer. > Now, the user is never supposed to be null cause MyPage is a > SecureWebPage so I expect it get instantiated just after being > authenticated. > > Now, I made some debug and have seen that the constructor of MyPage is > invoked before any calls to any AuthorizationStrategy method. > This happens for every page! > > This sounds strange to me, and to you? I expect > isInstantiationAuthorized to be called before... > > -- > Daniele Dellafiore > http://blog.ildella.net > http://twitter.com/ildella > > - > 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
Re: Two WebPages one Site
what version of wicket are you using? -igor On Thu, Jul 2, 2009 at 12:25 AM, Enes Fazli wrote: > Hello everybody, > > I have a requirement where I need to have two or more styles for a website. > Since layout and content can be different between the two variations I went > for a two Webpage classes solution. I created base and base2 which are both > abstract and extend webpage. > > Each page inherits either from base or base2. The homepage of base is > mounted on / while the homepage of base2 is mounted on /base2. This works > fine. But oddly all the form submits (stateless forms) on base2 pages do not > work. It seems that the action url is wrong because I get an 404 not found > error. > > Could someone give me a hint to where I have to look to debug this issue. > > Regards, > Enes > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: virues scanning for file upload
What OS? Linux James Carman-3 wrote: > > What OS? Windoze? Linux? > > On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > >> we need to implement virues scanning functionality for uploded files >> and reject in case of virues.Please suggest what choices i have and are >> there any example ? >> > > -- View this message in context: http://www.nabble.com/virues-scanning-for-file-upload-tp24308356p24308700.html Sent from the Wicket - User 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: virues scanning for file upload
linux James Carman-3 wrote: > > What OS? Windoze? Linux? > > On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > >> we need to implement virues scanning functionality for uploded files >> and reject in case of virues.Please suggest what choices i have and are >> there any example ? >> > > -- View this message in context: http://www.nabble.com/virues-scanning-for-file-upload-tp24308356p24308441.html Sent from the Wicket - User 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: virues scanning for file upload
What OS? Windoze? Linux? On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > we need to implement virues scanning functionality for uploded files > and reject in case of virues.Please suggest what choices i have and are > there any example ? >
virues scanning for file upload
we need to implement virues scanning functionality for uploded files and reject in case of virues.Please suggest what choices i have and are there any example ?
how to notify session time out to disabled user
our application must support 508 Accessibility, I need suggestion on how to implement automatic session timeout.If i user is idle for 30 minutes then session times out and how can I let a disabled user know about this ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Too many path parts in page parameters
I ran the debugger, and the urlPath the mixedParamUrlCodingStrategy gets served is "/img/info01.gif", which does not make sense. This is just an image and nowhere is there a request to open up a new page... After that, it goes to parse "/highslide/graphics/outlines/rounded- white.png" , then one more and then it renders. Any ideas? On 2 Jul, at 14:42, Daniele Dellafiore wrote: as you can see I posted a similar issue. you can start debugging the strategy to see the values of parameters. On Thu, Jul 2, 2009 at 10:36 AM, Bas Vroling wrote: I have a page which takes one parameter ('id') and build itself from there. In the debugger it shows that only one parameter is passed, and the constructor of the page runs without problems. Somewhere further down the line however an exception is thrown: ERROR - RequestCycle - Too many path parts, please provide sufficient number of path parameter names java.lang.IllegalArgumentException: Too many path parts, please provide sufficient number of path parameter names at org .apache .wicket .request .target .coding .MixedParamUrlCodingStrategy .decodeParameters(MixedParamUrlCodingStrategy.java:167) The page is loaded ok, although the markup is changed (references to css files are prepended with '../' for some weird reason) and all panels are there and working. Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - 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
Re: Detachable Models best practices
I am not sure I completely understood what happens to you. This sound to me like a problem I had in unit testing pages, when calling, to say tester.assertLabel coused the model.getObject to be called and if model is a LDM, than it results attached. So I have to detach the component explicitly after. Not beautiful, but is a problem I had only on the test side. Now, maybe you can post some code to see when you occur to call LDM.getObject during the update. Sounds really strange to me that your id (the database id?) changes during an update... On Mon, Jun 29, 2009 at 6:05 PM, Neil Curzon wrote: > Hi all, > > Using 1.3.6, I've recently been simplifying some of my wicket code by using > LoadableDetachableModels and PropertyModels instead of trying to manage > static models in various ways. > > I had a strange and subtle bug caused by the fact that a form button update > call into the next layer would take parameters such as the item id being > changed. To provide this item ID, I ended up resolving the model object, > which caused the LoadableDetachableModel to be loaded. The problem was that > this meant that the model was resolved before the update occurred, which > means that as the page was re rendered, the stale model object was used as > the source for the components. After the next update, the change made by the > previous update would be shown. > > The ways that I can think of to fix this are 1. store the parameters needed > for the update call instead of using the model object to retrieve them or 2. > call detachModels on the component so that the models will be reloaded (kind > of crappy performance wise). But there will be no compile errors or runtime > warnings if I forget either of these, just a slightly stale view of the > page. > > I'm worried that this bug will creep in again unless I can find a reliable > way to make sure that any updating event handlers can't accidentally load > the detachable model as they're updating. Has anybody found a good way to do > this? > > Thanks > Neil > -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Slideshow
On Mon, Jun 29, 2009 at 2:20 PM, Johannes Schneider wrote: > Thanks for that hint. > Do you know how many images wicket-slides/SmoothGallery support? I will > have galleries with thousands of pictures... I do not know how many images it supports but I remember it was quite slow to load one hundred images. Anyway, send all images to the client in one shot doesn't sound reasonable to me. I am addressing this issue in the next weeks, if you have some ideas we should start talking about some possible implementation. -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Too many path parts in page parameters
as you can see I posted a similar issue. you can start debugging the strategy to see the values of parameters. On Thu, Jul 2, 2009 at 10:36 AM, Bas Vroling wrote: > I have a page which takes one parameter ('id') and build itself from there. > In the debugger it shows that only one parameter is passed, and the > constructor of the page runs without problems. Somewhere further down the > line however an exception is thrown: > > ERROR - RequestCycle - Too many path parts, please provide > sufficient number of path parameter names > java.lang.IllegalArgumentException: Too many path parts, please provide > sufficient number of path parameter names > at > org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.decodeParameters(MixedParamUrlCodingStrategy.java:167) > > The page is loaded ok, although the markup is changed (references to css > files are prepended with '../' for some weird reason) and all panels are > there and working. > > Any ideas? > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: JDeveloper - Can I get a show of hands?
Now that Oracle bought Sun I wonder if JDev and Netbeans will cross paths. A great free, cross-platform SQL tool is SQuirreL ( http://squirrel-sql.sourceforge.net/). On Sat, Jun 20, 2009 at 4:45 PM, Scott Swank wrote: > I'm at best 50% DBA, by training. You end up with multi-step > operations that work very well as sql*plus scripts. I also run > analogous queries in TOAD, PL/SQL Dev or SQL Dev -- but no DBA worth > hiring works in the click-and-drag world. But then I suppose this has > gotten off topic. > > On Sat, Jun 20, 2009 at 10:37 AM, James > Carman wrote: > > As a DBA, you use SQL Plus? I would think most DBAs would either use the > > console thingy that comes with Oracle or Toad. SQL Plus always seemed a > bit > > limiting to me, but that's probably because of my limited knowledge of > all > > the commands, so I need the nice GUI stuff to guide me along. :) > > > > On Sat, Jun 20, 2009 at 1:04 PM, Scott Swank > wrote: > > > >> And if you're an Oracle DBA your main tool is called "SQL Plus". > >> > >> On Fri, Jun 19, 2009 at 8:58 PM, James > >> Carman wrote: > >> > +1 to sqldeveloper (java or native). For developers (not DBAs), it's > a > >> very > >> > nice tool and does what you need for the majority of the cases. > >> > > >> > On Fri, Jun 19, 2009 at 11:28 PM, Vasu Srinivasan > >> wrote: > >> > > >> >> JDeveloper is good to target a narrow Oracle infrastructure. We use > it > >> for > >> >> Oracle soa suite, and there are no other IDEs / plugins which can > match > >> >> that, it has good integration for ADF too. And thats pretty much it. > >> >> > >> >> Otherwise, it doesn't come half close to IDEA or Eclipse. The project > >> >> structure it generates is pretty un-intuitive. Bad IDE is indirectly > >> >> proportional to Productivity. Lack of good plugins is another major > >> reason. > >> >> > >> >> Our team has only a few licenses for TOAD, so I use sql developer > (the > >> >> windows native version, not the java version).. Pretty happy with it, > >> >> though > >> >> it gets a bit slow at times. Last I used the java version was buggy > and > >> >> low. > >> >> > >> >> > >> >> > >> >> On Fri, Jun 19, 2009 at 9:09 PM, Daniel Toffetti < > dto...@yahoo.com.ar > >> >> >wrote: > >> >> > >> >> > Juan Carlos Garcia M. gmail.com> writes: > >> >> > > > >> >> > > I always thought God used only in LISP :) > >> >> > > > >> >> > > Nicolas Melendez wrote: > >> >> > > > > >> >> > > > god used Eclipse 1.0 to develop universe. > >> >> > > > > >> >> > > > NM > >> >> > > > Software Developer - Buenos aires, Argentina. > >> >> > > > > >> >> > > >> >> > No. Sadly, He didn't: > >> >> > > >> >> >http://xkcd.com/224/ > >> >> > > >> >> > Daniel > >> >> > > >> >> > > >> >> > > >> >> > > - > >> >> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> >> > For additional commands, e-mail: users-h...@wicket.apache.org > >> >> > > >> >> > > >> >> > >> >> > >> >> -- > >> >> Regards, > >> >> Vasu Srinivasan > >> >> > >> > > >> > >> - > >> 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 > >
MixedParamUrlCodingStrategy IllegalArgumentException: "Too many path parts" due to some javascript
Hi everyone. I have integrated highslide JS to my application (well, the web designer did). Now I have a wicket Page with, in wicket:head hs.registerOverlay({ overlayId: 'closebutton', position: 'top right', fade: 2 // fading the semi-transparent overlay looks bad in IE }); hs.graphicsDir = 'highslide/graphics/'; hs.wrapperClassName = 'borderless'; now when I load the page I receive a WARN - DataRequestCycle - Handling exception for request [requestcy...@15efa6a thread=3737...@qtp-18621578-3], exception: java.lang.IllegalArgumentException: Too many path parts, please provide sufficient number of path parameter names java.lang.IllegalArgumentException: Too many path parts, please provide sufficient number of path parameter names at org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy.decodeParameters(MixedParamUrlCodingStrategy.java:178) debugging the decodeParameters method, I get that the two parameters have these values: urlFragment (java.lang.String) /highslide/graphics/outlines/drop-shadow.png urlParameters (java.util.HashMap) {} Now, I do not understand perfectly how this stuff works, I just did not expect any javascript to interfer with my URL strategy but it does. You have any suggestion? Ah, everything works perfectly, I just I have this exception. -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
WebPage instantiation before asking the AuthorizationStrategy?
Hi everyone. I noticed this strange behavior this way. I mounted MyPage to /mypage and if IO point to: http://localhost:8080/myapp/mypage before being authenticated, instead of being redirected to the LoginPage I receive a blank page. The reason is in MyPage constructor I try to access to the user, that is null so I get a NullPointer. Now, the user is never supposed to be null cause MyPage is a SecureWebPage so I expect it get instantiated just after being authenticated. Now, I made some debug and have seen that the constructor of MyPage is invoked before any calls to any AuthorizationStrategy method. This happens for every page! This sounds strange to me, and to you? I expect isInstantiationAuthorized to be called before... -- Daniele Dellafiore http://blog.ildella.net http://twitter.com/ildella - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Too many path parts in page parameters
I have a page which takes one parameter ('id') and build itself from there. In the debugger it shows that only one parameter is passed, and the constructor of the page runs without problems. Somewhere further down the line however an exception is thrown: ERROR - RequestCycle - Too many path parts, please provide sufficient number of path parameter names java.lang.IllegalArgumentException: Too many path parts, please provide sufficient number of path parameter names at org .apache .wicket .request .target .coding .MixedParamUrlCodingStrategy .decodeParameters(MixedParamUrlCodingStrategy.java:167) The page is loaded ok, although the markup is changed (references to css files are prepended with '../' for some weird reason) and all panels are there and working. Any ideas? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Problem with RadioGroup / Ajax
I've made a sample page. public class HomePage extends WebPage { private static final long serialVersionUID = 1L; public HomePage(final PageParameters parameters) { String[] choices = new String[]{ "Wicket", "Spring", "DB4O" }; final RadioGroup group = new RadioGroup("group", new Model()); ListView groupView = new ListView( "groupView" , Arrays.asList( choices )){ private static final long serialVersionUID = 1L; @Override protected void populateItem(ListItem item) { item.add( new Radio( "radio", new Model() )); } }; group.setOutputMarkupId( true ); group.add( new AjaxFormChoiceComponentUpdatingBehavior(){ private static final long serialVersionUID = 1L; @Override protected void onUpdate(AjaxRequestTarget target) { // TODO: Check this System.out.println( "Here" ); } }); group.add( groupView ); Form form = new Form( "form" ); form.add( group ); add( form ); } } -- View this message in context: http://www.nabble.com/Problem-with-RadioGroup---Ajax-tp24300010p24302858.html Sent from the Wicket - User 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
Two WebPages one Site
Hello everybody, I have a requirement where I need to have two or more styles for a website. Since layout and content can be different between the two variations I went for a two Webpage classes solution. I created base and base2 which are both abstract and extend webpage. Each page inherits either from base or base2. The homepage of base is mounted on / while the homepage of base2 is mounted on /base2. This works fine. But oddly all the form submits (stateless forms) on base2 pages do not work. It seems that the action url is wrong because I get an 404 not found error. Could someone give me a hint to where I have to look to debug this issue. Regards, Enes