How to change the style of navigator in PageableViewList

2008-01-19 Thread Mead Lai
Hi, should the navigator of PageableViewList be individuation,or designe by user?the default style is too ugly, just like the example in the wicket package: << < 1234...789> >>; Now, I wanne change the style to be:Showing 1 to 11 of 108 itemsPage:1/11 SumPage:11 And any efficiency P

Re: JBoss Wasp/Swarm http 302

2008-01-19 Thread Igor Vaynberg
wicket uses the redirect-after-post pattern. so after the form is submitted you get a redirect to a view page. -igor On Jan 19, 2008 4:39 PM, i ii <[EMAIL PROTECTED]> wrote: > > I'm using wicket 1.3 with jboss 4 and am trying to use a login page, but when > i login i get a http 302. Any ideas w

RE: JBoss Wasp/Swarm http 302

2008-01-19 Thread i ii
also- my filter-mapping is: mywicketfilter /* > From: [EMAIL PROTECTED] > To: users@wicket.apache.org > Subject: JBoss Wasp/Swarm http 302 > Date: Sun, 20 Jan 2008 00:39:16 + > > > I'm using wicket 1.3 with jboss 4

Re: Ajax Detach Question

2008-01-19 Thread ckuehne
Right, I mixed things up a little. Thanks for the fast reply. Conny Matej Knopp-2 wrote: > > But the model is only loaded if you render the component that uses the > model. Detaching it on ajax request makes no difference as long as you > don't rerender the component during an ajax request. >

JBoss Wasp/Swarm http 302

2008-01-19 Thread i ii
I'm using wicket 1.3 with jboss 4 and am trying to use a login page, but when i login i get a http 302. Any ideas why? POST /login?wicket:interface=:0:login-form::IFormSubmitListener:: HTTP/1.1" 302 - To unsubscribe, e-mail: [E

Re: Stateless pages and performance

2008-01-19 Thread Jonathan Locke
As always, the caveat is that you should avoid premature optimization like the plague. Until you've got a handle on your scaling problem (and it probably is that and not a performance problem) and you know what needs to be tuned, the best policy is probably to just build something simply and quic

Re: Ajax Detach Question

2008-01-19 Thread Matej Knopp
But the model is only loaded if you render the component that uses the model. Detaching it on ajax request makes no difference as long as you don't rerender the component during an ajax request. -Matej On Jan 19, 2008 9:51 PM, ckuehne <[EMAIL PROTECTED]> wrote: > > I don't want it to be cached ac

Re: Ajax Detach Question

2008-01-19 Thread ckuehne
I don't want it to be cached across ALL requests. If the site is reloaded I want the model detached and reloaded as well. But not so between ajax request that only include some components of the site. Matej Knopp-2 wrote: > > Detaching the model doesn't mean it is reloaded. The data is loaded

Re: Update to wicketstuff-jquery - commit access?

2008-01-19 Thread Eelco Hillenius
> I'd also like to setup Bamboo for wicketstuff-jquery. Can you point me > in the right direction? We'd have to give you an account on that server I think. I'm not sure what our policy is when it comes to this. Martijn/ others? Eelco --

Re: Stateless pages and performance

2008-01-19 Thread Eelco Hillenius
On Jan 19, 2008 5:18 AM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Hi guys, > > In the release notes, I read: "stateless pages and components for those > parts of your application that needs to scale to extremely large numbers of > users". > > Does somebody use this feature or is it somewhere d

Re: Ajax Detach Question

2008-01-19 Thread Matej Knopp
Detaching the model doesn't mean it is reloaded. The data is loaded when needed, if you want it to be cached across request you need to implement your own model. -Matej On Jan 19, 2008 6:28 PM, ckuehne <[EMAIL PROTECTED]> wrote: > > Just out of curiosity: I noticed that when I add a component to

Ajax Detach Question

2008-01-19 Thread ckuehne
Just out of curiosity: I noticed that when I add a component to an AjaxRequestTarget a detach of the component's parent page (component.getPage()) is triggered. Is there a way around this behavior? I have a listview on that page with a LoadableDetachableModel and I'd rather like that to be reloade

RE: How to get page URL

2008-01-19 Thread Hoover, William
It wasn't ;o) I have been adding them as they come in :o) -Original Message- From: Boon Aik Chew [mailto:[EMAIL PROTECTED] Sent: Saturday, January 19, 2008 2:55 AM To: users@wicket.apache.org Subject: Re: How to get page URL I didn't know it's in the WIKI :p On Jan 18, 2008 10:02 PM, Ho

Re: Resource page

2008-01-19 Thread Boon Aik Chew
Not like that, but I have just found the solution. It's something like this: http://cwiki.apache.org/WICKET/uploaddownload.html Thanks for the tips, it might be useful in future. On Jan 19, 2008 9:21 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > do you mean this: http://www.jointeffort.nl/wic

Re: Resource page

2008-01-19 Thread Martijn Lindhout
do you mean this: http://www.jointeffort.nl/wicket/stuff.html 2008/1/19, Boon Aik Chew <[EMAIL PROTECTED]>: > > How do I create a stream handler (like other request based web framework's > action) that response binary data? Using WebPage doesn't seem to be > appropriate. > -- Martijn Lindhout

Stateless pages and performance

2008-01-19 Thread Martijn Lindhout
Hi guys, In the release notes, I read: "stateless pages and components for those parts of your application that needs to scale to extremely large numbers of users". Does somebody use this feature or is it somewhere documented? What do I have to do and what are the differences from a 'normal' wick

Re: RadioChoice : default choice ?

2008-01-19 Thread Per Newgro
Am Freitag, 18. Januar 2008 23:43:18 schrieb scottomni: > > private RadioChoice genderChoice; > > public RadioChoice getGender(){ > return genderChoice.getModelObjectAsString(); > } > > public void setGender(){ > this.genderChoice = "Male"; > } > > Both of my Methods f

Resource page

2008-01-19 Thread Boon Aik Chew
How do I create a stream handler (like other request based web framework's action) that response binary data? Using WebPage doesn't seem to be appropriate.