[Wicket-user] ListViews dynamic Forms

2007-07-11 Thread Jan Kriesten
Hi! After I had some chit-chat ;-) with Almaw today already on IRC I still am looking for a solution fot the following problem: Consider the following Form: form input name=description type=text value= / (required=true) --- ListView: n times input name=images type=text value=xy/ input

Re: [Wicket-user] ListViews dynamic Forms

2007-07-11 Thread Jan Kriesten
Hi, update on this topic: I've found a workaround to update the ListViews childrens Models by walking the Components below ListView with an IVisitor and do a updateModel() on all FormComponents. The question remains, if there's a way to do this without updating the Model? Best regards, ---

[Wicket-user] css-styles

2007-06-28 Thread Jan Kriesten
hi, i've come across the problem that many components add special css-files and that those headercontributions cummulate to a certain amount of lines with link rel=stylesheet... - in my case up to 12. so, the idea comes, having only one link line within the html-response and within that all

Re: [Wicket-user] [Fwd: Re: html wicket:id=html CSS]

2007-06-24 Thread Jan Kriesten
hi juergen, Solution: you simply must attach HeaderContributor.forCss to any other of your components (e.g. html in your code) hmm, that i can do for own components, it'll break components like the wicket tree, too! also, this doesn't make sense, as when there is _no_ wicket-id in the

Re: [Wicket-user] [Fwd: Re: html wicket:id=html CSS]

2007-06-24 Thread Jan Kriesten
hi juergen, I added my comment to the other thread obviously discussing the very same topic. yes, have seen that. what i still don't understand is, why did it work when there was no wicket:id in the html? only the wicket:id broke header-contribution. regards, --- jan.

Re: [Wicket-user] html wicket:id=html CSS]

2007-06-24 Thread Jan Kriesten
hi juergen, yes, this a valid comment. The html component is causing the problem. The header contribution code has obviously been designed in a way that it expects to be the very first contribution to the pages output markup. With the html component it no longer is, since the html tag must

Re: [Wicket-user] html wicket:id=html CSS]

2007-06-24 Thread Jan Kriesten
hi juergen, I've reverted the change to WebPage, so it should work. And I think a found the reason why HtmlHeaderContainer didn't work as expected. I changed that too, all junit tests are still fine. I'll committ it in a minute. yep, great job! seems to work fine now - thanks! :-) you've

[Wicket-user] [Fwd: Re: html wicket:id=html CSS]

2007-06-22 Thread Jan Kriesten
copy to the list, as sourceforge doesn't allow zip-attachments atm. Original Message Subject: Re: [Wicket-user] html wicket:id=html CSS Date: Fri, 22 Jun 2007 08:53:23 +0200 From: Jan Kriesten [EMAIL PROTECTED] Hi Juergen, I'll try my best to find some spare time to do

Re: [Wicket-user] html wicket:id=html CSS

2007-06-21 Thread Jan Kriesten
hi, could someone verify that the given code doesn't work for him, too? i'm lost a bit in this matter. thanks! best regards, --- jan. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE

Re: [Wicket-user] html wicket:id=html CSS

2007-06-20 Thread Jan Kriesten
hi juergen, actually, your example code doesn't add any css but only javascript. ;-) i attached a simple example which shows the problem. the page - if correctly rendered - should have a yellow background, but hasn't. the line add( HeaderContributor.forCss( CSS ) ); doesn't lead to the

Re: [Wicket-user] Wicket Google Guice integration is in trunk

2007-06-20 Thread Jan Kriesten
Hi Al, I've just implemented Google Guice integration for Wicket 1.3.x. that's simply just great news! :) Thanx for your efforts on this! :)) Best regards, --- Jan. - This SF.net email is sponsored by DB2 Express

[Wicket-user] html wicket:id=html CSS

2007-06-19 Thread Jan Kriesten
Hi, I'm not sure, I remember something that has been said about giving html an id and problems with HeaderContributors: If I give the html a wicket:id to modify the 'lang'-attribute, it seems that wicket isn't able to handle contributions to the header correctly any more (in my case it broke

Re: [Wicket-user] html wicket:id=html CSS

2007-06-19 Thread Jan Kriesten
hi juergen, Please see the jira issue. I was not able to reproduce it with the latest 1.3 trunk. SimplePageTest_13 at least shows that header contributions seems to work ok. If you could modify this test and proof your point, that would be very helpful. i actually tested this with matej

Re: [Wicket-user] html wicket:id=html CSS

2007-06-19 Thread Jan Kriesten
hi juergen, just looked at SimplePage_13.[html|java] - there is no HeaderContributor.forCss(css) which couldn't work... the modifiers for the html-attributes do work, that's not the problem. maybe you missed the point? best regards, --- jan.

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Why wicket.markup.html.form.Radio component does not extend FormComponent? I wanted to add a FormComponentUpdatingBehavior to this component and it is not possible because it does not extend the FormComponent, but a WebMarkupContainer. i've got a similar issue and this topic is

Re: [Wicket-user] [Question] wicket.markup.html.form.Radio

2007-06-15 Thread Jan Kriesten
hi alex, Thank you Jan! Sad thing is that 1.2.x branch will never support this feature. actually, if you're up to building it from the sources yourself, modifying Radio to work as you expect is pretty easy. just remove the 'final' from FromComponent.getValue() and let Radio extend

Re: [Wicket-user] wicket did not make the grade.

2007-06-11 Thread Jan Kriesten
hi, What I do: - checkout the directory wicket-examples try checking out not only wicket-examples but the whole trunk. then you should have all dependencies. regards, --- jan. - This SF.net email is sponsored by DB2

Re: [Wicket-user] Wicket Acegi ?

2007-05-31 Thread Jan Kriesten
hi johan, hmm then i have to stopp working on it right now... because i am already passed the hour again good work! thanx for doing so! have you seen my example how to use acegi without using filters? best regards, --- jan.

[Wicket-user] Wicket Acegi - small implementation

2007-05-30 Thread Jan Kriesten
huhu! i just gave acegi with your wicket-role-model a try and came up with this quick implementation (2 java 1 xml-file): http://wicket.silberlicht.de/misc/acegi-wicket.tar.gz (2k size) you need the acegi-framework from http://www.acegisecurity.org/ and the spring.jar (acegi needs this for

[Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
Hi, I followed this thread with great interest and just found out about Swarm. What makes me wonder is, using Acegi as a Filter means not to use component-based authorization. But it should be possible to integrate Acegi into the application and all Filter-gotchas should be resolvable. Or am I

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi maurice, i didn't want to stat a framework war... ;-) my point was just to understand why you started a new thing. i'm currently in the process of selecting a authentication/authorization framework, too. it should be highly flexible, so it can integrated in very different environments.

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, You're right, if you really want, you can use URL based authorization. you got me wrong, i was thinking to integrate acegi into the app like wasp/swarm is doing and so have an acegi-interface that can be used on component-level. so, best of both worlds. best regards, --- jan.

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi martijn, what i really dislike about acegi is the spring/xml-stuff. but that's another story... ;-) If you take the spring/xml and the URL based authorization out of Acegi, what is left? Not a stab at Acegi, just asking. hehe - now i'm having to argue pro acegi where i'm not yet

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, It's definitively possible to use Acegi ACL stuff with Wicket's auth model. You'll have to build it yourself, but once you know you're way around Acegi and you exactly what your requirements are, implementing it shouldn't be too difficult. see my post to martijn - having the

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, Yeah, makes sense. Contributions are welcome of course. We don't mind having competing implementations; it'll only make them better :) hehe, i'll keep you posted. ;-) --- jan. - This SF.net email is

[Wicket-user] FormComponentLabel for Radio?

2007-05-03 Thread Jan Kriesten
hi, isn't it possible to create a FormComponentLabel for Radio?? best regards, --- jan. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

[Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Jan Kriesten
hi, is there a way to use property expressions to get an object from a complex model? my problem is, that i'm building the form dynamically based on a structure _and_ the model - the model contains the relevant data, the structure defines the form elements. so, building the form depends

Re: [Wicket-user] getting object from model using propertyExpression

2007-04-20 Thread Jan Kriesten
hi eelco, no, you misunderstood me - i need to access the model /before/ my components are created (cause the number of components to be created depends on the model). i found the helper class myself: Object property = PropertyResolver.getValue( binding, model.getObject() ); but thanks for

[Wicket-user] html lang=en -- change lang?

2007-04-20 Thread Jan Kriesten
hi, is it possible to change the attributes of the html-tag, too? best regards, --- jan. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

[Wicket-user] have wicket ignoring compononts/tags

2007-04-16 Thread Jan Kriesten
hi, is it possible to have wicket configured to ignore references which can't be resolved? e.g. trying to add a component which doesn't exist in the markup (ok, this could be done by catching the thrown exception, but only if the 'add'-method is used) or not adding a component which is

[Wicket-user] dynamic forms panels

2007-04-12 Thread Jan Kriesten
hi, i've followed the discussions on the list about dynamic forms and the solution using panels. but actually i'm doing myself hard getting this concept implemented. i have done the following successfully using stripes and freemarker, using recursions in depth, but wicket is another story: i

[Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
hi, i'm quite new to wicket and am impressed. :-) i just stumbled over the i18n/l10n questions, which are relevant in most of our projects. if anyone could enlighten me how the following can be resolved with wickets: we have a database driven approach localizing our application. so there is a

Re: [Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
hi marc-andre, Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. ah, yes - that solves on part, another problem still remains, how to direct link (from extern) to a specific language? that's why i asked for distinct url/language paths.

Re: [Wicket-user] available application locales

2007-04-04 Thread Jan Kriesten
. Marc On 4/4/07, *Jan Kriesten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi marc-andre, Add a Link, in the onClick method, add the code to set the local setting for this session. That's it. ah, yes - that solves on part, another problem still