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 eno

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 bel

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 rig

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 imple

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] Linking to targets from within a page

2005-11-01 Thread Juergen Donnerstag
I was able to fix the NPE except on one example: This is a problem. I'm not even sure "#" is supported. Does anybody have an example of a Link which uses "#" to move to a position within the markup? It can not be a PageParameter because they are appended with "?". Juergen On 11/1/05, Juergen D

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

Re: [Wicket-user] Extensions of extensions

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

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

2005-11-01 Thread David Leangen
Thank you!! On Tue, 2005-11-01 at 08:59 +, Dipu wrote: > This is how i include javascript > > add( new JavaScriptReference("validation",validations()) ); > > > public final PackageResourceReference validations() > { > return new PackageResourceReference(Application.get(), > MyPag

[Wicket-user] Extensions of extensions

2005-11-01 Thread David Leangen
Another question... Is it not possible to extend an extension with the and 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 included in the HTML output. It

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 h

[Wicket-user] Problem with DateConverter

2005-11-01 Thread David Liebeherr
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 this: --- public IConverterFactory getConverterFactory() { return new IConverterFactory() { public IConverter

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

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

[Wicket-user] checkAccess question

2005-11-01 Thread Andrew Berman
I have a CheckoutPage which implements a flow of panels.  Basically, it contains a list of panels and adds/replaces the appropriate panel based on the link or button that is clicked.  The CheckoutPage requires that there be an authenticated user as well as a non-empty shopping cart.  Consequently I

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 ser

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 include

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 on

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 . Of course the break is easily fixed with calls to setPrefix(""), setSuffix(""), but since onComponentTagBody() is final I don't have any way to ge

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

2005-11-01 Thread Andrew Berman
I agree, I was going to raise this issue too.  It makes a lot more sense to use label tags than to just output the text. On 11/1/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote: I love the simplicity of CheckBoxMultipleChoice, but its markup leaves alittle to be desired. There aren't any label tags, a

Re: [Wicket-user] replace ognl.

2005-11-01 Thread Laurent PETIT
Hello, some thoughts: > "property": This can can then be a bean property with get and set method. > Or if a map is given as an object it will be lookup with the property as a > key when there is not get method for that property. If the model is a Map, how is the property converted ? Could it be

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

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 t

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

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

2005-11-01 Thread Andrew Berman
Here you go https://sourceforge.net/tracker/index.php?func=detail&aid=1345198&group_id=119783&atid=684978 On 11/1/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: meanwhile would you mind creating an rfe so we can keep track of this change. Thanks, -Igor   On 11/1/05, Andrew Berman <[EMAIL PROTECT

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 im

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

2005-11-01 Thread Andrew Berman
Very nice.. --AndrewOn 11/1/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: 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 s

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=detail&aid=1345198&group_id=119783&atid=684978 On 11/1/05, Igor Vaynberg <[EMAIL PROTECTED] > wrote: meanwhile would you mind cre

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

Re: [Wicket-user] ListView for navigation menu?

2005-11-01 Thread Eelco Hillenius
Yeah, something like that could work pretty well. I think you should take a look at how paged lists work (package wicket.markup.html.navigation.paging). Eelco On 11/1/05, Stijn de Witt <[EMAIL PROTECTED]> wrote: > <>Hi all, > > > I'm a new user to Wicket. I love what I have seen so far. The Hel

[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] ca

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_VA

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=detail&aid=1345332&group_id=119783&atid=684975 2.  http://sourceforge.net/tracker/index.php?func=detail&aid=1345337&group_id=119783&atid=684975 Thanks Igor Andrew On 11/1/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: Please

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.  http://sourceforge.net/tracker/index.php?func=detail&aid=1345332&group_id=11

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

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 m

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 solv

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

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

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

Re: [Wicket-user] Page Expiration

2005-11-01 Thread Eelco Hillenius
It your session that timed out. You can configure it as part of web.xml. Eelco On 11/1/05, Dan Gould <[EMAIL PROTECTED]> wrote: > 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

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 c

[Wicket-user] Re: Page Expiration

2005-11-01 Thread Dan Gould
Thanks Eelco-- For anyone else who is looking, the param in web.xml is TIME_IN_MINUTES if you set it to <0, it will never expire session, but I assume that memory will quickly become an issue. In Tomcat, it looks like there's an optional Store called org.apache.catalina.session.Pers

[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 is show node name in right panel when i click a tree node.   Followed the example(1.0.2) , i used two Border