Re: Feedback message isn't displayed

2009-02-23 Thread Jakub Srba
OK, I created an issue: https://issues.apache.org/jira/browse/WICKET-2121 https://issues.apache.org/jira/browse/WICKET-2121 Timo Rantalaiho wrote: On Wed, 18 Feb 2009, Jakub Srba wrote: Here is a simpler example that doesn't work for me either: ... Component-targetted feedback message

Re: request: make GuiceProxyTargetLocator public

2009-02-23 Thread Dhanji R. Prasanna
Guice will not always return a proxy. You should not rely on this behavior. Dhanji. On Sat, Feb 21, 2009 at 10:48 PM, Andreas Petersson andr...@petersson.at wrote: Hello! (this post went to the guice + the wicket mailing list) I would really like GuiceProxyTargetLocator to have a public

Re: Storing user entity in session?

2009-02-23 Thread Brill Pappin
Jumping in here part way through the thread, so apologies if you've covered this already. What we do is simply store a key that represents the user (and maybe a small amount of data that is accessed about the user on every page). In general we find that our persistence is much more reliable

Re: Feedback message isn't displayed

2009-02-23 Thread Jakub Srba
I'm reposting the answer from JIRA: Igor Vaynberg - 23/Feb/09 12:15 AM the load method of your model can be called after the feedback panel has already rendered - thus it will not pick it up. it is simply a bad idea to call any feedback related messages from your model's get methods because you

Re: [OT] Framework for managing task

2009-02-23 Thread Kaspar Fischer
That seems to be it! Thanks a lot, Pierre. Kaspar On 23.02.2009, at 00:39, Pierre Goupil wrote: Maybe Quartz is what you want : http://www.opensymphony.com/quartz/ Regards, Pierre On Sun, Feb 22, 2009 at 11:26 PM, Kaspar Fischer fisch...@inf.ethz.chwrote: My Wicket app needs to run

Datatable Internationalization

2009-02-23 Thread Loic Descotte
Hi all, I have a question about Wicket Datatable Component Internationalization. In the datatable, in don't find how to change the text Showing 1 to 10 of N in the navigation toolbar. The Datatable component is associated to a NavigatorToolBar component, wich is associated to a NavigatorLabel.

Re: Storing user entity in session?

2009-02-23 Thread nino martinez wael
Having access to the complete user object, comes in handy if you use compound models.. Like the CompundPropertyModel... But I see your point.. But it's also sort of what the LDM does, store some kind of identifier and then looks up the user if its not already loaded.. 2009/2/23 Brill Pappin

Re: [OT] Framework for managing task

2009-02-23 Thread Uwe Schäfer
Kaspar Fischer schrieb: the task will be run, even if the server is shut down in between and the task needs to be restarted. Also, tasks that support cancellation (à la java.util.concurrent.ExecutorService) should be cancelled when the system stops. sounds like JMS. I´d recommend ActiveMQ.

Re: [OT] Framework for managing task

2009-02-23 Thread James Perry
IMHO, you might want to look at the Spring framework as it provides a nice API on top of the asynchronous JEE features you need. Best, James. On Sun, Feb 22, 2009 at 10:26 PM, Kaspar Fischer fisch...@inf.ethz.chwrote: My Wicket app needs to run tasks in the background and I am looking for a

Re: DropDownChoice without preselection and without 'Please choose one'

2009-02-23 Thread pixologe
Hi Johan, hi Martin, Just for the sake of completeness: Having select.null= select.nullValid= as string resources, an empty option is displayed as first item if nullValid is true. If it is false, there is still the 'Please choose one' option. Anyway, I'll stick to the ListMultipleChoice

Re: [OT] Simple file repository?

2009-02-23 Thread Korbinian Bachl - privat
Hi Kaspar, just to save you some pain: in case of Jackrabbit don't use TransientRepository but RepositoryImpl instead and make it launch in the init() of you app and go down on the onDestroy() (in case you want to bundle it with your app). Transient has some bad behaviour and currently

Re: Wicket meetup in Switzerland?

2009-02-23 Thread Francisco Diaz Trepat - gmail
maradona hint no working anymore? Is that a sign I'm beginning to get old? I'm in Buenos Aires, Argentina. f(t) On Sun, Feb 22, 2009 at 6:02 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Francisco Diaz Trepat - gmail wrote: First of all, could this be the coolest list ever? May be

Re: Uploading A File

2009-02-23 Thread walnutmon
Adding the model worked. http://www.wicket-library.com/wicket-examples/upload/single This link is the one that had the problem, when you try to upload a file it gives a page that says internal error. Jeremy Thomerson-5 wrote: Yes - it works well. You didn't provide the error, so of course

Re: 1.4 RC Stylesheet Reference Issue

2009-02-23 Thread walnutmon
Thanks. Is there any way to work around it? Something on my page that is triggering it to place a _en_US at the end of the stylesheet that I am referencing? igor.vaynberg wrote: see WICKET-1868, should be fixed in rc2 -igor On Fri, Feb 20, 2009 at 11:18 AM, walnutmon

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Matt Welch
Just to make sure I'm understanding this; yuo're saying I have to create a variable and then assign the variable instead of just being able to pass new AllUsersModel() to the DropDownChoice constructor? That just seems odd. Jeremy Thomerson-5 wrote: IIRC, DropDownChoice requires a

Re: Wicket meetup in Switzerland?

2009-02-23 Thread nino martinez wael
Ahhh.. :) 2009/2/23 Francisco Diaz Trepat - gmail francisco.diaztre...@gmail.com maradona hint no working anymore? Is that a sign I'm beginning to get old? I'm in Buenos Aires, Argentina. f(t) On Sun, Feb 22, 2009 at 6:02 PM, Nino Martinez nino.martinez.w...@gmail.com wrote:

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Martijn Dashorst
On Mon, Feb 23, 2009 at 2:55 PM, Matt Welch matt...@welchkin.net wrote: Just to make sure I'm understanding this; yuo're saying I have to create a variable and then assign the variable instead of just being able to pass new AllUsersModel() to the DropDownChoice constructor? Nope, just change

Re: LDM with Generics for DropDownChoice

2009-02-23 Thread Matt Welch
Martijn Dashorst wrote: Just to make sure I'm understanding this; yuo're saying I have to create a variable and then assign the variable instead of just being able to pass new AllUsersModel() to the DropDownChoice constructor? Nope, just change your model supertype from ListFoo to List?

Re: Flash Chart Display problem

2009-02-23 Thread newbieabc
I found the problem. I had to remove the mountBookmarkablePages() for the page and the chart worked fine! -- View this message in context: http://www.nabble.com/Flash-Chart-Display-problem-tp22121552p22164078.html Sent from the Wicket - User mailing list archive at Nabble.com.

subdomains and setting up WebSession

2009-02-23 Thread Wayne Pope
Hi, I need to be able to map urls like: foo.myapp.com foo2.myapp.com woo.myapp.com etc.. and be able to have a parameter in my session (say a String) set to either foo, foo2, woo, etc These subdomains are database driven and therefore I don't want to add any subdomains hardcoded to web.xml or

Re: subdomains and setting up WebSession

2009-02-23 Thread Martin Makundi
I think you can see the request ulr root by calling ((WebRequest)RequestCycle.get().getRequest()).getRequestURL() Is that what you want? ** Martin 2009/2/23 Wayne Pope waynemailingli...@googlemail.com: Hi, I need to be able to map urls like: foo.myapp.com foo2.myapp.com woo.myapp.com

Re: subdomains and setting up WebSession

2009-02-23 Thread Wayne Pope
Hi Martin, basically I need subdomains to map to a context within the application. For example if you have a application that has several customers, I want to have a separate subdomain for each customer: william.myapp.com jo.myapp.com sarah.myapp.com I'd like 'william' to always see his URLS

Re: subdomains and setting up WebSession

2009-02-23 Thread Nino Martinez
Hi Wayne Thats exactly what I've done with my traningslog.dk and exerciselog.eu , both are pointing at the same app...I just used apache http to append a special cookie containing the domain.. There are several ways of doing this with apache http.. I did this since I am running several apps

Re: Wicket meetup in Switzerland?

2009-02-23 Thread Daniel Frisk
We have had a little bit of both languages. Most swedes are resonable proficent in english so we have used that when not all attendes know swedish. If you have some business planned in Stockholm you are more than welcome! // Daniel jalbum.net On 2009-02-22, at 22:03, Nino Martinez wrote:

Re: subdomains and setting up WebSession

2009-02-23 Thread Wayne Pope
Hi Nino, thanks for that. I wasn't aware that I can get apache to append a cookie. I've done things in the past using mod-rewrite like: Redirect subdomain.example.org/path to www.example.org/subdomain/path Which directive are you using? On Mon, Feb 23, 2009 at 5:17 PM, Nino Martinez

Re: subdomains and setting up WebSession

2009-02-23 Thread Martin Makundi
((WebRequest)RequestCycle.get().getRequest()).getRequestURL() should work for you. ** Martin 2009/2/23 Wayne Pope waynemailingli...@googlemail.com: Hi Martin, basically I need subdomains to map to a context within the application. For example if you have a application that has several

Re: subdomains and setting up WebSession

2009-02-23 Thread Wayne Pope
ok thanks Martin, I'll give it a go On Mon, Feb 23, 2009 at 5:27 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: ((WebRequest)RequestCycle.get().getRequest()).getRequestURL() should work for you. ** Martin 2009/2/23 Wayne Pope waynemailingli...@googlemail.com: Hi Martin,

Wicket Focus Policy

2009-02-23 Thread alexander.elsholz
Hi, had somebody implement a focuspolicy in wicket such as swings focustraversalpolicy? the policy should be analyzed in browser by default(a sorted list of wicket-ids) because of performance. In some cases we need business-code to evaluate next component. in this case we pass the

Re: Wicket Focus Policy

2009-02-23 Thread Martin Makundi
Do yu mean really focus or html tabindex? ** Martin 2009/2/23 alexander.elsholz alexander.elsh...@widas.de: Hi, had somebody implement a focuspolicy in wicket such as swings focustraversalpolicy? the policy should be analyzed in browser by default(a sorted list of wicket-ids) because of

Using AjaxLink onClick method to retrieve and alter components

2009-02-23 Thread mallet
Hello, I have been trying for some time to figure this out but no luck. Some other posts suggest using a submit rather than an AjaxLink, but that will not work for me. Here is my scenario: I have two ListChoice objects on my page, one with several items in it and the other blank. I have an

Re: subdomains and setting up WebSession

2009-02-23 Thread Nino Martinez
I did not do what I said.. :( Apparently I have to seperate virtual sites for it.. In the exerciselog one I set: RequestHeader set domain exerciselog.eu I had to turn of : ProxyPreserveHost Off, cant remember why, but there was a reason to it...Could be because I share cookies or something

Re: Dojo Tooltip JS Error

2009-02-23 Thread Nino Martinez
If you dont get it to work you can always try mootips or prototips from wicket extensions TH Lim wrote: Hi, I am using Dojo Tooltip to show multi lines tooltips when the user moves the mouse over my radio button label. On the initial load, there were 2 already Dojo errors report on the

Re: Wicket Focus Policy

2009-02-23 Thread alexander.elsholz
hi, where is the difference? yes, the html attribute tabindex helps to define a focus-policy. so i can define a default policy and update the attribute with an ajax behavior. i think a problem is the amount of updated components, when tabindices changed because of business logic. her i could

Re: Wicket Focus Policy

2009-02-23 Thread Martin Makundi
Here are some more scientific thoughts about it: http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg26372.html 2009/2/23 alexander.elsholz alexander.elsh...@widas.de: hi, where is the difference? yes, the html attribute tabindex helps to define a focus-policy. so i can

Re: Wicket meetup in Switzerland?

2009-02-23 Thread Nino Martinez
Thanks for the invitation. Chances are slim (im not at jayway anymore) but you never know :) Regards Nino Daniel Frisk wrote: We have had a little bit of both languages. Most swedes are resonable proficent in english so we have used that when not all attendes know swedish. If you have some

Re: How exactly does RestartResponseAtInterceptPageException work?

2009-02-23 Thread Jeremy Levy
I think from just playing with it :) On Wed, Feb 18, 2009 at 11:59 PM, David Leangen wic...@leangen.net wrote: Jeremy, Thank you for this. To my knowledge, the onClick will not be rerun. Thank you. I was not able to find any doc about this anywhere, and I'm not sure what the

What IDE best fits with Wicket?

2009-02-23 Thread Eduardo Nunes
Hello guys, I don't want to generate a flame war but I want to know your opinion about what IDE best fits with Wicket? The basic requirements are: free and the set of plug-ins free too. Thanks, Eduardo S. Nunes - To

Re: What IDE best fits with Wicket?

2009-02-23 Thread Jeremy Levy
Eclipse or NetBeans. I like netbeans. Use what your most productive in.. On Mon, Feb 23, 2009 at 2:19 PM, Eduardo Nunes esnu...@gmail.com wrote: Hello guys, I don't want to generate a flame war but I want to know your opinion about what IDE best fits with Wicket? The basic requirements

column width ajustable table

2009-02-23 Thread miro
Are there any adjustable tables in the sense adjust width of the column, provided by wicket, an example is Sonatype Nexus Repository manager -- View this message in context: http://www.nabble.com/column-width-ajustable-table-tp22168813p22168813.html Sent from the Wicket - User mailing list

Re: What IDE best fits with Wicket?

2009-02-23 Thread Eduardo Nunes
Do you use some plug-in? I like netbeans too. On Mon, Feb 23, 2009 at 4:55 PM, Jeremy Levy jel...@gmail.com wrote: Eclipse or NetBeans. I like netbeans. Use what your most productive in.. On Mon, Feb 23, 2009 at 2:19 PM, Eduardo Nunes esnu...@gmail.com wrote: Hello guys, I don't want

Re: What IDE best fits with Wicket?

2009-02-23 Thread dtoffe
There is a Wicket plugin in the Netbeans plugins center, but I prefer to configure it as a library. If you use Maven based projects, adding the references to the pom should be enough I guess. Hth, Daniel Eduardo Nunes wrote: Do you use some plug-in? I like netbeans too. --

Re: What IDE best fits with Wicket?

2009-02-23 Thread Brill Pappin
your choices are pretty limited based on criteria... however I'm an Eclipse fan. I use Eclipse with maven2... - Brill On 23-Feb-09, at 2:19 PM, Eduardo Nunes wrote: Hello guys, I don't want to generate a flame war but I want to know your opinion about what IDE best fits with Wicket? The

Re: What IDE best fits with Wicket?

2009-02-23 Thread Jeremy Thomerson
This is my choice, too, but the most concrete reason I have is I like it and it works well *for me*. Find one that fits those criteria for you, and you'll be happy :) On Mon, Feb 23, 2009 at 2:48 PM, Brill Pappin br...@pappin.ca wrote: your choices are pretty limited based on criteria...

Re: What IDE best fits with Wicket?

2009-02-23 Thread Loic Descotte
Hi, I use Eclipse with Wicket Bench plugin and it works very fine. On Mon, Feb 23, 2009 at 9:57 PM, Jeremy Thomerson jer...@wickettraining.com wrote: This is my choice, too, but the most concrete reason I have is I like it and it works well *for me*. Find one that fits those criteria for

Re: Using AjaxLink onClick method to retrieve and alter components

2009-02-23 Thread Jeremy Thomerson
If you're using the AjaxLink - it is doing a round trip to the server. The problem is, the round trip does not include the form values - because it was a link - not a form submission. So, you have two options: 1 - don't use an ajax link - just use a webmarkupcontainer as your a tag and add the

Re: how to give static pages consistant look with wicket - partial repeat

2009-02-23 Thread matrixguy
Hi, The following code worked very nicely with the text in the HTML file, but it's not working with the embedded images in the HTML file. I have verified that wicket can find the images (so it's not the path issue for the images). It's as if wicket can find the images but not able to render

Re: What IDE best fits with Wicket?

2009-02-23 Thread Pierre Goupil
+1, I like Wicket Bench. And with M2Eclipse, you have the full sources JavaDoc just by adding Wicket as a dependency, which is very convenient. But don't expect Wicket Bench to do too much, it's just a small, useful tool. Pierre Hi, I use Eclipse with Wicket Bench plugin and it works very

Re: What IDE best fits with Wicket?

2009-02-23 Thread Vit Rozkovec
But in the eclipse version 3.4 when renaming java file, WicketBench stopped renaming for me html and css files with the same name as the java file, which is a bit pity. Vitek Pierre Goupil wrote: +1, I like Wicket Bench. And with M2Eclipse, you have the full sources JavaDoc just by adding

Re: Using AjaxLink onClick method to retrieve and alter components

2009-02-23 Thread mallet
Thanks, Jeremy... very helpful. I didn't quite understand how the AjaxSubmitLink worked, but on your suggestion I refactored my code and found it to be exactly what I was looking for. Jeremy Thomerson-5 wrote: If you're using the AjaxLink - it is doing a round trip to the server. The

Upgrading to 1.4-rc2 - bug with form tester?

2009-02-23 Thread Ned Collyer
Hi, I have the following - which was working on 1.4-rc1 FormTester formTester = wicketTester.newFormTester(panel:form); formTester.getForm().error(test error); formTester.submit(); With 1.4-rc1 this code would not execute the forms onSubmit() method, because an error

Re: Upgrading to 1.4-rc2 - bug with form tester?

2009-02-23 Thread Ned Collyer
Perhaps this is the problem? https://issues.apache.org/jira/browse/WICKET-2019 I'll change my test to have an invalid field. Ned Collyer wrote: Hi, I have the following - which was working on 1.4-rc1 FormTester formTester = wicketTester.newFormTester(panel:form);

Re: Storing user entity in session?

2009-02-23 Thread Alexander Lohse
Hi Martijn, could you paste some short example code to point out how to load and access a UserModel in the requestcycle? Regards, Alex Am 23.02.2009 um 08:42 schrieb Martijn Dashorst: Storing the user in a field of Session is wrong. Didn't you read the concurrency caveats I posted