Re: RadioGroup/Radio runtime exception

2010-12-15 Thread Grafas

Lucky me. I checked newest Wicket release (1.4.14) and saw bugfix about Radio
button.
https://issues.apache.org/jira/browse/WICKET-3175

My bug occurred because we use one page for everything. That solution worked
like a charm.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RadioGroup-Radio-runtime-exception-tp2331304p3089098.html
Sent from the Users forum 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: RadioGroup/Radio runtime exception

2010-12-15 Thread Grafas

I'm kinda still stuck with this problem. Any help would be appreciated.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/RadioGroup-Radio-runtime-exception-tp2331304p3088874.html
Sent from the Users forum 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: Radio buttons in modal window in IE6

2010-09-09 Thread Grafas

Unfortunately I cannot upgrade... :/

-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2532743.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: Radio buttons in modal window in IE6

2010-09-07 Thread Grafas

Strange... Yes, AJAX work perfectly - we are using AJAX in many places...
Also we use other modal windows with forms and text fields, text areas and
dropdowns in it and they work just fine... 
This modal window is the only with radio buttons

Andrea, are you using Wicket 1.3.5 for your tests?
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2530144.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: Radio buttons in modal window in IE6

2010-09-06 Thread Grafas

I still dont get where I'm wrong...
Here's the full code of radio buttons. This code is in a panel which is set
as modal window content.

JAVA code:
-
form = new Form("customerSearchForm");
add(form);

choiseGroup = new RadioGroup("searchParam", new PropertyModel(this,
"searchParam"));
choiseGroup.add(new Radio("p1", new Model(SearchParams.NAME)));
choiseGroup.add(new Radio("p2", new Model(SearchParams.CODE)));
choiseGroup.add(new Radio("p3", new Model(SearchParams.CIF)));
choiseGroup.add(new Radio("p4", new Model(SearchParams.ACC_NUMBER)));
choiseGroup.add(new Radio("p5", new Model(SearchParams.CARD_NUMBER)));
form.add(choiseGroup);

form.add(new TextField("searchString", new PropertyModel(this,
"searchString")));

final WebMarkupContainer container = new
WebMarkupContainer("resultContainer");
container.setOutputMarkupId(true);
add(container);
form.add(new IndicatingAjaxButton("search", form) {

@Override
protected void onSubmit(AjaxRequestTarget target, Form form) {
<.. doing searching stuff here>
target.addComponent(container);
}
});

HTML:
--










:Search 
string:





But every time I submit that form model object is NAME and in browser radio
button "jumps" from whatever I checked to the first one although I never
relaod the radio button part. Only search result container is added to a
target to display search results.


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2528111.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: Radio buttons in modal window in IE6

2010-09-02 Thread Grafas

Oh, yeah, sorry, the code sample doesn't show it... Sorry about that.
Yeah, RadioGroup has model set.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2524455.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



Radio buttons in modal window in IE6

2010-09-01 Thread Grafas

Hi all,
We have few radio buttons put in a form in a modal window. And we have a
problem with them.
When IN IE6 form in modal window is submitted we always get firstly added
radio button to the group.

<...>
>From form = new Form("form", new CompoundPropertyModel(new SearchModel()));
add(form);

RadioGroup choiseGroup = new RadioGroup("searchParam");
choiseGroup.add(new Radio("p1", new Model(SearchParams.NAME)));
choiseGroup.add(new Radio("p2", new Model(SearchParams.CODE)));
choiseGroup.add(new Radio("p3", new Model(SearchParams.CIF)));
choiseGroup.add(new Radio("p4", new Model(SearchParams.ACC_NUMBER)));
choiseGroup.add(new Radio("p5", new Model(SearchParams.CARD_NUMBER)));
form.add(choiseGroup);
<...>

Visually I can switch through radio buttons, but, when I submit form - it's
always the same value - NAME. But only on IE6. Everything works on IE7+, FF
etc. And of course we need IE6 and nothing else :/
As if other radio buttons does not exist.

Am I doing something wrong? Or is there workaround? Or smth? I'm desperate. 


-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Radio-buttons-in-modal-window-in-IE6-tp2403103p2403103.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