Re: [6.4.0] Form Ajax and HTTP values

2013-01-10 Thread dmalescot
Martin,

Do you have an idea of how many time it's take to have an analyze on my jira
?

Thanks a lot.
Damien



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/6-4-0-Form-Ajax-and-HTTP-values-tp4655235p4655275.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: [6.4.0] Form Ajax and HTTP values

2013-01-09 Thread dmalescot
I took time to create a quickstart.

I've just opened a jira :
https://issues.apache.org/jira/browse/WICKET-4961

I think problem is with embedded forms, but there is nothing on migration
doc on it.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/6-4-0-Form-Ajax-and-HTTP-values-tp4655235p4655251.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: [6.4.0] Form Ajax and HTTP values

2013-01-09 Thread Martin Grigorov
Hi,

If you are not able to debug it then please create a quickstart and attach
it to ticket in Jira.
There could be some bug in wicket-ajax.js. It has been changed a lot for
Wicket 6 (based on jQuery).


On Wed, Jan 9, 2013 at 4:45 PM, dmalescot  wrote:

> Hi,
>
> I have another problem with 6.4.0 and one of my form which has :
>
>  - 1 Form with
>  --> 1 Panel with 3 radio in a radiogroup
>  --> 1 Panel with some fields for custom filtering
>  -> 1 AjaxButton which refresh full form (target.addComponent( form ) )
>
> *In 1.5.8 :*
> When I click on my AjaxButton and look POST HTTP values i can see :
>  - value of my checked radio.
>  - value of each fields in my custom filtering panel.
>
> So Raw input is correct when wicket try to rende component.
>
> *In 6.4.0 :*
> When I click on my AjaxButton and look POST HTTP values i can see :
>  - value of each fields in my custom filtering panel.
>
> No value for my radiogroup. So raw input isn't correct and when Wicket try
> to render component to refresh form my radiobutton isn't checked.
>
> *Radio.java : onComponentTag*
> if (group.hasRawInput()) // pass here
> {
> String rawInput = group.getRawInput(); // value is
> null here
> if (rawInput != null && rawInput.equals(value))
> {
> tag.put("checked", "checked");
> }
> }
>
> Do you have any idea of the problem ? Why in wicket 6.4.0 my radio value
> isn't submit in HTTP POST values ?
>
> Thanks a lot :)
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/6-4-0-Form-Ajax-and-HTTP-values-tp4655235.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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com 


[6.4.0] Form Ajax and HTTP values

2013-01-09 Thread dmalescot
Hi,

I have another problem with 6.4.0 and one of my form which has :

 - 1 Form with
 --> 1 Panel with 3 radio in a radiogroup
 --> 1 Panel with some fields for custom filtering
 -> 1 AjaxButton which refresh full form (target.addComponent( form ) )

*In 1.5.8 :*
When I click on my AjaxButton and look POST HTTP values i can see :
 - value of my checked radio.
 - value of each fields in my custom filtering panel.

So Raw input is correct when wicket try to rende component.

*In 6.4.0 :*
When I click on my AjaxButton and look POST HTTP values i can see :
 - value of each fields in my custom filtering panel.

No value for my radiogroup. So raw input isn't correct and when Wicket try
to render component to refresh form my radiobutton isn't checked.

*Radio.java : onComponentTag*
if (group.hasRawInput()) // pass here
{
String rawInput = group.getRawInput(); // value is null 
here
if (rawInput != null && rawInput.equals(value))
{
tag.put("checked", "checked");
}
}

Do you have any idea of the problem ? Why in wicket 6.4.0 my radio value
isn't submit in HTTP POST values ?

Thanks a lot :)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/6-4-0-Form-Ajax-and-HTTP-values-tp4655235.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