Re: [Wicket-user] Upload of 1.2 to maven repo complete

2006-05-31 Thread David Leangen
Great, thank you so much! You guys are awesome!! Question: I read in another thread that work has begun on v2.0. Can somebody tell me what the status of the 1.2 branch will be? Has development on that branch essentially stopped now, except for bug fixes? Thanks! Dave On Tue, 2006-05-30

Re: [Wicket-user] Upload of 1.2 to maven repo complete

2006-05-31 Thread Martijn Dashorst
A document for the status and roadmap is being written... Lack of time has put this roadmap on a slow lane... I'll try to get it out this evening. Martijn On 5/31/06, David Leangen [EMAIL PROTECTED] wrote: Great, thank you so much! You guys are awesome!! Question: I read in another thread

Re: [Wicket-user] started working on 2.0 and migration doc

2006-05-31 Thread Matej Knopp
Hi. The problem is that you would need more constructors, and some wicket components (DropDownChoice)... have already lot of constructors. And the concept is currently limited to RepeatingView. As far as I know there are no other components where you can use this, are they? -Matej Timo

[Wicket-user] using fragments in a DefaultDataTable

2006-05-31 Thread Renaut, Jonathan E CTR DISA GIG-CS
Title: using fragments in a DefaultDataTable I am trying to use fragments to decorate a column in a DefaultDataTable to either build an external link, or display text. I followed the Wicket QuickTour: Using Fragments example, although in a more complicated setting, and I keep getting a

Re: [Wicket-user] Upload of 1.2 to maven repo complete

2006-05-31 Thread Igor Vaynberg
bah, true procrastinators would of course procrastinate on any item in that list, so of course the list wouldnt work-IgorOn 5/31/06, Martijn Dashorst [EMAIL PROTECTED] wrote: I didn't take it that way It has been on my todo list for awhile... I guess I need to formalize my

Re: [Wicket-user] Upload of 1.2 to maven repo complete

2006-05-31 Thread Stefan Arentz
On 5/30/06, Martijn Dashorst [EMAIL PROTECTED] wrote: All, The maven team has uploaded all our libraries of wicket 1.2 to their main repository (http://repo1.maven.org/maven2/wicket) In case you are in Europe and you find repo1.maven.org very slow, use my mirror that is located in the

Re: [Wicket-user] using fragments in a DefaultDataTable

2006-05-31 Thread Igor Vaynberg
are you using the constructor with markupProvider to construct the fragment? the markupprovider should point to the component in whose markup the fragment is defined. so if a fragment is defined in some panel's markup that panel instance is the markup provider. -IgorOn 5/31/06, Renaut, Jonathan E

Re: [Wicket-user] reopened bug: [1470093] wicket:link does not accept numeric param names

2006-05-31 Thread Juergen Donnerstag
I've seen the bug and I don't yet what is wrong with it. But there are virtually hundreds of WicketTester based junit tests in Wicket core which work. May be you copy one of them and modify it to reproduce the error? Juergen On 5/31/06, Michael Day [EMAIL PROTECTED] wrote: I would love to, but

[Wicket-user] combo box displaying choose one

2006-05-31 Thread Dorel Vaida
When I reach with the selection in a combo box, to the first item in the list, wicket places a Choose one option as the first item in the combo. Am I doing something wrong or ... does anybody know how to avoid this ? --- All the advantages

[Wicket-user] RE: combo box displaying choose one

2006-05-31 Thread Andrew Strickland
If you call setNullValid(true) the default "null" value will be an empty string instead of "Choose One" Andy "When I reach with the selection in a combo box, to the first item in the list, wicket places a "Choose one" option as the first item in the combo. Am I doing something wrong or ...

Re: [Wicket-user] combo box displaying choose one

2006-05-31 Thread Matej Knopp
Isn't your model object null? Try to set the model object to a different value, it should help. -Matej Dorel Vaida wrote: When I reach with the selection in a combo box, to the first item in the list, wicket places a Choose one option as the first item in the combo. Am I doing something

Re: [Wicket-user] combo box displaying choose one

2006-05-31 Thread Matej Knopp
I you want to change the displayed string just put youFormId.yourDropDownChoiceId.null=My null String in your page's property file. -Matej Matej Knopp wrote: Isn't your model object null? Try to set the model object to a different value, it should help. -Matej Dorel Vaida wrote: When I

Re: [Wicket-user] RE: combo box displaying choose one

2006-05-31 Thread Vincent Jenks
add(new DropDownChoice(dropdown, model, values) { protected String getDefaultChoice(final Object selected) { return ; //this fixes your problem... } public String getDisplayValue(Object object) {

[Wicket-user] Re: using fragments in a DefaultDataTable

2006-05-31 Thread Jon Renaut
Igor Vaynberg igor.vaynberg at gmail.com writes: are you using the constructor with markupProvider to construct the fragment? the markupprovider should point to the component in whose markup the fragment is defined. so if a fragment is defined in some panel's markup that panel instance is

[Wicket-user] Page mounting and DropDownChoice.wantOnSelectionChangedNotifications

2006-05-31 Thread Ralf Ebert
Hi, I have a page with a DropDownChoice using the wantOnSelectionChangedNotifications feature. This works very well. I just tried out page mounting using app.mountBookmarkablePage, which gives me an url like

[Wicket-user] halt and redirect

2006-05-31 Thread Vincent Jenks
How can I simply stop a page from rendering and redirect to another? Say I've got a condition where I've found an object to be null or an unacceptable value and I'd rather send the user to another page w/o rendering the rest of the current page? I thought I was doing that w/ setResponsePage()

Re: [Wicket-user] halt and redirect

2006-05-31 Thread Matej Knopp
new RestartResponseException(...) should do it. -Matej Vincent Jenks wrote: How can I simply stop a page from rendering and redirect to another? Say I've got a condition where I've found an object to be null or an unacceptable value and I'd rather send the user to another page w/o rendering

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Nick Heudecker
I really don't see why this problem can't be solved with the standard Open Session In View pattern. I've used it with Struts and Wicket without a problem.

Re: [Wicket-user] Page mounting and DropDownChoice.wantOnSelectionChangedNotifications

2006-05-31 Thread Johan Compagner
Your dropdown doesn't sit inside a Form?Because that url is not really generated normally anymore for form componentsBecause the onSelectionChange is done as a semi submit of the form. and not through a url. And what do you mean that if you mount a page you get that url? That doesn't look like a

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Johan Compagner
Those long running Hibernate sessions are this pretty much long running transactions?For example if you load an object in such a session and 10 request lateryou still use that session. Do you still have that specific instance? What does happen then if that object was already changed by somebody

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Vincent Jenks
Yes, I've done this w/ Hibernate w/o a problem, it works great when you're manually creating destroying the sessions...but I'm not since I'm using container managed sessions in EJB3. How would this be done since the container controls the session for me? Which, is what I wantI don't want

[Wicket-user] another dumb model question....

2006-05-31 Thread Vincent Jenks
I've got a page where I need to call data from the EntityManger (EJB3) several times in a single pagewhich means I'd need to have several detached-models in the page. Once I put these objects and/or collections of objects into a detachable model, what's the best way to cast them back out to

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Johan Compagner
in the end.. What seam does is just code.. So just take those parts..johanOn 5/31/06, Vincent Jenks [EMAIL PROTECTED] wrote:Yes, I've done this w/ Hibernate w/o a problem, it works great when you're manually creating destroying the sessions...but I'm not sinceI'm using container managed sessions

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Matej Knopp
I don't know why but I just don't like the idea of long-running transactions. I think web applications are just too unpredictable to hold one transaction during multiple request. You can never be sure when (and if) the next request will come. OpenSessionInView filter has always be sufficient

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Matej Knopp
I'm not sure I understand you but you load the collections separately? Can't you just do something like this? class MyPage extends Page { public MyPage() { IModel m1 = new LoadableDetachableModel() { Object load() { return [load collection 1]; } } add(new

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Vincent Jenks
Easy enough to say, however, I don't know *how* Seam does what it does - I have no idea how to implement something like this. And yes, it's a long-running transaction (I suppose?) Perhaps they're just storing the transaction in an http session so it's still relevant to the user throughout the

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Vincent Jenks
If I were just displaying the lists in a ListView that'd be fine, however I'm not using it that way. Suppose myDetachedModel is being displayed in a ListView and on each iteration, I'm grabbing a value from the database (here's where I need another detachable model) and doing calculations

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Matej Knopp
Suppose you have IModel model = new LoadableDetachableModel() { ... you can get the model any time: ListItem myItems = (ListItem) model.getObject(null). First time you call getObject the model is attached (list is loaded). Until it's detached, getObject(null) will always return the loaded

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Vincent Jenks
Excellent, that's perfect. The part I was unsure about was what to pass for the arguement for getObject() Thanks Matej! On 5/31/06, Matej Knopp [EMAIL PROTECTED] wrote: Suppose you have IModel model = new LoadableDetachableModel() { ... you can get the model any time: ListItem myItems =

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Matej Knopp
:) Yeah, getObject is a little confusing at the beginning. The parameter is mostly used in compound models (CompoundPropertyModel) where the model is shared between multiple components to determine which component is setting/getting the value. -Matej Vincent Jenks wrote: Excellent, that's

Re: [Wicket-user] Re: using fragments in a DefaultDataTable

2006-05-31 Thread Igor Vaynberg
Yes.The markupProvider id that's passed into the fragment constructor pointsto the DefaultDataTable cell id - I'm using a class extending PropertyColumn and implementing populateItem(Item item, String componentId, IModel model).I thencall item.add(new Fragment(componentId, fragmentId) where

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Matej Knopp
Hmm. Storing transactions in HTTP session is not that big deal. The question is whether you can have multiple long transaction running at the same time. If so, you have to pass the current transaction token between pages somehow. One possible relatively transparent solution that comes to my

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Igor Vaynberg
i would imagine if i was working with hibernate directly and wanted to achieve this i would get a session instance, and pass it around to the pages that are part of the same conversationso something likesession s=getsession(); user u=getUser(s);setResponsePage(new ConfirmDeleteUserPage(u, s)and

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Vincent Jenks
Yeah, that'd be quite simple for Hibernate alone where you're utilizing the session manually...however I've never had the problems I'm having w/ plain Hibernate due to the OpenSessionInView pattern...which has always worked in that sense. However, that's very interestinggood approach for a

[Wicket-user] 13 classes where needed for HelloWorld example ?

2006-05-31 Thread Pierre-Yves Saumont
Hi, I just started to try Wickets. It' supposed to be so simple to use ! I first discovered that the Helloworld example won't work. WebApplication has no getPages() method, but has an abstract getHomePages() method that needs to be implemented by the HelloWorldApplication class. Obviously,

Re: [Wicket-user] 13 classes where needed for HelloWorld example ?

2006-05-31 Thread Igor Vaynberg
On 5/31/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Hi,I just started to try Wickets. It' supposed to be so simple to use ! Ifirst discovered that the Helloworld example won't work. WebApplicationhas no getPages() method, but has an abstract getHomePages() method that needs to be implemented

Re: [Wicket-user] 13 classes where needed for HelloWorld example ?

2006-05-31 Thread Vincent Jenks
Personally, I've found that every example in wicket-examples has always worked flawlessly for me. Each Wicket page has an aptly-named html page that goes with it...which acts as a template for the components you define in the aptly-named class. However, I think you're right, the Hello World

Re: [Wicket-user] started working on 2.0 and migration doc

2006-05-31 Thread Eelco Hillenius
The current trunk of Wicket (core, extensions and examples) has the constructor change implemented. There is no need for extra constructors, just for that additional parameter in the constructor. I wasn't very sure about the constructor change in the first place. But now that I see that it

[Wicket-user] wicket-stuff

2006-05-31 Thread middledot
I want to check-out the wicket-stuff, in particular wicket-contrib-database. How do I do that? Les -- View this message in context: http://www.nabble.com/wicket-stuff-t1714079.html#a4654719 Sent from the Wicket - User forum at Nabble.com.

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread Eelco Hillenius
A trick that work even better is to wrap the models you want to work with in a model for the sake of passing detach to the wrapped models. That wrapper model would have a couple of convenience methods to get the values of the wrapped models, and the wrapper model would be the model to set on your

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread Ingram Chen
I am not familiar with Seam... but I guess it uses stateful session beanto manage all session/transaction to support long-transaction, which named as conversational scope.The whole idea may like: Session's life cycle is the same as SFSB, and is live for multi-requests.so you won't worry about LIE.

[Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread Bruno Borges
I don't know how to name it, but Shuttle was the name I've seen people using to specify this kind of component: | Item 1 | | Item 3 | | Item 2 | | Item 4 || | | || | | | || ||Where: : move all right : move all selected right... same, but to left sideIf

Re: [Wicket-user] another dumb model question....

2006-05-31 Thread VGJ
I might just be nit-picking here...but it might be nice to have a parameter-less override of getObjectjust for prettiness ;) It might be more intuitive for the first-time user as well? It would be more apparent, IMO, if you could just call model.getObject() Just a thought... On Wed,

Re: [Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread Philip A. Chapman
The palette component: http://www.wicket-library.com/wicket-examples/compref;jsessionid=1964CEEDBD5270FCDA54CFE3AFAE4CB7?wicket:bookmarkablePage=:wicket.examples.compref.PalettePage On Wed, 2006-05-31 at 23:32 -0300, Bruno Borges wrote: I don't know how to name it, but Shuttle was the

Re: [Wicket-user] Seam-like solution for Wicket + EJB3?

2006-05-31 Thread VGJ
I guess that makes sense and is sort of what I assumed...that it was keeping a long-running hibernate session going somehow. Bah, I guess I could try to rig something up based on everyone's feedback... Thanks all! On Thu, 2006-06-01 at 10:24 +0800, Ingram Chen wrote: I am not familiar

Re: [Wicket-user] wicket-stuff

2006-05-31 Thread Igor Vaynberg
svn co https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-database-Igor On 5/31/06, middledot [EMAIL PROTECTED] wrote: I want to check-out the wicket-stuff, in particular wicket-contrib-database.How do I do that?Les--View this message in context:

Re: [Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread cowwoc
There seems to be a bug in this example. I select the last entry, and keep on clicking on the first button. Eventually, it moves the entry from the right side to the left, even though I am clicking on the arrow pointing from left to right. I am expecting the entry to remain on the right.

Re: [Wicket-user] Stack Overflow

2006-05-31 Thread Aaron Hiniker
nm, I upgraded to latest 1.2 (was using rc3) and it went away. Sorry about the trouble Aaron On Wed, 2006-05-31 at 21:14 -0700, Aaron Hiniker wrote: Hi, my application was working fine the other day... recently I've noticed this error pop up and I'm not sure what has changed since...

Re: [Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread Igor Vaynberg
fixed-IgorOn 5/31/06, cowwoc [EMAIL PROTECTED] wrote: There seems to be a bug in this example. I select the last entry, andkeep on clicking on the first button. Eventually, it moves the entryfrom the right side to the left, even though I am clicking on the arrow pointing from left to right. I am

Re: [Wicket-user] Is there a shuttle(?) component?

2006-05-31 Thread Dirk Markert
52 minutes. Not that bad!Dirk2006/6/1, Igor Vaynberg [EMAIL PROTECTED]: fixed-IgorOn 5/31/06, cowwoc [EMAIL PROTECTED] wrote: There seems to be a bug in this example. I select the last entry, andkeep on clicking on the first button. Eventually, it moves the entryfrom the right side to the left,