Re: Pretty URLs for AjaxLazyLoadPanel

2012-05-29 Thread kevjay
Thanks for the reply Martin.  Basically, my use case is to provide a pretty
URL that will have the non-default tab already selected.  The desired tab is
selected if I provide a URL like
http://localhost:/?1-1.ILinkListener-tabs-tabs~container-tabs-2-link,
but I was hoping to be able to control what these URLs looked like.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Pretty-URLs-for-AjaxLazyLoadPanel-tp4649499p4649552.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: Pretty URLs for AjaxLazyLoadPanel

2012-05-29 Thread kevjay
Thanks for the explanation.  This is what I was looking for.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Pretty-URLs-for-AjaxLazyLoadPanel-tp4649499p4649555.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



Pretty URLs for AjaxLazyLoadPanel

2012-05-25 Thread kevjay
I'm using AjaxTabbedPanel and AjaxLazyLoadPanel.  How do I make the URLs for
the individual panels the way I want?  Right now, a link to a specific panel
looks like
http://localhost:/?1-1.ILinkListener-tabs-tabs~container-tabs-2-link. 
How do I make it something like http://localhost:/myTab2?  I cannot seem
to find a way.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Pretty-URLs-for-AjaxLazyLoadPanel-tp4649499.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 on Google App Engine

2012-03-01 Thread kevjay
Daniel, did you ever get things to work to where the HTML files are updated
without restarting?  Everything is working for me but this part.

Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4435831.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: How to get actual data from ByteArrayResource

2012-01-26 Thread kevjay
Thanks Martin!  I should have been more clear that my app is actually
creating the RSS which is why I want to display it one of my Panels for
debug purposes.  Anyways, your code below helped me finally get my solution. 
It didn't like StringResponse, but ByteArrayResponse worked just fine:

ResourceReference resourceReference = new RSSReference();
ByteArrayResponse tmpResponse = new ByteArrayResponse(); 
Attributes attrs = new Attributes(getRequestCycle().getRequest(),
tmpResponse); 
resourceReference.getResource().respond(attrs);
String rss = new String(tmpResponse.getBytes());

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-actual-data-from-ByteArrayResource-tp4328722p4331308.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



How to get actual data from ByteArrayResource

2012-01-25 Thread kevjay
I have a ByteArrayResource where I have overridden getData (RSS feed).  I
have no problem accessing this through the browser and seeing my content. 
However, I want to inject this in an actual page via Label for debugging
purposes.  I've tried getting a hold of the actual data a number of ways
like the following in a Panel:

ResourceReference resourcesReference = new RSSReference();
Attributes attrs = new Attributes(getRequestCycle().getRequest(),
getRequestCycle().getResponse()); 
resourceReference.getResource().respond(attrs); 
String test = null;
getRequestCycle().getResponse().write(test);

However, nothing seems to work.  Any help is greatly appreciated!  I'm using
wicket 1.5.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-actual-data-from-ByteArrayResource-tp4328722p4328722.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