Re: DatePicker is not appear properly

2012-09-18 Thread Madasamy Sankarapandian
Thank you very much.

After we implementing IWiqueryPlugin in base page and refer its jquery
reference
in renderHead method, the datepicker working fine.


DatePicker is not appear properly

2012-09-17 Thread Madasamy Sankarapandian
Right now I'm migrating a application from wicket -1.4.x. to 1.5.8.

We use wiQuery 1.5.7 (which depends on jQuery 1.6.4) in our project mainly
for the date picker component.
We also use jQuery 1.7.1 directly. The jQuery resource reference shall be
added in the "renderHead" method of our base page.

This use to work fine in wicket-1.4.x (of course with the older wiQuery
version)

But wiQuery components (date picker) are not displayed after migrating to
wicket 1.5.8.
Please note that when a wiQuery component is used in a page, it shall add
it's bundled jQuery reference to head.
May be there's a conflict between the jQuery versions, which I'm not sure.

I also noted that in such cases, wiQuery's jQuery reference takes
precedence rather than the one in my base page.
May be the order in which the header contributions are added is causing the
problem?

When I don't add jQuery-1.7.1 in my base page, wiQuery components are
displayed properly.
But we do need jQuery reference to be added irrespective of whether the
page uses wiQuery components or not as we use some of the jQuery functions
in our pages.

Instructing wiQuery not to add jQuery reference doesn't help either.


Re: Equivalent to WebResource in Wicket 1.5.8

2012-09-09 Thread Madasamy Sankarapandian
Thank you very much

I used  ByteArrayResource(String contentType, byte[] array, String
filename) constructor.


Equivalent to WebResource in Wicket 1.5.8

2012-09-07 Thread Madasamy Sankarapandian
Right now i migrating my application from wicket 1.4.x to 1.5.8

In wicket 1.4.x

 For view the image i used MyResource class which is extends the
WebResource class.
 The coding is add(Image("image",MyResource(new File(path)));

 WebResource#getResourceStream() are Removed from wicket 1.5.x

 What is the equivalent class to WebResource in Wicket 1.5.x?


Re: The Apache Software Foundation Announces Apache Wicketâ„¢ 6.0.0

2012-09-06 Thread Madasamy Sankarapandian
Thanks for your great job


Re: RestartResponseAtInterceptPageException

2012-08-13 Thread Madasamy Sankarapandian
we are identify the problem in our application.we are properly handle
the continueToOriginalDestination() method,our application working fine.

Thank you very much for your help


Re: RestartResponseAtInterceptPageException

2012-08-13 Thread Madasamy Sankarapandian
In our application we are intent to throw the
RestartResponseAtInterceptPageException.
but it is not properly redirect to the LoginPage.


RestartResponseAtInterceptPageException

2012-08-13 Thread Madasamy Sankarapandian
Our application throw this exception when the session is invalidated.

 throw new RestartResponseAtInterceptPageException(LoginPage.class);

 it is working fine on wicket 1.4.x but it is not working on wicket 1.5.7.


Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-10 Thread Madasamy Sankarapandian
i am throw this exception when the session is invalidate

throw new RestartResponseAtInterceptPageException(MyappLoginPage.class)

But is not working in wicket 1.5.7.but it is working fine in wicket 1.4.X


Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Madasamy Sankarapandian
Thankyou very much martin.

I am create custom MyWebSessionStoreProvider class and this class
implements IProvider interface.
The get() method return a MySessionStore.
Then i am using following setter method to set the
MyWebSessionStoreProvider().
@Override
protected void init()
{
 setSessionStoreProvider(new MyWebSessionStoreProvider())
}

Now my application is running very fine


Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Madasamy Sankarapandian
Thanks martin, I will try this


Equivalent of newSessionStore() in wicket 1.5.7

2012-08-09 Thread Madasamy Sankarapandian
I am migrating my application from wicket 1.4.x to wicket 1.5.7.

The newSessionStore method are removed from wicket 1.5.7.

 What is the equivalent of newSessionstore in wicket 1.5.7?