Re: Feedback is not dispayled in ajax submit

2007-08-03 Thread Martijn Dashorst
and not forget to call feedback.setOutputMarkupId(true) On 8/3/07, Damian Mendez Romera [EMAIL PROTECTED] wrote: You must override the onError method and add a target.addComponent(feedback) :) Gohan wrote: I cannot seem to get the Feedback panel to be displayed on a Form submit. I have

Re: How to use form method=get?

2007-08-07 Thread Martijn Dashorst
Have you tried adding it *after* the super.onComponentTag() ? Martijn On 8/7/07, Gohan [EMAIL PROTECTED] wrote: I've tried extending Form and adding tag.put(method, get) in onComponentTag(..), but this doesn't work either. The page gets rendered as with form method=get but submits won't

Re: Wicket portlets on LIferay

2007-08-08 Thread Martijn Dashorst
Now you are outside my area of expertise :-). I hope that Ate or Janne is reading this. Martijn On 8/8/07, Miso [EMAIL PROTECTED] wrote: Thx for help, but this doesn't sort it out. A tried: code ... protected void init() {

Re: Wicket portlets on LIferay

2007-08-08 Thread Martijn Dashorst
Also, make sure you are using the code from the experimental portlet branch, as that is the only part where the portlet support is built into (seeing you are using wicket 1.3 based code). Martijn On 8/8/07, Miso [EMAIL PROTECTED] wrote: Thx for help, but this doesn't sort it out. A tried:

Re: wicket:link has no effect

2007-08-09 Thread Martijn Dashorst
In Java using the default package has a lot of drawbacks for anything other than the simple Hello World stuff. Given this and other reported problems I suggest never to use it. Martijn On 8/9/07, soulspirit [EMAIL PROTECTED] wrote: I was able to solve the problen on my own. The error was

Re: Authentication in Webapp and Wicket documentation...

2007-08-09 Thread Martijn Dashorst
http://cwiki.apache.org/WICKET/framework-documentation.html On 8/9/07, Alexander Schatten [EMAIL PROTECTED] wrote: I completly agree; just one addition: best-practices are completly missing in the introduction. at least a list what is available!! how should I know, that there is apparently an

Re: shopping cart and back button

2007-08-12 Thread Martijn Dashorst
On 8/11/07, Artur W. [EMAIL PROTECTED] wrote: 1. User opens products page. 2. User chooses a product. 3. User clicks add product to shopping cart. 4. User is redirected to shopping cart list. 5. User clicks _back button in the browser_. 6. Added product in step 3 disappear from the shopping

Re: Ideas for a Wicket Based Cms

2007-08-14 Thread Martijn Dashorst
Take a look at the kronos CMS first (wicketstuff), and possibly Tally-Ho (java.net). Martijn On 8/14/07, james yong [EMAIL PROTECTED] wrote: Hi all, I have plans to work on a new open sourced CMS that would also be useful to others. It will be based on wicket. Some ideas for the 1st

Re: London Wicket - Bean Editor talk available on-line.

2007-08-17 Thread Martijn Dashorst
iwork'08 - it's all very easy :-D Great one Al! Martijn On 8/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/16/07, Al - it's all very easy - Maw [EMAIL PROTECTED] wrote: Hi folks, The recent talk I did at the last London Wicket event and Wednesday's Java Web User Group is now

Re: Can we do straight print in a java web application?

2007-08-19 Thread Martijn Dashorst
Just think about it for 1 minute why this isn't available... (anwser below). Martijn Spam is of all ages, I figure that even in the clay tablet era people would create ads for enlargements of various body parts (just use a bigger nail!). So before e-mail was the prevalent means of spreading

Re: AjaxEditableLabel

2007-08-20 Thread Martijn Dashorst
Is the property expression correct? shouldn't that be type.code ? Martijn On 8/20/07, fero [EMAIL PROTECTED] wrote: Hi, I use AjaxEditableLabel like this add(new AjaxEditableLabel(code, new PropertyModel(unit, typ.ecode))); But it doesn't show the value form PropertyModel, even, if the

Re: Does anyone develop Wicket app using IRAD and Websphere

2007-08-22 Thread Martijn Dashorst
Or use WicketServlet implementation instead of the WicketFilter. Martijn On 8/22/07, Sean Sullivan [EMAIL PROTECTED] wrote: I had some problems running Wicket 1.3 in Websphere 6.0 Websphere 6.x had some servlet filter bugs that affected Wicket. You should try upgrading to a newer version of

Re: wicket vs tapestry ?

2007-08-22 Thread Martijn Dashorst
You mean the wicket-phonebook? Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - To

New MEAP content for Wicket in Action available

2007-08-27 Thread Martijn Dashorst
for their personal copy. If you have not subscribed to the MEAP, and are anxious to see what this book is about, you can download chapter 1 at no cost, nor any form of registration. Just visit: http://manning.com/dashorst Best regards, Martijn Dashorst -- Wicket joins the Apache Software

Re: New MEAP content for Wicket in Action available

2007-08-27 Thread Martijn Dashorst
On 8/27/07, Philip A. Chapman [EMAIL PROTECTED] wrote: So, I *have* to ask. Did Justin Lee help with chapter four? Cheeser (note the 3rd e) did not have anything to do with chapter four, though I often wondered how much karma naming the shop 'Cheesr' would grant me. Martijn -- Wicket joins

Re: What's the minimum dependence of Wicket 1.3 beta2?

2007-08-28 Thread Martijn Dashorst
On 8/28/07, Jan Kriesten [EMAIL PROTECTED] wrote: so, when someone asks a question on dependencies, i find it somewhat 'rude' to just come in with a comment suggesting 'maven can tell it, read the maven docs and you'll understand all this'... There are not many hours in a day that I can help

Re: [Wicket-user] suggestion: have Wicket SVN searchable with FishEye

2007-08-28 Thread Martijn Dashorst
I've monitored #infra and fisheye is not very popular. It is one of those things that adds a lot of load to the apache systems. Note that we're not against, nor is infra per se. The additional load is caused by indexing the repository by fisheye. There has been talk about making repositories

Apache Wicket 1.3.0-beta3 released!

2007-08-28 Thread Martijn Dashorst
don't prescribe a Logging implementation for SLF4J. You need to specify yourself which one you prefer. Read more about SLF4J here: http://slf4j.org - Validating the release - The release has been signed by Martijn Dashorst, your release manager for today. The public key can be found in the KEYS file

Re: Apache Wicket 1.3.0-beta3 released!

2007-08-29 Thread Martijn Dashorst
How about the central repository, which is used for all official releases? Martijn On 8/29/07, Erik van Oosten [EMAIL PROTECTED] wrote: Great!! When can we expect it on http://wicketstuff.org/maven/repository/? Or is there another maven repository? Regards, Erik. Martijn Dashorst

Re: Wicket HTML Simplicity

2007-08-29 Thread Martijn Dashorst
AFAIK, wicket-bench (an eclipse plugin) does support some form of previewing, but I don't know how far the support actually goes. Martijn On 8/29/07, Gwyn Evans [EMAIL PROTECTED] wrote: No, it looks to me as if the OP's not worried about the pages while running, but is rather looking for

Re: Wicket capability for LARGE forms

2007-08-30 Thread Martijn Dashorst
You are aware of what you are doing to your browser? There is a limit to the pain you can cause. I'm calling the People for the Ethical Treatment of Web Browsers! Seriously: there is a limit to the number of form controls you can put in a page (around ~1000 iirc) Martijn On 8/30/07, Antony

Re: not able to get selected ListMultipleChoice values

2007-08-30 Thread Martijn Dashorst
It also helps to read [1] and use its lessons and guidance for future questions, it will help us help you much better and quicker. (and add the wicket version to Oleg's list of needed information) Martijn [1] http://catb.org/~esr/faqs/smart-questions.html On 8/30/07, Oleg Taranenko [EMAIL

Re: best practice for a header component with links defined by the page

2007-08-30 Thread Martijn Dashorst
http://www.google.com/search?client=safarirls=enq=listview+wicket+site:cwiki.apache.org/wicketie=UTF-8oe=UTF-8 On 8/30/07, Kirk Israel [EMAIL PROTECTED] wrote: Also, not ignoring the fact I needed to have dug in more to the documentation that is there, why doesn't

Re: compressing javascript resources

2007-09-03 Thread Martijn Dashorst
On 9/3/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Also, for what it's worth, the current wicket JavascriptStripper breaks on my app. I'm using prototype and scriptaculous, and when I enable the current wicket compression, my app no longer works. I get javascript errors left and right. Just

Re: HELP with Link and External Link

2007-09-04 Thread Martijn Dashorst
On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: well its a home page banner ad and this is wicket 1.2.6 which i think has nothing like a sessionless homepage? Nope, that is 1.3 (wich is pretty stable though) Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket

Re: Thank you note

2007-09-04 Thread Martijn Dashorst
Why thank you! (made me blush) On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote: I guess it's not that appropriate to write a thank you note on this address, but i just couldn't help myself. What you guys did with this framework is trully amaizing. I've been ... playing with it in the

Re: java.lang.VerfiyError with @SpringBean

2007-09-04 Thread Martijn Dashorst
On 9/4/07, Johan Compagner [EMAIL PROTECTED] wrote: or he can use salve, works great with wicket :) Salve being Igor's non-wicket, project found here: http://salve.googlecode.com Martijn (salve ~= slave? I suspect a hidden agenda here... we shall all become minions of Igor, muhahahaha!) --

Re: Wicket/JSP Hosting

2007-09-05 Thread Martijn Dashorst
No experience (yet), but I'm very interested in Amazon's EC2 effort (elastic computing cloud). Martijn On 9/5/07, Karl M. Davis [EMAIL PROTECTED] wrote: Hey all, I'm having issues with my current web host's poor customer service (cwihosting.com, if you're curious). In addition, my

Re: Wicket libraries

2007-09-05 Thread Martijn Dashorst
On 9/5/07, Al Maw [EMAIL PROTECTED] wrote: That said, maybe we should provide a separate ZIP with the dependencies. I guess if you're using Ivy or Maven 2, you're not going to be downloading the ZIP at all. There may be licensing issues with this, though. What do people think? Martijn?

Re: Wicket libraries

2007-09-05 Thread Martijn Dashorst
PROTECTED] wrote: why dont we generate the maven stie somewhere? doesnt that have a list of dependencies for each module? -igor On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 9/5/07, Al Maw [EMAIL PROTECTED] wrote: That said, maybe we should provide a separate ZIP

Re: Wicket libraries

2007-09-05 Thread Martijn Dashorst
still the case can we just put a vanilla maven site on wicket-stuff or somewhere? -igor On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Remember the troubles I had with generating the site? Tim was working on it, but it still is a long shot from being workable. And yes, it has

Re: DataView Refresh

2007-09-05 Thread Martijn Dashorst
WebMarkupContainer wmc = new WebMarkupContainer(foobar); wmc.add(dataview); wmc.setOutputMarkupId(true); ... target.add(wmc); ... On 9/5/07, Craig Lenzen [EMAIL PROTECTED] wrote: Is there a refresh method on webmarkupcontainer? -Craig igor.vaynberg wrote: put it into a

Re: How to set wicket's locale?

2007-09-06 Thread Martijn Dashorst
new PropertyModel(Page.this, session.foo.sushi.bar); ? On 9/6/07, Gabor Szokoli [EMAIL PROTECTED] wrote: On 9/5/07, Johan Compagner [EMAIL PROTECTED] wrote: can you make an jira issue for this? https://issues.apache.org/jira/browse/WICKET-936 Any ideas on encapsulating the session as a

Re: threading issues - continued

2007-09-07 Thread Martijn Dashorst
On 9/7/07, Sam Hough [EMAIL PROTECTED] wrote: Create a thread from within a servlet container...? Tut tut ;) Yeah, not the most elegant way since they are not monitored by the container, but it sure does get the work done. And we have really nice users that would never try to flood our server.

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Martijn Dashorst
: http://localhost:8080/thirdparty-webapp/thirdParty/?wicket:interface=:4:form:phoneA:phoneThumb:image::IResourceListener:: regards Nino Martijn Dashorst wrote: The most failsafe solution to the update image using Ajax request to my mind is to add a random number to the url

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-07 Thread Martijn Dashorst
I'll be presenting on JavaPolis this december, so we can easily plan a BoF in the evening. Martijn On 9/7/07, Francis De Brabandere [EMAIL PROTECTED] wrote: any chance you could do this a bit more near belgium? :-) On 9/7/07, C. Bergström [EMAIL PROTECTED] wrote: Johan Compagner wrote:

Re: threading issues - continued

2007-09-07 Thread Martijn Dashorst
On 9/7/07, Sam Hough [EMAIL PROTECTED] wrote: OK. Should give me fewer nightmares even if it doesn't explain current problem. Many thanks. It is probably just my dodgy code. What pattern do you use for long running Ajax requests? Create a worker thread in the background. If it really lasts

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-07 Thread Martijn Dashorst
On 9/7/07, Johan Compagner [EMAIL PROTECTED] wrote: I can organize one if there is enough interest Martijn and i will be there then. And for example if people are also interested in the wicket security i will also drag Maurice to the table. +1 And we can play the videos from London as well

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Martijn Dashorst
. But whats wrong with autoindex? Martijn Dashorst wrote: Why not use System.currentTimeMillis()? Or if you are really concerned use nanotime. Martijn On 9/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: so no, talking to Matej on ##wicket

Re: Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Martijn Dashorst
Can't this be a problem of not binding the session? i.e. he's not touched the session so is still in stateless mode? Martijn On 9/7/07, Matej Knopp [EMAIL PROTECTED] wrote: We can't help you with this if you don't post any code. The session object should of course be available for bookmarkable

Re: Two small questions

2007-09-07 Thread Martijn Dashorst
On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, add wicket-datetime. Hmm, memory needs reboot at 2:30 am. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

Re: Using @SpringBean - NoSuchMethodError

2007-09-09 Thread Martijn Dashorst
Did you try moving *all* wicket dependencies to SNAPSHOT? You are now mixing snapshot with 1.3.0-beta3 Martijn On 9/9/07, jweekend [EMAIL PROTECTED] wrote: Here's the pom.xml. Rergards - Cemal http://jWeekend.co.uk jWeekend.co.uk project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Google Crawl

2007-09-09 Thread Martijn Dashorst
/me makes mental note for chapters 6 and 8 in the book -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/

Re: Wicket-Stuff ??? CdApp??

2007-09-09 Thread Martijn Dashorst
Did you try google? http://www.google.com/search?q=wicket-stuff The cd app seems to be no longer supported, but you may checkout the sources here (wicket 1.2): http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-examples Martijn On 9/9/07, Doug

Re: First Day Disgust!

2007-09-09 Thread Martijn Dashorst
I hate to say it, but I'll do it anyway: It is a wiki so if you think something is missing/incomplete/incorrect/needs restructuring... log on and make it better! Not only will you benefit from the change, but the rest of the community will have a better life too! As for the component

Re: why final?

2007-09-10 Thread Martijn Dashorst
On 9/10/07, Matthijs Wensveen [EMAIL PROTECTED] wrote: Off-topic: Why are so much methods marked final? This might prevent API-misuse but also prevents innovative _use_! I can understand you want framework users to do it the wicket way, because they will probably only spam the users list with

Re: Wicket-based website gone on-line

2007-09-10 Thread Martijn Dashorst
Congratulations! You might want to set setStripWicketTags to true though. Martijn On 9/10/07, Thomas Singer [EMAIL PROTECTED] wrote: I just wanted to let you know, that our Wicket-based website gone on-line: http://www.syntevo.com If somebody finds a problem, please let me know. We

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Martijn Dashorst
. Alex. Martijn Dashorst wrote: How big is the page? Sounds like a really, really big component hierarchy. Then it sounds reasonable that the httpsession store is much faster: it keeps it in ram, and doesn't use serialization until the session is serialized

Re: [Wicket] Vs [HTTP 404 - File not found]

2007-09-10 Thread Martijn Dashorst
On 9/10/07, Andrew Klochkov [EMAIL PROTECTED] wrote: the response bigger than 512Kb, so IE doesn't show it's friendly 404 I hope I don't have to download half a meg to find out my original request couldn't be found ;) But yes, you need to do some special processing to make the page bigger than

Re: First Day Disgust!

2007-09-10 Thread Martijn Dashorst
Not to mention IDEA 7M2 (or even versions before that) can read a maven pom, and use that directly. Netbeans also has a maven plugin that does that (took me 1 minute to discover and less to install the plugin). I haven't used an Eclipse plugin for maven since the command line version works really

Re: PageNavigator Vs Nice Url

2007-09-11 Thread Martijn Dashorst
When you embark on your bookmarkable paging navigator remember that you have to take into account 2 or 3 navigators on a page, how do you keep them apart? Or how do you encode sorting? URL state is a really tricky thing. Besides, the paging navigator itself is quite non-interesting to bookmark.

Re: Model question

2007-09-11 Thread Martijn Dashorst
Nothing directly. The only thing you should do is propagate the 'detach' method to your nested eventModel. The chaining model is merely interesting for consumers of your model, so they can get to the embedded model using a specified API. From chapter 5 Understanding Models of Wicket in Action

Re: Wasp/Swarm Questions was Re: Component parent null after replace

2007-09-11 Thread Martijn Dashorst
for this request in the requestcycle. This way each thread will have its own instance of the user. Maurice On 9/11/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Just a quick note: storing objects that are not thread safe in your session is asking for trouble. While Wicket does limit page

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-11 Thread Martijn Dashorst
I'm comfortable speaking in Engrish, so I have no problem with that. But I can't vouch for the others And I'm sure you'll hear some nice Dunglish expressions along the way [1]. Martijn [1] http://www.dunglish.nl/ On 9/11/07, C. Bergström [EMAIL PROTECTED] wrote: Martijn Dashorst wrote

Re: WicketTester and Page parameters Wicket Example Unit tests?

2007-09-11 Thread Martijn Dashorst
I'll leave 1 for others. re: 2. The wicket examples sources are part of the wicket distribution. You can find them in src/jdk-1.5/wicket-examples There are tests available, but afaik they are jwebunit tests, and scheduled to be replaced with WicketTester due to the fact that jwebunit is now GPL

Re: User-defined variables in ConversionException

2007-09-12 Thread Martijn Dashorst
Nope go ahead. If someone does mind, the issue is quickly closed ;) Martijn On 9/12/07, Jonas [EMAIL PROTECTED] wrote: No opinions on that one? So, would anyone mind if I create a 'New Feature' Issue in JIRA? On 9/11/07, Jonas [EMAIL PROTECTED] wrote: Hi, wouldn't it make sense that

Re: DraggableTarget does not work

2007-09-12 Thread Martijn Dashorst
See my response to your previous question: you are using a contrib-scriptaculous version that is incompatible with all supported wicket versions. Martijn On 9/12/07, bhupat parmar [EMAIL PROTECTED] wrote: hi this code does not compile gives followinf error The type WebMarkupContainer is not

Re: JavaZone presentation follow up

2007-09-12 Thread Martijn Dashorst
Congrats! And thank you for finally getting Wicket a presentation at JavaZone. Third time is a charm ('05 and '06 we had to pass, and if not for you '07 would also be a JavaZone without Wicket) So thanks! Martijn On 9/12/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi Wicket community, I've

Re: updating form component models when a link is clicked

2007-09-13 Thread Martijn Dashorst
Or SubmitLink, which seems more appropriate in this case. Martijn On 9/13/07, Erik van Oosten [EMAIL PROTECTED] wrote: Hi, If you are using links, the browser won't submit the values. You should use buttons. Regards, Erik. tbt schreef: Hi I'm a newbie to wicket and I have a

Re: updating form component models when a link is clicked

2007-09-13 Thread Martijn Dashorst
the 'links'. Martijn On 9/13/07, Erik van Oosten [EMAIL PROTECTED] wrote: You cannot use SubmitLink in a browser without javascript, right? Erik. Martijn Dashorst wrote: Or SubmitLink, which seems more appropriate in this case. Martijn

Re: Too many open Files

2007-09-14 Thread Martijn Dashorst
Is this only at your client's site? Why doesn't this show on your own test servers? It seems like a configuration issue. One way to get around this problem is to unzip the jar and put the contents on the classpath. This will solve the problem for your client until we have found the cause.

Re: ImageButton vs Image and SharedResources

2007-09-14 Thread Martijn Dashorst
On 9/14/07, Doug Leeper [EMAIL PROTECTED] wrote: Why doesn't the ImageButton follow the same behavior as Image when utilizing Resources. With Image I have the ability to add a SharedResource with a ValueMap. The ImageButton only allows me to add a Resource at construction with no Values.

Re: ImageButton vs Image and SharedResources

2007-09-14 Thread Martijn Dashorst
On 9/14/07, Doug Leeper [EMAIL PROTECTED] wrote: Thanks...I will file an RFE. However, given that the probability that this won't be accepted...how should I didn't say we wouldn't accept your RFE, it was a remark in general. It never hurts to file a RFE, just don't expect us to honor every

Re: Can't seem to include anchor tag in span with wicket:id - Help

2007-09-15 Thread Martijn Dashorst
I am not sure what it going on here. I tried it locally and it just works (tm). Here's my code: public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { add(new EmptyPanel(message)); } } html head titleWicket Quickstart Archetype

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-16 Thread Martijn Dashorst
On 9/16/07, C. Bergström [EMAIL PROTECTED] wrote: Can we get a link from http://wicket.apache.org/community.html to http://cwiki.apache.org/confluence/display/WICKET/Community+meetups Done. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released

Re: DropDownChoice.setSelected(Object object)

2007-09-16 Thread Martijn Dashorst
Have you read http://wicket.apache.org/exampledropdownchoice.html ? Martijn On 9/16/07, chickabee [EMAIL PROTECTED] wrote: Hi, I am looking for an equivalent to: DropDownChoice.setSelected(Object object) I looked into API docs but can't figure it out. I have drop down with 18 different

Re: Regarding Wicket Session

2007-09-17 Thread Martijn Dashorst
Why go through the session in the first place? Why not: public class Page1 extends WebPage { public Page1() { add(new Link(link) { protected void onClick() { setResponsePage(new Page2(Some string)); } }); } } public class Page2

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
Are the files copied from the sources directory to the classes directory? By default eclipse doesn't copy those files to the classpath iirc. Martijn On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote: I was under the impression that I would be able to change HTML while the server was running and

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
On 9/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Eclipse does. Maven for instance doesn't. Are you sure the maven eclipse:eclipse doesn't generate the auto copying of HTML files for you when you add the src/main/java as a resources directory in your pom, such as our quickstart archetype and

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
And what do you see in the logs? Are there no exceptions? Martijn On 9/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Are the files copied from the sources directory to the classes directory? By default eclipse doesn't copy those files to the classpath iirc. Martijn On 9/17/07, Doug

Re: Stripping Javascript comments breaks application

2007-09-19 Thread Martijn Dashorst
http://wicketstuff.org/maven/repository Also documented on the website: http://wicket.apache.org/getting-wicket.html Martijn On 9/19/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Just curious how I can get these changes. are there 1.3.0-SNAPSHOTS being published or do I need to wait for

Re: Embedding wicket in jsp error

2007-09-20 Thread Martijn Dashorst
I don't have any experience with oc4j nor embedding wicket in JSPs, but I know two things that can cause trouble: - make sure you use ONE_PASS_RENDER as a render strategy - don't use oc4j, or at least look at the threads on this list, as there have been more problems with oc4j and Wicket.

Re: maven-jetty-plugin error

2007-09-20 Thread Martijn Dashorst
Seems like a Java conflict for the Jetty plugin version you are using: org/mortbay/jetty/Handler (Unsupported major.minor version 49.0) I am not sure which version this is, but I suggest you play with the jetty-plugin version a bit. You can specify the version directly in your pom with the

Re: Maven advice appreciated

2007-09-21 Thread Martijn Dashorst
Use the dependencies report. It gives you exactly which dependency comes from where. I think it also generates which dependencies are dupes. mvn site should create such a report iirc. Maybe you also need to specify the report, but I'm a bit rusty on that part. Another goldmine is: mvn

Re: ANN: beturtle.com launched

2007-09-21 Thread Martijn Dashorst
Looks great and congrats! Martijn On 9/21/07, Joe Toth [EMAIL PROTECTED] wrote: Hi Everyone, We just launched http://beTurtle.com/ - A 'green' social networking site. If your interested in healthy living, sustainable practices, have 'green' questions or just want to make some new friends,

Re: Embedding wicket in jsp error

2007-09-21 Thread Martijn Dashorst
On 9/21/07, hillj2 [EMAIL PROTECTED] wrote: Also are there any other issues with using HttpSessionStore besides losing back button support? Since I'm already forced to use ONE_PASS_RENDER (for now), I've already lost that support (haven't I?). ONE_PASS_RENDER does not kill back button

Re: Ajax Problem on Page with IFRAME

2007-09-22 Thread Martijn Dashorst
I think you need to resend again, this time escaping the markup. It seems like nabble have changed something in their interface, as this is a recurring theme lately. Martijn On 9/22/07, Kent Tong [EMAIL PROTECTED] wrote: SantiagoA wrote: One of them has an IFrame. If this TabbedPanel is

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-24 Thread Martijn Dashorst
I'm going to take a passive role in the organizing of this, though I'd love to do so. Completing the book has my current highest priority. Any volunteers? Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now:

Re: NoSuchMethodException / PropertyResolver

2007-09-25 Thread Martijn Dashorst
You have to provide the types for the fields, or else Wicket won't be able to discover what type to use (apparently it resolves to boolean for the name), or provide default values with the correct type in your valuemap. i.e. either: add(new TextField(firstName, new PropertyModel(map, firstName),

Re: Getting started question...

2007-09-25 Thread Martijn Dashorst
There has been some development for Wicket support in netbeans, though no core Wicket committers have contributed to that. Have you looked at the wicket website? And clicked on the IDE plugins link? This would have shown you a page with the IDE plugins: http://wicket.apache.org/ides.html

Re: Calling all translators - UrlValidator translation

2007-09-25 Thread Martijn Dashorst
I doubt this is license compatible. GPL all around! Martijn On 9/25/07, Al Maw [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: On 9/25/07, Reinout van Schouwen [EMAIL PROTECTED] wrote: Op vrijdag 07-09-2007 om 16:33 uur [tijdzone +0100], schreef Alastair Maw: We're unfortunately

Re: Calling all translators - UrlValidator translation

2007-09-25 Thread Martijn Dashorst
LGPL is also problematic for Apache projects. And we can't use the texts coming out of such tools since they are (L)GPL too. Martijn On 9/25/07, Reinout van Schouwen [EMAIL PROTECTED] wrote: Hi Martijn, Op dinsdag 25-09-2007 om 19:50 uur [tijdzone +0200], schreef Martijn Dashorst: I doubt

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Martijn Dashorst
languages. Martijn [1] http://people.apache.org/~cliffs/3party.html On 9/26/07, Reinout van Schouwen [EMAIL PROTECTED] wrote: Hi Martijn, Op woensdag 26-09-2007 om 00:57 uur [tijdzone +0200], schreef Martijn Dashorst: LGPL is also problematic for Apache projects. Are you sure? I don't think

Re: ExternalLink doesn't use model?

2007-09-26 Thread Martijn Dashorst
Please add a feature request to the JIRA. Martijn On 9/26/07, Tauren Mills [EMAIL PROTECTED] wrote: I don't understand why ExternalLink doesn't store the external href as the model. It stores it in an href property. It seems to not follow the normal wicket way. This makes it difficult to

Re: Code directories

2007-09-26 Thread Martijn Dashorst
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote: to be all in one package. But does that mean pairs of java/html files have to be together Yes, unless you don't want it to, but then you have to resort to other tricks (enough examples regarding that on this list). The easiest way to start

Re: Code directories

2007-09-26 Thread Martijn Dashorst
On 9/26/07, Neil B. Cohen [EMAIL PROTECTED] wrote: That makes sense - but if I have data model objects like 'User.java' which are used by multiple pages, then it would seem that all the pages (and all the related data model objects) have to end up in the same package with 'User' - yes? Or am I

Re: How to log the serialization of object in wicket

2007-09-26 Thread Martijn Dashorst
On 9/26/07, Meddle Smeddle [EMAIL PROTECTED] wrote: Hello. Is there a simple way to log all the object which has been serialized by wicket? What do you want to see of those objects? Why do you want to see it? There is a check that logs exactly which objects *failed* to be serialized.

Re: auto dirty and widget factory

2007-09-26 Thread Martijn Dashorst
I disagree. We need to keep an eye out for those that begin to use the framework. We have seen enough people that randomly start to override methods just to work around some perceived wall that typically isn't there if they actually thought about their problem in the first place. I am glad we are

Re: Calling all translators - UrlValidator translation

2007-09-26 Thread Martijn Dashorst
On 9/26/07, Reinout van Schouwen [EMAIL PROTECTED] wrote: Maybe this thread will convince you that the Apache License and LGPLv3 are perfectly mixable without requiring the end result to be released under LGPL: http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200706.mbox/browser

Re: Can't access Javascript/CSS when in servletMode

2007-09-26 Thread Martijn Dashorst
And perhaps post the contents of your web.xml? Did you map to /app or /app/* ? Martijn On 9/27/07, Adam A. Koch [EMAIL PROTECTED] wrote: It is mapped to an app and not to the root. The directories I listed are in the war file, but I tried to access them with http://localhost/myapp/...

Re: auto dirty and widget factory

2007-09-27 Thread Martijn Dashorst
http://wicket.apache.org/vision.html http://cwiki.apache.org/WICKET/faqs.html#FAQs-Whyaresomanymethodsfinal%253F Martijn On 9/27/07, Sam Hough [EMAIL PROTECTED] wrote: Is this coding style documented anywhere? I have a vague memory that spring pushes towards composition not extension but that

Re: Wicket, IDEA and Winstone...

2007-09-27 Thread Martijn Dashorst
Priceless! The best reason [1] why one would ever create a servlet container: to embarrass your friend. Martijn [1] http://winstone.sourceforge.net/#whyCalled -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now:

Re: Reach into a component to change XML attribute

2007-09-27 Thread Martijn Dashorst
This: Component first = null; Component last = null; for(Foo foo : foos) { last = new Component(view.newChildId()); if(first == null) first = last; view.add(last); } first.add(new SimpleAttributeModifier(class, first)); last.add(new SimpleAttributeModifier(class, last)); doesn't

Re: Can't access Javascript/CSS when in servletMode

2007-09-28 Thread Martijn Dashorst
url-pattern//url-pattern /servlet-mapping But even though the url-pattern is / everything is under /mre/. Is that the way it's supposed to be? Thanks, Adam Martijn Dashorst wrote: And perhaps post the contents of your web.xml? Did you map to /app or /app/* ? Martijn

Re: Can a component determine it's surrounding HTML elements?

2007-09-28 Thread Martijn Dashorst
No that is not possible without replacing the current markup parser. The markup parser is pretty much optimized, and doesn't use a dom to parse the markup, but splits the markup in chuncks based on the component tags. And markup between two component tags is treated like one string. What you can

Re: auto dirty and widget factory

2007-09-29 Thread Martijn Dashorst
But the second level cache session store is not the only viable option: we still have the HTTP session store, which clearly is much more performant than any other store, especially if you don't have to cluster. Martijn On 9/29/07, Matej Knopp [EMAIL PROTECTED] wrote: On 9/27/07, Johan Compagner

Re: auto dirty and widget factory

2007-09-29 Thread Martijn Dashorst
I am getting more convinced that you are trying to shoehorn wicket in a way it is not intended. Wicket is not GWT. Repeat after me: Wicket is not GWT. Yes I trust *you* will will not f*ck up overriding the methods. But there are about a thousand other developers for you that are more likely to do

Re: Help - Best Practice - Mapping Database Constraint Violation to User Interface

2007-09-29 Thread Martijn Dashorst
In your onSubmit, link click, etc.: try { doDatabaseOperationThatThrowsContraintViolation(); transaction.commit(); } catch(OrmSpecificException e) { error(Something bad has happened. Read this if it helps you: + e.getMessage()); transaction.rollback(); return; } and make

Re: Help - Best Practice - Mapping Database Constraint Violation to User Interface

2007-09-29 Thread Martijn Dashorst
Oh, another option is to create your own requestcycle and override the onError or onException method, and redirect to a specific page when a database error occurred. Martijn On 9/29/07, Martijn Dashorst [EMAIL PROTECTED] wrote: In your onSubmit, link click, etc.: try

Re: Setting up ComponentTags for user submitted youtube links

2007-10-01 Thread Martijn Dashorst
Create a YouTubePanel: class YouTubePanel extends Panel { private int width; private int height; public YouTubePanel(String id, IModel src) { super(src); add(new AttributeModifier(width, true, new PropertyModel(this, width))); add(new AttributeModifier(height,

  1   2   3   4   5   6   7   8   9   10   >