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

Wicket problem with slf4j 1.4

2007-09-05 Thread Tauren Mills
This might just be my ignorance, but it seems there are some issues with SLF4J 1.4 used in Wicket, or at least wicket-phonebook. I want to find out what combination of logging jars should be used. I have a project that I based on wicket-phonebook. I'm using wicket from trunk. I have updated

Re: Thank you note

2007-09-05 Thread Johan Compagner
+1! On 9/4/07, Martijn Dashorst [EMAIL PROTECTED] wrote: 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

Re: Change of Button interface

2007-09-05 Thread Johan Compagner
please attach your patch to the jira. On 9/5/07, David Leangen [EMAIL PROTECTED] wrote: Ok, you're right, when I cast defaultButton to Component, the code compiles. Personally, I don't feel comfortable with this kind of cast, but I've never been involved with creating the Wicket internals,

Re: Wicket/JSP Hosting

2007-09-05 Thread Xavier Hanin
On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: No experience (yet), but I'm very interested in Amazon's EC2 effort (elastic computing cloud). No experience either but AFAIK Amazon EC2 does not guarantee getting the same IP each time you get a host, so it's a bit difficult to base your

WTP - pulishing changes to Websphere causes WicketRuntimeException

2007-09-05 Thread Antony Stubbs
My simple application is publishing through eclipse wtp (rational application developer). Changing a .java file triggers RAD's hot code replace and it works. However, changing an html file which requires re-publishing and then refreshing the page causes the below WicketRuntimeException.

Re: Change of Button interface

2007-09-05 Thread David Leangen
Attached. https://issues.apache.org/jira/browse/WICKET-922 On Wed, 2007-09-05 at 09:36 +0200, Johan Compagner wrote: please attach your patch to the jira. On 9/5/07, David Leangen [EMAIL PROTECTED] wrote: Ok, you're right, when I cast defaultButton to Component, the code compiles.

Re: WTP - pulishing changes to Websphere causes WicketRuntimeException

2007-09-05 Thread Antony Stubbs
Sorry - should also add - I'm running on a 1.3 snapshot and the relevant block of code in wicket is: class ContextParamWebApplicationFactory lines 61 to 81 protected WebApplication createApplication(final String applicationClassName) { try {

Page serialization checks

2007-09-05 Thread Jan Stette
I'm looking for a way to make sure that our Wicket pages are serialized and de-serialized while in development mode, to catch any mistakes as early as possible. The Pro Wicket book mentions a log setting in HttpSessionStore but I don't think this is relevant anymore for Wicket 1.3 (we're on 1.3

Checking behaviour in testcase

2007-09-05 Thread Emanuele Gesuato
Hi there, I'm trying to check the presence of a behaviour in a testcase. I have a page with a checkbox and a button, if a user click on the button without selecting the checkbox, an alert box show a message. If i access to the page through a browser (firefox) the page runs fine and the alert

Re: FeedbackPanel + Link problem

2007-09-05 Thread Kent Tong
fero wrote: I found what was wrong but I can not explain it In markup of LabelLink I had wicket:panel button wicket:id=id id=idlabel wicket:id=id/label/button /wicket:panel When I changed button tags to a it was working, but I want my links to look like buttons

Re: JavaScript Frameworks

2007-09-05 Thread Gerolf Seitz
i'm not able to give you a deep insight answer on this, but rather what i picked up on this topic: @choosing one major JS framework: i guess the core-devs didn't want to bet all their money on a single horse (except maybe if it's their own ;) ). then also some have a preference for a specific JS

Re: JavaScript Frameworks

2007-09-05 Thread Matej Knopp
Hi, this question has been asked here numerous times. The thing is, there is in fact no real alternative of wicket-ajax for us. Wicket is not built about Ajax widgets.Wicket is about server-side components that can be partially updated using Ajax. That's a fundamental difference. As for the

Re: Page serialization checks

2007-09-05 Thread Matej Knopp
Yeah, it does. Just check your logs, because this happens after page is rendered, so if an exception is thrown, you won't see it in browser. -Matej On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: It is checked automatically when a statefull page is stored at the end of the request in

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
Sorry if this has been asked several times but it I didn't easily find it from a search. Fair enough about the actual Ajax functionality if specific code is required fair enough. I was using the term Ajax in a very business sense ie: full stack functionality; slides, fades etc. So for those

Re: JavaScript Frameworks

2007-09-05 Thread Gerolf Seitz
So for those specific issues are we to say: http://martijndashorst.com/blog/2007/04/16/javascript-animation-libraries-compared/ Is the future?? in this case, take a look at http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-animator ;) gerolf Matej Knopp-2 wrote: Hi,

Re: More real world Wicket

2007-09-05 Thread Gwyn Evans
On Wednesday, September 5, 2007, 4:13:22 AM, David [EMAIL PROTECTED] wrote: Yep, Wicket kicks ass. The book will help even more. Am I the only one having so many issues trying to update to 1.3, though? Was there such a big jump because of the move to Apache? Or is this kind of growing pain

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread Matej Knopp
Removed? They added it in 1.4. -Matej On 9/5/07, David Bernard [EMAIL PROTECTED] wrote: Hi, The 'trace' log level is removed from the last version of slf4j. In my project, I replaced trace(...) and is isTraceEnabled() by debug(...) and isDebugEnabled(). I also use logback : * successor

Re: Wicket/JSP Hosting

2007-09-05 Thread Matej Knopp
Problems with EC2 I had was that they don't support multicast. Which is quite a bummer as most clustering/replication solution use multicast heart-beats. -Matej On 9/5/07, Xavier Hanin [EMAIL PROTECTED] wrote: On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: No experience (yet), but I'm

Re: JavaScript Frameworks

2007-09-05 Thread Johan Compagner
stupid thing is that all those slides and fades and fancy ui things are not really ajax.. thats just JavaScript/DHTML johan On 9/5/07, bmarvell [EMAIL PROTECTED] wrote: Sorry if this has been asked several times but it I didn't easily find it from a search. Fair enough about the actual

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
Right then so for completeness: * Ajax Calls [In house] * Animation [animator.js] * Dom manipulation and traversal (CSS style for this is becoming highly favourable) [??] * Events [??] Has any of this been addressed or considered yet? I'm just coming in from the point of a front end developer

Re: JavaScript Frameworks

2007-09-05 Thread Nino Saturnino Martinez Vazquez Wael
on the Events part I might aswell go on with the input events contrib... As this now has been up a lot of times one the mailing list.. I might seem to find some time to do it.. But it would be really nice to see what people would like of features from it? regards Nino bmarvell wrote:

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Matej Knopp
Looks like a bug in property resolver that it doesn't handle maps properly. Johaaan? -Matej On 9/5/07, David Leangen [EMAIL PROTECTED] wrote: Thanks. I managed to find the class of the source of the problem, and it seems to be internal to Wicket.

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
I personally think a CSS DOM traversal/manipulation model that can tie to events elegantly is what's needed. i.e: http://jquery.com http://bennolan.com/behaviour/ Being able to say: $(#somthing li).click(. Is so much easier to code and read than:

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
Agreed hence why I said I was coining the _business_ term. Johan Compagner wrote: stupid thing is that all those slides and fades and fancy ui things are not really ajax.. thats just JavaScript/DHTML johan On 9/5/07, bmarvell [EMAIL PROTECTED] wrote: Sorry if this has been

Re: JavaScript Frameworks

2007-09-05 Thread Nino Saturnino Martinez Vazquez Wael
hmm I'll have to take a deeper look into this. The main idea about the input events are that you should be able to just add events of any sort (mouse, key, time?) to anycomponent that will either trigger that component or another, this means triggering from client to server. No real work has

Re: JavaScript Frameworks

2007-09-05 Thread Matej Knopp
Well, you can use whatever Ajax/javascript framework you want. Wicket-ajax should work with all major js frameworks. It's not really meant to be used outside wicket, as we don't guarantee api stability of wicket-ajax (but that doesn't mean you can't use it though). We try to keep the footprint as

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
Sorry, Again mine is coming from a very front end perspective ie writing JS in a progressive enhancement style. Your pseudo code looks like the other end of the spectrum ie java code My main point over this thread was to also appreciate that while wicket is designed for java devs it needs to

RE: JavaScript Frameworks

2007-09-05 Thread William Hoover
+1 -Original Message- From: bmarvell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 8:19 AM To: users@wicket.apache.org Subject: Re: JavaScript Frameworks Sorry, Again mine is coming from a very front end perspective ie writing JS in a progressive enhancement style.

write translated messages in renderhead

2007-09-05 Thread Marieke Vandamme
Hello, With new 1.3beta3 release I changed all the entries from StringResourceModel to ResourceModel to avoid the warning 'Tried to retrieve a localized string for a component that has not yet been added to the page.' (I still get this warning when using wicket:message key=/ tag.. but I guess

Re: JavaScript Frameworks

2007-09-05 Thread Johan Compagner
ahh so you want to do real programming in the javascript? So attaching purely in client side javascript events and those events call the server? Thats not how wicket works, in wicket you normally don't program javascript you get it pushed and the events get attached by the serverside. johan On

Re: JavaScript Frameworks

2007-09-05 Thread bmarvell
This is true but as you're actively checking JavaScript framework bits in I thought I'd ask if you have any plans to pick one framework and stick with it. I've already spotted some YUI bits and now animation.js is going in it just feels a little scattered... Especially when the animations and

Re: write translated messages in renderhead

2007-09-05 Thread Johan Compagner
String js += var myMsg = ' + JavascriptUtils.escapeQuotes(new ResourceModel(MY_MSG, null) + ) + ';; that looks a bit wrong, try something like this String js += var myMsg = ' + JavascriptUtils.escapeQuotes(new ResourceModel(MY_MSG, null).getObject() + ) + ';; On 9/5/07, Marieke Vandamme [EMAIL

Re: write translated messages in renderhead

2007-09-05 Thread Matej Knopp
It's easier to just call getString(key) instead of using ResourceModel in this case. -Matej On 9/5/07, Johan Compagner [EMAIL PROTECTED] wrote: String js += var myMsg = ' + JavascriptUtils.escapeQuotes(new ResourceModel(MY_MSG, null) + ) + ';; that looks a bit wrong, try something like this

Re: write translated messages in renderhead

2007-09-05 Thread Marieke Vandamme
getString(key) works perfect for me.. I didn't know something like that existed. new ResourceModel(MY_MSG, null).getObject() gave me nullpointer. Thanks a lot ! Matej Knopp-2 wrote: It's easier to just call getString(key) instead of using ResourceModel in this case. -Matej On 9/5/07,

Re: JavaScript Frameworks

2007-09-05 Thread Sam Hough
Johan, We have been shopping for components recently and also worried about JavaScript/DOM bloat. The wicket-datetime jar uses YUI (Yahoo I think) and we decided not to use it as we were not sure we wanted to commit to YUI. We have customers in Africa using our servers in the UK. Since their

Re: Wicket libraries

2007-09-05 Thread Al Maw
Robo wrote: Why there is no complete distribution of jar`s, needed to run Wicket aplication just \out of the box\. it is a little bit boring to find out that I also need to download slf4j and velocity. I uderstand that this info is writen on your page but I would expect just download one tar

Re: Wicket libraries

2007-09-05 Thread Andrew Klochkov
Hi, You can use maven to build wicket-examples.war which will include all necessary libs. I think mvn war:war should work. I just use maven to download all the dependencies and to generate eclipse project. Then I just open it with eclipse and run the Start class. Piece a cake! Robo wrote:

Re: Re: Wicket libraries

2007-09-05 Thread Robo
Hello Al. I worked on some big project where Maven was used(or misused) and form that tme I refuse to solve Maven troubles so Skipping the Maven stuff as this is nto the case: I used to manage dependencies myself and I buil Hello WOrld Application from scratch. Just Hello World. Until I put

Re: Wicket libraries

2007-09-05 Thread Al Maw
Robo wrote: Hello Al. I worked on some big project where Maven was used(or misused) and form that tme I refuse to solve Maven troubles so Skipping the Maven stuff as this is nto the case: I used to manage dependencies myself and I buil Hello WOrld Application from scratch. Just Hello World.

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: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
Sorry I've been so slack in responding. I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932 Jean, please excuse my ignorance but when you request a quickstart project do you mean you want the whole quickstart project with the problem illustrated zipped into my file. Any

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread Jean-Baptiste Quenot
* wicket user: I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932 Thanks! Jean, please excuse my ignorance but when you request a quickstart project do you mean you want the whole quickstart project with the problem illustrated zipped into my file. Anything that helps

RE: Finishing wizard by pressing Enter

2007-09-05 Thread David Leangen
You can override the Finish button and create your own ButtonBar (or whatever it's called... don't have the API in front of me). Cheers, Dave -Original Message- From: Vit Rozkovec [mailto:[EMAIL PROTECTED] Sent: 5 September 2007 23:11 To: users@wicket.apache.org Subject:

Re: JavaScript Frameworks

2007-09-05 Thread Igor Vaynberg
in reality wicket _does not_ ship with a javascript framework, all the javascript that ships with wicket is meant for internal use only. we did in fact start out with prototype, or ricoh, or one of those big players as the back end, but we immediately ran into several issues: these libs do not

Re: Wicket libraries

2007-09-05 Thread Igor Vaynberg
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 with the dependencies. I guess if

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
Done, I've just included a small project with a form and a submit link as well as a unit testcase to highlight the problem. They are not unit test cases for WicketTester as such, I would have to spend a bit more time poking around the code to know how to write a proper test for the tester...

Re: Wicket libraries

2007-09-05 Thread Martijn Dashorst
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 a list of dependencies, but I don't think they generate a link to download each and every one of them :| Martijn On 9/5/07, Igor Vaynberg [EMAIL

Re: Wicket libraries

2007-09-05 Thread Igor Vaynberg
we dont need links, just a list. and i thought the trouble was related to skinning? if thats 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

Re: Wicket libraries

2007-09-05 Thread Martijn Dashorst
Skinning was not a problem, just generating a coherent site with just one command: cd wicket-1.x mvn site:deploy This just doesn't work (tm). Martijn On 9/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: we dont need links, just a list. and i thought the trouble was related to skinning? if thats

Re: Wicket libraries

2007-09-05 Thread Igor Vaynberg
ah, that blows :| -igor On 9/5/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Skinning was not a problem, just generating a coherent site with just one command: cd wicket-1.x mvn site:deploy This just doesn't work (tm). Martijn On 9/5/07, Igor Vaynberg [EMAIL PROTECTED] wrote: we

Re: Finishing wizard by pressing Enter

2007-09-05 Thread Al Maw
Vit Rozkovec wrote: what is the best way to make a Finish button the default processing button of the Wizard component? When I am in the last step of the wizard and in the form field I press Enter, it takes me to the previous step. I would like to finish the wizard. Is it possible? This is a

Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-05 Thread Paolo Di Tommaso
Dear Community, what happens if two or event behavior are added on the save event handler. I mean something like that Button b = new Button(the-button);l b.add(new AjaxEventBehavior(onclick) { protected void onEvent(AjaxRequestTarget target) { //DO THIS

Re: Wicket libraries

2007-09-05 Thread Gwyn Evans
On Wednesday, September 5, 2007, 1:23:42 PM, Robo [EMAIL PROTECTED] wrote: I worked on some big project where Maven was used(or misused) and form that tme I refuse to solve Maven troubles so Skipping the Maven stuff as this is nto the case: If your experience was with Maven 1, then I can

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-05 Thread Matej Knopp
I believe it will only fire the last added behavior. -Matej On 9/5/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Dear Community, what happens if two or event behavior are added on the save event handler. I mean something like that Button b = new Button(the-button);l b.add(new

Re: Howto integrate wicket application into my website?

2007-09-05 Thread David Bernard
Per, To use apache as frontal, use the proxy mod of apache see http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html Security tips : I suggest you to change the configuration of jetty to only accept request from apache. /david Per Newgro wrote: Hi *, is it possible to

Re: Page serialization checks

2007-09-05 Thread Matej Knopp
It doesn't matter where the exception is thrown, as it is logged with error level. You should enable all error level messages, doesn't matter from which class. -Matej On 9/5/07, Jan Stette [EMAIL PROTECTED] wrote: Great, thanks. Do you know which class to enable logging for in the log4j

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread David Bernard
Sorry, you're right, it's not removed. I said it was removed, because I used it and I take a compilation error, and eclipse no more find them. I don't understand. Sorry about the noice. /david Matej Knopp wrote: Removed? They added it in 1.4. -Matej On 9/5/07, David Bernard [EMAIL

Re: Finishing wizard by pressing Enter

2007-09-05 Thread Eelco Hillenius
On 9/5/07, Al Maw [EMAIL PROTECTED] wrote: Vit Rozkovec wrote: what is the best way to make a Finish button the default processing button of the Wizard component? When I am in the last step of the wizard and in the form field I press Enter, it takes me to the previous step. I would like

DataView Refresh

2007-09-05 Thread Craig Lenzen
What is the best way to go about refreshing a DataView after an ajax request. Here is my situation, I have a page with a table on it backed by a DataView, the header of the page has a link that opens a modal window to add a new item to the underlying list. When the modal window closes the list

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: Tree not redrawn when resetting root node

2007-09-05 Thread Doug Leeper
Matej, Thanks for quick turn around. - Doug -- View this message in context: http://www.nabble.com/Tree-not-%22redrawn%22-when-resetting-root-node-tf4359637.html#a12509996 Sent from the Wicket - User mailing list archive at Nabble.com.

Wicket Archetype- QuickStart

2007-09-05 Thread Gwyn Evans
Hi, I'd added details of how to create a 1.3 QuickStart project using the Wicket Archetype to the Documentation Index page at http://cwiki.apache.org/WICKET/documentation-index.html If you've not used Maven archetypes, they simplify setup to the following... One-off operations

Re: [Wicket-user] Wicket requiring one of my Spring managed beans to have a default constructor

2007-09-05 Thread Maris Orbidans
Actually it's a problem if @SpringBean annotation creates new objects of class that is supposed to be a *singleton*. Is it really impossible to create a proxy class without creating a new object of delegatee ? Here is a discussion we had about it: [23:10] Smike I just noticed that

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Johan Compagner
thats odd ValueMap is just a hashmap so why it wants to get a username is strange testing.. johan On 9/5/07, Matej Knopp [EMAIL PROTECTED] wrote: Looks like a bug in property resolver that it doesn't handle maps properly. Johaaan? -Matej On 9/5/07, David Leangen [EMAIL PROTECTED] wrote:

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Johan Compagner
is also something really going wrong?? because 501 is this: try { method = clz.getMethod(is + name, null); } catch (Exception e) { log.debug(Cannot find getter + clz + . + expression, e); }

Re: How to set wicket's locale?

2007-09-05 Thread Johan Compagner
can you make an jira issue for this? On 9/4/07, Gabor Szokoli [EMAIL PROTECTED] wrote: Uh, oh, one more quick thing: I'm still on wicket 1.2, and my wicket:message labels retain their text in the locale they were first rendered in. Is there anything I can do on locale changes to make them

Re: Wicket Archetype- QuickStart

2007-09-05 Thread Igor Vaynberg
actually since archetype for beta3 is in the main maven repo you can skip the get/install archetype steps i believe. -igor On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, I'd added details of how to create a 1.3 QuickStart project using the Wicket Archetype to the Documentation Index

Re: [Wicket-user] Wicket requiring one of my Spring managed beans to have a default constructor

2007-09-05 Thread Igor Vaynberg
this is not a requirement of wicket-spring integration, it is a requirement of cglib. when you want to @SpringBean a class that is not an interface wicket cannot use jdk to create the proxy, so it uses cglib to create the proxy. looks like cglib is messing up somehow. unfortunately this is

Re: Download invoice without DownloadLink

2007-09-05 Thread Igor Vaynberg
see how downloadlink does it -igor On 9/5/07, Oleg Taranenko [EMAIL PROTECTED] wrote: Hello users, use case: if user select from dropdownlist retrieve invoice, the predefined invoice file (pdf, or doc) should be downloaded to the client as response. How is it possible? some

Re: Wicket Archetype- QuickStart

2007-09-05 Thread Igor Vaynberg
just added instructions on creating ide projects -igor On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote: Thanks - wiki updated/simplified! /Gwyn On Wednesday, September 5, 2007, 11:11:33 PM, Igor [EMAIL PROTECTED] wrote: actually since archetype for beta3 is in the main maven repo you

Re: Wicket libraries

2007-09-05 Thread Jonathan Locke
not only would the download be bigger, but there would be all kinds of licensing headaches. some jar files might not even be legally distributed in an aggregated download. i also hated maven at first, but you do get used to it and it has gotten a LOT better (even if gosling is still a better

AjaxFallbackLink inside ListView

2007-09-05 Thread pokkie
I have a listView with several rows, each row has a AjaxFallbackLink associated with it. I am using the getAjaxIndicatorMarkupId() method to determine which row was selected, it returned the following in my case :