Re: Wicket 6.14.0 - Error in autocomplete component

2014-04-10 Thread dmalescot
I just opened a JIRA :

https://issues.apache.org/jira/browse/WICKET-5556

Thanks for quick fix

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-14-0-Error-in-autocomplete-component-tp4665355p4665358.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: Wicket 6.14.0 - Error in autocomplete component

2014-04-10 Thread dmalescot
hi, 

I'm really sorry, but I do not have time to make a quickstart :(

I think bug is really easy to fix :

line 592 of wicket-autocomplete.js
--> Wicket.$(obj) instead of $(obj)

If i open a JIRA (without quickstart, but with fix solution) is it possible
to fox it for 6.15 ? If no, how i can bypass this problem ?

Thanks

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-14-0-Error-in-autocomplete-component-tp4665355p4665357.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



Wicket 6.14.0 - Error in autocomplete component

2014-04-10 Thread dmalescot
Hi, 

Since wicket 6.14, autocomplete component throw an error when positionning
autocomplete-menu.

TypeError: $(...).offset is not a function

In fact, in wicket-autocomplete.js (line 592), getPosition use $(obj)
instead of Wicket.$(obj) :

Maybe a can implement a workaround ? Or i need to wait for 6.15 ?

Thanks


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-14-0-Error-in-autocomplete-component-tp4665355.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

2014-04-10 Thread dmalescot
It works since 6.14.0 ;)

Thanks a lot

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308p4665354.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: Error loading jQuery JS in wicket > 6.7.0 (IE)

2014-04-09 Thread dmalescot
thank for your quick answer.

So the error is access denied on ie (works on FF). After some search on
internet, it seems to be this problem :

http://stackoverflow.com/questions/17370482/preventing-script5-access-is-denied-error-in-ie?rq=1
http://bugs.jquery.com/ticket/13980

So I think it's a 1.10.1 bug on IE. 

I do a quick test :

Create a index.html file on local which is loading a wicket application in
an iFrame :
 - OK on FF
 - KO on IE (no css, no javascript)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308p4665313.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



Error loading jQuery JS in wicket > 6.7.0 (IE)

2014-04-09 Thread dmalescot
Hello,

I would like to know if someone can explain my problem :
 - In production, when my application use wicket 6.7.0 everything is OK and
no error
 - In production, when my appication use wicket > 6.7.0 (6.12.0 actually)
everything is KO because Javascript are not loaded. In fact i have lots of
JS errors in IE console like that :

"Message : Acces forbidden

Ligne : 4
Caractère : 12122
Code : 0
URI :
http://XXX:5000/my-application/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.10.1.min-ver-33D85132F0154466FC017DD05111873D.js";

I know this problem is really strange and i can't explain it :(

Someone knows if something has changed in JS loading/access after wicket
6.7.0 ?

Thanks a lot.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Error-loading-jQuery-JS-in-wicket-6-7-0-IE-tp4665308.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-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: DateField and AjaxFormComponentUpdatingBehavior in wicket 1.5.5

2013-01-10 Thread dmalescot
Any suggestion ? I have the same problem.

When i update my datefield with this behavior, my date is null.

Thanks,
Damien



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DateField-and-AjaxFormComponentUpdatingBehavior-in-wicket-1-5-5-tp4551607p4655258.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



[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



Re: ChoiceFiltrer autoSubmit

2013-01-08 Thread dmalescot
Ok i will try.

I've just check in 1.5.8 and you right, there is a behavior in
"renderComponentTag" which create *onchange=this.form.submIt(); *But after,
there is another behavior which overwrite the onchange attribut with
something like *onchange="var
wcall=wicketAjaxPost('?wicket:interface=bind(this));"*
So that's why the form doesn't submit.

In 6.4.0 all events are managed with jQuery and not with inline attributes,
so the onchange=this.form.submIt(); isn't replaced and my form is submit.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ChoiceFiltrer-autoSubmit-tp4655198p4655204.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



ChoiceFiltrer autoSubmit

2013-01-08 Thread dmalescot
Hi,

In Wicket 6.4.0 i have a problem with ChoiceFilter in my AbstractToolbar.

When I check render HTML i have :



So when I change the value, my form is submit.

In Wicket 1.5.8, i don't have this behaviour. Could you tell me what's wrong
in 6.4 ?

Best regards,
Damien



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ChoiceFiltrer-autoSubmit-tp4655198.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] RadioColumn event in dataTable

2013-01-07 Thread dmalescot
thanks, it works perfectly :)



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/6-4-0-RadioColumn-event-in-dataTable-tp4655161p4655178.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



[6.4.0] RadioColumn event in dataTable

2013-01-04 Thread dmalescot
Hello, 

I am trying to migrate from 1.5 to 6.4 wicket, and i have a problem with
dataTable and RadioColumn.

I have a RadioGroup with a dataTable :

RadioGroup radioGroup = new RadioGroup( "radioGroup", new
PropertyModel( CustomTable.this, "selectionRadio" ) );
 radioGroup.add( datatable );

I have a RadioColum like this :
public abstract class RadioColumn extends
HeaderlessColumn

And in my populateItem, i add a RadioPanel with AjaxEventBehavior :

public RadioPanel( String id, IModel rowModel, final K token )
{
super( id, null );
Radio radio = new Radio( "radio", new Model( token ) );
radio.add( new AjaxEventBehavior( "onclick" )
{
@Override
protected void onEvent( AjaxRequestTarget target )
{
}
} );

radio.setEnabled( listener.isRadioEnabled( rowModel ) );

add( radio );
}


its works perfectly in 1.5, but in 1.6 my radioButton isn't selected when I
click on it. 
If i remove AjaxEventBehavior, it's OK. But i need to have a custom event.

Coud you help me please ?

Best regards.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/6-4-0-RadioColumn-event-in-dataTable-tp4655161.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