Re: Too many path parts in page parameters
After removing all the highslide code, that is not the only thing that goes wrong. In my html file I have a panel containing this: h3Dataa href=# wicket:id=toggleDataPanelimg src=img/ plus01.gif//a/h3 the mixedParamUrlCodingStrategy trips on that too, and I can't see why this doesn't work... On 2 Jul, at 17:54, Igor Vaynberg wrote: 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 Vrolingbvrol...@cmbi.ru.nl 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 Vrolingbvrol...@cmbi.ru.nl 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AjaxEditableLabel field width.
I've been trying to implement a editable label in a DataView. Getting the AjaxEditableLabel into the DataView presented no trouble. However, I'm having trouble defining the width of the field. Ajax examples have yielded me no help on the methodology for this. I've tried SimpleAttributeModifier, but whenever I select a field for editing, it always snaps it back to the predefined width. While I would like to give code, I unfortunately currently lack any access to it.
Re: Wicket behind proxy (AJP)
Hello Sergey, I had the same problems but I solved them using the virtual-host-feature of tomcat. After that the ProxyPass looks very easy: VirtualHost... ... ProxyPass / ajp://localhost/ ... /VirtualHost yours marc Sergey Podatelev schrieb: 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: ... Connector port=8099 protocol=AJP/1.3 redirectPort=8443 enableLookups=false / ... Apache's sites-enabled/mysite: ... VirtualHost 127.0.0.1:80 ServerName mysite IfModule mod_proxy.c ProxyRequests Off Proxy * Order deny,allow Deny from all Allow from localhost /Proxy 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 / /IfModule /VirtualHost ... 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. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Can't add a Form component to an Item in RefreshingView!?
I'm new to Wicket. I'm a little impatient with this one... so here goes. I have a RefreshingView, with each item getting a Fragment component added to it in the populateItem() method. Each of these Fragment components only contain Labels. All is well here. However, whenever I add a single Fragment component that contains a Form I get an exception: java.lang.ClassCastException: org.apache.wicket.markup.RawMarkup cannot be cast to org.apache.wicket.markup.ComponentTag What I'm trying to do here is when an item is selected on a list, it renders the selected item as a Form to be edited rather than being displayed in labels. Only ONE line is selected at a time, so only need the one form showing. Everything else is fine... Java/markup hierarchy match, model usage is all good. I can get the Fragment component containing the form to work outside a RefreshingView. So obviously it has trouble rendering Forms inside a RefreshingView repeater. Can't work it out. Any help will be much appreciated. - 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?
looks nice, but no support for postgresql :-( Am 02.07.2009 um 21:54 schrieb John Armstrong: 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 Allenrichard.l.al...@gmail.com 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 scott.sw...@gmail.com 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 Carmanjcar...@carmanconsulting.com 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 scott.sw...@gmail.com 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 Carmanjcar...@carmanconsulting.com 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 vasy...@gmail.com 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. jcgarciam at 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Can a RadioChoice display input for null value?
To answer my own question in case anybody else has the same problem: It is not possible out of the box. You have to pass null together with the other options to RadioChoice and then set your own ChoiceRenderer which returns the localized value in the same way as AbstractSingleSelectChoice.getDefaultChoice() does for DropDownChoice. To achieve this I pass a reference to the component to the renderer and then return the localized value in getDisplayValue(), e.g like this: String getDisplayValue(Object value) { if (value != null) { return value.toString(); } else { String result = component.getLocalizer().getStringIgnoreSettings(component.getId() + .nullValid, component, null, null); if (Strings.isEmpty(result)) { result = component.getLocalizer().getString(nullValid, component, ); } return result; } } In order to get a pre-selected null value you have to return -1 (AbstractSingleSelectChoice#NO_SELECTION_VALUE) in getIdValue(). This is kind of a hack for several reasons: - code from AbstractSingleSelectChoice.getDefaultChoice() is duplicated. - some magic constants are re-used but unfortunately there are no constants in Wicket for them (e.g. .nullValid or -1 for the null ID) or they are not public. - the renderer keeps a reference to the component it is attached to On 02.07.2009, at 19:30, Robin Sander wrote: 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 fieldID.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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
problem with fixed css style for modal window
Hello, We are trying to get the modal window to stay fixed in the center of the screen. The problem we are running into are the lines 496: var left = (width / 2) - (modalWidth / 2) + scLeft; 497: var top = (height / 2) - (modalHeight / 2) + scTop; They are adding the scroll position to the left and top. This is a problem in ie 7 and 8, because the modalwindow is rendered outside of the browser viewport. Is there any sollution for this? The css that sets the fixed is: div.wicket-modal { position: fixed !Important; _position: absolute; z-index: 20001; visibility: hidden; } The position type is defaulted to absolute by modal.js. So the count cannot be ignored. Thanks in advance. Chaviv Weinberg - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: intercept security check in wicket-auth-roles
Any luck with this? I'm looking to do the same thing, but how Brill Pappin wrote: I'm trying to integrate wicket-auth-roles with a token based SSO security system. I can't see where I can intercept the authentication sequence and auto-login the user based on the token. Essentially i want to catch the authentication request and authorize the user based on a token before they are redirected to the login page. Does anyone have a clue how I might go about doing that? Unfortunately most places I've looked to over ride the sequence are marked final for some reason, which makes things difficult. I'm actually at the point now where I'm thinking of writing a new auth- roles based on the current lib, but I thought I'd ask first. ... and no, I don't want to use the other more complex security lib... auth-roles is very nice and simple to use and suitable for most applications. - Brill Pappin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/intercept-security-check-in-wicket-auth-roles-tp22122773p24320938.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: Slideshow
just make an ajax version and use normal pagination..? 2009/7/2 Daniele Dellafiore ilde...@gmail.com: On Mon, Jun 29, 2009 at 2:20 PM, Johannes Schneidermaili...@cedarsoft.com 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Can't add a Form component to an Item in RefreshingView!?
Hard to help you without seeing code / markup. Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Philip Watson philip.john.wat...@gmail.com Sent: Friday, July 03, 2009 3:23 AM To: users@wicket.apache.org Subject: Can't add a Form component to an Item in RefreshingView!? I'm new to Wicket. I'm a little impatient with this one... so here goes. I have a RefreshingView, with each item getting a Fragment component added to it in the populateItem() method. Each of these Fragment components only contain Labels. All is well here. However, whenever I add a single Fragment component that contains a Form I get an exception: java.lang.ClassCastException: org.apache.wicket.markup.RawMarkup cannot be cast to org.apache.wicket.markup.ComponentTag What I'm trying to do here is when an item is selected on a list, it renders the selected item as a Form to be edited rather than being displayed in labels. Only ONE line is selected at a time, so only need the one form showing. Everything else is fine... Java/markup hierarchy match, model usage is all good. I can get the Fragment component containing the form to work outside a RefreshingView. So obviously it has trouble rendering Forms inside a RefreshingView repeater. Can't work it out. Any help will be much appreciated. - 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
Detaching and ModalWindow causes race condition
In our apps we (wrongfully IMO) make heavily use of ModalWindow (our users seem to like them). We ran into an issue/race condition where we have shared a model between the calling page and the ModalWindow. We have an autocomplete textfield with an onblur handler attached. This onblur handler is triggered when the modal window is shown resulting in two parallel Ajax requests to the server. This causes the shared model to be attached and detached at the same time, resulting in rather funky behavior. I know that one solution is to not share the model between the ModalWindow and the calling page. But we are looking for alternative (more general) solutions. Options we thought of: - would locking the session for page directed requests implementable (i.e. let resource requests through the barrier, but not both requests to the calling page and the modalwindow page) - would it work to set a client side flag when the ModalWindow is requested, that disables wicket-ajax for the current window to happen (preventing the onblur to trigger Ajax), and is reset when the ModalWindow is rendering in the client? - render the modalwindow page in the current pagemap instead of a new one (would make refresh behavior pretty weird I think) Any other suggestions? Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: UploadProgressBar does not work in Safari browser?
Sorry for bringing up and old thread but I got the exact same problem. Anyone got this working on safari, chrome and opera? I know that the UploadProgressBar uses it's own ajax request. Is it something in the source code? IE6 PC - Works IE7 PC - Works Firefox ( 3.5 ) PC - Works Google Crome ( 2.0.172.33 PC- Not working. Progressbar not updated Opera (9.64 ) PC - Browser hangs Firefox MAC - Works Safari (3.2.1) Mac - Not working. Progressbar not updated HTML in UploadProgressBar should be changed. The last div should have display: none; clear: left; otherwise it is not correctly displayed on all browsers. For now I have extended the UploadProgressBar and changed the html. -- View this message in context: http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--tp21571997p24322943.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: Wicket behind proxy (AJP)
Hello, Sergey, May be this is not a nice solution, but I could solve this problem only by using RewriteRule as follows: VirtualHost *:80 ServerName www.sitename.ru ServerAlias sitename.ru ProxyPass / ajp://127.0.0.1:8009/SiteApp-1.0-SNAPSHOT/ ProxyPassReverse / ajp://127.0.0.1:8009/SiteApp-1.0-SNAPSHOT/ ProxyPassReverseCookieDomainlocalhost sitename.ru ProxyPassReverseCookiePath /SiteApp-1.0-SNAPSHOT / RewriteEngine on RewriteRule^/SiteApp-1\.0-SNAPSHOT/(.*)$ /$1 [R] /VirtualHost -- Tony P.S. By the way if you are Russian and have time to help me with wicket.ru site I would appreciate it. On Fri, Jul 3, 2009 at 3:41 PM, Marc Endemli...@e-beyond.de wrote: Hello Sergey, I had the same problems but I solved them using the virtual-host-feature of tomcat. After that the ProxyPass looks very easy: VirtualHost... ... ProxyPass / ajp://localhost/ ... /VirtualHost yours marc Sergey Podatelev schrieb: 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: ... Connector port=8099 protocol=AJP/1.3 redirectPort=8443 enableLookups=false / ... Apache's sites-enabled/mysite: ... VirtualHost 127.0.0.1:80 ServerName mysite IfModule mod_proxy.c ProxyRequests Off Proxy * Order deny,allow Deny from all Allow from localhost /Proxy 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 / /IfModule /VirtualHost ... 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. - 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: Can't add a Form component to an Item in RefreshingView!?
Philip, Remember that some repeaters when are refreshed change their items. You have to instruct no to create new items instances. Take a look at ListView. I looked for Refreshing view but I couldn't see any class like that. bye! On Fri, Jul 3, 2009 at 1:23 AM, Philip Watson philip.john.wat...@gmail.comwrote: I'm new to Wicket. I'm a little impatient with this one... so here goes. I have a RefreshingView, with each item getting a Fragment component added to it in the populateItem() method. Each of these Fragment components only contain Labels. All is well here. However, whenever I add a single Fragment component that contains a Form I get an exception: java.lang.ClassCastException: org.apache.wicket.markup.RawMarkup cannot be cast to org.apache.wicket.markup.ComponentTag What I'm trying to do here is when an item is selected on a list, it renders the selected item as a Form to be edited rather than being displayed in labels. Only ONE line is selected at a time, so only need the one form showing. Everything else is fine... Java/markup hierarchy match, model usage is all good. I can get the Fragment component containing the form to work outside a RefreshingView. So obviously it has trouble rendering Forms inside a RefreshingView repeater. Can't work it out. Any help will be much appreciated. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Fernando Wermus. www.linkedin.com/in/fernandowermus
inserting variable in script
I have this piece of html: script type=text/javascript set_query('ADRB2_HUMAN', 'BioSapiens', 3, ''); start_dasty(0); /script how would I change 'ADRB2_HUMAN' into some other name? I can't just use a label right? - 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 jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com 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 Changdavid_q_zh...@yahoo.com 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 mafulaf...@googlemail.com wrote: From: Martin Funk mafulaf...@googlemail.com 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 Wicket in Action, 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
Source checkout and test
Hi, I'm very new to this source checkout and was wondering the following. I need to change some things in wicket-extensions ajax.upload. How can I check out the code and make a dependecy in my pom to the checkout version?
Re: Source checkout and test
you can checkout the source using svn, see here for more details: http://wicket.apache.org/building-from-svn.html when you have checked out the sources, you can modify them and run mvn install. This will build and place the modified wicket version in your local maven repository. On 3 Jul, at 16:37, Mathias Nilsson wrote: Hi, I'm very new to this source checkout and was wondering the following. I need to change some things in wicket-extensions ajax.upload. How can I check out the code and make a dependecy in my pom to the checkout version? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Fwd: AjaxEditableLabel field width.
I've been trying to implement a editable label in a DataView. Getting the AjaxEditableLabel into the DataView presented no trouble. However, I'm having trouble defining the width of the field. Ajax examples have yielded me no help on the methodology for this. I've tried SimpleAttributeModifier, but whenever I select a field for editing, it always snaps it back to the predefined width. While I would like to give code, I unfortunately currently lack any access to it. Any ideas?
Re: intercept security check in wicket-auth-roles
wicket auth roles is an example, not a reusable framework. you should copy and paste the code into your project and customize as needed. -igor On Fri, Feb 20, 2009 at 8:30 AM, Brill Pappinbr...@pappin.ca wrote: I'm trying to integrate wicket-auth-roles with a token based SSO security system. I can't see where I can intercept the authentication sequence and auto-login the user based on the token. Essentially i want to catch the authentication request and authorize the user based on a token before they are redirected to the login page. Does anyone have a clue how I might go about doing that? Unfortunately most places I've looked to over ride the sequence are marked final for some reason, which makes things difficult. I'm actually at the point now where I'm thinking of writing a new auth-roles based on the current lib, but I thought I'd ask first. ... and no, I don't want to use the other more complex security lib... auth-roles is very nice and simple to use and suitable for most applications. - Brill Pappin - 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: UploadProgressBar does not work in Safari browser?
patches are welcome -igor On Fri, Jul 3, 2009 at 6:12 AM, Mathias Nilssonwicket.program...@gmail.com wrote: Sorry for bringing up and old thread but I got the exact same problem. Anyone got this working on safari, chrome and opera? I know that the UploadProgressBar uses it's own ajax request. Is it something in the source code? IE6 PC - Works IE7 PC - Works Firefox ( 3.5 ) PC - Works Google Crome ( 2.0.172.33 PC- Not working. Progressbar not updated Opera (9.64 ) PC - Browser hangs Firefox MAC - Works Safari (3.2.1) Mac - Not working. Progressbar not updated HTML in UploadProgressBar should be changed. The last div should have display: none; clear: left; otherwise it is not correctly displayed on all browsers. For now I have extended the UploadProgressBar and changed the html. -- View this message in context: http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--tp21571997p24322943.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: inserting variable in script
use iheadercontributor to write out the whole thing -igor On Fri, Jul 3, 2009 at 7:09 AM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: I have this piece of html: script type=text/javascript set_query('ADRB2_HUMAN', 'BioSapiens', 3, ''); start_dasty(0); /script how would I change 'ADRB2_HUMAN' into some other name? I can't just use a label right? - 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: inserting variable in script
Does this also work when this should be somewhere down in the body? On Jul 3, 2009, at 17:43 , Igor Vaynberg wrote: use iheadercontributor to write out the whole thing -igor On Fri, Jul 3, 2009 at 7:09 AM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: I have this piece of html: script type=text/javascript set_query('ADRB2_HUMAN', 'BioSapiens', 3, ''); start_dasty(0); /script how would I change 'ADRB2_HUMAN' into some other name? I can't just use a label right? - 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: Localization message for validators
yeah, it does seem inconsistent :| will have to think about this some more. on the first glance field.key seems ok and personally i do not mind going back to it but i need to search back through the archives and reread the threads that affected this change in the first place if i can find them before i change my mind completely. -igor 2009/7/2 Uwe Schäfer schae...@thomas-daily.de: 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: inserting variable in script
no, header contributor outputs things into head, which is where all script tags should go. it does support outputting script into body onload event, so if you need to have this run later you can use that. -igor On Fri, Jul 3, 2009 at 8:48 AM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: Does this also work when this should be somewhere down in the body? On Jul 3, 2009, at 17:43 , Igor Vaynberg wrote: use iheadercontributor to write out the whole thing -igor On Fri, Jul 3, 2009 at 7:09 AM, Bas Vrolingbvrol...@cmbi.ru.nl wrote: I have this piece of html: script type=text/javascript set_query('ADRB2_HUMAN', 'BioSapiens', 3, ''); start_dasty(0); /script how would I change 'ADRB2_HUMAN' into some other name? I can't just use a label right? - 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
Re: Localization message for validators
Igor Vaynberg schrieb: yeah, it does seem inconsistent :| will have to think about this some more. on the first glance field.key seems ok and personally i do not mind going back to it but i need to search back through the archives and reread the threads that affected this change in the first place if i can find them before i change my mind completely. thanks! we´re not too keen on changin these 430 property files in our project, unless really necessary ;) cu uwe - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Anybody know what is this situation?
I got the same error today, seems totally random. The only possible explanation I have is that maybe the subclass (LoginPage$1 in your case) stores a PageHolder class instead of the actual page (LoginPage) when serialized, and when LoginPage$1 is deserialized, the PageHolder retrieves/points to a different Page. I was just as baffled as you since in my case the two classes were totally different, like in your case (com.application.MainPage vs wicket.quickstart.LoginPage). In my case it's two pages from the same application, but they are functionally separate and never interact. In my case I made the inner class that caused the problem a static inner class. Since I have been unable to reproduce the problem I cannot confirm if this resolves the problem. Can you share what kind of class LoginPage$1 is? (it's the first anonymous inner class in LoginPage) Is it a class which extends IModel? Also, you someone from the Wicket team confirm if my explanation above is possible at all (PageHolder retrieving a different class when deserializing)? Bas MartinM wrote: Anybody know what is this situation? Wicket 1.4-rc4 From production: 2009-05-18 16:32:44,316 19598423 [btpool0-112] ERROR RequestCycle - cannot assign instance of com.application.MainPage to field wicket.quickstart.LoginPage$1.this$0 of type wicket.quickstart.LoginPage in instance of wicket.quickstart.LoginPage$1 java.lang.ClassCastException: cannot assign instance of com.application.MainPage to field wicket.quickstart.LoginPage$1.this$0 of type wicket.quickstart.LoginPage in instance of wicket.quickstart.LoginPage$1 at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2032) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1212) .. etc ... -- View this message in context: http://www.nabble.com/Anybody-know-what-is-this-situation--tp23597800p24329006.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: Anybody know what is this situation?
Generally unexplained class issues like this are because the same class gets loaded a second time from a different class loader. I once had it throwing a ClassCastException that ClassA != ClassA. Hard to track down, though. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jul 3, 2009 at 4:27 PM, bgoorenb...@iswd.nl wrote: I got the same error today, seems totally random. The only possible explanation I have is that maybe the subclass (LoginPage$1 in your case) stores a PageHolder class instead of the actual page (LoginPage) when serialized, and when LoginPage$1 is deserialized, the PageHolder retrieves/points to a different Page. I was just as baffled as you since in my case the two classes were totally different, like in your case (com.application.MainPage vs wicket.quickstart.LoginPage). In my case it's two pages from the same application, but they are functionally separate and never interact. In my case I made the inner class that caused the problem a static inner class. Since I have been unable to reproduce the problem I cannot confirm if this resolves the problem. Can you share what kind of class LoginPage$1 is? (it's the first anonymous inner class in LoginPage) Is it a class which extends IModel? Also, you someone from the Wicket team confirm if my explanation above is possible at all (PageHolder retrieving a different class when deserializing)? Bas MartinM wrote: Anybody know what is this situation? Wicket 1.4-rc4 From production: 2009-05-18 16:32:44,316 19598423 [btpool0-112] ERROR RequestCycle - cannot assign instance of com.application.MainPage to field wicket.quickstart.LoginPage$1.this$0 of type wicket.quickstart.LoginPage in instance of wicket.quickstart.LoginPage$1 java.lang.ClassCastException: cannot assign instance of com.application.MainPage to field wicket.quickstart.LoginPage$1.this$0 of type wicket.quickstart.LoginPage in instance of wicket.quickstart.LoginPage$1 at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2032) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1212) .. etc ... -- View this message in context: http://www.nabble.com/Anybody-know-what-is-this-situation--tp23597800p24329006.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: UploadProgressBar does not work in Safari browser?
I don't get it.. I have made a call to the javascript function here from progressbar but the UploadWebRequest always returns |0|0|0|0 for Opera, chrome . This simple javascript should be sufficient. In safari the updateProgressBar() is not called at all. var request = null; function createTransport( url ){ try { request = new XMLHttpRequest(); } catch (trymicrosoft) { try { request = new ActiveXObject(Msxml2.XMLHTTP); } catch (othermicrosoft) { try { request = new ActiveXObject(Microsoft.XMLHTTP); } catch (failed) { request = null; } } } request.open(GET, url+'?anticache='+Math.random(), true); request.onreadystatechange = updateProgressBar; request.send( null ); } function updateProgressBar(){ if( request != null ){ if( request.readyState == 4 ){ if( request.status == 200 ){ var update = request.responseText.split('|'); var completed_upload_size = update[2]; var total_upload_size = update[3]; var progressPercent = update[1]; var transferRate = update[4]; var timeRemaining = update[5]; alert( completed_upload_size + : + total_upload_size + : + progressPercent + : + transferRate + : + timeRemaining ); window.setTimeout( updateProgressBar(), 1000); } } } } -- View this message in context: http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--tp21571997p24330156.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: UploadProgressBar does not work in Safari browser?
Ok, a obvious bug in the code. We need to call createTransport( url ) again in the setTimeout method. Still, there is the chrome and safari bug. -- View this message in context: http://www.nabble.com/UploadProgressBar-does-not-work-in-Safari-browser--tp21571997p24330296.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: tinymce textarea in a modal window not letting to type
Hey, Did you manage to solve this? I'm facing the same problem - tinymce added to a modal (based on panel) works the first time, second time it is displayed nicely but cannot do anything with it (cannot focus so cannot type). Or anybody else? Thanks On Sat, Apr 25, 2009 at 6:23 AM, balingen tame euuesundtrin...@gmail.comwrote: I am using tinymce text area in several pages, today I added this to a wicket modal window, the tinymce textarea shows up fine but when I type nothing goes into it , its not disabled , I can click on the editor buttons, it does not take the mouse , please help me resolve this -- Cristi Manole Nova Creator Software www.novacreator.com