Re: FeedbackPanel not clear

2019-02-19 Thread Casper Kent
Yes that does it, thank you very much. On Tue, Feb 19, 2019 at 2:09 AM sven wrote: > > > Have you tried #setDefaultFormProcessing(false)? > > > > Otherwise the button will trigger new validation errors. > > > > Sven > > > > > > > > > > > > > On 19.02.2019 at 10:36,wrote: > > > > > > I am

FeedbackPanel not clear

2019-02-19 Thread Casper Kent
I am trying to implement a "Clear" button on a form that will clear the input fields as well as any feedback messages. The fields are clear with form.clearInput() but the feedback messages are not. This is done with a AjaxButton. I thought when the feedback panel is added to the target, it will

Re: Autogenerating HTML files ...?

2009-11-09 Thread Casper Bang
Hi Ashley, I actually wrote the list regarding a similar idea about a year ago. It seems like a handy thing for RAD and for newbies struggling with keeping simple CRUD pages in sync. However I can offer nothing but an encurraging great idea, go for it. :) /Casper Igor Vaynberg wrote: i dont

Re: avoid setters / getters by using ?

2009-09-27 Thread Casper Bang
Use Lombok (http://projectlombok.org/), it allows you to generate setters and getters through annotations: @Getter @Setter private String name; /Casper David Chang wrote: Martin, Thanks for your input. My intention is how to get rid of these boring setters/getters from service beans

Re: GWT vs. Wicket?

2009-04-08 Thread Casper Bang
for the browser anyway. I did enjoy the article though, thanks for writing it. :) /Casper

Re: Wicket and (or) restlet

2009-04-01 Thread Casper Bang
a programming model adopted after Wicket. /Casper

Re: Wicket and (or) restlet

2009-04-01 Thread Casper Bang
programmers happy. /Casper On Wed, Apr 1, 2009 at 7:25 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: huh? wicket is trying to address a completely different problem space - which is orthogonal to what restlet and other rest-like services are trying to achieve. do any of these restlet-like

Re: setting up REST API that can respond to requests alongside Wicket

2009-04-01 Thread Casper Bang
apologize. /Casper On Thu, Apr 2, 2009 at 5:01 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: yeah, you can map wicket to /* and services to /services/*. wicket filter will let requests that do not map fallthrough, just make sure you have no wicket mounts that are on /services/*. i still dont get

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Casper Bang
Sounds interesting, although it would be nice if you could mention a trick or two such as to provide us with a little more info. I'm guessing its different from what you'd find in the wiki?! Casper Jonathan Locke wrote: Well, over the break here I've started something I swore I would never

Re: [OT] wicket users around the world

2008-12-12 Thread Casper Bang
Work in Denmark, live in Canada (don't you just love technology?) and planning my strategy for converting my JSF-masochistic colleagues over to try Wicket. ;) /Casper Wadi Jalil Maluf wrote: Argentinians working on wicket and mobile apps integration Wadi -Mensaje original- De

Re: using annotation @AuthorizeInstantiation

2008-12-05 Thread Casper Bang
({Administrator.class, User.class}) ...rather than: |@AuthorizeAction(action = Action.RENDER, roles = {Roles.ADMIN, Roles.USER})| Anyway, just my 2 cents on the topic. /Casper Jeremy Thomerson wrote: If you were going to do this, it would be much better (IMHO) to use interfaces... This gives you

Re: Why can't I initialize PasswordTextField?

2008-12-03 Thread Casper Bang
and password. I assume the user table then have to include a session field that is transferred and stored upon initial login, and which is used to match up against on successive logins? /Casper Jeremy Thomerson wrote: May I answer your question with a question? Why would you want your

Re: Why can't I initialize PasswordTextField?

2008-12-03 Thread Casper Bang
that way. I guess what I see on java.net is browser functionality rather than application/cookie functionality. /Casper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why can't I initialize PasswordTextField?

2008-12-02 Thread Casper Bang
a CompoundPropertyModel. When I sniff request and response headers, I can see that indeed the cookie info is sent around fine. I guess it has to do with security somehow, but shouldn't this be possible even if I am using a PasswordTextField? Thanks in advance, Casper

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-28 Thread Casper Bang
at some point to allow that kind of static modeling - it's in the Kijaro sandbox after all (http://freddy33.blogspot.com/search/label/abstract%20enum). /Casper Igor Vaynberg wrote: this is where the classes variation comes in. class AdminRole extends UserRole - done -igor On Thu, Nov 27

Prototyping mode: Automatic markup generation

2008-11-28 Thread Casper Bang
run into that wicket message a lot. Anyway, just a though. /Casper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
that outweighs the benefits of having code completion and static verification? (Extendability, decoupling, transitive relationships, runs on Java 1.4 etc.) Also, before I delve deeper into it, would it be a trivial matter to write a type safe version? Thanks in advance, Casper

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
since it is part of a very visible and convenient API, but I'll try to write my own Enum version instead then. Thanks, Casper Igor Vaynberg wrote: because you cannot add custom enum values without editing source code. there is a version implemented using classes in wicketstuff somewhere

Re: Why does org.apache.wicket.authorization revolve around string tokens?

2008-11-27 Thread Casper Bang
to model how an ADMIN transitively is also a USER. Sadly the Sun compiler does not allow Enum forward referencing to itself, only the Eclipse compiler does. /Casper Ned Collyer wrote: Interestingly we used a similar approach with using classes as pseudo enums. Not being able to extend enums

Re: RES: Wicket Session grows too big real fast

2008-11-26 Thread Casper Bang
/c_component.jsp?comp=7220243ver=2 /Casper Bruno Cesar Borges wrote: Maybe would be a good idea if Wicket could report memory usage for non-Wicket_Components (and non-standard Java objects, like String and Collections) in memory. I don't know if this could ever be possible. -Mensagem

Authorization and authentication

2008-11-21 Thread Casper Bang
factored into the WASP/SWARM stuff or am I simply doing something wrong? Thanks in advance, /Casper -- View this message in context: http://www.nabble.com/Authorization-and-authentication-tp20629077p20629077.html Sent from the Wicket - User mailing list archive at Nabble.com

Open FAQ/wiki somewhere?

2008-11-20 Thread Casper Bang
a central place with lots of micro-examples/snippets to get you going. /Casper -- View this message in context: http://www.nabble.com/Open-FAQ-wiki-somewhere--tp20607065p20607065.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Open FAQ/wiki somewhere?

2008-11-20 Thread Casper Bang
Oh wow, that's a virtual gold mine. Thanks!. /Casper jWeekend wrote: Casper, Something like http://cwiki.apache.org/WICKET/how-to-do-things-in-wicket.html this ? Regards - Cemal http://www.jWeekend.co.uk http://jWeekend.co.uk Casper Bang wrote: In Wicket in Action it's

Noob question: Wicket and statefull/stateless

2008-11-19 Thread casper
. Does this simply mean what I am doing i tied to my session by Wicket? Is there a way ensure there's no (or just a bare minimum) of session state between each request? In general, what is the mission goal when it comes to statefullness/statelessness of Wicket? Thanks in advance, Casper

Re: Noob question: Wicket and statefull/stateless

2008-11-19 Thread Casper Bang
- latency and behavior somewhat more deterministic. /Casper Jeremy Thomerson-5 wrote: Tip: don't double post or some people will jump on you - it doesn't help you get a good answer. Anyway, for completely stateless page transitions, etc, and how to put data into the URL rather than session

Re: Noob question: Wicket and statefull/stateless

2008-11-19 Thread Casper Bang
Yes we've experienced issues with multiple browser windows as well as synchronization of shared session resources. Again, this has nothing to do with optimization but everything to do with craving a solid, simple programming model for frontend developers. /Casper Johan Compagner wrote: We

Noob question: Wicket and statefull/stateless

2008-11-18 Thread Casper Bang
tied to my session or what exactly is going on? Thanks in advance, Casper - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]