Re: Making a DataTable Editable

2008-07-14 Thread Cristi Manole
There's an wicket component that does exactly what you need: -> take a look on inmethod.com The website is down for some reason at this moment but i'm sure it'll be available soon. Meanwhile you could take a look into apache wicket-stuff repository (and search for inmethod grid component]. Cheer

Re: How to generate html tag

2008-07-14 Thread liny
Thank you, igor! -- View this message in context: http://www.nabble.com/How-to-generate-%3Ca-name%3D%22myQuickLink%22%3E-html-tag-tp18456831p18457636.html Sent from the Wicket - User mailing list archive at Nabble.com. - To un

Making a DataTable Editable

2008-07-14 Thread Umesh Paliwal
Hi all, I have a datatable and a button. When I click on the button , the datatable should add a new row at the bottom of the datatable. Could you please guide me how to achieve this. Thanks and regards, Umesh Paliwal

Re: generics

2008-07-14 Thread Timo Rantalaiho
On Tue, 15 Jul 2008, David Leangen wrote: > Normally, it shouldn't be necessary to have to use casting with > generics. In fact, the idea is that if no casting is used (along with a > few other constraints that I don't remember off hand), then the code is > guaranteed to be type safe. > > In other

Re: How to generate html tag

2008-07-14 Thread Igor Vaynberg
add(new webmarkupcontainer("anchor") { oncomponenttag(tag) { tag.put("name","somename"); } }); foo -igor On Mon, Jul 14, 2008 at 7:15 PM, liny <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to generate html tag, so reader can quick jump to the position. > How can I do? > > Thanks > -- > Vie

Re: generics

2008-07-14 Thread David Leangen
Don't have time to update to 1.4 yet, so I haven't been following this thread much, but I did see this go by: > > 2) the wicket web site now suggests the following code for generic > > components: > > > > @SuppressWarnings("unchecked") > > public final T getModelObject() > > { > > return

How to generate html tag

2008-07-14 Thread liny
Hi, I'd like to generate html tag, so reader can quick jump to the position. How can I do? Thanks -- View this message in context: http://www.nabble.com/How-to-generate-%3Ca-name%3D%22myQuickLink%22%3E-html-tag-tp18456831p18456831.html Sent from the Wicket - User mailing list archive at Nab

Re: Does Session.getClientInfo() Always Return An Instance?

2008-07-14 Thread TH Lim
Ok understood. Lately, I found this exception in my log. Anyone know what are the possible causes for this so I have a lead as to where to begin to trace the problem? Thanks ERROR: 2008-07-14 16:22:06,966: StandardWrapperValve: Servlet.service() for servlet default threw exception java.lang.Nul

Issue with Form submission in portlet container

2008-07-14 Thread Arun Wagle
Hello, I have an issue with submitting form in a jetspeed portal which is using WicketPortlet. The form is invoked from a wicket Modal dialog box. I am able to run this as a normal wicket applcation(without running as a wicket portlet application) I get the following exception WicketMessage: Meth

Re: wicket-library source code

2008-07-14 Thread Ryan Gravener
http://wicketstuff.org/wicket13/nested/?wicket:bookmarkablePage=:org.apache.wicket.examples.ajax.builtin.tree.SimpleTreePage http://svn.apache.org/repos/asf/wicket/tags/wicket-1.3.4/jdk-1.5/wicket-examples/ On Mon, Jul 14, 2008 at 6:06 PM, sjtirtha <[EMAIL PROTECTED]> wrote: > I don't mean the wi

Re: wicket-library source code

2008-07-14 Thread sjtirtha
I don't mean the wicket source code, but the wicket-library souce code. For example http://www.wicket-library.com/wicket-examples/ajax/tree/simple.2does not contain the complete source code of the example. On Mon, Jul 14, 2008 at 11:43 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: > http://wicket

Re: wicket-library source code

2008-07-14 Thread Ryan Gravener
http://wicket.apache.org then choose 'Getting Wicket' http://svn.apache.org/repos/asf/wicket/tags/wicket-1.3.4/ On Mon, Jul 14, 2008 at 5:34 PM, sjtirtha <[EMAIL PROTECTED]> wrote: > Hi, > > where can I get the source code of the example in wicket-library? > The "source code" link does not show

wicket-library source code

2008-07-14 Thread sjtirtha
Hi, where can I get the source code of the example in wicket-library? The "source code" link does not show the complete source code. Regards, Steve

Re: Totally new to Wicket and planning on using Wicket 1.4

2008-07-14 Thread Eelco Hillenius
>> Don't wait for an updated book. Firstly there's no point. Secondly you'll >> probably be waiting a little while - the first edition of WIA has only >> recently come off the presses. > > We won't be able to update WIA for a long time though. Our wives won't let us. And my guitar is giving me the

Re: generics

2008-07-14 Thread Eelco Hillenius
> I'd say that WIcket *is a product*, and as such the consumers of that product > have the final say. I think closer to reality - the consumer's final say - is that when people don't like the product anymore, they'll switch to alternatives or - unique to open source software - create their own br

Re: generics

2008-07-14 Thread Eelco Hillenius
> personally i am still in favor of going with the m2 way of doing things where > Component is generic, but from the looks of the discussion i think i may be > in the minority here. Looking at the people who reacted, that seems to be the case. But the reason why we ask people their opinion is of c

RE: Hiding table columns in DataViews?

2008-07-14 Thread Michael Mehrle
Okay, I get it - and now I really feel thick - LOL. I was so focused on 'removing' columns that the concept of not adding them in the first place eluded me. The only issue I see is that it's the dataprovider that knows about certain data not present. But I think I can address that since it's an

Re: Hiding table columns in DataViews?

2008-07-14 Thread Ryan Gravener
Here is the source for adding columns to a table: List columns = new ArrayList(); columns.add(new AbstractColumn(new Model("Actions")) { public void populateItem(Item cellItem, String componentId, IModel model) { cellItem.add(new Acti

RE: Hiding table columns in DataViews?

2008-07-14 Thread Michael Mehrle
Not to be thick, but where does this show me how to hide table headers? All I see is a regular DataTable example. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Gravener Sent: Monday, July 14, 2008 11:28 AM To: users@wicket.apache.org Subject: Re:

Re: Hiding table columns in DataViews?

2008-07-14 Thread Ryan Gravener
http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage via http://www.google.com/search?q=wicket+datatable+example On Mon, Jul 14, 2008 at 1:26 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Okay, and look at exactly what? A simple

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matthew Hanlon
Thanks! Regards, Matthew. On Mon, Jul 14, 2008 at 12:56 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Looks like M3 should be fine. > > -Matej > > On Mon, Jul 14, 2008 at 7:51 PM, Matej Knopp <[EMAIL PROTECTED]> > wrote: > > I'm sorry about this. It should be fixed in trunk. > > Did the broken

RE: Non breaking spaces in ListView

2008-07-14 Thread Michael Mehrle
Thanks a bunch, Igor :-) -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2008 11:09 AM To: users@wicket.apache.org Subject: Re: Non breaking spaces in ListView label.setescapemodelstrings(false) if you are returning " " from the model string -igor

Re: Non breaking spaces in ListView

2008-07-14 Thread Igor Vaynberg
label.setescapemodelstrings(false) if you are returning " " from the model string -igor On Mon, Jul 14, 2008 at 11:04 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I have a ListView which I have populate a table. Now, some columns are > sometimes empty and I'm trying to set the Label that occup

Non breaking spaces in ListView

2008-07-14 Thread Michael Mehrle
I have a ListView which I have populate a table. Now, some columns are sometimes empty and I'm trying to set the Label that occupies it with an non-breaking space ( ). However, for some reason the Label prints it verbose . If I set the Label to empty the column gets skipped altogether, messing up m

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
Looks like M3 should be fine. -Matej On Mon, Jul 14, 2008 at 7:51 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > I'm sorry about this. It should be fixed in trunk. > Did the broken revision made it to 1.4m3? > > -Matej > > On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon <[EMAIL PROTECTED]> wrote: >

Re: ModalWindow PageCreator Bug?

2008-07-14 Thread Matej Knopp
I'm sorry about this. It should be fixed in trunk. Did the broken revision made it to 1.4m3? -Matej On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon <[EMAIL PROTECTED]> wrote: > I just updated my 1.4 SNAPSHOT to revision 676639 and I've started noticing > an error in ModalWindow when using ModalWi

ModalWindow PageCreator Bug?

2008-07-14 Thread Matthew Hanlon
I just updated my 1.4 SNAPSHOT to revision 676639 and I've started noticing an error in ModalWindow when using ModalWindow.PageCreator. It looks like the setPageCreator method is calling setContent(empty) after setting the page creator, which in turn sets the page creator to null. >From ModalWind

RE: Hiding table columns in DataViews?

2008-07-14 Thread Michael Mehrle
Okay, and look at exactly what? A simple example or URL to an example would have helped... -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Saturday, July 12, 2008 12:04 AM To: users@wicket.apache.org Subject: Re: Hiding table columns in DataViews? See DataTable

Re: generics

2008-07-14 Thread Brill Pappin
I'm not going to get into an argument on the definition of a product or how the rules of supply and demand apply to Wicket. Those that actually care about this thread can make up their own minds. However I do object to being misrepresented. No where did I call you folks "slaves", and don't

Re: Converters but the other way :)

2008-07-14 Thread Manuel Corrales
Sorry, that was a very dumb question, i have found the way. I am loving wicket every day a little bit more :) On Mon, Jul 14, 2008 at 12:34 PM, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Hi, i am using a custom BigDecimalConverter to remove some punctuation and > stuff when converting the strin

Re: generics

2008-07-14 Thread Martijn Dashorst
On Mon, Jul 14, 2008 at 5:36 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: > I'd say that WIcket *is a product*, and as such the consumers of that > product have the final say. We build this in our spare time, and are customers ourselves. Wicket is not a product, it is an open source community. The

Re: generics

2008-07-14 Thread John Patterson
Craig McIlwee wrote: > > 2) the wicket web site now suggests the following code for generic > components: > > @SuppressWarnings("unchecked") > public final T getModelObject() > { > return (T)getDefaultModelObject(); > } > I am just starting to use the new form and it struck me as a l

Re: generics

2008-07-14 Thread Brill Pappin
On 14-Jul-08, at 11:24 AM, Martijn Dashorst wrote: On Mon, Jul 14, 2008 at 5:03 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: I think you are *not* in the minority, but a lot of the dissenters piped in last minute in a big flood so to some it might look that way. I think this is a baseless s

Converters but the other way :)

2008-07-14 Thread Manuel Corrales
Hi, i am using a custom BigDecimalConverter to remove some punctuation and stuff when converting the string to BigDecimal. My problem is that, i have some validation on the onSubmit() method, and when some error is added on the onSubmit(), the BigDecimal showed on the screen recovers the punctuatio

Re: generics

2008-07-14 Thread Martijn Dashorst
On Mon, Jul 14, 2008 at 5:03 PM, Brill Pappin <[EMAIL PROTECTED]> wrote: > I think you are *not* in the minority, but a lot of the dissenters piped in > last minute in a big flood so to some it might look that way. I think this is a baseless statement: both sides have been very vocal. In any case

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-14 Thread Martijn Dashorst
This is documented in our migration guide: http://cwiki.apache.org/WICKET/migrate-14.html Martijn On Mon, Jul 14, 2008 at 5:12 PM, lars vonk <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the new version. One remark though: The version 1.4-m3 of > the wicket-spring-annot artifact is missing in

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-14 Thread lars vonk
Thanks On Mon, Jul 14, 2008 at 5:15 PM, James Carman <[EMAIL PROTECTED]> wrote: > It's just in the wicket-spring jar now, since we're JDK5+ > > http://markmail.org/message/2mgof2i72f2h2b53#query:james%20carman%20wicket-spring-annot+page:1+mid:yappydtfahdwlaqw+state:results > > > On Mon, Jul 14, 20

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-14 Thread James Carman
It's just in the wicket-spring jar now, since we're JDK5+ http://markmail.org/message/2mgof2i72f2h2b53#query:james%20carman%20wicket-spring-annot+page:1+mid:yappydtfahdwlaqw+state:results On Mon, Jul 14, 2008 at 11:12 AM, lars vonk <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for the new version.

Re: [announce] Apache Wicket 1.4-m3 is released

2008-07-14 Thread lars vonk
Hi, Thanks for the new version. One remark though: The version 1.4-m3 of the wicket-spring-annot artifact is missing in the maven repo. The lastest version present is 1.3.4. Is it replaced of repacked somewhere? Cheers, Lars On Mon, Jul 14, 2008 at 12:52 PM, Martijn Dashorst <[EMAIL PROTECTED]>

Re: generics

2008-07-14 Thread Brill Pappin
I think you are *not* in the minority, but a lot of the dissenters piped in last minute in a big flood so to some it might look that way. However, It may actually be valuable the way they are doing it now, so I'm reserving judgement until I can sit down and port my latest project to it... a

Re: Direclty using parent's compoundpropertymodel not possible ?

2008-07-14 Thread Alex Jacoby
More than once I've tried accessing my inherited model from within a constructor, forgetting that since the component hasn't been added yet it can't access its inherited model there. That's not your problem, right? Alex On Jul 11, 2008, at 3:17 AM, Joseph P. wrote: I did already. My issue i

Re: generics

2008-07-14 Thread Craig McIlwee
personally i am still in favor of going with the m2 way of doing things where Component is generic, but from the looks of the discussion i think i may be in the minority here. this kinda surprises me though because as i read the original generic discussion it sounded like most people supported Co

Re: modalWindow disable drag & drop?

2008-07-14 Thread Nino Saturnino Martinez Vazquez Wael
you could make it less obvious using styling... Beyonder Unknown wrote: Hi Users, Is there a way to make the modalWindow unmovable? (disable the drag and drop?). Thanks, Allan -- The only constant in life is change. -

[announce] Apache Wicket 1.4-m3 is released

2008-07-14 Thread Martijn Dashorst
Help the Apache Wicket team to determine the future of your Wicket based web application development. We have released our third and hopefully final milestone release of our Java 5 based web framework and are anxious to receive feedback on our use of generics. A significant change from the earlier