Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread Juergen Donnerstag
Anyway, I am now trying to include my javascript files in the way But this page only really describes css in any detail. The approach does not appear to be exactly the same for javascript. For those like me who are doing this for the first time and haven't got it yet, it's not quite enough to

Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread Dipu
This is how i include _javascript_ add( new _javascript_Reference("validation",validations()) ); public final PackageResourceReference validations() { return new PackageResourceReference(Application.get(), MyPage.class, "myValidator.js");} and the mark up will be like given below

Re: [Wicket-user] refreshing page content

2005-11-01 Thread Dipu
i think overriding isvisible() is the best approach. Dipu - Original Message - From: Igor Vaynberg To: wicket-user@lists.sourceforge.net Sent: Monday, October 31, 2005 7:28 PM Subject: Re: [Wicket-user] refreshing page content IMHO this isnt the right

Re: [Wicket-user] Re: Tab / Tabed-Page /Tabview Component?

2005-11-01 Thread Juergen Donnerstag
Yes, you'll find it in wicket-extensions and an example in wicket-examples Juergen On 11/1/05, David Liebeherr [EMAIL PROTECTED] wrote: I guess i will find this all in the CVS versions, do i? Thank you very much, Dave Igor Vaynberg wrote: Just checked in my first pass at implementation.

Re: [Wicket-user] Re: Tab / Tabed-Page /Tabview Component?

2005-11-01 Thread David Liebeherr
I guess i will find this all in the CVS versions, do i? Thank you very much, Dave Igor Vaynberg wrote: Just checked in my first pass at implementation. Its in wicket-extensions wicket.extensions.markup.html.tabs.TabbedPanel. There is also an example in the component reference that shows four

Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread David Leangen
I am now trying to include my javascript files... So, what is the best way to do this? JavaScriptReference is what we call a packaged resource... Ok, thank you for this info! BTW, are there any detailed references to the components/tags (including a list of attributes/parameters)

Re: [Wicket-user] Extensions of extensions

2005-11-01 Thread Juergen Donnerstag
Is it not possible to extend an extension with the wicket:child and wicket:extension tags? It is supported. BaseBase.html baseBase: before wicket:child/ baseBase: after Base.html extension: before (will be ignored) wicket:extend base before wicket:child/ base after

[Wicket-user] Extensions of extensions

2005-11-01 Thread David Leangen
Another question... Is it not possible to extend an extension with the wicket:child and wicket:extension tags? I have a ContentPage that extends a SubsectionPage that itself extends a SectionPage. However, only content from the (concrete) ContentPage and the (abstract) SectionPage is being

Re: [Wicket-user] Including Javascript the Wicket way

2005-11-01 Thread Juergen Donnerstag
yes your are right. External documentation needs to be improved, thought the javadoc should be fairly good. Sorry, didn't mean to sound like I was complaining. It is not complaining, it is making us aware what needs to be improved. I'll try to help out a bit on the wiki if I have the

Re: [Wicket-user] Problem with DateConverter

2005-11-01 Thread David Liebeherr
Problem solved. I just forget to pack the DateToStringConverter into a StringConverter :-) Cu, Dave David Liebeherr wrote: Hi all, i want to change the default behaviour of java.lang.Date to HTML-Input field conversion from 2 Digit Year Numbers to 4 Digit Numbers. I have tried it like

Re: [Wicket-user] Wicket back-button support

2005-11-01 Thread Johan Compagner
we could look at it when we are diving more in to ajax. But if i read it then i see already one thing (the first point they mention): First, a hidden HTML form is used to allow for a large transient session cache of client-side information; this cache is robust against navigation to and away from

[Wicket-user] servletapi-2.3.jar included?

2005-11-01 Thread Jeff Miller
Why is servletapi-2.3.jar included with wicket? Isn't the servletapi included with whatever JSP web server that I use? Is the wicket servletapi-2.3.jar a newer version and so supersede what is on my web server (Tomcat 5.5.12)? Thanks, JeffJeff Miller[EMAIL PROTECTED] Yahoo! FareChase - Search

Re: [Wicket-user] servletapi-2.3.jar included?

2005-11-01 Thread Andrew Berman
It's there for the purpose of building. It is not necessary to put it in your webapps lib directory as Tomcat already has servlet 2.4 support.On 11/1/05, Jeff Miller [EMAIL PROTECTED] wrote: Why is servletapi-2.3.jar included with wicket? Isn't the servletapi included with whatever JSP web server

Re: [Wicket-user] servletapi-2.3.jar included?

2005-11-01 Thread Martijn Dashorst
As others already said: it is used for building Wicket. You can see in the documentation which jars are mandatory for building and deploying, and which are optional. Click on the 'Dependencies' link. Martijn On 11/1/05, Jeff Miller [EMAIL PROTECTED] wrote: Why is servletapi-2.3.jar included

Re: [Wicket-user] servletapi-2.3.jar included?

2005-11-01 Thread Scott Sauyet
Jeff Miller wrote: Why is servletapi-2.3.jar included with wicket? Isn't the servletapi included with whatever JSP web server that I use? Is the wicket servletapi-2.3.jar a newer version and so supersede what is on my web server (Tomcat 5.5.12)? I believe that the servletapi jar includes

Re: [Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Andrew Berman
Yeah I know that it can be done with CheckGroup/Check, but why not do it for CheckBoxMultiChoice? It just seems to make more sense to use label tags than to just display the text. I think it will be an improvement to the current component just because it makes it more accessible and follow better

[Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Nathan Hamblen
I love the simplicity of CheckBoxMultipleChoice, but its markup leaves a little to be desired. There aren't any label tags, and the lines end with br /. Of course the break is easily fixed with calls to setPrefix(div), setSuffix(/div), but since onComponentTagBody() is final I don't have any

[Wicket-user] Re: checkAccess question

2005-11-01 Thread Andrew Berman
Nevermind. I was able to do the clearing of the cart in the onEndRequest() method which occurs after the checkAccess method.On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote:I have a CheckoutPage which implements a flow of panels. Basically, it contains a list of panels and adds/replaces the

Re: [Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Igor Vaynberg
Did you guys try using a CheckGroup/Check components? You can create your own component that does what the CheckBoxMultipleChoice does and be completely in control of the markup. And there is a nifty CheckGroupSelector that generates a cheeckbox that toggles the whole group. There are examples in

Re: [Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Igor Vaynberg
meanwhile would you mind creating an rfe so we can keep track of this change. Thanks, -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Very nice..--Andrew On 11/1/05, Igor Vaynberg [EMAIL PROTECTED] wrote: Im working on that right now :) -Igor On 11/1/05, Andrew Berman [EMAIL

Re: [Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Igor Vaynberg
Im working on that right now :) -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Yeah I know that it can be done with CheckGroup/Check, but why not do it for CheckBoxMultiChoice? It just seems to make more sense to use label tags than to just display the text. I think it will be an

Re: [Wicket-user] Problem with multiple submit buttons in form

2005-11-01 Thread Phil Kulak
The beauty of the @Override notation. :D On 10/29/05, Dan Gould [EMAIL PROTECTED] wrote: Thanks Andrew (and everyone) -- my dumb mistake. [I'm in the cleanup phase of the beta for my new app; I'll send a link to wicket-user pretty soon to try out.]

Re: [Wicket-user] AccessibleCheckBoxMultipleChoice - Or, what's up with element IDs?

2005-11-01 Thread Igor Vaynberg
its in cvs for both 1.1 and 1.2 branches. -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Here you go https://sourceforge.net/tracker/index.php?func=detailaid=1345198group_id=119783atid=684978 On 11/1/05, Igor Vaynberg [EMAIL PROTECTED] wrote: meanwhile would you mind creating

[Wicket-user] ListView for navigation menu?

2005-11-01 Thread Stijn de Witt
<>Hi all, I'm a new user to Wicket. I love what I have seen so far. The HelloWorld example was very convincing for me to give Wicket a try! I am trying to create a menu to go above my pages. I have been browsing through the Wiki and looked at the navigation example. The navigation example

[Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Andrew Berman
I've run into a couple of issue with the GridView class in the Wicket-Extensions version 1.1 release: You have to explicitly set the rows per page because the default is set to 1. When I set the rows to Integer.MAX_VALUE I get: java.lang.IllegalArgumentException: Argument [itemsPerPage]

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Igor Vaynberg
Please file a bug. -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: I've run into a couple of issue with the GridView class in the Wicket-Extensions version 1.1 release: You have to explicitly set the rows per page because the default is set to 1. When I set the rows to Integer.MAX_VALUE

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Andrew Berman
Two bugs filed: 1. http://sourceforge.net/tracker/index.php?func=detailaid=1345332group_id=119783atid=684975 2. http://sourceforge.net/tracker/index.php?func=detailaid=1345337group_id=119783atid=684975 Thanks Igor Andrew On 11/1/05, Igor Vaynberg [EMAIL PROTECTED] wrote: Please file a

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Igor Vaynberg
fixed and fixed couldnt reproduce the exception you got from (1), see the bug report for more info. changes are in 1.1 branch and HEAD cvs. -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Two bugs filed:1.

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Andrew Berman
Hmmm...I just pulled from HEAD and #2 is still not working. Looking at the code, I didn't see the change you made for defaulting the number of rows to Integer.MAX_VALUE, so I'm assuming I don't have the code you fixed. Are the commits slow or something? I gave you more info in the first bug too

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Igor Vaynberg
sometimes takes sf.net up to 8 hours to sync up the devel cvs with the public one would you like a patch in the meantime? -Igor On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Hmmm...I just pulled from HEAD and #2 is still not working. Looking at the code, I didn't see the change you made for

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Eelco Hillenius
There is a delay of a couple of hours between the developer servers (ssh) and the public servers (pserver) of sourceforge. Eelco On 11/1/05, Andrew Berman [EMAIL PROTECTED] wrote: Hmmm...I just pulled from HEAD and #2 is still not working. Looking at the code, I didn't see the change you made

Re: [Wicket-user] Issues with GridView in Wicket-extensions

2005-11-01 Thread Martijn Dashorst
No, the commits aren't slow. There is a (about 5 hour) time difference between developer CVS (via SSH) and anonymous CVS (via pserver). As you aren't a committer on Wicket, you'll have to be patient for the commits to be synchronized to anonymous CVS. I think the sourceforge team is trying to

[Wicket-user] Using WebResponse/RequestCrawlerSave?

2005-11-01 Thread Andrew Lombardi
I've been trying to use the WebResponse/RequestCrawlerSave functionality, and have migrated up to 1.1 in hopes this was fixed.  But I keep getting this IllegalArgumentException.  Anyone know what this could be about?  What am I missing?java.lang.IllegalArgumentException: Invalid key value list:

[Wicket-user] Page Expiration

2005-11-01 Thread Dan Gould
If I load a wicket page that contains some PageLinks, then I walk away for awhile and then come back and click on one of the links, I get sent to the Page Expired page. (I haven't restarted the server or hit any other pages in the meantime). I'm probably missing something obvious, but I'm

Re: [Wicket-user] Page Expiration

2005-11-01 Thread Eelco Hillenius
oh, and yes, the only way to never have timeouts is to use bookmarkable page links as bookmarkable pages do not use a prior session (in fact, if you don't have a session yet and you navigate to a bookmarkable page, a new session is created). Eelco On 11/1/05, Eelco Hillenius [EMAIL PROTECTED]

Re: [Wicket-user] Using WebResponse/RequestCrawlerSave?

2005-11-01 Thread Juergen Donnerstag
Please open a bug for it. Juergen On 11/2/05, Andrew Lombardi [EMAIL PROTECTED] wrote: I've been trying to use the WebResponse/RequestCrawlerSave functionality, and have migrated up to 1.1 in hopes this was fixed. But I keep getting this IllegalArgumentException. Anyone know what this could

[Wicket-user] How can i get tree node detail and show in another panel?

2005-11-01 Thread Alex Chew
I used wicket1.0.2. In my Application, i want to show a tree as navigator and detail message as body.It is a parellel layout, left panel is a treeview, right is content view. What i want isshownode name in right panel when i click a tree node. Followed the example(1.0.2), i used twoBorder-left