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 wrote: > >> Hi, >> >> when I apply the Wicket 1.3 way to determine session size, >> RequestCycle.get().getSession().getSizeInBytes() >&g

Re: Determine session size for Wicket 1.5

2012-06-22 Thread Walter Rugora
ng.valueOf(Session.get().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öt

Re: How to link the DDC model with an LDM

2012-06-21 Thread Walter Rugora
ings. > > BTW changing model references is a recipe for disaster in most cases: > > myLDM = new MyLDM((String) newSelection); > > You never know who holds a reference to the old model and thus misses > the update (as the DropDownChoice in your code). > > Hope thi

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 objec

Re: Variable dependant dynamic panel

2012-06-20 Thread Walter Rugora
Similar setup on top of that ... I lost myself in models a bit. A WebPage contains two Panels. Both panels share the same model: Model idModel Now, whenever a new value in a DDC on the 1st panel is selected the idModel value is updated. The change on the selected value can be seen via a label o

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 wrote: >> Session.get().getSizeInBytes(); > > Apparently it is not removed ... > >> >> -Tom >> >> >> On 19.06.2012 at 13:03 W

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: HTML frame alternative to visualise external web-page

2012-03-25 Thread Walter Rugora
cannot refer to external pages? Thanks again Martin! Walter On 24/03/12 13:29, Walter Rugora wrote: > Thanks Martin, > > I gave it a go and it works great with static web-pages. Is there a way > that the external stylesheets are considered? > On another note I tried to use '

Re: HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
ey-value pair before sending the request?! Thanks, Walter On 23/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

Re: HTML frame alternative to visualise external web-page

2012-03-23 Thread Walter Rugora
Hi, > > Sorry 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 wrote: >> Dear Marti

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 / > elements) > > On Fri, Mar 23, 2012 at 8:31 AM, Walter Rugora wrote:

HTML frame alternative to visualise external web-page

2012-03-22 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