LoadableDetachableModels for a ListView ( database with Cayenne)

2012-02-16 Thread atomix
Hi all , I'm using Cayenne as my database service... Now in a query return a List which I want to wrap a whole List in to ( so call) LoadableDetachableListModels to provide for a ListView, I'm also know that a DataProvider could do the same thing but did any one have write something like Loadabl

Re: New bie question . Custom Form Submit

2012-02-15 Thread atomix
Ahh Thanks again... I didn't khow that the SubmitLink can be outside of a Form ... ...but IMO , why can't another thing call a Form to be submit ... like calling process() <= what does this method really doing, why don't it update all the models?? Thank for answer my silly questions. Wish you a go

Re: New bie question . Custom Form Submit

2012-02-15 Thread atomix
The link is *OUT *of the Form -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/New-bie-question-Custom-Form-Submit-tp4392995p4393062.html Sent from the Users forum mailing list archive at Nabble.com. -

New bie question . Custom Form Submit

2012-02-15 Thread atomix
I have a link which is outside of a Form ... And I want that when user click the link, the Form is submited(); I did : ... onClick(){ form.process(); // But the model of Form Components haven't updated } ... So what I should do for that easy request? -- View this message in context: http://

Re: Save DefaultBreadCrumbsModel to session

2012-02-08 Thread atomix
Everything should be a lot easier and we could reuse the BreadCrumbBar if it acts like a normal component, which has a DefaultModel can get,set via getDefaultModel... And the reason why I ask for the method to Save DefaultBreadCrumbsModel to Session is : If We travel through pages, the BreadCrumbs

Re: Wiquery and JQWicket crash each other!!!!

2012-01-26 Thread atomix
I got answer from Wiquey developer : "Hi! JQWicket and WiQuery do not work well together. Both aim to do the same but using a different approach. Choose either one, not both. When you add WiQuery to the classpath it installs itself using a Wicket Initializer and sets a HeaderResponseDecorator.

Wiquery and JQWicket crash each other!!!!

2012-01-26 Thread atomix
Wiquery and JQWicket crash each other When using Wicket (1.5.3) + JQWicket 8.0 + Wiquery (1.5.3) , the order of the js libraries will be wrong 1) I've started with: Wicket (1.5.3) + JQWicket 8.0 *I run the TipTipPage Example ... * *generated html:* *Everything work fine!!!*