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
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, ---
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
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
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.
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
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
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
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
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
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
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
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
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.
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
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
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
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.
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
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
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.
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.
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
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
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
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
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
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
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
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
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
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
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.
.
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
34 matches
Mail list logo