Regarding Modification file Watcher

2007-09-04 Thread Edi
Hello, I have one server path folder. It contains .xls files. I want to check what are the current updated xls file. and insert that xls file name into db. for eg. i have a folder FOLDER1, It contains sales.xls, report.xls. If I change and save this file. Our program(file watcher) have to know

Re: NoClassDefFoundError: Tomcat problem?

2007-09-04 Thread Ghodmode
On 9/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: go to quickstart dir and run mvn package, that will create a war you can deploy on any servlet container. -igor I tried to take your advice, but I didn't have any success. I'll spare everyone the painful details. The end result is the

Re: Component Factory and code against interface

2007-09-04 Thread Johan Compagner
a bit more info: in wicket 1.3 (default with SLC) the change objects aren't really used anymore (they are not stored). They only cause an increment of the page version number.. johan On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: igor.vaynberg wrote: On 8/23/07, Sam Hough [EMAIL

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
and in the mean time your code is obfuscated and hard to read/copy :) On 9/3/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Most of the good minification libraries do more than just stripping comments. usual features include: * strip comments * rename local variables to save space (ex:

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
And if yui uses that one for there own then yes it works pretty good, code is hardly readable anymore ;( On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/1/07, Matej Knopp [EMAIL PROTECTED] wrote: Well, I certainly didn't want to reinvent the wheel. But all existing solutions I was

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
thats a pretty nice one, it also compresses CSS. It does depend on rhino and another jar so its a total of 3 jars so it should be outside the wicket core or extentions (a project by itself?) also all the examples that i see are with the command line and input filenames i hope it has a interface

Re: compressing javascript resources

2007-09-04 Thread David Bernard
Right to use it, you provide readers, writers, an ErrorReporter and options (line-break or not, munge or not, js warning or not,...). But as Julien (authors of YUI-Compressor) wrote : the compressor is resource consumming and not made to run on-fly. /David Johan Compagner wrote: thats a

Re: How to set wicket's locale?

2007-09-04 Thread Gabor Szokoli
On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Just go with overriding getLocale on your custom session object. If you need to support just one locale, that's easy: just always let it return that locale. Otherwise, you'll have to do some more work (e.g. using request.getLocale()), but it

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
don't know if that is really feasible to do. because then we have to scan through the complete classpath for resources like js and css and then compress them all and keep a reference to that compression all the time thats could be quite a waste. it all depends on how long it really takes johan

Re: compressing javascript resources

2007-09-04 Thread David Bernard
I agree. But currently using a custom compressor for javascript and CSS need to change the source and replace JavascriptResourceReference by CustomCompressedResourceReference (or somthing else). Except if support of CustomCompressor is integrated into existing core Resource.

Re: NoClassDefFoundError: Tomcat problem?

2007-09-04 Thread Johan Compagner
thats very odd if that is the case, looks like a tomcat bug to me. On 9/4/07, Ghodmode [EMAIL PROTECTED] wrote: On 9/4/07, Igor Vaynberg [EMAIL PROTECTED] wrote: go to quickstart dir and run mvn package, that will create a war you can deploy on any servlet container. -igor I

Re: Regarding Modification file Watcher

2007-09-04 Thread Jean-Baptiste Quenot
* Edi: I have one server path folder. It contains .xls files. I want to check what are the current updated xls file. and insert that xls file name into db. for eg. i have a folder FOLDER1, It contains sales.xls, report.xls. If I change and save this file. Our program(file

Re: Dojo maximize button

2007-09-04 Thread Vincent Demay
Hi, Cristi Manole wrote: Hello, I don't know if this is the right place to submit this and if it isn't i'm really sorry... please let me know... Yes it is the right place to post this kind of question even if it is more a Dojo problem than a wicketstuff-Dojo one ;) When I click to

Re: compressing javascript resources

2007-09-04 Thread David Bernard
An other solution (stupid ?) : * at build-time (of the war) * scan all the jars and source to find js and css * extract/minified/compress into a cache directory * include the cache directory into the webapp * at runtime * when a resource is requested, it search into the cache directory

Re: Component Factory and code against interface

2007-09-04 Thread Sam Hough
Thanks Johan and Eelco, I'm going to consider the model as opaque as far as change tracking is concerned. I just want an easy way to track dirty components so looks like this is the way to go unless it is going away completely. Since so many methods are final the only options I can think of are

Re: Regarding Modification file Watcher

2007-09-04 Thread Edi
Please give me some more details. It's useful for me Jean-Baptiste Quenot-3 wrote: * Edi: I have one server path folder. It contains .xls files. I want to check what are the current updated xls file. and insert that xls file name into db. for eg. i have a folder FOLDER1, It

Re: Regarding Modification file Watcher

2007-09-04 Thread Jan Kriesten
hi, wicket's watcher might be used for this, but you should consider using a scheduler framework to do so (take a look at http://www.opensymphony.com/quartz/ - FileScanListener/FileScanJob). regards, --- jan. - To unsubscribe,

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
i don't think that will work very easily because the component will make ResourceReferences to its internal css and js files and will be outputted as shared resources. Then all those urls should also be redirected. johan On 9/4/07, David Bernard [EMAIL PROTECTED] wrote: An other solution

Re: Append anchor to form redirect URL?

2007-09-04 Thread Kent Tong
Jeremy Thomerson-3 wrote: Is there a way to append an anchor to the URL generated for the SubmitLink? Try: form.add(new AttributeModifier(action, null) { protected String newValue(String currentValue, String

Re: compressing javascript resources

2007-09-04 Thread David Bernard
I didn't suggest to change the url of resources, in the code we always I want .js. And the url to request the resource is the same. I suggest to select the stream to return : * select form cache, cache dir, jar,... * select version (to allow management of version =

Re: HELP with Link and External Link

2007-09-04 Thread Ayodeji Aladejebi
well its a home page banner ad and this is wicket 1.2.6 which i think has nothing like a sessionless homepage? On 9/4/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/3/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: great igor, thanks On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:

Re: HELP with Link and External Link

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

DataView questions

2007-09-04 Thread Stojce Dimski
In my small app I would like to browse a one table in my db which contains a log messages. My log table have a 8-9000 rows. For this I am trying to use DataView with PagingNavigator etc... But I have some questions regarding this: 1) Is this a right setup for this feature ? 2) I would like to

Re: compressing javascript resources

2007-09-04 Thread Johan Compagner
you where talking about Apache and serving it as static resources So then the urls should he rewritten because /resources/ is mapped to wicket johan On 9/4/07, David Bernard [EMAIL PROTECTED] wrote: I didn't suggest to change the url of resources, in the code we always I want .js.

Re: wicket-event.js returning unreadable

2007-09-04 Thread hillj2
I believe I've finally solved my problem. No doubt the original problem was double compression resulting from using a homegrown compression filter on top of wicket's default compression. After being forced to look at this issue again, which suddenly seemed to not only be a problem with just IE

Re: PasswordTextField no longer supports cookies in beta3

2007-09-04 Thread Marko Taipale
I would appreciate that there would be a way to use some similar method in org.apache.wicket.authentication.pages.SignInPage as it now fails with the following: java.lang.UnsupportedOperationException: FormComponent class org.apache.wicket.markup.html.form.PasswordTextField does not support

Re: SigIn page example not working for me.

2007-09-04 Thread Alex Shneyderman
Looks like a bug to me. The default value of remember on SignInPanel is true so I guess there is no other option then using previous beta2 until it is fixed. Or the hard way is to write own SignInPanel... strange since examples do work Ok. If I copy over the SignInPanel and change it lie so:

Re: DataView questions

2007-09-04 Thread Igor Vaynberg
On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote: In my small app I would like to browse a one table in my db which contains a log messages. My log table have a 8-9000 rows. For this I am trying to use DataView with PagingNavigator etc... But I have some questions regarding this: 1) Is this

Re: compressing javascript resources

2007-09-04 Thread David Bernard
I didn't a mistake, it's not a possible advantage. But what is your opinion about a source stream selector ? /david Johan Compagner wrote: you where talking about Apache and serving it as static resources So then the urls should he rewritten because /resources/ is mapped to wicket johan

Re: PasswordTextField no longer supports cookies in beta3

2007-09-04 Thread Igor Vaynberg
this has already been fixed in trunk i believe -igor On 9/4/07, Marko Taipale [EMAIL PROTECTED] wrote: I would appreciate that there would be a way to use some similar method in org.apache.wicket.authentication.pages.SignInPage as it now fails with the following:

Looking for freelance wicket developers

2007-09-04 Thread Aaron Hutchings
Hi all, I'm looking for a wicket developer to help me out on a hourly basis. Work probably wouldn't take more than several hours a week. I believe the things I'm trying to do are not that complicated- it's just that I'm still trying to learn wicket and sometimes it takes me way too long to do

Re: Updating FeedbackPanel

2007-09-04 Thread ChuckDeal
Man, I came back from a long weekend and the updateFeedback() method was gone! It appears that my code still works just peachy without it, so thanks to whoever took care of that! Chuck ChuckDeal wrote: I have a scenario where upon submitting the page, a feedback message is added,

Re: DataView questions

2007-09-04 Thread Stojce Dimski
sort your data in the opposite direction so the first page shows your last log statements Is this the only way ? I would like to show last page if possible... ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail:

Re: DataView questions

2007-09-04 Thread Igor Vaynberg
dataview.setcurrentpage(dataview.getpagecount()); -igor On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote: sort your data in the opposite direction so the first page shows your last log statements Is this the only way ? I would like to show last page if possible...

Re: HELP with Link and External Link

2007-09-04 Thread Eelco Hillenius
On 9/4/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: well its a home page banner ad and this is wicket 1.2.6 which i think has nothing like a sessionless homepage? My remark was not about being session-less, but bookmarkable. The difference is that a normal link won't work when a session is

Re: compressing javascript resources

2007-09-04 Thread Eelco Hillenius
On 9/4/07, David Bernard [EMAIL PROTECTED] wrote: Right to use it, you provide readers, writers, an ErrorReporter and options (line-break or not, munge or not, js warning or not,...). But as Julien (authors of YUI-Compressor) wrote : the compressor is resource consumming and not made to run

java.lang.VerfiyError with @SpringBean

2007-09-04 Thread Sebastiaan van Erk
Hi, I'm using the entire Wicket/Spring/Hibernate stack to build an application, and I'm using AspectJ to do AOP stuff for me at load time (LTW). I deploy on Tomcat 5.5 with the -javaagent:aspectjweaver.jar option. However, the combination with this and the wicket-spring-annot (@SpringBean)

Re: Component Factory and code against interface

2007-09-04 Thread Eelco Hillenius
On 9/4/07, Sam Hough [EMAIL PROTECTED] wrote: Thanks Johan and Eelco, I'm going to consider the model as opaque as far as change tracking is concerned. I just want an easy way to track dirty components so looks like this is the way to go unless it is going away completely. Since so many

Re: DataView questions

2007-09-04 Thread Stojce Dimski
Thanks Igor... Just one more thing, If underlying table gets modified (insert/delete rows) during the browsing session, do I have to refresh dataView in some way or it gets refreshed automatically ? ___ L'email della prossima generazione? Puoi averla con

Re: DataView questions

2007-09-04 Thread Igor Vaynberg
automatically why dont you try it and see for yourself -igor On 9/4/07, Stojce Dimski [EMAIL PROTECTED] wrote: Thanks Igor... Just one more thing, If underlying table gets modified (insert/delete rows) during the browsing session, do I have to refresh dataView in some way or it gets

Re: Component Factory and code against interface

2007-09-04 Thread Sam Hough
Thanks Eelco, It is mainly navigation logic and I think its state can quite happily live in the components... I have the habit of having a fixUpTheStateOfThisWidget method (real name changed to protect the guilty) that I'm starting to wonder if I can hook this into marking components as dirty.

Re: application deployment

2007-09-04 Thread Ghodmode
On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote: On Saturday, September 1, 2007, 8:49:15 AM, Ghodmode [EMAIL PROTECTED] wrote: ... Now you've got a working baseline, I'd really recommend trying to get it running with Jetty, either with or without the archetype. For one thing, Jetty's

Re: Component Factory and code against interface

2007-09-04 Thread Eelco Hillenius
I have the habit of having a fixUpTheStateOfThisWidget method (real name changed to protect the guilty) that I'm starting to wonder if I can hook this into marking components as dirty. So maybe I can get away with explicit marking of components as dirty. Or e.g. work with bean properties and

Re: application deployment

2007-09-04 Thread Igor Vaynberg
a war works on any container. it is easier to develop on jetty, then when ready deploy on tomcat -igor On 9/4/07, Ghodmode [EMAIL PROTECTED] wrote: On 9/5/07, Gwyn Evans [EMAIL PROTECTED] wrote: On Saturday, September 1, 2007, 8:49:15 AM, Ghodmode [EMAIL PROTECTED] wrote: ... Now

More real world Wicket

2007-09-04 Thread jweekend
This http://www.eweek.com/article2/0,1895,2176557,00.asp eweek article has a small section on how LeapFrog are finding development with Wicket and why they chose to use it. Regards - Cemal -- View this message in context: http://www.nabble.com/More-real-world-Wicket-tf4379690.html#a12484527

FeedbackPanel + Link problem

2007-09-04 Thread fero
Hi, I have a page with feedback panel. As s button I use my own Panel - LabelLink (Link+Label) but I don't get an error message in feedback, when operation in onClick() get wrong. When I use another Panel LabelSubmitButton I get this error. I also tried to change Link to AjaxLing in LabelLink and

Still plenty of spaces on the London Wicket event (Wednesday)

2007-09-04 Thread Al Maw
Folks, We've got a couple of nice talks lined up for the London Wicket User Group meet-up tomorrow evening. There's still plenty of room left at the inn. Please don't be shy - come along and meet up with some other Wicket users and developers and learn some cool tricks for the upcoming 1.3

Re: java.lang.VerfiyError with @SpringBean

2007-09-04 Thread Johan Compagner
Mr igor has this to say: tbh it looks like a problem in cglib bytecode generation. i think i have seen this once when i was writing salve, but i dont remember exactly what caused it :| if nothing he tries works you can always tell him to extract an interface out of commentservice and use that -

Re: FeedbackPanel + Link problem

2007-09-04 Thread fero
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 wicket:panel label

Thank you note

2007-09-04 Thread Cristi Manole
I guess it's not that appropriate to write a thank you note on this address, but i just couldn't help myself. What you guys did with this framework is trully amaizing. I've been ... playing with it in the couple of weeks and it fits just like a glove. Not to mention the support the users get

Re: Thank you note

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

Re: Thank you note

2007-09-04 Thread Igor Vaynberg
you are welcome -igor On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote: I guess it's not that appropriate to write a thank you note on this address, but i just couldn't help myself. What you guys did with this framework is trully amaizing. I've been ... playing with it in the couple of

Re: java.lang.VerfiyError with @SpringBean

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

Re: java.lang.VerfiyError with @SpringBean

2007-09-04 Thread Sebastiaan van Erk
Thanks for the tip. I liked the extract to interface idea, and now it works. Wonder what aspectj does to break cglib though. :-) Regards, Sebastiaan Johan Compagner wrote: Mr igor has this to say: tbh it looks like a problem in cglib bytecode generation. i think i have seen this once when i

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

2007-09-04 Thread Oliver Henlich
Hi Jean-Baptiste, Thanks for the response. Here is the jira entry https://issues.apache.org/jira/browse/WICKET-929 Cheers Oliver Jean-Baptiste Quenot wrote: * oliver.henlich: Hi Jean-Baptiste, just wondering if you got a chance to look at this? Hi Oliver, I have identified the bug thanks

Re: AjaxButton value attribute

2007-09-04 Thread Craig Lenzen
I agree Igor, this is a much better way to internationalize an attribute, which keeps the model open for the component. Thanks Craig igor.vaynberg wrote: input type=button wicket:id=ajaxbutton value=preview wicket:message=value:key/ i believe that is the syntax for internatianalyzing

Wicket/JSP Hosting

2007-09-04 Thread Karl M. Davis
Hey all, I'm having issues with my current web host's poor customer service (cwihosting.com, if you're curious). In addition, my requirements are going up. Without going the dedicated server route, does anyone know of a web host with good customer support that offers the following: 128MB

Re: Change of Button interface

2007-09-04 Thread David Leangen
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, so I'll go with whatever you decide. Should I send in the patch? Cheers, Dave On Tue,

Re: Wicket/JSP Hosting

2007-09-04 Thread Sean Sullivan
Try http://www.contegix.com/ or http://www.kattare.com/ On 9/4/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 requirements are going up. Without going the

Re: Wicket/JSP Hosting

2007-09-04 Thread Konstantin Ignatyev
http://www.kgbinternet.com I used to host with them till I have moved my host under stairs. Konstantin Ignatyev PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create

Re: More real world Wicket

2007-09-04 Thread Jonathan Locke
yeah, i saw that last week. it's quite a statement. but i'm hearing this kind of thing more and more. at my current workplace, i'm constantly staggered when i mentally compare our development speed with past non-wicket projects. even when i guess a little on the low side, i find i'm mostly

Re: More real world Wicket

2007-09-04 Thread David Leangen
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 to be expected for each new version, do you think? On Tue, 2007-09-04 at

Re: More real world Wicket

2007-09-04 Thread Jonathan Locke
i don't really know. my new project is 1.3 and my old one will always be 1.2. i have not found too much pain in the API changes myself. it's certainly a lot less drastic than what we started to do. in general, i would expect less and less dramatic change in the future as more and more people

Re: Tracking down an elusive error during migration to 1.3

2007-09-04 Thread Igor Vaynberg
looks like a propertymodel misbehaving somewhere. set a breakpoint on that exception. when it is thrown you can walk up the stack and see what model/component is causing this. -igor On 9/4/07, David Leangen [EMAIL PROTECTED] wrote: Migrating from 1.2 to 1.3. I've been trying to track down

Re: Thank you note

2007-09-04 Thread Eelco Hillenius
On 9/4/07, Cristi Manole [EMAIL PROTECTED] wrote: I guess it's not that appropriate to write a thank you note on this address, but i just couldn't help myself. What you guys did with this framework is trully amaizing. I've been ... playing with it in the couple of weeks and it fits just