Re: NPE on session invalidation

2018-05-17 Thread Rakesh A
Hi, Sorry for a delayed reply, didn't had chance to work on it till today. Martin Grigorov-4 wrote > You didn't answer my question (or I didn't understand your answer). > Why do you need to use "isSessionInvalidated()" in your cleanup method ? > Is the cleanup method called in some other cases ?

Re: NPE on session invalidation

2018-04-03 Thread Rakesh A
Actually, we've bit more complex scenario I should say; we've multiple webapps running on tomcat with SSO valve configured; which means logout on one application kills the session on other applications and we've session implementation class with logout & session invalidation handling. In both

Re: NPE on session invalidation

2018-04-03 Thread Rakesh A
I see the ticket https://issues.apache.org/jira/browse/WICKET-6547 closed as 'resolved' with resolution 'not a problem'. Instead of reopening it I wanted to discuss the usecase here and decide on re-opening. Is is allowed to call 'Session.isSessionInvalidated()' from 'WebSession.onInvalidate()' ?

Re: NPE on session invalidation

2018-03-30 Thread Rakesh A
Did a quick test and logged an issue https://issues.apache.org/jira/browse/WICKET-6547 -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

NPE on session invalidation

2018-03-30 Thread Rakesh A
Wicket 6.29.0 has a fix for https://issues.apache.org/jira/browse/WICKET-6484 change-set of which can be see at -

Will there be a WicketStuff 6.29.0 release ?

2018-03-30 Thread Rakesh A
Wicket 6.29.0 has been released recently, but latest 6.x WicketStuff release is 6.28.0 Are there plans to do WicketStuff 6.29.0 release. If not, as Wicket 6.29.0 is a drop-in replacement for older 6.x versions, I assume we can still use WicketStuff 6.28.0 along with Wicket 6.29.0, correct ?

Wicket PageStore and Token based authentication

2018-01-24 Thread Rakesh A
Hi, I am trying to build a Wicket application which uses 1. Token based authentication; where token can be valid for a longer time 2. Have page store remain till token expires I couldn't find any example/information regarding this, by going through the PageStoreManager implementation, I was

WiQuery 6.x and JQuery UI draggable (auto-scroll) bug

2017-11-14 Thread Rakesh A
Hi, We are using wiquery 6.13.0 to build some interactive UI. This includes JQuery's UI draggable, droppable, etc. jquery-ui-1.10.4 is used in wiquery-6.13.0 There was a bug with jquiery-ui in draggable component. The auto-scroll does not work properly, which can be seen using the below give

Re: Moving modal window in touch devices

2017-11-02 Thread Rakesh A
Thank you for the suggestion, I tried and was able to make it work. Below code is what I ended up (for some one who is interested in it) (function () { function _duckPunchTouchHandler(event) { // ignore multi-touch events if (event.originalEvent.touches.length > 1) {

Moving modal window in touch devices

2017-11-01 Thread Rakesh A
Hi, I am trying to make modal window positioning (by dragging) work on touch enabled devices with no luck. What I tried is to use JQuery Touch punch, to simulate mouse event for touch events on devices, but this for some reason doesn't work. Any pointers how to make this (allow users to position

Re: Joda-time dependency

2017-09-11 Thread Rakesh A
Hi, Is it going to be for Wicket 8 only ? Regards, Rakesh.A -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Joda-time dependency

2017-09-11 Thread Rakesh A
Hi, Joda-time library dependency in Wicket was added long back for valid reasons then. With improvements to Date time API in JDK, do we still need this dependency ? Can we replace its usage in Wicket with JDK classes ? Reason for this is recently we'd issues with date time conversions when three

Re: Possibility of mounting Wicket resource accessible only once

2016-10-13 Thread Rakesh A
Hi, URLs I can add some code to make them unique, and unmounting from #getResource() seems better place indeed. Thank you for the inputs. Regards, Rakesh.A -- View this message in context:

Re: Possibility of mounting Wicket resource accessible only once

2016-10-13 Thread Rakesh A
Hi, Having the token persisted into DB seems bit complex to solve this 'dynamic' resource issue. The way I've implemented it right now, is to have this resource reference unmounted, from AbstractRequestCycleListener#onRequestHandlerExecuted() method, where I've access to IRequestHandler and the

Possibility of mounting Wicket resource accessible only once

2016-10-12 Thread Rakesh A
Hi, Is it possible to mount a resource programmatically (Eg. On click of an AjaxLink), and make it available only once ? I looked into dynamic resources concept of having a mounted resource, which uses URL attributes to decide which resource content to return from getResource() method of it. In

Re: CryptoMapper, Mounted pages recreation and ModalWindow cookie

2016-10-02 Thread Rakesh A
Created an issue for it - https://issues.apache.org/jira/browse/WICKET-6248 Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-Mounted-pages-recreation-and-ModalWindow-cookie-tp4675513p4675621.html Sent from the Users forum mailing list

Re: CryptoMapper, Mounted pages recreation and ModalWindow cookie

2016-09-21 Thread Rakesh A
Hi, Added to my previous reproduction steps, there one more configuration which causes the mentioned behavior; When the mounted page has some url path parameter. It might also be reproducible if mounted path more than one URL segments. Please find the quick start attached. Try accessing the

CryptoMapper, Mounted pages recreation and ModalWindow cookie

2016-09-14 Thread Rakesh A
Hi, When we've a mounted page for URL '/my-page' and modal window (with 'cookieName' set) is opened from that page modal window size/position information is set into a cookie and path set for it contains the mount path as well. When we enable CryptoMapper in WicketApplication, encrypted URLs for

Re: Regarding nested multipart modal dialog

2016-05-20 Thread Rakesh A
Hi, Created JIRA issue - https://issues.apache.org/jira/browse/WICKET-6171 I tried to refresh the root form by adding it to 'AjaxRequestTarget', but it didn't work. Any workaround you know of, that I can use for now ? Regards, Rakesh.A -- View this message in context:

Regarding nested multipart modal dialog

2016-05-19 Thread Rakesh A
Hi, I observed that when I've a nested (second level) dialog with multipart form in it, after submitting this form, first level dialog form submit results a multipart form submit instead of normal form submit. I've attached a quick start to reproduce this. Steps: 1. Click the link on home page

Re: Correct way to get current page instance

2016-02-11 Thread Rakesh A
Clear Thank you, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Correct-way-to-get-current-page-instance-tp4673548p4673550.html Sent from the Users forum mailing list archive at Nabble.com.

Correct way to get current page instance

2016-02-10 Thread Rakesh A
Hi, I see two possibilities to access current page instance using "PageRequestHandlerTracker" One IRequestHandler requestHandler = RequestCycle.get().getActiveRequestHandler(); if (requestHandler instanceof IRequestHandlerDelegate) { requestHandler = ((IRequestHandlerDelegate)

Access log & CryptoMapper

2016-01-12 Thread Rakesh A
Hi, Without CryptoMapper enabled, we can check URLs accessed and their HTTP status in access logs of tomcat or any other server. But if we enable CryptoMapper, access logs will have encrypted URLs in server access logs, and would be difficult to identify which URL resulted a break. Is there any

Re: Exception handling in AutoCompleteTextField

2016-01-12 Thread Rakesh A
Hi, After looking into ajax code a bit, I see that 'Ajax-Location' header is not considered for autocomplete response. I created a PR (https://github.com/apache/wicket/pull/156) with a small change to ajax JavaScript. Regards, Rakesh.A -- View this message in context:

Exception handling in AutoCompleteTextField

2016-01-06 Thread Rakesh A
Hi, If we get an exception while preparing suggestions/choices for the entered text (in AutoCompleteTextField#getChoices()), I see that, there is no means to show it to user. JavaScript implementation handles only success responses. Is there any way to execute standard Ajax response handling, in

Re: Regarding Browser/Client info implementation

2015-12-24 Thread Rakesh A
I created JIRA ticket - https://issues.apache.org/jira/browse/WICKET-6056 PR links for master and wicket-6.x branches, are added at ticket comments section. -- View this message in context:

Re: Regarding Browser/Client info implementation

2015-12-24 Thread Rakesh A
Can you go through this check-in https://github.com/iamrakesh/wicket/commit/351f084872467f0d3d0f339ab9c20afb4f79d2d1 Or do you need PR? Regards, Rakesh.A -- View this message in context:

Re: Regarding Browser/Client info implementation

2015-12-24 Thread Rakesh A
Done - https://github.com/apache/wicket/pull/152 Mary Christmas :) Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-Browser-Client-info-implementation-tp4673024p4673083.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Regarding Browser/Client info implementation

2015-12-22 Thread Rakesh A
I tried to create a patch with the changes on Wicket sources, please find them attached. Patch#1 - Without renaming HTML files Patch#2 - With renaming HTML files Note: I did not test/execute these changes. wicket6-browser-info-changes-NO-RENAME.patch

Regarding Browser/Client info implementation

2015-12-22 Thread Rakesh A
Hi, I was trying to use WebClientInfo to get browser information on the server, and also extend the implementation in Wicket 6.x, reasons for me to extend Wicket's implementation are 1. Current implementation does not allow me to detect browser's touch api support 2. Wanted to use client side

Re: CssUrlReplacer and performance with certain CSS files

2015-12-14 Thread Rakesh A
Created JIRA task: https://issues.apache.org/jira/browse/WICKET-6051 Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CssUrlReplacer-and-performance-with-certain-CSS-files-tp4672969p4672981.html Sent from the Users forum mailing list archive at

Re: CssUrlReplacer and performance with certain CSS files

2015-12-14 Thread Rakesh A
Yes, exclusion files (java.util.Set) would be better I think, instead of pattern. I can attach/provide a sample file tomorrow, if you want. Regards, Rakesh.A -- View this message in context:

CssUrlReplacer and performance with certain CSS files

2015-12-14 Thread Rakesh A
Hi, I was experimenting with 'CssUrlReplacer', and I see that the performance of CSS file loading might get affected if we enable it. I know that it depends on the content of (no of image URLs) CSS files (and documentation doesn't mention it also :) ) In my tests, I was trying to load ExtJs

Re: Wicket Ajax adding all form component values to request parameters

2015-12-14 Thread Rakesh A
Hi, I see in the fix for WICKET-6006, it is specific to ModalWindow implementation. Please find the attached quick start with the another usecase. WICKET-5948-2.7z This is an update to earlier quickstart. Here I am

Re: Wicket Ajax adding all form component values to request parameters

2015-12-14 Thread Rakesh A
Created JIRA ticket: https://issues.apache.org/jira/browse/WICKET-6050 Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-adding-all-form-component-values-to-request-parameters-tp4672911p4672968.html Sent from the Users forum mailing list

Re: Wicket Ajax adding all form component values to request parameters

2015-12-11 Thread Rakesh A
Please find the attached quick start, which shows the mentioned behavior. WICKET-5948.7z After deploying 1. Click on the link (on home page) to open modal dialog, with few form fields in it. 2. Click on the 'Ajax submit

Wicket Ajax adding all form component values to request parameters

2015-12-09 Thread Rakesh A
Hi, We tried (upgrade from 6.20.0) Wicket 6.21.0, and observe a change in the way Wicket ajax calls are made. Upon looking into it further, we see it due to the fix for "https://issues.apache.org/jira/browse/WICKET-5948;. We've some custom Ajax behaviors added to a normal DOM elements (div) which

Re: Wicket Ajax adding all form component values to request parameters

2015-12-09 Thread Rakesh A
One use-case is, we've a modal window with a form (with lot of form fields - 50 to 200 ) in it, dialog has 'Ok' button which, submits form field values using Wicket Ajax POST call. Modal window also has a 'onClose' Ajax callback. When I click on the 'Ok' button it results 1. POST call with all

Re: Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-16 Thread Rakesh A
Wicket deliverables are bundles, but WicketStuff project deliverables are plain JARs. I'd like to have WicketStuff JARs as bundles as well. Regards, Rakesh.A -- View this message in context:

CryptoMapper and mounted resource URLs

2015-10-15 Thread Rakesh A
Hi, I am trying to generate URLs for mounted resources, and use them later (from JavaScript). I expected using 'RequestCycle#urlFor()' with CryptoMapper enabled will result encrypted urls. But I see I am wrong, and implementation in "CryptoMapper#encryptUrl(Url)" (gets into else block and calls

Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-15 Thread Rakesh A
Hi, All WicketStuff project deliverables are plain JARs, is there any possibility to have them as OSGI bundles? I tried using 'maven-bundle-plugin' plugin, on one of the projects, and was able to build OSGI bundles. Is it a possibility to have these POM files changed with above plugin

Re: CryptoMapper and mounted resource URLs

2015-10-15 Thread Rakesh A
Hi, I did try overriding the #mapHandler() method and have a condition to check for a specific type of 'IRequestHandler', and call "#encryptEntireUrl()" method, this does work. @Override public Url mapHandler(final IRequestHandler requestHandler) { Url myUrl =

Re: Regarding WicketStuff projects deliverables as OSGI bundles

2015-10-15 Thread Rakesh A
Hi, Yes, we might've to add some (import, export package) configuration; by adding maven-bundle-plugin, I tested only, whether manifest contains OSGI specific info or not. I'll try to come up with a patch. Regards, Rakesh.A -- View this message in context:

FileUploadException - 'Stream ended unexpectedly' when proxy is configured

2014-11-17 Thread Rakesh A
Hi, Wicket file upload results HTTP 400 - bad request, when proxy is configured [Eg: OWASP ZAP]. I am able to reproduce this using the live examples URL - www.wicket-library.com/wicket-examples-6.0.x/upload/single http://www.wicket-library.com/wicket-examples-6.0.x/upload/single Can anybody

Re: WiQuery for Wicket 6.17.0

2014-09-23 Thread Rakesh A
We are doing that, but wanted to get a confirmation . Thank you, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-for-Wicket-6-17-0-tp4667564p4667634.html Sent from the Users forum mailing list archive at Nabble.com.

WiQuery for Wicket 6.17.0

2014-09-19 Thread Rakesh A
Hi, I see WiQuery is still at 6.13.0, Is there a release plan to upgrade WiQuery to use Wicket 6.17.0? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-for-Wicket-6-17-0-tp4667564.html Sent from the Users forum mailing list archive at

Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-10 Thread Rakesh A
Hi, After some debugging investigation, It turned out to be a 'AjaxEventBehavior' for 'load' event [page onload event], which was added to page was causing this lock, removing this behavior solved the page locking issue. Thanks, Rakesh.A -- View this message in context:

Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-10 Thread Rakesh A
Forgot to mention, an anonymous class implementation was done for the AjaxEventBehavior, and the #onEvent(..) method access' Page properties in it. Regards, Rakesh.A -- View this message in context:

CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Rakesh A
Hi, I was trying to analyze my wicket page, by adding Wicket debug bar. When I click on the 'Inspector' option in Wicket debug bar I get a CouldNotLockPageException. Thread dump logged is provided below, I couldn't understand much from it, can anybody point me towards why I am getting this

Re: CouldNotLockPageException while trying 'inspect' option of Debug bar

2014-09-09 Thread Rakesh A
Hi, Strange thing is, even if I increase the request timeout to 5mins using org.apache.wicket.settings.IRequestCycleSettings.setTimeout(Duration), I get the same exception. I use Wicket 6.15.0, pages are unversioned page uses 'AbstractAjaxTimerBehavior'. Does 'AbstractAjaxTimerBehavior' cause

after redirect to statefull page and browser back button results StalePageException

2014-06-18 Thread Rakesh A
Hi, I've a link on the page, which requires a redirect to statefull page, and the resultant page also has this type of link, upon clicking on it [on the second page], and on the third page, if use the browser back button, I get StalePageException. Click on link - will result a. Create a page

Request.getClientUrl() usage when using reverse proxy

2014-05-16 Thread Rakesh A
Hi, I've little trouble finding the correct method to use, to get the host name when using reverse proxy. I tried to use org.apache.wicket.request.Request.getClientUrl(), but when I use Url#getHost() on the return value, I get the actual host name instead of the proxy url. Is there any other

Re: Request.getClientUrl() usage when using reverse proxy

2014-05-12 Thread Rakesh A
Hi, After some investigation into configuration, we found that few headers were not set and resulted the behavior I mentioned. Enabling the following solved it. proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Re: DOM element not found issue - Ajax response

2014-04-03 Thread Rakesh A
Hi, In my case, the DOM element is not part of iframe/modal window, its in the current page itself. And the 'id' attribute used by javascript is also part of the same Ajax response. And I am using JQuery to reference this DOM element. What I am doing is. 1. Go to my page 2. Press F5 to refresh my

Character ^ added to javascript blocks in Ajax response

2014-04-01 Thread Rakesh A
Hi, I am using Wicket v6.12.0, I observed that ^ character is getting added at places in javascript blocks in Ajax response. I observed that its for Ajax attributes with supports array like 'pre', 'bh', 'dep', etc. Example: pre:[function(attrs){return false;}]^ bh:[function(attrs){if

DOM element not found issue - Ajax response

2014-04-01 Thread Rakesh A
Hi, I am using Wicket v6.12.0, I've couple of Ajax links, clicking on which will replace a panel [ajax enabled - markup id is generated], and this click also results a piece of javascript, which will use the markup id of the panel. In some cases I see the the javascript fails saying the DOM

StalePageException when AjaxFallbackLink opened in new tab

2014-01-09 Thread Rakesh A
Hi, I've few AjaxFallbackLink links in my page [not versioned], when I try to right click on these link and use the open in new tab option, page gets opened in new tab and results a StalePageException, because render count doesn't match [verified this by debugging

Re: StalePageException when AjaxFallbackLink opened in new tab

2014-01-09 Thread Rakesh A
Hi, Yes, page does have 'AbstractAjaxTimerBehavior' added to it. Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/StalePageException-when-AjaxFallbackLink-opened-in-new-tab-tp4663568p4663573.html Sent from the Users forum mailing list archive at

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-10 Thread Rakesh A
Thank you - Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661273.html Sent from the Users forum mailing list archive at Nabble.com.

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-09 Thread Rakesh A
Hi, Can you please provide me the call [new call] details, when you create one. Thanks, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-suggestions-popup-position-issue-when-container-has-scrollbar-tp4661242p4661267.html Sent from

Re: AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-08 Thread Rakesh A
Hi, Thank you, I did bit of search and found one issue which seems to be similar, https://issues.apache.org/jira/browse/WICKET-1355 But the status says, its not reproducible. Hope it helps Regards, Rakesh.A -- View this message in context:

AutoCompleteTextField suggestions popup position issue when container has scrollbar

2013-09-07 Thread Rakesh A
Hi, I am trying to use wicket's AutoCompleteTextField, which is placed inside a Div, and it has vertical scrollbar, in this case when scroll bar is not at 0 position, the auto complete suggestions popup is not shown next to the text box. I've attached a quickstart which helps reproducing this

Re: CryptoMapper not encoding query string - Wicket 6.5.0

2013-07-09 Thread Rakesh A
Hi, After bit more debugging I found that the URL provided in the previous post were indeed 1.4.x generated, new URL generated is similar to the one given below http://localhost:9090/myTest/?8-1.ILinkListener-contentPanel-layout-entryPanel-layoutButtonPanel-actionButtonTitleHolder-actionButton

Re: markup not found exception for fragment which is part of wicket:extend

2013-07-04 Thread Rakesh A
Hi, Will it be the same [dialog instance as markup provider instead of page instance] if the fragment is part of wicket modal dialog? Regards, Rakesh.A -- View this message in context:

markup not found exception for fragment which is part of wicket:extend

2013-07-03 Thread Rakesh A
Hi, I am using Wicket v6.5.0, I've code where wicket fragments are part of 'wicket:extend/' tag and I get exception that Markup is not found for the fragment, same piece of code works in Wicket v1.4.21. I created attached a quick start with code similar to my case. fragmentTest.zip

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-07-02 Thread Rakesh A
Hi, Thank you for the solution ; Yes, I fixed it by using IComponentInitializationListener IDetachListener. Regards, Rakesh.A -- View this message in context:

Changes related to serialization in Wicket 1.5+

2013-07-02 Thread Rakesh A
Hi, We recently upgraded our application from Wicket v1.4.21 to v6.5.0; after upgrade we see traces of NotSerializableException for few of classes [in fact the number is more] which were working fine with v1.4.21. Was there any change in wicket serialization in v1.5+ ? Is the latest library

Re: Changes related to serialization in Wicket 1.5+

2013-07-02 Thread Rakesh A
Hi, We have a class 'ColorDisplayFormatHelper' which doesn't implement 'Serializable', but was working fine with v1.4.21 library, but after using v6.5.0, we get exception that this class is not serializable. My question why it was working earlier, and fails now? Regards, Rakesh.A -- View

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-06-30 Thread Rakesh A
Hi, In 1.4.x implementation, we were overriding this method [int our base Page implementation] and were doing bit of initialization for the components of the page which is [I mean initialization part - UI related] specific to our implementation. This was one central location to do this for any

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-06-24 Thread Rakesh A
Hi, Is there any other way for the mentioned method? Any suggestions? Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Alternatives-for-Page-componentChanged-Component-MarkupContainer-Wicket-6-5-0-tp4659644p4659763.html Sent from the Users forum

Re: CryptoMapper not encoding query string - Wicket 6.5.0

2013-06-21 Thread Rakesh A
Hi, I added the below two lines in my WebApplication#init() method. getSecuritySettings().setCryptFactory(new KeyInSessionSunJceCryptFactory()); setRootRequestMapper(new PnCryptoMapper(getRootRequestMapper(), this)); When I debug, for me url.getSegments().isEmpty() is 'true' [my url

Re: CryptoMapper not encoding query string - Wicket 6.5.0

2013-06-21 Thread Rakesh A
Hi, Code is recently upgraded from Wicket v1.4.21 to v6.5.0 Regards, Rakesh.A -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-not-encoding-query-string-Wicket-6-5-0-tp4659643p4659651.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-06-21 Thread Rakesh A
Hi, May be I should've added more details to my question. Code recently upgraded from v1.4.21 to v6.5.0. Old implementation code we are using this method to do some initialization whenever a component gets added/removed. As this method is not being called anymore, the initialization code is not

Re: Alternatives for Page.componentChanged(Component, MarkupContainer) - Wicket 6.5.0

2013-06-21 Thread Rakesh A
Hi, Page.componentRemoved(Component) Page.componentAdded(Component) are final methods, I can not override them in my Page implementation. Regards, Rakesh.A -- View this message in context:

radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
Hi - I am looking at 1.4m2 codebase. One of the constructors of radio choice seem to be: public RadioChoice(final String id, final ListT choices) .. In reality the second argument seems to be more appropriate for a Collection , rather than as a list. Any specific reason why it is List?

Re: radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
Thanks. Here it is . I would like to volunteer to fix this as well. What are the svn commit procedures ? On 7/9/08, Igor Vaynberg [EMAIL PROTECTED] wrote: please open a jira issue -igor On Wed, Jul 9, 2008 at 6:43 PM, Rakesh Sinha [EMAIL PROTECTED] wrote: Hi - I am looking

Re: radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
https://issues.apache.org/jira/browse/WICKET-1744 . Sorry - forgot the url . On 7/9/08, Rakesh Sinha [EMAIL PROTECTED] wrote: Thanks. Here it is . I would like to volunteer to fix this as well. What are the svn commit procedures ? On 7/9/08, Igor Vaynberg [EMAIL PROTECTED] wrote

reusing css files across directories.

2008-07-09 Thread Rakesh Sinha
Hi - I am trying to add css to my page. Adding the following line to my WebPage , definitely works. add(new StyleSheetReference(pageCSS, getClass(), page.css)); But I am just curious - what would be the solution to share the css across the directory structures. In other words - if we were

MockWebApplication supporting https ?

2008-07-06 Thread Rakesh Sinha
Hi - Came across this class - org.apache.wicket.protocol.http.MockWebApplication internally used by WicketTester. It seems to work nice with http:// , but not with SSL. I am working with 1.3.4 . Can we have a future MockObject (may be a configurable WicketTester , that can take the

SSL support for WebApplication in development branch ..

2008-07-06 Thread Rakesh Sinha
Hi - I am looking at the following wiki - http://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode#HowtoswitchtoSSLmode-Edit(Wicket1.3.x)%3A . The wiki lists a whole number of options to add SSL support to a web application including that of the links of controls etc.

ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
Hi - I am trying to integrate ajax behavior with a radio button such that whenever a radio button in a radio group is selected - an appropriate handler is invoked. Java: RadioGroup sex = new RadioGroup(sex); sex.add(new Radio(M, new Model(AgeValidator.SexEnum.MALE))); sex.add(new Radio(F,

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
wrong with my html code. html: wicket:container wicket:id=sex tdinput wicket:id=M type=radio /Male input wicket:id=F type=radio /Female/td /wicket:container Would this be correct ? On 7/5/08, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Sat, 05 Jul 2008, Rakesh Sinha wrote

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
a current selected radio model or something similar to that ? On 7/5/08, Rakesh Sinha [EMAIL PROTECTED] wrote: I changed the code to be AjaxFormComponentUpdatingBehavior (onclick) - but it still does not seem to work ( though , onclick *is* the right method to invoke from javascript

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
) { // TODO Auto-generated method stub } }); This seems to work. On 7/5/08, Rakesh Sinha [EMAIL PROTECTED] wrote: Ok - my new code looks as follows: - RadioGroup sex = new RadioGroup(sex); Radio male = new

calendar control for wicket ??

2008-07-05 Thread Rakesh Sinha
Hi - Just curious if there is a Calendar control / class associated with Wicket. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: calendar control for wicket ??

2008-07-05 Thread Rakesh Sinha
. This might be more involved I believe. On 7/5/08, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: are you talking about a DatePicker? On Sun, Jul 6, 2008 at 4:11 AM, Rakesh Sinha [EMAIL PROTECTED] wrote: Hi - Just curious if there is a Calendar control / class associated with Wicket

Re: ajax event handler with a textfield .. .

2008-07-03 Thread Rakesh Sinha
On 7/3/08, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Thu, 03 Jul 2008, Rakesh Sinha wrote: Thanks for pointing this one out. Can you paste / point to a code fragement for - OnChangeAjaxBehavior and how to integrate with TextField. Use the source, Luke :) Just use it instead

ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
Hi - I have a TextField component in my page. Java : txtAge = new TextField(txtAge, Integer.class); lblAgeValidate = new Label(lblAgeValidate, ); html: tdinput type=text wicket:id=txtAge //td tdspan wicket:id=lblAgeValidate //td I want a behavior to attach an

Re: ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
[EMAIL PROTECTED] wrote: On Wed, 02 Jul 2008, Rakesh Sinha wrote: I want a behavior to attach an ajax event handler to the textfield such a way that anytime a text field changes - there would be an ajax validation performed , that would update the model behind lblAgeValidate - which

turning off autocomplete for textfield ..

2008-07-02 Thread Rakesh Sinha
on a separate note - how do we turn off autocomplete for a TextField in the java code. (other than autocomplete=off, in html). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
On 7/3/08, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Thu, 03 Jul 2008, Rakesh Sinha wrote: I tried something similar to this .. It works. ... txtAge.add(new AjaxFormComponentUpdatingBehavior(onkeyup) { This works otherwise but does not detect cut and paste done with mouse. Thanks

configuring wicket:id from Java code in TITLE in a page

2008-07-01 Thread Rakesh Sinha
I am trying to have the title of a given page, populated from the code. HTML: == html head titlewicket:id=mysiteName/title /head body strongHomepage/strong br / br / span wicket:id=messagemessage will be here/span /body /html Java: (HomePage.java only) = public class HomePage extends

Re: configuring wicket:id from Java code in TITLE in a page

2008-07-01 Thread Rakesh Sinha
Thanks Igor. That works. Thanks Apache Wicket team once again for a wonderful framework. On Wed, Jul 2, 2008 at 12:37 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: title wicket:id=mysiteName[title will be here]/title just like the span... -igor On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinha