Gets an userobject content from a TreeTable when I click on a node?

2012-04-24 Thread Pablo Díaz
Hi, I'm trying to get the content of a cell when I click on it?. I've the next code to create de treetable: |public class DocTreeTable extends TreeTable { private static final long serialVersionUID = 8799304134058383380L; public DocTreeTable(String id, TreeModel model) {

Re: Getting response from a external URL

2011-12-21 Thread Pablo Díaz
Thank you for your answer but I think this is only correct when you are returning a CharSequence, what's happen when you like returning Image, for example? El 21/12/11 10:33, Martin Grigorov escribió: The problem with EmptyRequestHandler is that the previous response is reset and an empty is

Re: Getting response from a external URL

2011-12-21 Thread Pablo Díaz
Thank you so much it's works, very well ... The correct form was the next: (WebApplication) protected void init() { super.init(); mountPage(Init.do,HomePage.class); mountPage(Viewer.do,ViewerPage.class); *mountResource(ProxyMapserver.do,new ProxyAction());*

Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Hi, I'm trying to do something like an internal proxy in my web-app to check permisions to connect from my portal to a mapserver server. So, I'm trying to get de request from an OpenLayers and redirect the connection throw my internal proxy (after check the roles) . I've done this before in

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Because when I try to write to response I get's this error: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Can't call write(CharSequence) after write(byte[]) has been called. at

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Ok, thank you, I'm not getting the error if I use your code, but I'm not able to gets the response (I always get a blank image, when I must get a map). I mean, I only like getting the request done from someone and check if he has enough privileges to do some operation Then, I change some

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
Ok, but How I can get the httpservletresponse object to write in it? I'm extending the WebPage class ... El 20/12/11 19:26, Igor Vaynberg escribió: try writing directly into httpservletresponse instead of wicket's response. there is a bug fix for this in the upcoming release -igor On

Re: Getting response from a external URL

2011-12-20 Thread Pablo Díaz
I've done that, but I get the same result :( El 20/12/11 20:18, Igor Vaynberg escribió: (httpservletresponse)getresponse().getcontainerresponse() -igor On Tue, Dec 20, 2011 at 10:58 AM, Pablo Díazinspd...@gmail.com wrote: Ok, but How I can get the httpservletresponse object to write in it?