Re: Wicket libraries

2007-09-05 Thread David Bernard
Hi, May be, a solution for your case would be to use ivy ant tasks to manage/list the dependencies of wicket. I don't use Ivy, but it could use maven's repositories and pom.xml. I'm not sur it help you, because I don't use it, like lot of, I like maven 2 (dependencies and conventions), and mor

Re: YAML / Wicket integration

2007-09-05 Thread Alex Objelean
I like the idea of the YAML or YUI grids. It's aim is to simplify CSS development. But I do not see any reason to create this kind of projects (wicket-yaml, wicket-yui-grids, etc) which "integrates" css "frameworks". All integration is about, is just to add some CSS resources to you web page and t

Re: Re: Wicket libraries

2007-09-05 Thread Robo
Hello, Ok, seems removing \"wicket-velocity-1.3.0-beta3.jar\" from build path solved problem with velocity problem. But please explain me why removing package from build path solves the problem if nowhere in my Hello World code i call for any of the velocity packages. Is there some duplicities

Re: Wicket Archetype- QuickStart

2007-09-05 Thread Martijn Dashorst
I'll move it from the wiki to the main wicket site when you're done... It is a much better fit there: more visibility. Martijn On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > just added instructions on creating ide projects > > -igor > > > On 9/5/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: >

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

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 co

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

2007-09-05 Thread Carlos Pita
> Currently people will have to build it in themselves like you did. We > can investigate whether this can be improved for future versions, but >From my own experience I wouldn't say that wicket should support this. It's too easy to write it yourself just to fit your specific needs, and otoh seems

Re: YAML / Wicket integration

2007-09-05 Thread Jan Mikkelsen
Hi Johannes I think YAML looks extremely interesting. I did not know about it. But commenting on your framework is difficult without sourcecode. Best regards, Jan Mikkelsen Johannes Schneider wrote: Hi, I have created a small project that integrates the great CSS framework YAML (http://www

Connection dropped?

2007-09-05 Thread James Renfro
Is there any way using Wicket to find out if a user's connection has dropped? For example -- if they close their browser or lose their network connection? I saw the discussion re onunload but given that it's browser-dependent, I'd like something more failsafe if possible and I just want to make

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

  1   2   >