Time selector with dial plate

2009-08-04 Thread Stefan Lindner
Does anybody know about a time selector with a dialplate? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread Anton Veretennikov
As I remember, GWT appends some garbage to JS filenames as they change to prevent this. -- Tony On 8/5/09, John Armstrong wrote: > Install the web developers toolkit plugin for firefox. Its a must if your > doing front-end web development. Among many many many other features it lets > you do thi

Re: Alternate rows with different color

2009-08-04 Thread arungupta
Cristi, You are right, I'm a total noob to Wicket :) Anyway digging further ... It seems DataView is most suited for my database-backed repeating view. I'm having difficulty in understanding how to hook DataView and OddEvenItem together. Suggestions ? -Arun Cristi Manole wrote: > > your so

Re: Fancy URL

2009-08-04 Thread Igor Vaynberg
in that cause either use restartresponseexception(page) to route the request from one page to another, or use the same page and use panels as content. -igor On Tue, Aug 4, 2009 at 9:18 PM, uud ashr wrote: > Sorry I forgot, > *myblog* can be changes, because there would be a lot of blog there > (e

Re: Fancy URL

2009-08-04 Thread uud ashr
Sorry I forgot, *myblog* can be changes, because there would be a lot of blog there (eg: *myblog, yourblog, testblog*), the we can get the value from the database. i use */blog* mount path and get the parameter next to it, */blog/myblog* it means shows blog page for *"myblog"*, */blog/yourblog* sh

Re: Alternate rows with different color

2009-08-04 Thread arungupta
Igor, Yes, I do plan to it the right way. But this got me moving fast for now and validated some other concepts in my application. -Arun Cristi Manole wrote: > > your solution is definitely better, Igor, but he seems very new to wicket > and it was faster to get that working than to explain h

Re: Can i simulate disabled javascript in wickettester?

2009-08-04 Thread Martin Makundi
If client does not have javascript it will always use non-ajax button clicks. You can choose in WicketTester to test either with tester.executeAjax or just formTester.submit. The latter one is without "javascript". Ofcourse wickettester cannot test if your button exists magically only because of j

Re: Fancy URL

2009-08-04 Thread Igor Vaynberg
have you even tried mounting a page onto "/blog/myblog" and another onto "/blog/myblog/category"? because that will do what you want. -igor On Tue, Aug 4, 2009 at 8:21 PM, uud ashr wrote: > Hi Igor, > Thx for replying. I know (or maybe I'm wrong), but I want same mountPath for > a different class

Re: Fancy URL

2009-08-04 Thread uud ashr
Hi Igor, Thx for replying. I know (or maybe I'm wrong), but I want same mountPath for a different class based on it's parameter. I see several things like this on ruby, I can do this too on Grails, I wonder how to do this on Wicket. *http://localhost/app/blog/myblog* -> it go to Blog.class *http:/

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread John Armstrong
Install the web developers toolkit plugin for firefox. Its a must if your doing front-end web development. Among many many many other features it lets you do things like easily disable the cache, javascript etc. Its a must have IMHO. J On Tue, Aug 4, 2009 at 7:41 PM, Igor Vaynberg wrote: > SHIFT

Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi
/me goes out to the store to buy some Wicket dog food. On Aug 4, 2009, at 7:36 PM, Igor Vaynberg wrote: i look forward to a version powered by wicket. traitors! :) -igor On Tue, Aug 4, 2009 at 7:14 PM, Jeremy Thomerson wrote: Nice site. I look forward to looking at it some more. -- Jeremy

Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi
Jeremy, we'd certainly love to add you as an editor to the site. :) On Aug 4, 2009, at 7:14 PM, Jeremy Thomerson wrote: Nice site. I look forward to looking at it some more. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi> wrote: I don't

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread Igor Vaynberg
SHIFT-F5 or SHIFT+clicking the refresh button will bypass the cache when reloading the page. i use firefox almost exlucisvely as well and had this problem happen sometimes to javascript files. -igor On Tue, Aug 4, 2009 at 7:31 PM, Ben Tilford wrote: > It's not Wicket or Firefox its the caching se

Re: Fancy URL

2009-08-04 Thread Igor Vaynberg
simply mounted a page onto "/blog" and giving it a constructor that takes pageparameters will let you handle /blog/param1/value1/param2/value2 urls. if you want to handle /blog/value1/value2/value3/value4 urls you can mount the page with IndexedParamUrlCodingStrategy. Its javadoc will explain how

Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Igor Vaynberg
i look forward to a version powered by wicket. traitors! :) -igor On Tue, Aug 4, 2009 at 7:14 PM, Jeremy Thomerson wrote: > Nice site.  I look forward to looking at it some more. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi >

Re: Fancy URL

2009-08-04 Thread uud ashr
I've looked to HybridUrlCodingStrategy this is not what I expected. Using HybridUrlCodingStrategy I can do /blog/param1/value1/param2/value2 which is: 1. I can use it to bind mount(new HybridUrlCodingStrategy("blog", Blog.class)) and call url /blog and without no parameter defined, that is OK 2. H

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread Ben Tilford
It's not Wicket or Firefox its the caching settings (probably on the server). If the cached resources aren't expired the browser is supposed to use what it has cached. Best to set the far future expires to something really short or 0 in development. On Tue, Aug 4, 2009 at 10:17 PM, Jeremy Thomers

Re: Firefox, be afraid be very afraid!!!

2009-08-04 Thread Jeremy Thomerson
Strange - I use FF almost exclusively and have never had this problem. Did you use something like HttpFox or TamperData to look at the headers and see if the expiry headers were coming back correctly? -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 4, 2009 at 9:12 PM, Steve Tarl

Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Jeremy Thomerson
Nice site. I look forward to looking at it some more. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi wrote: > I don't know about you guys, but I learn best by examples, a lot of them. >  So the team at Mystic decided to put together a really

Firefox, be afraid be very afraid!!!

2009-08-04 Thread Steve Tarlton
I just spent the better half of a day WASTED because I use Firefox for testing my Wicket development. For the life of me, I couldn't figure out why I couldn't get a simple data picker to center. I wouldn't call myself an expert at html so I doubted myself. Turns out that Firefox decided that there

Re: Alternate rows with different color

2009-08-04 Thread Cristi Manole
your solution is definitely better, Igor, but he seems very new to wicket and it was faster to get that working than to explain he needs to change the repeater. at least that's what i thought. On Wed, Aug 5, 2009 at 1:43 AM, Igor Vaynberg wrote: > you guys are more then welcome to head down this

Re: Alternate rows with different color

2009-08-04 Thread Igor Vaynberg
you guys are more then welcome to head down this badly broken road, or you can look at what i said... -igor On Tue, Aug 4, 2009 at 5:37 PM, Cristi Manole wrote: > How about > > public class RunlogPage extends BasePage { > private int counter; > > (...) > > item.add(new AttributeModifier("class",

Re: Alternate rows with different color

2009-08-04 Thread arungupta
I thought about that as well and so will probably use it for now :) Thanks a lot for the great help as it got me moving fast. I may have more questions later and then will come back. Thanks, -Arun Cristi Manole wrote: > > How about > > public class RunlogPage extends BasePage { > private int

Re: Alternate rows with different color

2009-08-04 Thread Cristi Manole
How about public class RunlogPage extends BasePage { private int counter; (...) item.add(new AttributeModifier("class", counter++ % 2 == 0 ? new Model("list-line-odd") : new Model("list-line-event"))); ? On Wed, Aug 5, 2009 at 1:33 AM, arungupta wrote: > > Sweet, that worked :) > > Now runl

Re: Alternate rows with different color

2009-08-04 Thread arungupta
Sweet, that worked :) Now runlog.getId() does not return alternating odd/even numbers so will need to figure out what might ;) Is there anything in the model that might provide that information ? -Arun Cristi Manole wrote: > > you can always just wrap it... > > item.add(new AttributeModifier

Re: Alternate rows with different color

2009-08-04 Thread arungupta
OK, trying 1.4 and the sample below, thanks! BTW, the application working fine with 1.3.6 gives the following error with 1.4: ERROR - DiskPageStore - Couldn't load DiskPageStore index from file /Users/arungupta/workspaces/runner~subversion/wicket/runner/target/work/wicket.runner-fil

Re: Alternate rows with different color

2009-08-04 Thread Cristi Manole
you can always just wrap it... item.add(new AttributeModifier("class", runlog.getId() % 2 == 0 ? new Model("list-line-odd") : new Model("list-line-event"))); note that you'll get different colors only if you have defined list-line-odd in your css, added that to page and, of course, if runlog.geId

AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-04 Thread Warren Bell
I am getting a PageExpiredException when I close a modal window with an AbstractAjaxTimerBehavior on it. It does not seem to cause a problem, but I would rather it not happen. I use the AbstractAjaxTimerBehavior to auto close a modal window after a certain period of time if it is not closed manuall

Re: Alternate rows with different color

2009-08-04 Thread Igor Vaynberg
this was meant as an example for you and can work under 1.3.6 as well as 1.4. look at the source to see what it does, you would use it like so: new refreshingview() { protected item newItem(..) { return new oddevenitem(...); }} btw 1.4.0 is out. -igor On Tue, Aug 4, 2009 at 4:56 PM, arungupta

Re: Alternate rows with different color

2009-08-04 Thread arungupta
Ah, that kinda explains it. But all AttributeModifier ctors require an IModel. What should I pass for that now ? -Arun Cristi Manole wrote: > > I think your error is because you're making "class" either the result of > this.list-line-odd or this.list-line-event and this doesn not implement a

Re: Alternate rows with different color

2009-08-04 Thread Cristi Manole
I think your error is because you're making "class" either the result of this.list-line-odd or this.list-line-event and this doesn not implement a getter for those. maybe item.add(new AttributeModifier("class", runlog.getId() % 2 == 0 ? "list-line-odd" : "list-line-event")); ? or change/add para

Re: Alternate rows with different color

2009-08-04 Thread arungupta
I've been using 1.3.6 but let me try 1.4 rc build and see where it takes me. Is there an example that shows how it can be used in the above context ? -Arun igor.vaynberg wrote: > > see > > org.apache.wicket.markup.repeater.OddEvenItem > > for a cleaner, simpler way to do this > > -igor >

Re: Alternate rows with different color

2009-08-04 Thread arungupta
"class" is already in the markup and did not made any difference. Still getting the same error :( -Arun Cristi Manole wrote: > > Not sure if it will help you, but did you also try > > item.add(new AttributeModifier("class", *true, *new PropertyModel(this, > runlog.getId() % 2 == 0 ? "list-l

Re: Alternate rows with different color

2009-08-04 Thread Igor Vaynberg
see org.apache.wicket.markup.repeater.OddEvenItem for a cleaner, simpler way to do this -igor On Tue, Aug 4, 2009 at 4:36 PM, Arun Gupta wrote: > Trying to provide different color to alternate rows by following the > recommendation at: > > http://devinvenable.blogspot.com/2007/10/wicket-and-htm

Re: Alternate rows with different color

2009-08-04 Thread Cristi Manole
Not sure if it will help you, but did you also try item.add(new AttributeModifier("class", *true, *new PropertyModel(this, runlog.getId() % 2 == 0 ? "list-line-odd" : "list-line-event"))); ? That would add "class" to item if it doesn't have it in markup. On Wed, Aug 5, 2009 at 12:36 AM, Arun Gu

Alternate rows with different color

2009-08-04 Thread Arun Gupta
Trying to provide different color to alternate rows by following the recommendation at: http://devinvenable.blogspot.com/2007/10/wicket-and-html-style-attributes.html The source code is available at: http://kenai.com/projects/runner/sources/subversion/content/wicket/runner/src/main/java/org/exam

Re: strange icon appears in webpage

2009-08-04 Thread Erik Post
crlf (CR/LF) means Carriage Return/Line Feed. Windows and Unix treat newlines differently Windows uses a CR followed by a LF and Unix only uses a LF as a newline character. The dos2unix programs strips the superfluous CR's, among other things. On Tue, Aug 4, 2009 at 5:30 PM, fachhoch wrote: > > I

Re: Looking for Web Application Architecture Book

2009-08-04 Thread John Armstrong
What we do is take all of our /DAO/Model 'stuff' and package it up into its own jar file that is then included in any projects that require it. This allows us to A) Version our data systems without impacting the apps using them (mostly) B) Gives us a unified data layer for all of our applications C

Re: Accessing Wicket Application from custom servlet

2009-08-04 Thread Igor Vaynberg
Session.get().getApplication(), also Application.get() will work. it usually helps to listen. -igor On Tue, Aug 4, 2009 at 1:02 PM, Aaron Dixon wrote: > That seems to provide a solutino for WicketSession access, but what > about access to the Application instance? > > On Tue, Aug 4, 2009 at 1:51

RE: Accessing Wicket Application from custom servlet

2009-08-04 Thread Ames, Tim
Just a guess: Application wicketApplication = Session.get().getApplication(); Cast like this if you need to: MyWicketApplication wicketApplication = (MyWicketApplication) Session.get().getApplication(); -Original Message- From: Aaron Dixon [mailto:atdi...@gmail.com] Sent: Tuesday, Au

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread Igor Vaynberg
On Tue, Aug 4, 2009 at 12:30 PM, konsul wrote: > > I call this method: > refreshingView.setItemReuseStrategy(ReuseIfModelsEqualStrategy.getInstance()); did you also read the javadoc and implement hashcode and equals in the models you are using to feed items of the refreshing view? > > but Feedbac

Re: Accessing Wicket Application from custom servlet

2009-08-04 Thread Aaron Dixon
That seems to provide a solutino for WicketSession access, but what about access to the Application instance? On Tue, Aug 4, 2009 at 1:51 PM, Igor Vaynberg wrote: > see WicketSessionFilter > > -igor > > On Tue, Aug 4, 2009 at 11:49 AM, Aaron Dixon wrote: >> I am implementing a servlet external to

WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi
I don't know about you guys, but I learn best by examples, a lot of them. So the team at Mystic decided to put together a really simple, easy to navigate, no nonsense examples site ... and start filling it with relevant Wicket code examples for doing common things like: * How to us

Re: Looking for Web Application Architecture Book

2009-08-04 Thread Dane Laverty
Thanks for the well-expressed responses. I'll look into the books. Most of my knowledge about web application programming theory comes from reading lists like this. There are certain terms that pop up over and over again, so eventually I think, "That must be important, I guess it's time for me to l

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread konsul
I call this method: refreshingView.setItemReuseStrategy(ReuseIfModelsEqualStrategy.getInstance()); but FeedbackIndicator still doesn't work. Frankly speaking I do not see any relationship between FormComponentFeedbackIndicator and Model reuse strategy. I thought the matter is in Feedback messag

Re: Looking for Web Application Architecture Book

2009-08-04 Thread Nick Heudecker
Good suggestions there. I also like the Enterprise Integration Patterns book, but that might not be what you're looking for. -- Nick Heudecker Professional Wicket Training & Consulting http://www.systemmobile.com

Re: Looking for Web Application Architecture Book

2009-08-04 Thread Scott Swank
I like Martin Fowler's Patterns of Enterprise Architecture. I also like Eric Evans' Domain Driven Design. As for your specific questions: dao -- Outside of a reasonably simple crud application I wouldn't have Wicket even aware of daos. I like to have wicket (or other clients) talk to the prover

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Yes, you're right!! In case of a simple label there seem to be too many name parts for my understanding. So, I always need a last part for the ResourceModel, right? (like ..) Imagine a form with many textfields each with a SimpleFormComponentLabel and an additional Label. So I have to defi

Can i simulate disabled javascript in wickettester?

2009-08-04 Thread Per Newgro
Hi, i would like to write a test for my page. The page uses the the clientinfo to determine if javascript is enabled. If js is disabled a redirect should occur. But how can i simulate disabled javascript with the wickettester? Or is it impossible? Thanks for bring me the light. Per -

Re: Accessing Wicket Application from custom servlet

2009-08-04 Thread Igor Vaynberg
see WicketSessionFilter -igor On Tue, Aug 4, 2009 at 11:49 AM, Aaron Dixon wrote: > I am implementing a servlet external to my Wicket application that > needs to access my Wicket Application instance itself... > > Can anyone recommend a clean way to go about this? > >

Accessing Wicket Application from custom servlet

2009-08-04 Thread Aaron Dixon
I am implementing a servlet external to my Wicket application that needs to access my Wicket Application instance itself... Can anyone recommend a clean way to go about this? - To unsubscribe, e-mail: users-unsubscr...@wicket.apa

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hi Craig, yes you're right, this would work but I wanted to get an understanding of the algorithm and tried the examples mentioned in the wiki page. In addition I dont don't like find-grained property-files and at the moment I'm using one big Application.properties file with the full class

Re: wicket version of tapestry jumpstart..

2009-08-04 Thread Peter Thomas
On Tue, Aug 4, 2009 at 11:11 PM, hari ks wrote: > hi, > > is there a wicket version of tapestry jumpstart. that would be nice. Have you looked at the Wicket Phonebook example (search the mailing list) or the Wicket quick-start for a very simple jumpstart app: http://wicket.apache.org/quickstart

Looking for Web Application Architecture Book

2009-08-04 Thread Dane Laverty
A few months ago I asked for ideas on project management, and you all gave me some great suggestions of tools and books to check out. Now I'd like to hear if anyone has recommendations for a resource that explains how to tie the web application together -- what I would call "architecture". I'm run

wicket version of tapestry jumpstart..

2009-08-04 Thread hari ks
hi, is there a wicket version of tapestry jumpstart. that would be nice. -Hari Sujathan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Label i18n in 1.4 final

2009-08-04 Thread Sven Meier
Shouldn't that be: sidebar.header.header = Sidebar Header! ?? Sven On Di, 2009-08-04 at 16:53 +0200, Robin Sander wrote: > sidebar.header = Sidebar Header! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For add

RE: Label i18n in 1.4 final

2009-08-04 Thread Craig McIlwee
Have you tried creating a properties file for the panel, Sidebar.properties? By putting the value in your Index.properties aren't you kind of breaking encapsulation by adding knowledge of the panel's inner workings to the page? -Original Message- From: Robin Sander [mailto:robin.san...@

Re: Problems with CheckGroup

2009-08-04 Thread burnstone
burnstone wrote: Removing the setType-Call doesn't help. Sorry, after some more debugging and then testing The Right Thing (tm) I have to say this statement is wrong. Removing the call to setType() fixes my problem. Well. Thanks for holding my hand, anyway :) -- chris ---

RE: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Jeremy Thomerson
Right. Doesn't everybody here understand that the completed releases are tagged in the releases directory rather than the tags. James, I don't understand why you are so upset. Nothing is lost - it's just somewhere that you'd prefer it not to be. We like it in the releases directory because a

Re: strange icon appears in webpage

2009-08-04 Thread James Carman
Can you re-type the HTML? You can run dos2unix on your html file perhaps? On Tue, Aug 4, 2009 at 11:30 AM, fachhoch wrote: > > I did not understand  what you mean ,  the special characters web page > displays is comming becasue of plain HTML may be i copied it from other > pages and not typed in

Re: strange icon appears in webpage

2009-08-04 Thread fachhoch
I did not understand what you mean , the special characters web page displays is comming becasue of plain HTML may be i copied it from other pages and not typed in my editor , but why is this happening only in unix and not in windows , is there anything I have to configure in unix ? James Car

Re: strange icon appears in webpage

2009-08-04 Thread James Carman
Print out the character codes for each character in the string. Is it crlf? On Tue, Aug 4, 2009 at 11:14 AM, fachhoch wrote: > > this is happening only when deployed in unix in windows it is fine , I am > sure I am not using characters of any foreign language  , is there any > better way to  iden

Re: strange icon appears in webpage

2009-08-04 Thread fachhoch
this is happening only when deployed in unix in windows it is fine , I am sure I am not using characters of any foreign language , is there any better way to identify these characters ? MartinM wrote: > > Sync properly: > -> filesystem charset > -> html charset -tag > > ** > Martin > > 20

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Igor Vaynberg
nothing was lost -igor On Tue, Aug 4, 2009 at 6:51 AM, nino martinez wael wrote: > I too am a bit worried.. A temporary fix could be to include the svn > revision number for the release. Until this gets fixed. > > At work, we have a special profile for hudson which does the mvn > release:prepare

Re: Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hi, yes, this does work but would interfere with a page-level label called "header", doesn't it? That's why the component-path up to the page is used as a prefix, I thought... On 04.08.2009, at 16:21, Eyal Golan wrote: As far as I remember, you need to call the proprty 'header' header

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Igor Vaynberg
thanks, my bad. got lost in all the building and rebuilding :) -igor On Tue, Aug 4, 2009 at 1:14 AM, Martijn Dashorst wrote: > fixed > > On Tue, Aug 4, 2009 at 9:57 AM, Thomas Singer wrote: >> We include the Wicket sources using an SVN external. I now wanted to update >> from the latest Wicket 1.

Re: Form skips validation for disabled/not visible components

2009-08-04 Thread nytrus
James Carman-3 wrote: > > And, if you want to display the currently-selected "thing", then try > using a label (with a little style to it perhaps). > > On Mon, Aug 3, 2009 at 11:23 AM, Igor Vaynberg > wrote: >> use HiddenField instead of a TextField, that way there is no need to >> disable it.

Re: Problems with CheckGroup

2009-08-04 Thread Igor Vaynberg
so the next step is to step into convertinput() and see why its returning a string instead of a collection. -igor On Tue, Aug 4, 2009 at 1:20 AM, burnstone wrote: > Debugging the code just tells me the same as the exception does: > > CheckGroup.updateModel: > > public void updateModel() > { >    

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread Igor Vaynberg
you have to call setreuseitemstrategy(...) on the refreshingview so that components are kept across requests. it is analogous to having to call setreuseitems(true) on the listview. -igor On Tue, Aug 4, 2009 at 1:12 AM, Anton Komratov wrote: > I'm using RefreshingView to show and edit data. I put

Re: Label i18n in 1.4 final

2009-08-04 Thread Eyal Golan
As far as I remember, you need to call the proprty 'header' header = Sidebar Header! Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Tue, Aug 4,

Label i18n in 1.4 final

2009-08-04 Thread Robin Sander
Hello, I'm trying to add internationalization to my wicket application using Wicket 1.4 final. In order to customize labels I don't use wicket:message but use Label subclasses. So, both the Wiki page "General i18n in Wicket" an Wicket in Action state that I may define a property file for

Re: Wicket and Tomcat: "Error deploying configuration descriptor ROOT.xml"

2009-08-04 Thread Martijn Dashorst
run mvn dependency:tree to see where you get clogging-1.1 from If you find out which dependency includes it, either * exclude clogging with that dependency in your pom, or * use 99-version-does-not-exists from Erik van Oosten (search google) Martijn On Tue, Aug 4, 2009 at 3:54 PM, Thomas Singer

Re: Wicket and Tomcat: "Error deploying configuration descriptor ROOT.xml"

2009-08-04 Thread Erik Post
Hi Thomas, On Tue, Aug 4, 2009 at 3:54 PM, Thomas Singer wrote: > OK, this was caused by having removed commons-logging-1.1.jar from the > classpath. I still don't understand why it is required. The wicket 1.4.0 > readme says: > >>       You only need to include the Servlet API (2.3, just for comp

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread nino martinez wael
Oh and yes Wicket Devs you are doing a great job, without you there would be no wicket.. And with no wicket no happy Nino:) But just because something has done one way always it doesn't mean it's the best way. I believe creating a release should be as simple as a click :) Regards Nino 2009/8/4 n

Re: Wicket and Tomcat: "Error deploying configuration descriptor ROOT.xml"

2009-08-04 Thread Thomas Singer
OK, this was caused by having removed commons-logging-1.1.jar from the classpath. I still don't understand why it is required. The wicket 1.4.0 readme says: > You only need to include the Servlet API (2.3, just for compiling) and > the SLF4J logging implementation you want. You cannot

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread nino martinez wael
I too am a bit worried.. A temporary fix could be to include the svn revision number for the release. Until this gets fixed. At work, we have a special profile for hudson which does the mvn release:prepare release:perform, which does the release and tag + deploy in one go. The idea are if hudson c

Re: ConfirmLink Ajax + Fallback anyone?

2009-08-04 Thread Johannes Schneider
Ok, I have created some classes that seem to work. Could anyone take a look at it and give any feedback? What about the styles for the confirmation page? How should those be added? Thanks Johannes /** * A confirmation link that uses JavaScript if available. */ public class ConfirmationLink ex

Re: Caching a resource on the browser side

2009-08-04 Thread Erik van Oosten
According to http://code.google.com/speed/page-speed/docs/caching.html you should not set both Expires and Cache-Control: max-age. I suggest you: - also set Cache-control: public (see the article). - get rid of the session cookie when the cvs file is first retrieved. I think the cookie is the c

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 7:54 AM, Martijn Dashorst wrote: > We have documented, and established release procedures, which I > followed, and then I must jump to your bidding? Again, the point is that we shouldn't have to read the release procedures to find the release tags. Maven/Subversion folks ju

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Jeremy Thomerson
http://svn.apache.org/repos/asf/wicket/releases/ -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 4, 2009 at 3:20 AM, James Carman wrote: > That's not exactly fixing it, Martijn.  The version in the pom still > says "SNAPSHOT."  What did you do, copy trunk? > > Who cut this releas

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
We have documented, and established release procedures, which I followed, and then I must jump to your bidding? Why is it so difficult to understand that our releases/* directory is where we keep our release builds? And that they constitute our official place for checking out release code? svn co

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Wow, that's a great way for a member of the development team to treat a member of their user community. I'm not the only one with these concerns. Why don't you bad-mouth Reinhard too? On Tue, Aug 4, 2009 at 7:35 AM, Martijn Dashorst wrote: > Jeez, get a life... > > Martijn > > On Tue, Aug 4, 200

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
Jeez, get a life... Martijn On Tue, Aug 4, 2009 at 1:29 PM, James Carman wrote: > We shouldn't have to do this kind of research to know what's going on. >  That's the whole point. > > On Tue, Aug 4, 2009 at 7:25 AM, Martijn > Dashorst wrote: >> WTF? >> >> Read the commit messages and then tell me

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
We shouldn't have to do this kind of research to know what's going on. That's the whole point. On Tue, Aug 4, 2009 at 7:25 AM, Martijn Dashorst wrote: > WTF? > > Read the commit messages and then tell me that the 1.4.0 release is > not an exact copy of sandbox/ivaynberg/wicket-1.4.0 ? > > Martijn

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
WTF? Read the commit messages and then tell me that the 1.4.0 release is not an exact copy of sandbox/ivaynberg/wicket-1.4.0 ? Martijn On Tue, Aug 4, 2009 at 12:33 PM, James Carman wrote: > Well, think about it this way.  In the original message in this > thread, Thomas Singer went looking for t

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Reinhard Nägele
The same thing happened to me recently. I wanted to check out the release tag and could not find it. I was already sort of surprised when Igor mentioned he'd release from his private sandbox. And now we have a 1.4.0 tag with a 1.4-SNAPSHOT in it and trunk which still has 1.4-SNAPSHOT. That can

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Well, think about it this way. In the original message in this thread, Thomas Singer went looking for the 1.4.0 release stuff at the URL: http://svn.apache.org/repos/asf/wicket/tags/wicket-1.4.0 and it wasn't there. Why did he go there? Hmm. Maybe because that's how everyone else does it?

ConfirmLink Ajax + Fallback anyone?

2009-08-04 Thread Johannes Schneider
Hi, I think that is one of that components that has been created several times out there. Does anybody have a good implementation available? There is a wiki page that contains both types of confirmation links (http://cwiki.apache.org/WICKET/getting-user-confirmation.html) but not a combination of

how to get RequestData in RequestCycle

2009-08-04 Thread Vytautas Čivilis
Hi. I'd like to log the request data (org.apache.wicket.protocol.http.RequestLogger.RequestData) in RequestCycle logRuntimeException. The RequestLogger keeps RequestData by it's private MetaData key in RequestCycle object. In other words, I can only completely re-implement RequestLogger to resolv

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
tags/foo is as mutable as releases/foo If a release needs to be cut, we can just do: svn co https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.0 ./release.sh there are no changes to the release after it has been created. A social convention, just as tagging it. And this is the last thi

Wicket and Tomcat: "Error deploying configuration descriptor ROOT.xml"

2009-08-04 Thread Thomas Singer
When I launch our wicket application in Tomcat 5.5.27 I'm getting following output in the IDEA console: > cmd /c C:\apache-tomcat-5.5.27\bin\catalina.bat run > Using CATALINA_BASE: C:\Dokumente und > Einstellungen\tom\.IntelliJIdea8x\system\tomcat\tomcat_Unnamed_websitecaa32f44 > Using CATALINA

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
You might want to check the best practices document from the Incubator: http://incubator.apache.org/guides/releasemanagement.html#best-practices-svn On Tue, Aug 4, 2009 at 5:05 AM, Martijn Dashorst wrote: > Same for releases/wicket-1.4.0 after the release has been created. > > Martijn > > On Tue

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 5:05 AM, Martijn Dashorst wrote: > We create a branch of off trunk for future maintenance of wicket 1.4, > not from a release branch. > > wicket/branches/wicket-1.3.x  -> created from wicket/trunk when we > moved 1.3 to maintenance mode > wicket/branches/wicket-1.4.x -> will

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 5:00 AM, Martijn Dashorst wrote: > I can commit to a tag just as good as to the release branch. There is no > spoon. You're not answering the question, either. You haven't shown me how you would easily re-create the released software as it was when it was released with you

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
Same for releases/wicket-1.4.0 after the release has been created. Martijn On Tue, Aug 4, 2009 at 11:02 AM, James Carman wrote: > You aren't *supposed* to commit to tags, though. > > On Tue, Aug 4, 2009 at 5:00 AM, Martijn > Dashorst wrote: >> I can commit to a tag just as good as to the release

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
We create a branch of off trunk for future maintenance of wicket 1.4, not from a release branch. wicket/branches/wicket-1.3.x -> created from wicket/trunk when we moved 1.3 to maintenance mode wicket/branches/wicket-1.4.x -> will be created from wicket/trunk when we move 1.4 to mainenance mode w

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Take a look at: http://svnbook.red-bean.com/en/1.5/svn.branchmerge.tags.html#svn.branchmerge.tags.mksimple "But wait a moment: isn't this tag creation procedure the same procedure we used to create a branch? Yes, in fact, it is. In Subversion, there's no difference between a tag and a branch. Bot

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
You aren't *supposed* to commit to tags, though. On Tue, Aug 4, 2009 at 5:00 AM, Martijn Dashorst wrote: > I can commit to a tag just as good as to the release branch. There is no > spoon. > > Martijn > > On Tue, Aug 4, 2009 at 10:56 AM, James > Carman wrote: >> Ok, so show me how you would re-cr

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Martijn Dashorst
I can commit to a tag just as good as to the release branch. There is no spoon. Martijn On Tue, Aug 4, 2009 at 10:56 AM, James Carman wrote: > Ok, so show me how you would re-create the 1.4.0 release as it was > when it was released.  What SVN URL would you use to do that?  If > someone has check

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
I don't disagree that you guys are doing it this way. I'm saying it's the wrong way to do it. On Tue, Aug 4, 2009 at 4:45 AM, Martijn Dashorst wrote: > See also: http://cwiki.apache.org/confluence/display/WICKET/Releasing > > On Tue, Aug 4, 2009 at 10:41 AM, Martijn > Dashorst wrote: >> This has

  1   2   >