RE: Rendering Html on Ajax Request

2010-10-04 Thread Gurpreet.Singh
Thanks Mauro. That worked woo hoo! -Original Message- From: Mauro Ciancio [mailto:] Sent: Sunday, October 03, 2010 7:48 PM To: users@wicket.apache.org Subject: Re: Rendering Html on Ajax Request Hello, This could help you, org.apache.wicket.Component#setEscapeModelStrings Th

Rendering Html on Ajax Request

2010-10-03 Thread Gurpreet.Singh
Hi All, I have some property define in property file like below Myproperty.name = This is bold And on some Ajax request I am adding this property to some label like this add(new Label("somelable", getLocalizer().getString("Myproperty.name.")) My problem is , html tags are rendered as text

Ajax - response

2010-08-04 Thread Gurpreet.Singh
Hi all, I am getting strange kind of problem and need some expert advice to solve this problem. Below response/code works perfectly fine in Firefox but in IE I am getting element not found. Log from Ajax wicket log window: focus set on btnAddb0 INFO: Using ActiveX transport INFO: INFO: Ini

RE: Session time out for Ajax requests

2010-07-22 Thread Gurpreet.Singh
Somehow below code worked, I thought it be helpful for someone else to. if(httpRequest.getSession(false) == null){ Enumeration headerNames = httpRequest.getHeaderNames(); while(headerNames.hasMoreElements()) { String headerName = (String)h

Session time out for Ajax requests

2010-07-22 Thread Gurpreet.Singh
Hi All, Any one tried this : "In your served filter you will have to check for Wicket-Ajax header and if it is present return a properly formatted Ajax-response that contains JavaScript to redirect to your login page. I am not sure what exactly I need to return. I tried with location.href="myp

CryptedUrlWebRequestCodingStrategy with JMeter

2010-06-24 Thread Gurpreet.Singh
Hi All, I am trying to do use JMeter with Wicket. Our application use CryptedUrlWebRequestCodingStrategy. I looked on Wiki page for JMeter and tried to use regular expression for form id's. But with CryptedUrlWebRequestCodingStrategy it's not working . Any one has idea how to get formId's f

Grinder with Wicket

2010-06-23 Thread Gurpreet.Singh
Hi All, Just want to know , if anybody tried Grinder with wicket with lots of Ajax widgets. Please share your experience. Thanks Preet

RE: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Yeap I am adding both wrappers to AjaxRequesttarget like this target.addComponent(seeRecentWrapper..setVisible(true)); target.addComponent(seeAllWrapper..setVisible(false)); From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Tuesday, June 01, 2010 10:59 AM To: Singh, Gurpreet Cc

RE: How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Thanks for replying and sorry about typos. Here is the real code See All View Most Recent seeAll and seeRecent links visibility is set to default , which I assume is true. Initialy seeRecentWrapper visibility is set to false and seeAllWrapper visibility is set to true. On click on s

How to make visible all child of WebMarkupContainer

2010-06-01 Thread Gurpreet.Singh
Hi All, I am getting strange problem. Setting WebMarkupContainer.setVisible(true) is not making all its child visible via Ajax Link. My Html code looks like this Show All Show Recent I need to show one of those links at a time. But somehow setting setVisible(true) is not working , but setVi

AjaxFallbackDefaultDataTable turn off Sorting

2010-05-30 Thread Gurpreet.Singh
Hi All, I need to turn off sorting in AjaxFallbackDefaultDataTable initially and then click of a Ajax Link button in need to turn it On. I Thanks in advance.