Re: Wicket problem with slf4j 1.4

2007-09-05 Thread David Bernard
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" of log4j * slf4j native interface * allow configuration from xml * allow test and run configura

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread Jan Kriesten
hi, > I have a project that I based on wicket-phonebook. I'm using wicket > from trunk. I have updated some of the jars and now have the > following in my build path: > nlog4j-1.2.25.jar > slf4j-api-1.4.2.jar > slf4j-log4j12-1.4.2.jar what is nlog4j for actually? maybe you should use logback i

Re: How to get HTML source code from a wicket page

2007-09-05 Thread Jean-Baptiste Quenot
* Oliver Henlich: > > Here is the jira entry > https://issues.apache.org/jira/browse/WICKET-929 This is fixed now, please take the latest snapshot of Wicket core, and try again. If there is still a problem, please reopen the issue. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty

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

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 in

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 yo

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. Restarting

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 >

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

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread David Leangen
Thanks. I managed to find the class of the source of the problem, and it seems to be internal to Wicket. org.apache.wicket.authentication.panel.SignInPanel The form in this class (in wicket-auth-roles) uses this: /** El-cheapo model for form. */ private final ValueMap properties = new Va

Re: Page serialization checks

2007-09-05 Thread Martijn Dashorst
It is checked automatically when a statefull page is stored at the end of the request in development mode. Martijn On 9/5/07, Jan Stette <[EMAIL PROTECTED]> wrote: > 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

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

JavaScript Frameworks

2007-09-05 Thread bmarvell
Hello all, This is my first post so please be gentle ;) I'm a user interface developer (no Java) working on what will inevitably be a fairly heavy Ajax wicket project. After looking at a number of Ajax examples and pre built widgets I have to say I'm a little puzzled! Why does wickets core JS fr

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 > > > > > When I changed "button" tags to "a" it was working, but I want my links to > look like buttons > > > > > > I tried using a button and it works fine. Here is my co

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 f

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 feat

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 d

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: >

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

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 : > * "su

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),

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 ac

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 a

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: Right

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. > > org.apache.wicket.authentication

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: document.getElementById("something").g

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 t

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 b

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 ha

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. You

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 tag.. but I guess that's a bug.) But no

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 ot

Wicket libraries

2007-09-05 Thread Robo
Hello, 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 (zip

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 V

Re: JavaScript Frameworks

2007-09-05 Thread Johan Compagner
Purely visual javascript libs don't have anything to do with wicket. Thats just dhtml/javascript programming. Especially as you said that you also want to bind those events on the clientside What should wicket do then with those libs? (besides maybe serving them) johan On 9/5/07, bmarvell <[EMAI

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 somet

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 > >

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 b

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 ta

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 vel

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. U

Finishing wizard by pressing Enter

2007-09-05 Thread Vit Rozkovec
Hi, 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? Thank you for any suggesti

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? I

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 i

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 hel

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: Fini

Re: Wicket/JSP Hosting

2007-09-05 Thread Ayodeji Aladejebi
fastservers.net eapps.com i am with fastsevers.net (and please quote us as referrals if yu use them:) they are good and one of our wicket projects is being hosted with then at http://www.nelxnigeria.com/rlx you can try fastservers.net, they are in chicago, or eapps.com, they are equally good and

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 na

Re: Page serialization checks

2007-09-05 Thread Jan Stette
Great, thanks. Do you know which class to enable logging for in the log4j configs, and at which level, to get this? Enabling all Wicket logging is of course quite verbose... Thanks, Jan On 05/09/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Yeah, it does. Just check your logs, because this hap

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

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... Than

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 PROTECTE

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? Ti

Re: Communication between two wicket applications

2007-09-05 Thread Ayodeji Aladejebi
how about cajo, cajo seems to be very simple and a wicket-contrib-cajo project will go a long way to make this great On 9/2/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > Your approach will not work, because the applications are in two different > contexts. So each one has separate servlet contex

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 th

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]

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 THI

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

Howto integrate wicket application into my website?

2007-09-05 Thread Per Newgro
Hi *, is it possible to integrate my wicket application running in a jetty / tomcat server into my index.html? It would be nice if the content i see in my browser with "localhost:8081" could be displayed if i type "localhost:8080" which displays the index.html file of my standard apache server.

Wicket Validation Error

2007-09-05 Thread spencer.c
I'm having a little problem with validation, and would like an extra pair of eyes. I have a form that gets validated, with a custom message defined in the class properties file. In Share.java: ... add( new SendFileForm("sendForm")); ... class SendFileForm extends Form { ...

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread Jean-Baptiste Quenot
You may want to paste the exception BTW, it is missing. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 integrat

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 > co

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 PROTECTED

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 wo

Re: Howto integrate wicket application into my website?

2007-09-05 Thread Per Newgro
Thanks, thats exactly what i was looking for. Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2007-09-05 Thread Carlos Pita
We use some kind of custom cascading behavior to achieve this "pipeline of behaviors" effect. The first behavior does it thing, calls the next in the sequence and so on. I don't think wicket provides a standard mechanism for this. The main case of use we found is for ajax form component updating be

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 s

Re: DataView Refresh

2007-09-05 Thread Igor Vaynberg
put it into a webmarkupcontainer and refresh that isntead -igor On 9/5/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: > > > 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

Download invoice without DownloadLink

2007-09-05 Thread Oleg Taranenko
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 play with RequestCycle? Thanks for tip. Cheers, Oleg.

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

2007-09-05 Thread Eelco Hillenius
On 9/5/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > We use some kind of custom cascading behavior to achieve this > "pipeline of behaviors" effect. The first behavior does it thing, > calls the next in the sequence and so on. I don't think wicket > provides a standard mechanism for this. The main c

Re: DataView Refresh

2007-09-05 Thread Craig Lenzen
Is there a refresh method on webmarkupcontainer? -Craig igor.vaynberg wrote: > > put it into a webmarkupcontainer and refresh that isntead > > -igor > > > On 9/5/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: >> >> >> What is the best way to go about refreshing a DataView after an ajax >> requ

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread Matej Knopp
You have probably multiple versions of slf4j in your class path. -Matej On 9/5/07, David Bernard <[EMAIL PROTECTED]> wrote: > 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. >

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 w

Re: Wicket problem with slf4j 1.4

2007-09-05 Thread Tauren Mills
Thanks everyone for the help. I got it working with the following jars: log4j-1.2.15.jar slf4j-api-1.4.2.jar slf4j-log4j12-1.4.2.jar Is that what others are using? I had troubles while using logback, but I may not have used the right jars or got the configuration right. It seemed that Jetty wa

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] I just noticed that @SpringBean cr

RE: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Tim L Casey
Use any IDE, set an exception breakpoint. Inspect the variables involved. tim -Original Message- From: David Leangen [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 7:37 PM To: users@wicket.apache.org Subject: Tracking down an elusive error during migration to 1.3 Migra

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

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 + "." + express

Re: write translated messages in renderhead

2007-09-05 Thread Johan Compagner
On 9/5/07, Marieke Vandamme <[EMAIL PROTECTED]> wrote: > > > new ResourceModel("MY_MSG", null).getObject() gave me nullpointer. hmm thats because ResourceModel is meant to be wrapped (its an AsignableModel) but it should also work without the component: return Application.get ().getResource

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 m

Inter web-module class dependencies

2007-09-05 Thread Antony Stubbs
Is it possible for one war to use classes in another war? So far my googling says no: http://www.ibm.com/developerworks/websphere/library/techarticles/0112_deboer/deboer.html "The only restriction to this otherwise simple solution is that, since Web modules are not structured with classes at thei

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 In

YAML / Wicket integration

2007-09-05 Thread Johannes Schneider
Hi, I have created a small project that integrates the great CSS framework YAML (http://www.yaml.de/en/home.html) into Wicket. As I am new to Wicket I really appreciate every feedback I could get. Project home page: http://cedarsoft.org/wicket/yaml-integration/index.html Download link: htt

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 outside

Re: Tracking down an elusive error during migration to 1.3

2007-09-05 Thread Igor Vaynberg
you wrote it! :) -igor On 9/5/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > is also something really going wrong?? > > because 501 is this: > > try > { > method = clz.getMethod("is" + name, null); > << > } > cat

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 pos

Re: Wicket Archetype- QuickStart

2007-09-05 Thread Gwyn Evans
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 > can skip the get/install archetype steps i believe. > -igor > On 9/5/07, Gwyn Evans <[EMAIL PROTECTED]> wro

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

double doFilter calls

2007-09-05 Thread Tim L Casey
I have a problem I just do not know how to figure out. I have a home page, which is a WebPage, with a set of assorted links added to it by add( new PageLink(.class));. I deploy and when I run my home page comes up, displays the links; but when I click on any of the links the page displayed is

Re: double doFilter calls

2007-09-05 Thread Igor Vaynberg
first thing is to try with tomcat 5 to see if its really tomcat 4 messing up -igor On 9/5/07, Tim L Casey <[EMAIL PROTECTED]> wrote: > > > > I have a problem I just do not know how to figure out. > > I have a home page, which is a WebPage, with a set of assorted links added > to it by add( new P

  1   2   >