Re: Question about transient and serialization

2010-01-22 Thread mfs
Or if you navigate to yet another page and then click browser back Button and click the Ajax button that would give the testString "null"..right ? igor.vaynberg wrote: > > last accessed page instance is stored in http session and therefore in > memory without being serialized. if you ran this o

Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Martijn Dashorst
Guys, I'd like to discuss the future of the Wicket Security project. Currently the project lives on/in the wicketstuff repository, but uses group id and package names "org.apache.wicket". IMO We should either: - adopt Wicket Security into the Wicket project and move everything over from Wicket S

Re: Override fragments in subclasses

2010-01-22 Thread Ilja Pavkovic
Hi, > And the related html: > > > > > > remove and . wicket:id="myNewPanel" is not part of the wicket:child declaration of the parent class. Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Martin Funk
[ ] adopt Wicket security into Apache Wicket > [x ] keep Wicket security at Wicket Stuff > > Pulling more code into Apache Wicket doesn't look like the best option to me. Looking at http://www.ohloh.net/p/wicket/contributors?query=&sort=latest_commit I'd be more interesed in ideas of creating more

AW: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not encrypted (bug?).

2010-01-22 Thread Giambalvo, Christian
You're right, i just want a consistent url look. -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Donnerstag, 21. Januar 2010 16:52 An: users@wicket.apache.org Betreff: Re: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource UR

AW: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not encrypted (bug?).

2010-01-22 Thread Giambalvo, Christian
Ups, sorry. The post was not for me. -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Donnerstag, 21. Januar 2010 16:52 An: users@wicket.apache.org Betreff: Re: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not en

Multiple Form Submits

2010-01-22 Thread Edmund Urbani
Hello, I would like to know how Wicket handles multiple submits of the same form (ie. "double-clicking"). Somehow I always assumed only the first POST request would cause the onSubmit() handlers to be called. Now it looks like I'm either going to have to re-evaluate that assumption or submit a

Re: Multiple Form Submits

2010-01-22 Thread Ernesto Reinaldo Barreiro
-Use a veil to block the page and avoid multiple submits? -resubmit safe form: http://www.codesmell.org/blog/2008/12/wicket-resubmitsafeform/? Ernesto On Fri, Jan 22, 2010 at 1:57 PM, Edmund Urbani wrote: > Hello, > > I would like to know how Wicket handles multiple submits of the same form > (

Re: Multiple Form Submits

2010-01-22 Thread Edmund Urbani
On 01/22/10 14:23, Ernesto Reinaldo Barreiro wrote: -Use a veil to block the page and avoid multiple submits? -resubmit safe form: http://www.codesmell.org/blog/2008/12/wicket-resubmitsafeform/? Ernesto Well, so much for my delusion regarding Wicket forms already being "resubmit-safe". ;)

Re: Multiple Form Submits

2010-01-22 Thread Ernesto Reinaldo Barreiro
http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ On Fri, Jan 22, 2010 at 2:43 PM, Edmund Urbani wrote: > On 01/22/10 14:23, Ernesto Reinaldo Barreiro wrote: > >> -Use a veil to block the page and avoid multiple submits? >> -resubmit safe form: >> http://www.c

Re: Multiple Form Submits

2010-01-22 Thread Edmund Urbani
On 01/22/10 14:48, Ernesto Reinaldo Barreiro wrote: http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines-of-code/ On Fri, Jan 22, 2010 at 2:43 PM, Edmund Urbani wrote: Thanks again. I need this for non-AJAX requests, too. So I would probably use this solution instead

Re: Multiple Form Submits

2010-01-22 Thread Ernesto Reinaldo Barreiro
I have no idea... But if it doesn't you could look at how modal window JS works and do something similar to create a veil that works also for IE6. I know IE6 have problems with drop downs sticking over any div layer... and the solution was to disable them... but do not take my word for granted...

wicketstuff-push and component replacing

2010-01-22 Thread Roland Vares
Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New alarms are sent to server through soap service and map with few other components on page for all browser clients needs to be refreshed. I'm using wicketstuff-push for the pu

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Martin Grigorov
On Fri, 2010-01-22 at 10:52 +0100, Martijn Dashorst wrote: > Guys, > > I'd like to discuss the future of the Wicket Security project. > Currently the project lives on/in the wicketstuff repository, but uses > group id and package names "org.apache.wicket". IMO We should either: > > - adopt Wicke

Re: dynamically adding components to a ListView

2010-01-22 Thread zkn
On 22.01.2010, at 03:18, vasil.pup...@gmail.com wrote: > http://old.nabble.com/dynamically-adding-components-to-a-ListView-td26626657.html > > In this post you said "You found it". Could you please post how did you do it? > > Zinovii in addPanel() replaced panels.add(panel); with panels.g

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Giovanni
I am a user of Wicket Security and I would prefer: [x] adopt Wicket security into Apache Wicket [] keep Wicket security at Wicket Stuff best regards giovanni From: Martin Grigorov To: users@wicket.apache.org Cc: d...@wicket.apache.org Sent: Fri, January 2

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Les Hazlewood
> [ ] adopt Wicket security into Apache Wicket > [x] keep Wicket security at Wicket Stuff I am biased, yes, but I much prefer Shiro in my Wicket apps too :) - Les On Fri, Jan 22, 2010 at 10:03 AM, Martin Grigorov wrote: > On Fri, 2010-01-22 at 10:52 +0100, Martijn Dashorst wrote: >> Guys, >> >>

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Ben Tilford
Assuming adopting it into Apache Wicket would mean being in the wicket jar instead of an optional jar. [ ] adopt Wicket security into Apache Wicket [x] keep Wicket security at Wicket Stuff On Fri, Jan 22, 2010 at 11:00 AM, Les Hazlewood wrote: > > [ ] adopt Wicket security into Apache Wicket >

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Martijn Dashorst
On Fri, Jan 22, 2010 at 5:07 PM, Ben Tilford wrote: > Assuming adopting it into Apache Wicket would mean being in the wicket jar > instead of an optional jar. Huh? What part of > - adopt Wicket Security into the Wicket project and move everything > over from Wicket Stuff into a subproject within

Re: dynamically adding components to a ListView

2010-01-22 Thread Alexander Monakhov
Hi, guys. Just use PropertyModel. Instead of this: container.add(new ListView("panels", panels) { ... } use this container.add( new ListView>( this, "panels" ) ) { ... } where 'this' is referenced to instance of class that contains list of panels as it's property. And check PropertyModel

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Jan Kriesten
Hi Martijn! > [ ] adopt Wicket security into Apache Wicket > [x] keep Wicket security at Wicket Stuff Best regards, --- Jan. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-

Re: yui context menu after ajax request

2010-01-22 Thread Dave Kallstrom
So it turns out there were a couple of issues preventing the yui context menu from working correctly after an ajax request. Even though there was a call to clearContent on the context menu during the on show event yui seemed to ignore this. This resulted in a doubling up of some menu items especia

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Igor Vaynberg
-1 on bringing this into the core. its more code to maintain and we are busy enough already making improvements to the core itself. -igor On Fri, Jan 22, 2010 at 1:52 AM, Martijn Dashorst wrote: > Guys, > > I'd like to discuss the future of the Wicket Security project. > Currently the project li

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread nino martinez wael
I am in doubt. What I think would be best are creating a parent framework like wicket ioc. And then the different security providers could use that.. Does it seem reasonable? That would mean keeping Wicket security at stuff, but probably extracting interfaces? And maybe adopting a few committers f

Re: Future of Wicket Security (WASP/SWARM)

2010-01-22 Thread Jeremy Thomerson
Also -1 on bringing it into core. I don't feel it has wide enough adoption to justify it being maintained by core committers. There's too many security options out there. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jan 22, 2010 at 10:53 AM, Igor Vaynberg wrote: > -1 on bringing

Re: dynamically adding components to a ListView

2010-01-22 Thread Pedro Santos
You are putting view objects inside the model of other view object. Models are meant to keep your application domain data, and over that you create your view. So: For what MyPanel was designed? 1 - For present MyData container.add(new ListView("panels", panels) { protected void populateItem

functional testing

2010-01-22 Thread Marzia Forli
Hi to all wicketers, My current assignment is a pretty big web application to build with wicket. Right now I am studying the framework and in my background thread thinking about the possible problems... One of my biggest concerns is a testing, better said functional testing. As many of you are

Re: functional testing

2010-01-22 Thread nmelen...@getsense.com.ar
Consider using Junit for business layer and Selenium for view layer. I use that,but my project is small. And don't use watir, i had a bad experience with it. NM On Fri, Jan 22, 2010 at 4:20 PM, Marzia Forli wrote: > Hi to all wicketers, > > My current assignment is a pretty big web application to

Using SimpleAttributeModifier

2010-01-22 Thread Anna Simbirtsev
Hi, I am trying to use SimpleAttributeModifier to make an ADD MORE link invisible once the maximum number of text fields that it adds have been reached. But I can not get it to render the link component. My code: addLink = new AjaxSubmitLink("addRow", form) { private static final l

Re: Using SimpleAttributeModifier

2010-01-22 Thread Sven Meier
target.addComponent(addLink) ?? BTW you could override isVisible() and getOutputMarkupPlaceholderTag() instead of the attribute modifier. Sven Anna Simbirtsev wrote: Hi, I am trying to use SimpleAttributeModifier to make an ADD MORE link invisible once the maximum number of text fields that

urlFor() outside wicket session

2010-01-22 Thread Help System
Hi, I have a quartz job that sends emails containing links to pages rendered by Wicket. All these links have parameters. Is there a way of doing the equivalent of RequestCycle.get().urlFor(pageclass, parameters) from a quartz job? At the moment it's hardcoded to generate the url but if the Wick

urlFor() outside wicket session

2010-01-22 Thread Help System
Hi, I have a quartz job that sends emails containing links to pages rendered by Wicket. All these links have parameters. Is there a way of doing the equivalent of RequestCycle.get().urlFor( pageclass, parameters) from a quartz job? At the moment it's hardcoded to generate the url but if the Wic

Re: Using SimpleAttributeModifier

2010-01-22 Thread Anna Simbirtsev
Thanks a lot, it worked.:) On Fri, Jan 22, 2010 at 4:24 PM, Sven Meier wrote: > target.addComponent(addLink) ?? > > BTW you could override isVisible() and getOutputMarkupPlaceholderTag() > instead of the attribute modifier. > > Sven > > > Anna Simbirtsev wrote: > >> Hi, >> >> I am trying to use

Re: urlFor() outside wicket session

2010-01-22 Thread Igor Vaynberg
mount the page so the url is well known, then you do not need wicket to construct it for you. -igor On Fri, Jan 22, 2010 at 1:29 PM, Help System wrote: > Hi, > > I have a quartz job that sends emails containing links to pages rendered by > Wicket.  All these links have parameters. > > Is there a

Page refresh increases size of pagemap disk storage

2010-01-22 Thread Andrew Lombardi
I've got a really simple page, which has components of Label, ListView, etc. The only component (and correctly so) that stores anything in the Pagemap that gets saved to disk is a Link. But subsequent refreshes of that same page, without doing anything in the UI, keeps increasing the storage fo