Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread Eelco Hillenius
Wicket has markup inheritance and borders for layout/ templating and for putting in dummy content so that you can design a page as if it were complete with the templates etc. Eelco On 3/26/06, tcolar <[EMAIL PROTECTED]> wrote: > With JSF there are layouts, and that is helping a bit, so yes we h

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Igor Vaynberg
declare the choice like this:new DropDownChoice("id", selectionModel, choices)what this does is when you submit the form the choice component will call selectionModel.setObject(this, selected) in this case selected is the Integer that holds the selection. so the model will forward that selection to

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Vincent Jenks
Yes, we're definitely on the same page there.I'd rather see something like this:private Map selection = new HashMap();...where I pass the Configuration in as the first arg and the quantity in as the second. Now, help me understand how assigning a selection model like this:        form.add(new ListV

Re: [Wicket-user] create a photoalbum page

2006-03-26 Thread Igor Vaynberg
this approach does work, but it is very fragile. if the gridview's internals are refactored your implementation might break because gridview's internal component hierarchy might not match the one you have in your html. -IgorOn 3/26/06, Joshua Lim <[EMAIL PROTECTED]> wrote: I did something similiar

Re: [Wicket-user] create a photoalbum page

2006-03-26 Thread Joshua Lim
I did something similiar with the GridView, but I extended the GridView insteadin the html I added a label and an image ... HTML...                                                                                                                                                                  

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread Eelco Hillenius
Also, check out what Ryan did, which is now integrated into Wicket: http://jroller.com/page/wireframe?entry=preview_multiple_levels_of_components Eelco On 3/26/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Wicket has markup inheritance and borders for layout/ templating and > for putting in d

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread Eelco Hillenius
As could be expected, there's a discussion going on that document on Raible's blog: http://raibledesigns.com/page/rd?entry=java_web_frameworks_sweet_spots#comments I seem to get bonus points for being blunt ;) Eelco --- This SF.Net email is s

Re: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread Joshua Lim
errors mostly..On 3/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: this is not for /logging/ this is for wicket's feedback message mechanism - ie to display form validation errors back to the user, etc. -IgorOn 3/26/06, David Leangen <[EMAIL PROTECTED]> wrote: I generally use commons logging.I u

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Igor Vaynberg
you are not supposed to do /exactly/ what i told you, what i wrote was some pseudo code. if you do what i showed you, after the form submits you would have a map where keys are the product configuration ids and values are the quantities selected. is that not what you want??? a map:productConfigurat

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Vincent Jenks
OK, I must just be dense...because that doesn't sound at all like what I want to do.Why would I assign the model of IDs from the ListView to the quantity DropDownChoice list?I want numbers 0 through 9 in all of the selection lists...not the ID values from the Configuration objects in the ListView. 

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Igor Vaynberg
my solution was going to work fine because the id came from the product configuration you are iterating over in the listview. it is not encoded in the dropdown but rather in the model that you attach to it. take a closer look. -IgorOn 3/26/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: OK, I finally

Re: [Wicket-user] gnarly form model issue

2006-03-26 Thread Vincent Jenks
OK, I finally sat down and tried to work through this solution but what you've posted isn't going to solve my problem.On this page, what I *really* need to capture is the value from the dropdown lists for each of the configurations.  The dropdowns don't contain the IDs of the configurations like yo

[Wicket-user] RSS feed for each change on WIKI ?

2006-03-26 Thread ali
i see this on wiki of opera -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend th

Re: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread Igor Vaynberg
this is not for /logging/ this is for wicket's feedback message mechanism - ie to display form validation errors back to the user, etc.-IgorOn 3/26/06, David Leangen <[EMAIL PROTECTED]> wrote: I generally use commons logging.I understand that some of the logging levels are not used so much, but yo

RE: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread David Leangen
I generally use commons logging. I understand that some of the logging levels are not used so much, but you don't think that just sticking with a known interface (used in many other projects) is a good thing? Some people may prefer to use a third party logging service, no? Maybe I'm missing some

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread tcolar
With JSF there are layouts, and that is helping a bit, so yes we have footer, headers etc... and we try to keep those separated as much as possible of course. Those rearely change anyway, the main content is what changes the most. On the other hand the layout thing as a big drawbak, the designer

Re: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread Ayodeji Aladejebi
i use info & error. On 3/26/06, Timo Stamm <[EMAIL PROTECTED]> wrote: I am using info and error.Eelco Hillenius schrieb:> Hey Wicket users, please tell us whether or not you are using those > different levels. We are about to remove them for a next version, so> *if* you feel attached to them, you

Re: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread Potje rode kool
Hi, Got problems with using links, I have links like:PhotoAlbumI have the links inside a block. When I start the first link (Home) is removed which is ok.When I click on the second link (PhotoAlbum) it goes to that page.But than the first link is still removed and the other is link is a normal lin

Re: [Wicket-user] users: your opinions please! (was: feedback messages)

2006-03-26 Thread Timo Stamm
I am using info and error. Eelco Hillenius schrieb: Hey Wicket users, please tell us whether or not you are using those different levels. We are about to remove them for a next version, so *if* you feel attached to them, you should shout out now before it is too late. Eelco

[Wicket-user] Re: gnarly form model issue

2006-03-26 Thread Johan Compagner
why would you do that? why not let wicket handle all type conversions? and you only work with the real types? if you make a model with just strings then you have youre stri ngs and you can call wicket.Request.getParameters() to get a map with the key value pairs On 3/26/06, Vincent Jenks <[EMAIL

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread Juergen Donnerstag
On 3/26/06, Thomas Singer <[EMAIL PROTECTED]> wrote: > > then i just give them that back and they can use it to do all the pages > > (though of course with JSF, JSP mess it's barely even doable to have > > reusable templates IMO) > > Shouldn't the web-application framework provide a mechanism for t

Re: [Wicket-user] Java Web Framework Sweet Spots

2006-03-26 Thread Thomas Singer
then i just give them that back and they can use it to do all the pages (though of course with JSF, JSP mess it's barely even doable to have reusable templates IMO) Shouldn't the web-application framework provide a mechanism for the templates? What about the idea to have the "page general look"

[Wicket-user] Clean-HTML markup (Was: Java Web Framework Sweet Spots)

2006-03-26 Thread Thomas Singer
I could not disgree more with that, only geeks working on their ugly homepage say this. In large companies you have dev on one sides, web designers(on mac's) on another. The devs are paid higher, so the boss don't want them to spend there tine doing HTML, which they are not good at anyhow. The