Re: Need to minimize the names using Ajax

2009-03-11 Thread Linda van der Pal
Just a slight addition, there is a wonderful example amongst the wicket examples on the site. They even limit the number of choices to ten. Linda Igor Vaynberg wrote: see AutoCompleteTextField -igor On Tue, Mar 10, 2009 at 8:14 AM, newbie_to_wicket sm.shaf...@gmail.comwrote: Hi All, I

DropDownChoice NO_SELECTION_VALUE static field

2009-03-11 Thread ulrik
Hello! I have an issue with the DropDownChoice (wicket 1.3.4). Lets say I do this: ListOption _options = getOptions(); someRenderer = new ChoiceRenderer() { ... } DropDownChoice _ddc = new DropDownChoice(dropDown, new Model((Serializable) _option),options, someRenderer); The Option class

lazy adding rows to a list

2009-03-11 Thread benyk
Hi, I have a data being fetched from a service and this take some time. I don't want user to wait until all the data is read but I would like him to see page partially rendered and then like it is growing longer and longer. Is it possible with wicket? I tried AjaxLazyLoadPanel and ListView,

Escapeing of single quotes for AutoCompleteTextField

2009-03-11 Thread Thomas Gier
Hello, I'm using wicket version 1.4-rc1. I have a list of journals coming from a database from which selects. I present this list in an AutoCompleteTextField. Some of the Journal's name contain single quotes like in Reader's Digest. It's not possible to select an entry with single quotes. I

Override ResourceReference

2009-03-11 Thread Advanced Technology®
Hi Guys, Is there any way to override a ResourceReference already added to the page? Thanks AT

encoding issue on ajax form post (portlet)

2009-03-11 Thread Francisco Diaz Trepat - gmail
Hi all, I have a wicket project that suddenly required to support portlets. I traveled through a lot of (I guess) normal issues from not being familiar with portlets technology. But now I am at a cross rode (quoting obama) :-) I have an encoding issue in which, for as much as I could

URL mounting on Websphere causes Error 404

2009-03-11 Thread Goran Novak
Hi, I developed my application using Jetty server and URL mounting worked fine. When I deploy it on Websphere it still works but on the end of HTML response to browser, string Error 404: SRVE0190E: File not found: /home is appended. I'm using: - wicket 1.3.4 - IBM WebSphere Application Server

Re: counting/summing items in a list view

2009-03-11 Thread Brill Pappin
Thanks that worked just fine. - Brill On 11-Mar-09, at 4:08 AM, triswork wrote: Hi It isn't working because you are using a static model on your Label. So, when your label component calls the model's getObject() method, the underlying object is the String value originally returned by

DataView Model

2009-03-11 Thread Douglas Ferguson
I just started using some code that was retired for awhile, so I'm not sure what all changed around it and the behavior I'm seeing is really strange. I have a DataView on my page and wicket is complain that my model object doesn't have a getter for the id of the DataView. I.E. DataView is

Re: DataView Model

2009-03-11 Thread Linda van der Pal
Did you use a CompoundPropertyModel on the page? If so, that would explain why it was looking for a setter with the name of the DataView. Linda. Douglas Ferguson wrote: I just started using some code that was retired for awhile, so I'm not sure what all changed around it and the behavior I'm

Re: memcached session store

2009-03-11 Thread Eelco Hillenius
Just to be complete, even if this is not really an option for us: with ONE_PASS_RENDER clustering with wicket would be fine, no further state management issues, right? Right. And there is back button support (access to older pages/ previous renderings) to consider, which without session

Re: What IDE best fits with Wicket?

2009-03-11 Thread Eelco Hillenius
I'm using Jetty directly (without Maven, though we do use maven for project management), and hotswap works great then. Eelco On Tue, Mar 10, 2009 at 4:47 AM, francisco treacy francisco.tre...@gmail.com wrote: i would like to add an ingredient here: scala. is there anyone successfully using

Re: memcached session store

2009-03-11 Thread Johan Compagner
In my point of view none sticky sessions are just broken or can be broken very easily I dont know exactly how all the implementations work but does this example all ways work? a user clicks on a button that button click does take some time and in the mean time a user clicks on the same or another

Re: AW: Tabbed Panel with bookmarkable links

2009-03-11 Thread Jeremy Thomerson
Use wicket-stuff. It makes sense for this. You might even consider just adding this to minis in WS. http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-core/minis-parent/ -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 10, 2009 at 10:25 AM, Christian

Re: Play sound on client side (browser)

2009-03-11 Thread Jeremy Thomerson
Wicket just generates HTML. Start by figuring out the HTML / JS you need, then just generate that with Wicket. (i.e., you'll probably need an embed tag... even if that's added by AJAX) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Mar 10, 2009 at 10:52 AM, Giovanni

AutoCompletetextField misbehavior in IE

2009-03-11 Thread cbchhaya
I have an AutoCompleteTextField on my form (nothing fancy, have a simple list and filtered using CollectionUtils.select from commons-collection). The field works just fine in FF but I see strange behavior with IE. 1. When I type in the first character in the field, the list is retrieved

Re: test page rendering

2009-03-11 Thread Swanthe Lindgren
Is there a similar way to ensure that all wicket:message key resources exist? //Swanthe Igor Vaynberg wrote: if you want the removal of wicket:id to fail turn on component use check in debug settings. -igor On Tue, Mar 10, 2009 at 3:12 AM, Swanthe Lindgren swanthe.lindg...@megasol.se wrote:

Re: AutoCompletetextField misbehavior in IE

2009-03-11 Thread cbchhaya
If it helps, here's the HTML: td align=left select wicket:id=selection option/option /select labelXYZ: /label input wicket:id=autoselectXYZ type=text size=64 width=64/

Re: memcached session store

2009-03-11 Thread Martin Grotzke
On Wed, 2009-03-11 at 09:31 -0700, Eelco Hillenius wrote: Just to be complete, even if this is not really an option for us: with ONE_PASS_RENDER clustering with wicket would be fine, no further state management issues, right? Right. And there is back button support (access to older

Re: memcached session store

2009-03-11 Thread Martin Grotzke
Hi, One would need to handle this on the client side, by disabling buttons/links when they are clicked. Also AJAX communicatoin has to be handled, as this is also often a candidate that triggers multiple requests running in parallel. Cheers, Martin On Wed, 2009-03-11 at 17:45 +0100, Johan

Re: test page rendering

2009-03-11 Thread Igor Vaynberg
see IResourceSettings#setThrowExceptionOnMissingResource(boolean) -igor On Wed, Mar 11, 2009 at 8:57 AM, Swanthe Lindgren swanthe.lindg...@megasol.se wrote: Is there a similar way to ensure that all wicket:message key resources exist? //Swanthe Igor Vaynberg wrote: if you want the

Re: URL mounting on Websphere causes Error 404

2009-03-11 Thread Igor Vaynberg
you are using wicket filter or servlet? -igor On Wed, Mar 11, 2009 at 6:04 AM, Goran Novak gnovak@gmail.com wrote: Hi, I developed my application using Jetty server and URL mounting worked fine. When I deploy it on Websphere it still works but on the end of HTML response to browser,

Re: Escapeing of single quotes for AutoCompleteTextField

2009-03-11 Thread Igor Vaynberg
can you try replacing it with apos; and see if that works better? -igor 2009/3/11 Thomas Gier thomas.g...@factscience.de Hello, I'm using wicket version 1.4-rc1. I have a list of journals coming from a database from which selects. I present this list in an AutoCompleteTextField. Some of

Re: Switch tab only if user doesn't want to save changes.

2009-03-11 Thread jchappelle
Could you post how you are detecting unsaved changes? I am trying to implement something similar. Thanks, Josh Fabio Fioretti wrote: Thank you Maurice, what you suggested matched the way I was trying to solve the problem, but I had to add a bit of client-side logic to decide whether to

Re: Need to minimize the names using Ajax

2009-03-11 Thread nino martinez wael
and if you use object autocomplete from extensions or is it wicketstuff theres no limit to it :) 2009/3/11 Linda van der Pal lvd...@heritageagenturen.nl Just a slight addition, there is a wonderful example amongst the wicket examples on the site. They even limit the number of choices to ten.

Re: AutoCompletetextField misbehavior in IE

2009-03-11 Thread TahitianGabriel
I've got the same behaviour with 1.3.5 on IE (even in the example application). It works with the 1.4RC2 and the latest 1.3.5 SNAPSHOT (that you can get in the http://wicketstuff.org/maven/repository/org/apache/wicket/ wicketstuff repositoryor with

Re: lazy adding rows to a list

2009-03-11 Thread Igor Vaynberg
see an article on wicketinaction.com that shows how to do this. -igor On Wed, Mar 11, 2009 at 2:48 AM, benyk ben...@hotmail.com wrote: Hi, I have a data being fetched from a service and this take some time. I don't want user to wait until all the data is read but I would like him to see

Re: memcached session store

2009-03-11 Thread Johan Compagner
thats impossible to do completely A refresh of a browser is for example 1 And that would be quite annoying that you have to do that because you have some kind of configuration on the serverside johan On Wed, Mar 11, 2009 at 18:17, Martin Grotzke martin.grot...@javakaffee.dewrote: Hi, One

Re: Shared string resources

2009-03-11 Thread Jeremy Thomerson
Put them in YourApplicationName.properties and use StringResourceModel. See internationalization help in Wicket in Action. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 11, 2009 at 2:20 PM, Seven Corners shel...@blackwave.tv wrote: I have some strings that I'd like to

Re: Shared string resources

2009-03-11 Thread Seven Corners
Thanks so much! Seven Corners wrote: I have some strings that I'd like to access from a common string table that is not tied to any particular component. How can I do this? -- View this message in context: http://www.nabble.com/Shared-string-resources-tp22462537p22462644.html Sent

Shared string resources

2009-03-11 Thread Seven Corners
I have some strings that I'd like to access from a common string table that is not tied to any particular component. How can I do this? -- View this message in context: http://www.nabble.com/Shared-string-resources-tp22462537p22462537.html Sent from the Wicket - User mailing list archive at

adding multiple onchange behaviors to DDC

2009-03-11 Thread Will Jaynes
I've searched the list for this, but didn't find an answer, at least not a recent one. When I add more than one OnChangeAjaxBehavior to a DropDownChoice, only the last one gets executed. Is that just the way it is? Will

Re: memcached session store

2009-03-11 Thread Victor Igumnov
I had issues when running non-sticky sessions with ONE_PASS_RENDERER, the results were mixed. Responses came back as a mixed bag, sometimes it worked or not. Expired sessions did happen from time to time with no rhyme or reason. Sticky sessions is a must on wicket. I hate to say this but,

Re: AutoCompletetextField misbehavior in IE

2009-03-11 Thread cbchhaya
Thanks for the pointer - I shall get the latest snapshot (RCs unfortunately don't fly around here) and test this out. -- View this message in context: http://www.nabble.com/AutoCompletetextField-misbehavior-in-IE-tp22459455p22463273.html Sent from the Wicket - User mailing list archive at

Re: AutoCompletetextField misbehavior in IE

2009-03-11 Thread Jeremy Thomerson
RCs are unacceptable and snapshots are okay? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 11, 2009 at 3:03 PM, cbchhaya cbchh...@gmail.com wrote: Thanks for the pointer - I shall get the latest snapshot (RCs unfortunately don't fly around here) and test this out. -- View

Re: Extensible wicket application

2009-03-11 Thread Fabrizio Giudici
Daniel Dominik Holúbek wrote: I have looked at OSGi a bit, but I do not understand it (basically I do not even now how to build a project with it :) ) Does anybody have any clue? I hope I have written this clearly enough. If not, feel free to ask :) Daniel, designing modular applications

Re: DropDownChoice NO_SELECTION_VALUE static field

2009-03-11 Thread Igor Vaynberg
please open a jira issue. -igor On Wed, Mar 11, 2009 at 1:32 AM, ulrik ulrik.hagb...@gmail.com wrote: Hello! I have an issue with the DropDownChoice (wicket 1.3.4). Lets say I do this: ListOption _options = getOptions(); someRenderer = new ChoiceRenderer() { ... } DropDownChoice

RE: DataView Model

2009-03-11 Thread Douglas Ferguson
Yeah.. but, why would get/set be called on a dataview? The strange thing is that it was barfing like this before. Douglas -Original Message- From: Linda van der Pal [mailto:lvd...@heritageagenturen.nl] Sent: Wednesday, March 11, 2009 10:24 AM To: users@wicket.apache.org Subject: Re:

Re: AutoCompletetextField misbehavior in IE

2009-03-11 Thread cbchhaya
Unfortunately, replacing with the snapshot doesn't work either. Was this a known problem in an earlier version that has been fixed in the 1.4RC or 1.3-SNAPSHOT? If not, can this be a quirk with the way my HTML is structured so that, for some reason, it's not able to create the display area

Re: Shared string resources

2009-03-11 Thread Stephen Swinsburg
You can also just use ResourceModel(some.string.property) if you don't have any thing that needs to be substituted into the strings when they are rendered. ie some.string.property=this is some text or StringResourceModel( various constructors ) if you need some dynamic value in there: ie

Re: adding multiple onchange behaviors to DDC

2009-03-11 Thread Martijn Dashorst
On Wed, Mar 11, 2009 at 8:47 PM, Will Jaynes wjay...@gmail.com wrote: When I add more than one OnChangeAjaxBehavior to a DropDownChoice, only the last one gets executed. Is that just the way it is? Yes, though I vaguely remember something like CompoundBehavior. You might want to search the list

How to redirect without extending RedirectPage?

2009-03-11 Thread Major Péter
Hi all, I would like to create a custom PageExpired ErrorPage, which contains some message and after 5 secs it redirects to the Homepage. I found RedirectPage to solve this, but when I extend it, it won't contain the design elements which are now in a custom WebPage class. I could make on

Re: How to redirect without extending RedirectPage?

2009-03-11 Thread Jeremy Thomerson
Just output a meta tag in your custom page that tells the browser to go to a different URL after 5 seconds. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Mar 11, 2009 at 5:20 PM, Major Péter majorpe...@sch.bme.hu wrote: Hi all, I would like to create a custom PageExpired

Re: How to redirect without extending RedirectPage?

2009-03-11 Thread Major Péter
Thanks for the quick response. I modified the html code like this: html xmlns:wicket wicket:head titletitle/title META http-equiv=refresh content=5;URL=http://linktosomewhere; /wicket:head body wicket:extendblah blah/wicket:extend /body /html It works fine, but

Re: How to redirect without extending RedirectPage?

2009-03-11 Thread Jeremy Thomerson
Write your own header contributor that takes a model as a parameter and generates the meta tag for you. See the JS and CSS header contributors for inspiration. Hint: if you're generating links to within your app, you could also take a Class and PageParmeters rather than a model and generate the

wicket - opensocial integration (with example code)

2009-03-11 Thread Armin Bauer
Hi everyone, we are currently working on an opensocial application based on wicket. Currently it is not possible to use the ajax functionality of wicket in an opensocial app. opensocial is based on iframes which run your html / js in a seperate domain. If you build a widget for myspace.com

Re: wicket - opensocial integration (with example code)

2009-03-11 Thread Igor Vaynberg
Armin, maybe you should put this on our wiki page. threads like this tend to get lost easily in all the traffic. -igor On Wed, Mar 11, 2009 at 4:28 PM, Armin Bauer armin.ba...@amiando.com wrote: Hi everyone, we are currently working on an opensocial application based on wicket. Currently it

Wicket-Security security check on component on a panel

2009-03-11 Thread Warren Bell
I am trying to do a security check on a component that is on a panel like this: if(SecureComponentHelper.isAuthenticated(myComponent) SecureComponentHelper.isActionAuthorized(myComponent, enable)) { // Do Something } I have also tried this: if(myComponent.isAuthenticated()

Re: DataView Model

2009-03-11 Thread taha siddiqi
I had a similar problem but then i found I was not adding a model to the components i was adding in my listview.populateItem() may be it helps.. taha On Thu, Mar 12, 2009 at 2:20 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Yeah.. but, why would get/set be called on a dataview? The