Re: [Wicket-user] Wicket stuff status

2005-10-13 Thread Juergen Donnerstag
> > - What is the status of wicket-library? I tried to build with maven and > after some file editing I stop because maybe is not really working; not working; didn't have time recently Juergen --- This SF.Net email is sponsored by: Power Arch

[Wicket-user] Wicket stuff status

2005-10-13 Thread Eduardo Rocha
About wicket-stuff: - What is the status of wicket-library? I tried to build with maven and after some file editing I stop because maybe is not really working; - scriptaculous-examples does not have web project structure, so I think is not easy to see the example. And there is not dojo-examples. -

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Martijn Dashorst
On 10/13/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote: Then what was Jonathan Locke talking about in this post from August?http://jroller.com/page/JonathanLocke/20050829 I believe he was talking on a personal note, without thinking through the consequences. His idea of moving it into extensions has

Re: [Wicket-user] No source in wicket-stuff

2005-10-13 Thread Martijn Dashorst
Ah... the $100 question! If you look at each sub-project on the website, each shows also a cvs-usage page. For the unreleased projects, the best way to see which modules are out there, look at this page:     http://cvs.sourceforge.net/viewcvs.py/wicket-stuff/ >From the CVS usage page from sou

RE: [Wicket-user] No source in wicket-stuff

2005-10-13 Thread Igor Vaynberg
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff co    ie   cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/wicket-stuff co wicket-contrib-dataview   -Igor     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick HeudeckerSent: Thursday, October 13, 2005 2:38 PMTo: wic

Re: [Wicket-user] No source in wicket-stuff

2005-10-13 Thread Nick Heudecker
Then where can I download the source for those other projects? On 10/13/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: The Wicket-Stuff project itself is merely a site generation project for the frontpage of the subprojects. It doesn't provide components itself but an umbrella for the other projec

Re: [Wicket-user] No source in wicket-stuff

2005-10-13 Thread Martijn Dashorst
The Wicket-Stuff project itself is merely a site generation project for the frontpage of the subprojects. It doesn't provide components itself but an umbrella for the other projects. Martijn On 10/13/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: I just checked out wicket-stuff from CVS and there a

[Wicket-user] No source in wicket-stuff

2005-10-13 Thread Nick Heudecker
I just checked out wicket-stuff from CVS and there are no Java source files.  I'm following the directions here: http://wicket-stuff.sourceforge.net/cvs-usage.html.  The web interface also shows no source files.  Should I be looking somewhere else?

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Andrew Berman
I tried that but got an error that said that "java.lang.IllegalStateException: Attempt to set model object on null model". I'll try again with what I know now and let you know. THanks again, Andrew --- Johan Compagner <[EMAIL PROTECTED]> wrote: > why would the parent model access that model. >

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
why would the parent model access that model. Do it the other way around, let the dropdownchoice model access the parent model. (by using a PropertyModel: new PropertyModel("dropdown1property" , parentModel)) or use one of the more sophesticated CompoundModels. The dropdown1property is a property

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Andrew Berman
If each dropdownchoice has its own model, how can the parent form access it? --- Johan Compagner <[EMAIL PROTECTED]> wrote: > one dropdownchoice has its own model or a > property/compound model of a > parent model (which ever parent it maybe , > form/page) > But the end result of that dropdowncho

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
one dropdownchoice has its own model or a property/compound model of a parent model (which ever parent it maybe , form/page) But the end result of that dropdownchoice must be On object that is of the same type of the objects that are in choices (the list of all objects that you can choose) Because

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
Then what was Jonathan Locke talking about in this post from August? http://jroller.com/page/JonathanLocke/20050829 If he hadn't implied there that a hibernate dependency was possible in extensions, I wouldn't have started this discussion. wicket-stuff works as the laboratory it's intended to b

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Martijn Dashorst
No, We won't put a hibernate or spring dependency into extensions. *Maybe* the things that are in wicket-contrib-data (note the absence of a specific product), but there definetely needs to be some reviewing of what is good and what is bad before we upgrade things into extensions. The dataview ha

[Wicket-user] Re: Modifying HTML "boolean" attributes

2005-10-13 Thread Nathan Hamblen
Thanks, I didn't realize this was valid (and even required) for XHTML. It might be worth a comment in AttributeModifier and elsewhere; I didn't realize Wicket preferred XHTML markup. Nathan Scott Sauyet wrote: Nathan Hamblen wrote: I need to enable and disable form components in subsequent re

RE: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Igor Vaynberg
> One thing I mean by integration is a built-in loadable > detachable model for Hibernate mapped objects, like what's in > contrib.data and contrib.database. Sorry, but if you want this feature in the ui layer then it is a tier argument as you should be doing this through a dao object. Wicket al

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
Fine. What about extensions? Phil Kulak wrote: Oh, well, I agree that the hibernate stuff should not be in the core. On 10/13/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote: One thing I mean by integration is a built-in loadable detachable model for Hibernate mapped objects, like what's in contr

Re: [Wicket-user] Modifying HTML "boolean" attributes

2005-10-13 Thread Martijn Dashorst
Scott is right. As the world wide web is moving to XHTML, these boolean attributes should be assigned, otherwise the documents aren't valid XML. Martijn On 10/13/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: Nathan Hamblen wrote:> I need to enable and disable form components in subsequent requests a

Re: [Wicket-user] Modifying HTML "boolean" attributes

2005-10-13 Thread Andrew Berman
In xml and xhtml however, you cannot have an attribute without an assigned value. Wicket is doing it properly. See here for more: http://www.w3schools.com/xhtml/xhtml_syntax.asp --Andrew --- Nathan Hamblen <[EMAIL PROTECTED]> wrote: > Is there any support for what W3C calls boolean > attribut

Re: [Wicket-user] Modifying HTML "boolean" attributes

2005-10-13 Thread Scott Sauyet
Nathan Hamblen wrote: I need to enable and disable form components in subsequent requests and I'm having a hard time with AttributeModifier. It insists on giving attributes a value, so I have it put in "TRUE" and it outputs 'disabled="TRUE"'. That's not really correct but it works. Because mo

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Phil Kulak
Oh, well, I agree that the hibernate stuff should not be in the core. On 10/13/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote: > One thing I mean by integration is a built-in loadable detachable model > for Hibernate mapped objects, like what's in contrib.data and > contrib.database. After that, you

[Wicket-user] Modifying HTML "boolean" attributes

2005-10-13 Thread Nathan Hamblen
Is there any support for what W3C calls boolean attributes? (Boolean attributes are those that shouldn't have an assigned value, they're just there or not there.) I need to enable and disable form components in subsequent requests and I'm having a hard time with AttributeModifier. It insists o

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Andrew Berman
Right, but the problem is that there is the potential for multiple dropdowns on the same page and I want all of them to update the form's model. I think I've done everything wrong. I'm really confused with how the model is being passed around. Since I have the form include a panel which includ

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
wait i see it a dropdown is a single select! you have to use the ListMultipleChoice  there you can set as model a list a dropdown only wants to have a single object. On 10/13/05, Johan Compagner <[EMAIL PROTECTED]> wrote: YoureObject is then the CategoryQuestionResponse (if i look at youre code)On

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
YoureObject is then the CategoryQuestionResponse (if i look at youre code)On 10/13/05, Johan Compagner <[EMAIL PROTECTED] > wrote:ok so what sits exactly in that List options? Are those just POJO's that do have a getId() ?? and also a getResponse().getText() ? can you for example do this: public

[Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Nathan Hamblen
One thing I mean by integration is a built-in loadable detachable model for Hibernate mapped objects, like what's in contrib.data and contrib.database. After that, you need an easy way for people to fill up list views with query results. If there weren't a use for base classes that help in thes

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
ok so what sits exactly in that List options? Are those just POJO's that do have a getId() ?? and also a getResponse().getText() ? can you for example do this: public class DropDownPanel extends Panel {    public DropDownPanel(String id, IModel model, List options, IChoiceRenderer choiceRenderer

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Andrew Berman
Oh, sorry. I attached the relevant code. I'm also having an issue trying to get the form model filled in. Maybe my code can shed some light on what I'm doing wrong Thanks, Andrew --- Johan Compagner <[EMAIL PROTECTED]> wrote: > No that was not what i meant. > > I just want to know what

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Phil Kulak
But DataView has NO dependencies. If you're worried about too many classes in the core, just add a DataView(String id, List list) constructor (using the ListAdapter) to DataView and get rid of ListView. On 10/11/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > I don't agree with that. You want the

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
No that was not what i meant. I just want to know what type of objects/list you set in the model and how youre choicerenderer looks like so what does the code looks like that makes a datachoice and its choicerenderer? johan On 10/13/05, Andrew Berman <[EMAIL PROTECTED]> wrote: Here's the deal.  

Re: [Wicket-user] Re: Confused about Models

2005-10-13 Thread Andrew Berman
Here's the deal. I am creating a dynamic form, meaning that the HTML elements are determined from the database. This allows me to create a survey with different questions and responses. As a result, the survey can have multiple drop downs or groups of checkboxes, etc. However, the one common t

RE: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Igor Vaynberg
Awesome job Gwyn! -Igor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gwyn Evans > Sent: Thursday, October 13, 2005 7:04 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Re: Standard for database > integration? (Please

Re: [Wicket-user] Download any type of file

2005-10-13 Thread Martijn Dashorst
As a general note: wicket is a community effort. The core developers need to split their time between building the best framwork possible, solving bugs, writing documentation, giving support on the mailinglists, discussing future designs. And *ALL* this in their free time. It would help a lot when

Re: [Wicket-user] Download any type of file

2005-10-13 Thread Ali Zaid
A good framework would provide good documentation too :), still I love wicket!!!On 10/12/05, Timo Stamm <[EMAIL PROTECTED] > wrote:Ali Zaid wrote:> Scott Man, Thanks allot, I will try it today, I wonder why a great framework > like wicket don't have a simple thing like FileDownloadLink() or other>

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Gwyn Evans
Now sorted, thanks to Elco & Martijn, so have managed to commit my changes. /Gwyn On 12/10/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > I just checked in a data generator that adds 35 rows by default to the > database. > And also a dataview jar compiled with 1.4 instead of 1.5 so it should work

AW: Re: AW: Re: [Wicket-user] Re: Re: Page lifecycle notification

2005-10-13 Thread sven
Yes, session expiration is one possible reason to close the Hibernate session. Completing a use case or conversation (i.e. finished booking process) is another. Sven > >And how do you make sure that the hibernate connection is ever closed? >You can't count on another http request, since it may

[Wicket-user] Re: Confused about Models

2005-10-13 Thread Johan Compagner
how did you exactly configure everything? it looks like it tries to get an id from an array so it looks like you have an array in your list/model On 10/12/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having a problem trying to get a dropdown to > work in a form. I have a simp

Re: [Wicket-user] Re: Standard for database integration? (Please!)

2005-10-13 Thread Martijn Dashorst
You are already committer for wicket-stuff. Just not an admin. Try to check the project out from ssh-cvs (or update your repository definition for wicket-stuff). MartijnOn 10/12/05, Gwyn Evans <[EMAIL PROTECTED]> wrote: Coincidentally, I've just got to the stage of having added someJavadocs and a