Re: [Wicket-user] sample wicket app

2005-07-14 Thread bin zhu
i dont know if u have noticed but, the highlight bar on the folder tree doesnt move when u click on it.. i noticed that it does move wheni remove the setResponsePage( ) from nodeLinkClicked() --- Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Nice stuff! > > Eeloc > > bi

Re: [Wicket-user] sample wicket app

2005-07-14 Thread bin zhu
yah.. there are a lot of stuff on my to do list. --- Johan Compagner <[EMAIL PROTECTED]> wrote: > cool i can send myself mail :) > > You have to validate the email adress (to) you now > get a nasty exception > page. > > > bin zhu wrote: > > >hi all, &

[Wicket-user] sample wicket app

2005-07-14 Thread bin zhu
hi all, in the last couple of days i wrote an sample wicket web app to demonstrate to the ease of using wicket. it incorporates alot of the wicket examples, like: forms, trees, list, sign-in, etc. i am still working on attachments and cleaning up the code. just to give everyone a idea of how quickl

[Wicket-user] page.checkAccess

2005-05-28 Thread bin zhu
i noticed that checkAccess only gets called during onRender(). however in my app, i create components in the page in the constructor: class MyPage extends Page { public MyPage () { List bunchOfSecureItems = getStuff(); } } and i would like to 'checkAccess' before the constructor gets cal

Re: [Wicket-user] Securing an entire application

2005-05-26 Thread bin zhu
you should just use servlet filter this is really not the responsibility of a ui framework in my opinion --- Gili <[EMAIL PROTECTED]> wrote: > > Say I wanted to secure an entire application such > that none of its > pages could be accessed outside a certain IP or user > authentication, how

[Wicket-user] nested properites in forms

2005-05-02 Thread bin zhu
i'm trying to create a form with multiple levels of properties. for example if my model looks like level1.level2.level3 i create a form via: super(id, new CompoundPropertyModel(level1), feedBack); add(new TextField("level2.level3")); will not work.. thanks __

[Wicket-user] swing renderer

2005-04-28 Thread bin zhu
wonder if you guys have thought about writing a swing or other renderers for wicket.. so that the same html app can run in swing or swt without any code change. thanks again for a great job in developing wicket! __ Do You Yahoo!? Tired of spam? Y

Re: [Wicket-user] go back link

2005-04-28 Thread bin zhu
t; > to put it in front > > of the session page list again. > > > > So, I think there is some other problem you have. > > Could you give us more > > details, like which Wicket version you use, and > some > > more code? > > > > Eelco > >

Re: [Wicket-user] go back link

2005-04-26 Thread bin zhu
> Could you give us more > details, like which Wicket version you use, and some > more code? > > Eelco > > bin zhu wrote: > > >in the wicket examples, the "go back" link uses > >BookmarkablePageLink. I also trying to do "go back" > &

[Wicket-user] go back link

2005-04-26 Thread bin zhu
in the wicket examples, the "go back" link uses BookmarkablePageLink. I also trying to do "go back" link except i would like the "return page" to keep state, not create a new page. so instead i used add( new Link("backLink") { public void onClick() { setResponsePage( returnPage ); } }

[Wicket-user] redirect to outside of wicket in tree

2005-04-21 Thread bin zhu
how do i redirect to outside of wicket? for example, i want to go to an external link when the user clicks on a tree node redirectTo only accepts Page objects. should i create an ExternalPage object that can redirect calls ? ie.. redirectTo( new ExternalPage("http://www.google.com";) ); thanks,

[Wicket-user] dynamic tree loading, defaultMutableTreeNode

2005-04-20 Thread bin zhu
I am a newbie wicket user trying to use the tree component to render a dynamic tree. i was finally able to achieve this by: 1. extend defaultMutableTreeNode.isLeaf() to return true if the children have not been loaded 2. call load children at Tree.junctionLinkClicked() if the children have not be