Re: Announcing: visural-wicket 0.5 released - open source wicket components

2010-02-24 Thread Lionel Port
Another problem with GAE is the security permissions put restrictions on serialization that break things in wicket like the cloneModel call. Some of the methods on ObjectUtils need to allow overriding the implementation to get the wicket components fully working on GAE. On Thu, Feb 25, 2010 at 10:

Re: wicket bench in eclipse

2010-01-26 Thread Lionel Port
Agree with Huake Ingmar. The functionality doesn't overlap at all. My main reason for wanting the plugin to work is to switch easily between the html and the java code for the same component. In a maven project this is particular a hassle because the java code is in packages under /src/main/java an

Re: wicket bench in eclipse

2010-01-21 Thread Lionel Port
gt; > This was my main problem when I used eclipse. You should give NetBeans a try. > Just open the pom file and everything is fine and working. > > Andreas > > >> -Original Message- >> From: Lionel Port [mailto:lio...@portconnection.com] >> Sent: Thursday,

Re: wicket bench in eclipse

2010-01-21 Thread Lionel Port
ench, no problem, > but we are only using wicket bench when creating new pages and panels as a > lazy way to get both the java and html file. > > //Swanthe > > On 2010-01-21 04:48, Lionel Port wrote: >> >> Hi Guys, >> >> Not strictly a wicket question, I kn

wicket bench in eclipse

2010-01-21 Thread Lionel Port
Hi Guys, Not strictly a wicket question, I know. Does anyone have wicket bench working in Galileo or recent version of eclipse or know of a good plugin I should be using?. My project has a maven structure, not sure if thats why it doesn't work. regards, Lionel --

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-20 Thread Lionel Port
Actually, Ernesto idea sounds much simpler. On Thu, Jan 21, 2010 at 4:19 PM, Ernesto Reinaldo Barreiro wrote: > Why don't you include a

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-20 Thread Lionel Port
ot;alert('hello');"; tag.put("onload", js); } } On Thu, Jan 21, 2010 at 3:38 PM, Lionel Port wrote: > I was looking at the first box. > > add(new AbstractDefaultAjaxBehavior() { >               �...@override >      

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-20 Thread Lionel Port
LazyLoadComponent(String markupId) { >>               return new SomePanel(markupId); >>          } >> }.add(new AjaxEventBehavior("onload"){ >>         protected void onEvent(AjaxRequestTarget target){ >>               target.appendJavascript("alert('hello)';");

Re: onAfterRender called twice in AjaxLazyLoadPanel

2010-01-20 Thread Lionel Port
Hi Steve, Are you trying to do this.. http://cwiki.apache.org/WICKET/adding-javascript-from-wicket.html with an onload event instead of onblur, or do I misunderstand. regards, Lionel On Thu, Jan 21, 2010 at 2:56 PM, Steve Swinsburg wrote: > So  overriding onAfterRender for a component doesn't

Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Lionel Port
implementation of cloneModel with one that works on GAE. Anyway I'll stick with this for now till it comes and bites me again. regards, Lionel On Wed, Jan 20, 2010 at 9:26 PM, Pedro Santos wrote: > Thank u! that will work for me too > > On Wed, Jan 20, 2010 at 8:21 AM, Lionel Port w

Re: Objects.cloneModel() on google app engine

2010-01-20 Thread Lionel Port
od is final I can't fix there either. As a workaround for any one who is interested, it looks like cloneModel is only used in this case if the component is versioned so I set called setVersion(false) on the orderByLink and it avoids this problem area. On Wed, Jan 20, 2010 at 12:32 PM, L

Objects.cloneModel() on google app engine

2010-01-19 Thread Lionel Port
Hi, I'm using wicket on google app engine and am having trouble with the sort link headers on data tables. It looks like when a sort link is clicked the method Objects.cloneModel() is called. This creates a ReplaceableObjectOutputStream wrapper around the ObjectOutputStream to do the copy using s

Re: Questions about Serialization...

2009-12-09 Thread Lionel Port
Probably the answer to the original question is just use HttpSessionStore. Its similar issue to when deploying to GAE where you don't have a disk to serialise to. regards, Lionel On Thu, Dec 10, 2009 at 4:13 AM, Marat Radchenko wrote: >>  I wasn't using Model in this precise case. I thought usin