Re: [Wicket-user] Question about localizing strings with .properties files

2006-04-27 Thread Juergen Donnerstag
exactly, all by a sudden the messages are now different. And there is another reason. It realy is a workaround circumventing inefficencies of internals. IMO we should fix the internals and make it right instead. And because it doesn't look like a 1 hour change to make it right, I'd rather postpone

[Wicket-user] ExternalLink problem

2006-04-27 Thread R.A
Hi. I use 1.2-rc2. I create link class extends ExternalLink, but that is not work. public class TestLink extends ExternalLink { public TestLink(String anchor) { super(testLink, foo.html# + anchor, test link); PopupSettings googlePopupSettings = new

Re: [Wicket-user] Pondering Possible PageMap Problem

2006-04-27 Thread Johan Compagner
that is strange. If you specifiy a pagemap 'microsite' for a page then this url should be generated: http://localhost:8080/app/event/4c7d7d8a/wicket:pageMapName/micrositecan you make a quickstart app or an example where this goes wrong?johanOn 4/27/06, Nick Heudecker [EMAIL PROTECTED] wrote: I'm

Re: [Wicket-user] Ajax javascript resources

2006-04-27 Thread Bas ter Brugge
That did the trick. Thanks Igor. Bas2006/4/27, Igor Vaynberg [EMAIL PROTECTED]: change your servlet mapping to:/accoRequestor/*-Igor On 4/26/06, Bas ter Brugge [EMAIL PROTECTED] wrote:Hi all, I'm new to Wicket and I've started to create a small sample app to see how things work. I've added an

Re: [Wicket-user] Re: Replacing components in ListView

2006-04-27 Thread Mats Norén
Ok, and when you mean keep track you mean adding a current_edited property to my panel and then in the onClick-handler do the switch. Is the component id available somehow in the onClick? --- Using Tomcat but need to do more? Need to support

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread Johan Compagner
what does the markup look like?On 4/27/06, R.A [EMAIL PROTECTED] wrote: Hi.I use 1.2-rc2.I create link class extends ExternalLink, but that is not work.public class TestLink extends ExternalLink {public TestLink(String anchor) {super(testLink, foo.html# + anchor, test link);PopupSettings

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A
Hi Johan. The markup is, And the output is, test link Regards, R.A -- View this message in context: http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118241 Sent from the Wicket - User forum at Nabble.com. --- Using Tomcat but

[Wicket-user] Re: UML diagram?

2006-04-27 Thread Stefan Kanev
I sketched a small diagram of the components hierarchy of Wicket. Grayed classes are final. It is compact enough to be printable (and readable) on A4. Here it is: http://spider.bg/~aquarius/dl/Wicket%20Components%200.1.png

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A
Sorry, Regards, R.A -- View this message in context: http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118272 Sent from the Wicket - User forum at Nabble.com. --- Using Tomcat but need to do more? Need to support web services,

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A
Hi Johan. I'm very sorry. I posted message from Nabble, I don't know why tags erase. I'll post again. markup is, lt;a wicket:id=helpLinkgt;lt;/agt; -- View this message in context: http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118400 Sent from the Wicket - User forum at

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread Johan Compagner
but the markup should be a link:a href="" wicket:id=externallinkMy ExternalLink/aOn 4/27/06, R.A [EMAIL PROTECTED] wrote:Sorry,Regards, R.A--View this message in context: http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118272Sent from the Wicket - User forum at

Re: [Wicket-user] ExternalLink problem

2006-04-27 Thread R.A
Hi Johan, I succeeded! Thank you very much!! Regards, R.A -- View this message in context: http://www.nabble.com/ExternalLink-problem-t1516651.html#a4118553 Sent from the Wicket - User forum at Nabble.com. --- Using Tomcat but need to do

[Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
Hi all.My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see an error on my logs saying that the file can't be found, even though I can see it on the filesystem. How

[Wicket-user] RE: Resetting a Form

2006-04-27 Thread Andrew Strickland
At wit's end here so I'm going to post my code. Can't for the life of me figure out why the form won't reset, even when I re-initialize the underlying model object. Code follows: AccountPage.java public class AccountPage extends DefaultPage{ /* The user to edit, or null (for a new user) */

Re: [Wicket-user] RE: Resetting a Form

2006-04-27 Thread Johan Compagner
what is that: propertyModel = new PropertyModel(accountPage.getUser(), RequiredFieldContainer.CLASSIFIED_ACCOUNT_TYPE);where is that model used?and why are you making a new model why net just set the model object on the form itself? form.setModelObject(user)johanOn 4/27/06, Andrew Strickland

[Wicket-user] Back button and Database rollback

2006-04-27 Thread Ayodeji Aladejebi
In wicket, if i want hibernate to rollback a transaction when a user clicks the 'back button' back to a page where they just posted from a Form to a database..what du i do? is there anyway i can detect 'onBack' thanks

[Wicket-user] RE: Resetting a Form

2006-04-27 Thread Andrew Strickland
That PropertyModel is used inside some custom FormComponents that I have that do their own logic on whether to add the RequiredValidator or not depending on the Boolean object returned from the binding RequiredFieldContainer.CLASSIFIED_ACCOUNT_TYPE which is the isClassifiedAccountType method

Re: [Wicket-user] Re: Replacing components in ListView

2006-04-27 Thread Igor Vaynberg
you can keep track of the current edit panel via a property of the listview.so your editlink onclick looks like this:if (currentEditPanel!=null) { addStateChange(new Change() { final Panel old=currentEditPanel; undo() { curentEditPanel=old; } }); currentEditPanel.getParent().replace(...view

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
how are you referring to those files inside your css?-IgorOn 4/27/06, Rui Pacheco [EMAIL PROTECTED] wrote:Hi all.My application, as with all applications, uses stylesheets and images. Those files are stored under $TOMCAT_HOME/webapps/my_app/resources, but when I launch my wicket application I see

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
My problem is, the images and css files can't be found by the html pages.I am calling them as if I was using a static page: link href="" rel=stylesheet type=text/css Images follow a similar pattern.On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: how are you referring to those files inside your

Re: [Wicket-user] Back button and Database rollback

2006-04-27 Thread Eelco Hillenius
There is, though not specifically geared towards doing database roll back. Also, note that it is impossible afaik to detect things like that from the browser, so the following only works when the user pushes the back button and then clicks some link or button causing another server roundtrip.

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread cowwoc
What does it mean to namespace it in the context of Wicket? Gili Igor Vaynberg wrote: there is already a plan to namespace that directory for v2, or so i thought. -Igor On 4/27/06, *cowwoc* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Personally, I

[Wicket-user] anyone doing wicket here in seattle?

2006-04-27 Thread Jonathan Locke
was thinking it would be nice to meet people using wickethere in seattle. i know there are at least a couple of us now...maybe have lunch together and shoot the breeze. if you'reinterested, send me an email so we can try to set something up. best, jon

[Wicket-user] Opera 9 Beta works with Wicket

2006-04-27 Thread Nathan Hamblen
Previous versions of Opera would choke on wicket:id tags, etc (as reported on this list). I filed a bug report with Opera a little while back and the problem seems to have been fixed in the new version. Also, our Ajax impl now works with it as far as I can tell. Nathan

Re: [Wicket-user] Opera 9 Beta works with Wicket

2006-04-27 Thread Eelco Hillenius
Yeah! Nathan you rock man! Eelco On 4/27/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Previous versions of Opera would choke on wicket:id tags, etc (as reported on this list). I filed a bug report with Opera a little while back and the problem seems to have been fixed in the new version.

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
call it /wicket-resources instead of /resources or some such-IgorOn 4/27/06, cowwoc [EMAIL PROTECTED] wrote:What does it mean to namespace it in the context of Wicket? GiliIgor Vaynberg wrote: there is already a plan to namespace that directory for v2, or so i thought. -Igor On 4/27/06, *cowwoc*

Re: [Wicket-user] Opera 9 Beta works with Wicket

2006-04-27 Thread Igor Vaynberg
sweet!On 4/27/06, Nathan Hamblen [EMAIL PROTECTED] wrote: Previous versions of Opera would choke on wicket:id tags, etc (asreported on this list). I filed abug report with Opera a little whileback and the problem seems to have been fixed in the new version.Also, our Ajax impl now works with it as

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
Would it break any clients if we would do that now? Eelco On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: call it /wicket-resources instead of /resources or some such -Igor On 4/27/06, cowwoc [EMAIL PROTECTED] wrote: What does it mean to namespace it in the context of

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
i dont see how unless a filter, security or something was mapped onto that path-IgorOn 4/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote:Would it break any clients if we would do that now? EelcoOn 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: call it /wicket-resources instead of /resources or

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
Oh boy. I am sorry for only replying now, but the directory isn't actually named resources. I just wrote that as an example, resources being a self-descripting word.My images are in a folder called images and the .css is on the same directory as WEB-INF. The thing is, I get a lot of errors on my

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Martijn Dashorst
But it turned out to be a good thing :) We try to minimize the name clashes we have with users, and this is one of them. It would be nice to solve it with 1.2 though.MartijnOn 4/27/06, Rui Pacheco [EMAIL PROTECTED] wrote: Oh boy. I am sorry for only replying now, but the directory isn't actually

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
this is not entirely true. sharead resource urls are essentially bookmarkable...so that might be a problem. if we are going to do this in 1.2 we should probably poll the users first.-Igor On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont see how unless a filter, security or something was

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Eelco Hillenius
Ok. On 4/27/06, Igor Vaynberg [EMAIL PROTECTED] wrote: this is not entirely true. sharead resource urls are essentially bookmarkable...so that might be a problem. if we are going to do this in 1.2 we should probably poll the users first. -Igor On 4/27/06, Igor Vaynberg [EMAIL PROTECTED]

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Rui Pacheco
I know you're dealing with more important things right now, but I could use a hand here.I have my images and css's at the same level as web-inf. My html is next to the classes under web-inf/classes.How do I make my html see my images and my css's? On 4/27/06, Eelco Hillenius [EMAIL PROTECTED]

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
okso you have something like img href="" in the markup of the pagewhat ends up in your browser? what context name is the app running under? waht is your servlet mapping?-Igor On 4/27/06, Rui Pacheco [EMAIL PROTECTED] wrote: I know you're dealing with more important things right now, but I

Re: [Wicket-user] Image upload

2006-04-27 Thread Vincent Jenks
I definitely don't want to use blobs Where can I find an example of doing what I need using WebDynamicResource? I don't even see this class listed in the 1.2 Javadoc... Where do I start? Thanks! On 4/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote: wicket-contrib-examples of wicket-stuff

Re: [Wicket-user] anyone doing wicket here in seattle?

2006-04-27 Thread Johan Compagner
when i am around i will come :)(that could be around the beginning of oktober)johanOn 4/27/06, Jonathan Locke [EMAIL PROTECTED] wrote:was thinking it would be nice to meet people using wicket here in seattle. i know there are at least a couple of us now...maybe have lunch together and shoot the

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Johan Compagner
why is /resources baddo remember that normally it sits after the servlet name/app/resourcesso it is for wicket anyway.it is only a problem for people useing /* johan On 4/27/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I'm afraid /resources/ is a reserved path with Wicket. I guess it'snot the best

Re: [Wicket-user] Links to images and .css

2006-04-27 Thread Igor Vaynberg
right, and with 2.0+filter refactor /* will become the preferred mapping.-IgorOn 4/27/06, Johan Compagner [EMAIL PROTECTED] wrote:why is /resources bad do remember that normally it sits after the servlet name/app/resourcesso it is for wicket anyway.it is only a problem for people useing /* johan

Re: [Wicket-user] Image upload

2006-04-27 Thread Johan Compagner
WebDynamicResource is new in the latest 1.2 releasesjust a rename of DynamicByteArrayResourcejust make a ResourceState (inner class of DynamicByteArrayResource)and in getDate() you lazy load youre byte array from somewhere johanOn 4/27/06, Vincent Jenks [EMAIL PROTECTED] wrote: I definitely don't