Re: Determine session size for Wicket 1.5

2012-06-24 Thread Walter Rugora
Thanks Jeremy, works great!!! On 23/06/12 23:23, Jeremy Thomerson wrote: On Fri, Jun 22, 2012 at 11:28 PM, Walter Rugora m...@sudus.eu wrote: Hi, when I apply the Wicket 1.3 way to determine session size, RequestCycle.get().getSession().getSizeInBytes() it results in an around 3000bytes

Re: Determine session size for Wicket 1.5

2012-06-22 Thread Walter Rugora
().getSizeInBytes(; ... } Where do I read the session size to get a proper result? Thanks, Walter On 19/06/12 21:30, Walter Rugora wrote: Thanks guys! On Tue 19 Jun 2012 21:12:48 EST, Martin Grigorov wrote: On Tue, Jun 19, 2012 at 2:10 PM, Thomas Götz t...@decoded.de wrote: Session.get

How to link the DDC model with an LDM

2012-06-21 Thread Walter Rugora
Hi there, I've a LoadableDetachableModel which works pretty much like all LDM examples. There is an overwritten load method that returns an object based on an id member which is set via the constructor. In addition there is a DropDownChoice added to the WebPage (no form is used). The choices

Re: How to link the DDC model with an LDM

2012-06-21 Thread Walter Rugora
the update (as the DropDownChoice in your code). Hope this helps Sven On 06/21/2012 10:11 AM, Walter Rugora wrote: Hi there, I've a LoadableDetachableModel which works pretty much like all LDM examples. There is an overwritten load method that returns an object based on an id member which

Determine session size for Wicket 1.5

2012-06-19 Thread Walter Rugora
Hi there, for Wicket 1.3 I determine session size like this: RequestCycle.get().getSession().getSizeInBytes() But the RequestCycle underwent some changes and I cannot figure out how to do it for Wicket 1.5? Appreciate your help! Walter

Re: Determine session size for Wicket 1.5

2012-06-19 Thread Walter Rugora
Thanks guys! On Tue 19 Jun 2012 21:12:48 EST, Martin Grigorov wrote: On Tue, Jun 19, 2012 at 2:10 PM, Thomas Götz t...@decoded.de wrote: Session.get().getSizeInBytes(); Apparently it is not removed ... -Tom On 19.06.2012 at 13:03 Walter Rugora wrote: Hi there, for Wicket 1.3 I

HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
Hi there, I was wondering if I can avoid HTML frames. In my wicket page I'd like to have a section in which external web-page content is displayed. If that is possible, can someone please refer to an example? Thanks a lot!! Walter

Re: HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
wrote: Hi, The best way is to use iframe - see InlineFrame component. You can also try with Include component, but it is more appropriate for including fragments of html (i.e. without html / body elements) On Fri, Mar 23, 2012 at 8:31 AM, Walter Rugora m...@sudus.eu wrote: Hi there, I

Re: HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
for confusing you :-) Indeed org.apache.wicket.markup.html.link.InlineFrame is meant to load Wicket pages. But org.apache.wicket.markup.html.include.Include can load from external site. On Fri, Mar 23, 2012 at 12:57 PM, Walter Rugora m...@sudus.eu wrote: Dear Martin, thanks a lot for your

Re: HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
/03/12 21:52, Martin Grigorov wrote: Check the examples at http://www.wicket-library.com/wicket-examples/compref/ There you can see them in action and there is a description what they do. On Fri, Mar 23, 2012 at 1:40 PM, Walter Rugora m...@sudus.eu wrote: Thanks a lot Martin! Guess