Re: GIcon URL

2010-12-20 Thread Jeremy Thomerson
Have you tried new GIcon(urlFor(new ResourceReference(SomeClass.class, path-to-img-relative-to-class.jpg))); On Sun, Dec 19, 2010 at 4:41 AM, Igor Racic igor.ra...@gmail.com wrote: Hi, That must be something simple. GIcon (from GMap2) have constructor GIcon (String) which works OK when I put

Re: Spring Security 3 and Wicket

2010-12-20 Thread Dmytro Seredenko
It's still unclear to me: can I use SS 3 as a authorization tool with config like: security:http create-session=never auto-config=true security:intercept-url pattern=/admin access=ROLE_ADMIN/ security:intercept-url pattern=/**/ /security:http or I there is no way to omit

Re: [1,5]Error msg from Model?

2010-12-20 Thread nino martinez wael
Havent got time working on a release that has to come out before new year :( Will replicate in quickstart next year :) 2010/12/17 Jeremy Thomerson jer...@wickettraining.com Show some code (quickstart). On Fri, Dec 17, 2010 at 9:23 AM, nino martinez wael nino.martinez.w...@gmail.com wrote:

CheckboxMultipleChoice doesn't support Ajax Behavior?

2010-12-20 Thread eugenebalt
I have a CheckBoxMultipleChoice which doesn't seem to support Ajax onChange. My code: CheckBoxMultipleChoice group = new CheckBoxMultipleChoice(CheckboxGroup1, valueList); group.add(new AjaxFormComponentUpdatingBehavior(onchange) { protected void onUpdate(AjaxRequestTarget target)

Re: CheckboxMultipleChoice doesn't support Ajax Behavior?

2010-12-20 Thread Martin Grigorov
try with onclick On Mon, Dec 20, 2010 at 5:20 PM, eugenebalt eugeneb...@yahoo.com wrote: I have a CheckBoxMultipleChoice which doesn't seem to support Ajax onChange. My code: CheckBoxMultipleChoice group = new CheckBoxMultipleChoice(CheckboxGroup1, valueList); group.add(new

Re: CheckboxMultipleChoice doesn't support Ajax Behavior?

2010-12-20 Thread Pedro Santos
use AjaxFormChoiceComponentUpdatingBehavior istead of AjaxFormComponentUpdatingBehavior On Mon, Dec 20, 2010 at 2:22 PM, Martin Grigorov mgrigo...@apache.orgwrote: try with onclick On Mon, Dec 20, 2010 at 5:20 PM, eugenebalt eugeneb...@yahoo.com wrote: I have a CheckBoxMultipleChoice

Re: CheckboxMultipleChoice doesn't support Ajax Behavior?

2010-12-20 Thread eugenebalt
Thank you, the onClick() works, but I have another question: As I select/de-select checkboxes, I need to check what's currently selected. Example: If Checkbox X is selected by itself (as a result of my selections/de-selections), then I need to do some Ajax action. The problem is, I don't have

Re: CheckboxMultipleChoice doesn't support Ajax Behavior?

2010-12-20 Thread eugenebalt
Pedro's reply did it. I'm getting the Values correctly if I use the AjaxFormChoiceComponentUpdatingBehavior() (as opposed to the AjaxFormComponentUpdatingBehavior). Thanks all, problem resolved!! -- View this message in context:

Converting Wicket Application to fat client (Swing/WebStart)

2010-12-20 Thread Frank Silbermann
I have a Wicket application at work that has been well-received by its internal users. Because I am not much of a web programmer, and because it is for internal use only, I built a bunch of general-purpose panels and base pages which I use to assemble the application-oriented pages using no

Initial DropDown Blank Choice (Choose One) Disappearing

2010-12-20 Thread eugenebalt
In my DropDown, the initial choice is blank (Choose One), which I want to keep. My selections allow N/A which means nothing is selected. Initially on my form, the Choose One blank option is available, but after I make a selection, it goes away. Do I need to manually add a blank option to my

Re: Initial DropDown Blank Choice (Choose One) Disappearing

2010-12-20 Thread Matthias Keller
Hi eugene See DropDownChoice#setNullValid(boolean) Matt On 2010-12-20 18:57, eugenebalt wrote: In my DropDown, the initial choice is blank (Choose One), which I want to keep. My selections allow N/A which means nothing is selected. Initially on my form, the Choose One blank option is

Re: adding sub rows to AjaxFallbackDefaultDataTable

2010-12-20 Thread Alexander Morozov
Suggest another approach: class MasterTableT extends DefaultDataTableT { public MasterTable(...) { setItemReuseStrategy(new MasterTableReuseStrategy(this)); } protected ItemT newDetailsRow(...) { /* create row here */ } protected void populateDetailsRow(...) { /* populate details

Re: Initial DropDown Blank Choice (

2010-12-20 Thread eugenebalt
Great. Thanks Matt -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Initial-DropDown-Blank-Choice-Choose-One-Disappearing-tp3095904p3095931.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Converting Wicket Application to fat client (Swing/WebStart)

2010-12-20 Thread Jeremy Thomerson
On Mon, Dec 20, 2010 at 10:45 AM, Frank Silbermann frank.silberm...@fedex.com wrote: I have a Wicket application at work that has been well-received by its internal users.  Because I am not much of a web programmer, and because it is for internal use only, I built a bunch of general-purpose

Re: Converting Wicket Application to fat client (Swing/WebStart)

2010-12-20 Thread Peter Karich
Am 20.12.2010 19:36, schrieb Jeremy Thomerson: On Mon, Dec 20, 2010 at 10:45 AM, Frank Silbermann frank.silberm...@fedex.com wrote: I have a Wicket application at work that has been well-received by its internal users. Because I am not much of a web programmer, and because it is for

Re: GIcon URL

2010-12-20 Thread Igor Racic
Hi, Thank you Jeremy, urlFor was missing ingredient. Regards, Igor 2010/12/20 Jeremy Thomerson jer...@wickettraining.com Have you tried new GIcon(urlFor(new ResourceReference(SomeClass.class, path-to-img-relative-to-class.jpg))); On Sun, Dec 19, 2010 at 4:41 AM, Igor Racic

RE: Converting Wicket Application to fat client (Swing/WebStart)

2010-12-20 Thread Frank Silbermann
Well, I started it 5 years ago when the policy on open source had not yet been nailed down. As I've been improving it since then and the production infrastructure group did not have servers to run it on, we been running it on dev/test machines, and production managers have nonetheless been

Re: Converting Wicket Application to fat client (Swing/WebStart)

2010-12-20 Thread Martin Makundi
Therefore, I'm trying to think of a back-up strategy in case they refuse to approve Wicket We are hiring ;)) ** Martin which they might well do for the sake of reason (1), even if Apache's role in Wicket relieves concern (2). I chose Wicket because the standard Java web frameworks then in

RadioGroup / Radio with text fields.

2010-12-20 Thread Ioannis Canellos
Hi, I have an issue with the RadioGroup component. I want a RadioGroup that will have a couple of radio items, which will contain text fields. I want the model of the radio group to contain the value that is typed in the selected textfield. RadioGroupString radioGroup = new

AjaxFormComponentUpdatingBehaviour on CheckBoxMultipleChoice component

2010-12-20 Thread Josh Kamau
Hi guys; I have a CheckboxMultipleChoice component. I want whenever a choice is changed, a label lists a comma separated list of the selected items. However, the CheckBoxMultipleChoice component seems to have an empty list whenever a choice is changed. Here is how i have created the component ;

Re: AjaxFormComponentUpdatingBehaviour on CheckBoxMultipleChoice component

2010-12-20 Thread Jeremy Thomerson
On Mon, Dec 20, 2010 at 3:49 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi guys; I have a CheckboxMultipleChoice component. I want whenever a choice is changed, a label lists a comma separated list of the selected items. However, the CheckBoxMultipleChoice component seems to have an empty

Re: AjaxFormComponentUpdatingBehaviour on CheckBoxMultipleChoice component

2010-12-20 Thread Josh Kamau
Thanks alot Jeremy. I have it working now. That was a really quick response. Josh. On Tue, Dec 21, 2010 at 12:53 AM, Jeremy Thomerson jer...@wickettraining.com wrote: On Mon, Dec 20, 2010 at 3:49 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi guys; I have a CheckboxMultipleChoice

Re: adding sub rows to AjaxFallbackDefaultDataTable

2010-12-20 Thread Benedikt Schlegel
Hi Alexander, would you mind to give a short explanation of the logic in MasterTableReuseStrategy? Thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Submit Form from AjaxFormChoiceComponentUpdatingBehavior

2010-12-20 Thread Jered Myers
Does anybody know a good way to trigger a form submit from inside the onUpdate method of an AjaxFormChoiceComponentUpdatingBehavior? Here is an example: int i = 0; int mode = 0; ... RadioGroupInteger group = new RadioGroupInteger(group, new PropertyModelInteger(this, mode)); group.add(new

Re: Submit Form from AjaxFormChoiceComponentUpdatingBehavior

2010-12-20 Thread Jeremy Thomerson
Probably something like this should work: target.appendJavascript(Wicket.$(' + getForm().getMarkupId() + ').submit()); On Mon, Dec 20, 2010 at 4:34 PM, Jered Myers jer...@maplewoodsoftware.com wrote: Does anybody know a good way to trigger a form submit from inside the onUpdate method of an

Re: DropDownChoice, AjaxFormComponentUpdatingBehavior and dijit.form.FilteringSelect

2010-12-20 Thread hok
Jeremy, thanks for the fast response. However my problem is not the same as described in the other topic. I'm using DropDownChoice, so I cannot use AjaxFormChoiceComponentUpdatingBehavior (it throws an exception that it's supposed to be used with RadioChoice/CheckboxChoice/RadioGroup/CheckGroup).

Re: adding sub rows to AjaxFallbackDefaultDataTable

2010-12-20 Thread James Carman
Have you thought about using a tree table On Dec 19, 2010 11:42 PM, fachhoch fachh...@gmail.com wrote: I want to insert row with column spanning My datatable lists master record in each row , I want to display detail record in the next row when user click on master record for which I tought

Re: Submit Form from AjaxFormChoiceComponentUpdatingBehavior

2010-12-20 Thread Jered Myers
Thanks, that worked! On 12/20/2010 2:36 PM, Jeremy Thomerson wrote: Probably something like this should work: target.appendJavascript(Wicket.$(' + getForm().getMarkupId() + ').submit()); On Mon, Dec 20, 2010 at 4:34 PM, Jered Myers jer...@maplewoodsoftware.com wrote: Does anybody know a

Re: DropDownChoice, AjaxFormComponentUpdatingBehavior and dijit.form.FilteringSelect

2010-12-20 Thread Jeremy Thomerson
On Mon, Dec 20, 2010 at 4:41 PM, hok ivanvasi...@gmail.com wrote: Jeremy, thanks for the fast response. However my problem is not the same as described in the other topic. I'm using DropDownChoice, so I cannot use AjaxFormChoiceComponentUpdatingBehavior (it throws an exception that it's

Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Ioannis Canellos
Hi, I have an issue with the RadioGroup component. I want a RadioGroup that will have a couple of radio items, which will contain text fields. I want the model of the radio group to contain the value that is typed in the selected textfield. RadioGroupString radioGroup = new

Re: Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Jeremy Thomerson
On Mon, Dec 20, 2010 at 4:50 PM, Ioannis Canellos ioca...@gmail.com wrote: Hi, I have an issue with the RadioGroup component. I want a RadioGroup that will have a couple of radio items, which will contain text fields. I want the model of the radio group to contain the value that is typed in

Re: adding sub rows to AjaxFallbackDefaultDataTable

2010-12-20 Thread fachhoch
tree table will not work , I need a table in the sub row,if I use tree table I cannot have header for the table. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/adding-sub-rows-to-AjaxFallbackDefaultDataTable-tp3095096p3112645.html Sent from the Users forum mailing

famous ajaxuploadpanel

2010-12-20 Thread fachhoch
I am using the famous ajaxupload panel which uses IFrame to simulate ajax fileupload. till this time I was saving the uploaded file to database and in onUploadFinished method I used to update a refreshingview which gets these files from database . Now I want to save them in memory till the

Re: famous ajaxuploadpanel

2010-12-20 Thread Pedro Santos
please provide a quickstart On Mon, Dec 20, 2010 at 11:19 PM, fachhoch fachh...@gmail.com wrote: I am using the famous ajaxupload panel which uses IFrame to simulate ajax fileupload. till this time I was saving the uploaded file to database and in onUploadFinished method I used to update

Re: Problem with RadioGroup / Radio / TextField

2010-12-20 Thread Ioannis Canellos
Sorry but I received delivery failure both times I sent the email. On Tuesday, December 21, 2010, Jeremy Thomerson jer...@wickettraining.com wrote: On Mon, Dec 20, 2010 at 4:50 PM, Ioannis Canellos ioca...@gmail.com wrote: Hi, I have an issue with the RadioGroup component. I want a