()));
item.add(new DropDownChoice (paxProZimmerart,
terminDetail.getMoeglichePaxAnzahlen()));
}
}
});
Johan Compagner wrote:
what kind of exception?
Johannes Fahrenkrug wrote:
Hi,
I'm new to Wicket and I have a question. I need
),
terminDetail.getMoeglichePaxAnzahlen()).setVisible(visible);
}
Martijn
Johannes Fahrenkrug wrote:
I attached the exception and this is the code I use to build the list:
add (zimmerartenList = new ListView (zimmerartenList,
termin.getTerminDetails()) {
private static final long
Hi,
It seems that updateModel() is called for invisible child components.
This causes an exception in the attached use case.
An IMHO crude workaround is to make all children explicitly invisible
instead of just setting the invisible state on the parent. However, the
FormComponent.IVistor in
not be included in updating and validating, but they might in
the current situation. Is that what you mean Johannes?
Eelco
Juergen Donnerstag wrote:
I thought we fixed that in HEAD. Which version are you using?
Juergen
On 7/13/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
It seems
Hi,
it's me with my DropDownChoices again
Now I'm at the point where I have to validate the user input.
I have a (dynamic) list of DropDownChoices. It can have a variable
number of rows and each row has a DropDownChoice.
The user has to set at least one of the DropDownChoices to a non-zero
rewritten for generating id/display
values.
johan
Johannes Fahrenkrug wrote:
Hi,
I have another question about DropDownChoices.
I have a listview an in each row I have to fill 2 DropDownChoices.
The code looks like this:
item.add(new DropDownChoice(zimmerart, new PropertyModel(person
Hello Wicke(t/d) users,
I'm wondering if someone already solved this one or if there is a best
practice for it:
I have to display a table with a variable number of rows and a variable
number of columns.
The purpose of it is this: I am writing a booking application and every
trip can have a
Hi,
this is my problem:
I subclassed the TextField and created a TextFieldWithErrorIndicator
class. I overrode the onRender method like so:
@Override
protected void onRender() {
String clazz = this.hasErrorMessage() ? error : no-error;
getResponse().write(span class=\ + clazz +
Hi,
shouldn't the TextField, when you add a TypeValidator of type Date to
it, check if the entered date is valid?
I can enter the 31st of February, or even the 32nd.
And I have to set the Locale for the whole session in order for it to
accept the German date format. When I only pass a new
simply checks if Java can cast the
entered value into the given type... but for a date that might not be
the desired behavior... I know that the datePicker would be an option,
but I think that the datePicker only works with JavaScript enabled...
- Johannes
Johannes Fahrenkrug wrote:
Hi
Eelco,
I opened issue number 1273827 for this.
- Johannes
Eelco Hillenius wrote:
That's probably the lenient feature of DateFormat. Thought that was
off by default. Could you open an issue please?
Eelco
On 8/25/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Ok, new insights
Should I maybe post this again on the developers list?
- Johannes
Johannes Fahrenkrug wrote:
Hi,
this is my problem:
I subclassed the TextField and created a TextFieldWithErrorIndicator
class. I overrode the onRender method like so:
@Override
protected void onRender() { String
Hi,
one simple question: How do I manually get a feedbackPanel to display an
errorMessage?
I have to catch an error that I can't catch with a validator, hence I
have to set the error myself. I tried feedback.error(foo)
but the feedbackPanel doesn't display a thing (the feedbackPanel itself
. nevermind. It's not the feedbackPanel that didn't work, it's
Eclipse's hot code replacement (or my brain, whichever)
Johannes Fahrenkrug wrote:
Hi,
one simple question: How do I manually get a feedbackPanel to display
an errorMessage?
I have to catch an error that I can't catch
Hi,
I'm sorry that I have to nag again, but this issue is pretty important
to our project and it would be great if someone could take a look at
this issue (look at the message history below). Thank you very much in
advance, guys!
- Johannes
Johannes Fahrenkrug wrote:
Sure, here we go
Thank you so much for looking into this. It works like a charm now :).
By default, optimizeItemRemoval is set to false, which means that
ListView replaces all child components by new instances. The idea
behind this, is that you allways render the fresh data, and as people
usually use ListViews
Davide,
you have to attach a model to the drop downlist that will hold the state
of each list.
you could to this:
create a MyDate class with integer fields for day, month, hour and
minute and the respective getters and setters.
then change your method so it takes a PropertyModel:
private
Very nice! Thank you.
- Johannes
Martijn Dashorst wrote:
From the Ajaxian blog I got this link:
http://www.howtocreate.co.uk/jslibs/
Very handy...
Martijn
---
SF.Net email is sponsored by:
Tame your development challenges with
Hmmm
have you maybe just created the Border but not added it to the form/the
page using add()?
- Johannes
Davide Savazzi wrote:
On 9/16/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
you have to attach a model to the drop downlist that will hold the state
of each list
Hi,
I have the following listview:
Person 1
[ ] No insurance
[ ] insurance 1
[ ] insurance 2
[ ] insurance 3
Person 2
[ ] No insurance
[ ] insurance 4
[ ] insurance 5
[ ] insurance 6
Person 3
[ ] No insurance
[ ] insurance 7
[ ] insurance 8
[ ] insurance 9
Every
to extend from CheckBox too, so instead of
using attribute modifiers you can also decide to do this in
onComponentTag.
Eelco
On 10/17/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
I have the following listview:
Person 1
[ ] No insurance
[ ] insurance 1
[ ] insurance 2
[ ] insurance
Hi,
is there a way to make TextFields readonly (you know, set the readonly
attribute inside the input / tag).
I grepped through the wicket sources and couldn't find the string
readonly being used anywhere, so I figured I better ask :).
- Johannes.
.
Johan Compagner wrote:
use a attributemodifier for setting readonly=readonly attribute on
youre textfield.
johan
On 10/21/05, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
is there a way to make TextFields readonly (you know, set the
readonly
Hi,
I'm wondering why RadioChoice.onComponentTagBody() is declared as final.
It would be great if I could override that method. Here's why:
I have custom classes for TextFields, DropDownChoices and so on. These
custom classes draw a span class=error or a
span class=no-error around the
I'm also +1 for replacing ognl.
I'm not trying to say that Wicket is slow, not at all, but any speed
improvement is .an improvement :)!
- Johannes
Johan Compagner wrote:
Hi
I have written a replacement of OGNL when i test it with a very simple
test (The FormInput example)
then i see
Hi,
We're building an online booking application using Wicket. Our company
offers trips through 2 different brands. The application will be exactly
the same, but needs 2 different designs.
I was nice and searched the archive for this topic and came up with the
get/setVariation solution, but I
what you are looking for is Component.getStyle()
and Session.getStyle().
See in MarkupCache.getMarkup() ==markupKey(). According to this the
format should be name_local_style.html. (Have not tested it so).
Christian
On Tue, 22 Nov 2005 11:37:12 +0100, Johannes Fahrenkrug [EMAIL PROTECTED]
wrote
Works like a charm!
getSession().setStyle(soylent);
will use PageName_soylent.html if it exists, otherwise it will use
PageName.html.
- Johannes.
Johannes Fahrenkrug wrote:
Ok, thank you Christian and Juergen, I'll try using style!
- Johannes.
Juergen Donnerstag wrote:
Yes, Christian
Hi,
I have built several forms using Wicket. Just out of curiosity I tried
to enter the following line into a text field:
scriptalert('Soylent Green Is People');/script test=
When I reload the form, the JavaScript code gets executed. Shouldn't
such special characters be converted to HTML
,
Johannes.
johan
On 11/24/05, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I have built several forms using Wicket. Just out of curiosity I
tried
to enter the following line into a text field:
scriptalert('Soylent Green Is People');/script
()
: Strings.escapeMarkup(invalidInput);
( Please note that Component.getModelObjectAsString() (html)
escapes the value of the model)
HTH,
--
Laurent
On 11/24/05, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL
Hi,
I had a conversation yesterday with some webdesigners that looked at the
html code that my wicket application produces.
They said that a lot would have to be changed in order for it to be
XHTML compliant. One thing they said was that you should only use tables
when it really is a table
That's true :)
L.J.J. - the merciless Wicket bughunters. Resistance is futile. ;-)
- Johannes.
Laurent PETIT wrote:
On 11/25/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Well, I also had a share in pointing it out :)
Yeah, with you pointing the bugs and me suggesting
Juergen Donnerstag wrote:
Not without ListView, but ListView is not all limited to tables. You
can attach it to any tag div, span, ul.
Great! That's good to know, thank you.
XHTML compliance, here we come!
- Johannes.
Juergen
On 11/25/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote
Dorel Vaida wrote:
What does ListView have to do with your HTML output ? From what I
know, I've repeated divs, spans, not only TRs with ListView so I
suppose it applies virtually to any HTMl tag so it depends on you to
make it XHTML compatible. I suppose :-)
Correctemundo: That's what
Thank you for your reply.
Eelco Hillenius wrote:
The logical place here would be your Application/ WebApplication
object.
I looked into that, but are these values accessible from every page?
- Johannes.
On 12/4/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
I have a short
Eelco Hillenius wrote:
Yep. You can get the application from several places, like
Component.getApplication (and note that Pages are Components too) or
as a falltrhough, when in a request, you can always call
Application.get() (slightly less efficient though, as that is done by
threadlocal map
Hi,
what about the KDE browser Konqueror? Aren't Safari and Konqueror both
based on WebKit?
Maybe Konqueror has the same problem...
- Johannes.
Ralf Ebert wrote:
Hi,
I tried to investigate this problem a bit further after a user
complaining about a bug which seems to be related to this (I
to fabricate a working
example and post it here as soon as I am successful.
- Johannes.
Juergen Donnerstag wrote:
What is the error message? What exactly fails? At a first glance it
looks good to me.
Juergen
On 1/2/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
I have a Page with one
this is the reason. May be you can copy the exception,
that sometimes helps.
Missing close tags? Quotes not closed? Are you able to preview the markup?
Juergen
On 1/2/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Juergen,
you're right, my simplified example does work. my slightly more complex
real
Hi,
how do I remove an AttributeModifier? I know how to change the value,
but how to I remove it completely?
The context: I have a DropDownChoice, and I want to set
disabled=disabled which works fine. But now I want to completely
remove disabled=disabled from the tag.
- Johannes
That's it! Thanks a lot! :)
- Johannes.
karthik Guru wrote:
can you try component.setIgnoreAttributeModifier(false);
On 4/4/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
how do I remove an AttributeModifier? I know how to change the value,
but how to I remove it completely
Hi,
It took me a while to track down why Opera makes my Wicket application
look like crap.
Here's why:
when you use a css class like
td.someclass
and apply that class to a td tag within a table that is surrounded by
wicket:border tags, Opera doesn't apply the CSS class to the td tag.
If you
Juergen,
that did the trick! Thank you!
- Johannes
Juergen Donnerstag wrote:
some where in the the settings. ISettings.setStripWicketTag(boolean)
or something like that
Juergen
On 5/4/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi,
It took me a while to track down why Opera makes
Yes. See here:
http://www.wicket-wiki.org.uk/wiki/index.php/Remove_wicket_markup
Thank you.
But your HTML is broken. There is no doctype declaration and the style
tag is incomplete.
I know, it's just a demostration, not the real thing.
If you declare the document as XHTML, the
Btw, Opera 9.0beta doesn't have this problem anymore.
Hi,
It took me a while to track down why Opera makes my Wicket application
look like crap.
Here's why:
when you use a css class like
td.someclass
and apply that class to a td tag within a table that is surrounded
by wicket:border tags,
I got the message, but Thunderbird thinks its junk :)
Alvar Lumberg wrote:
Hello, this is a test e-mail. I'm sending it because two previous
messages didn't get through. Nothing to see here, press delete.
Sorry.
---
Using Tomcat but need to
Hi,
is it possible to show different pages dependent on what IP the request
comes from?
- Johannes
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server
or set a different style
both dependend on the ip you get then yes.
johan
On 7/4/06, *Johannes Fahrenkrug * [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
is it possible to show different pages dependent on what IP the
request
comes from?
- Johannes
://www.rawbw.com/~davidm/tini/TiniHttpServerDemo/servlet/SnoopServlet.html
http://www.rawbw.com/%7Edavidm/tini/TiniHttpServerDemo/servlet/SnoopServlet.html
On 7/4/06, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Johan,
Thank you. Actually what I really need
just get the real http request (just cast the wicket.Request to
WebRequest and get the HttpRequest from it)
On 7/5/06, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Thank you very much, Johan. I failed to mention that I'm still on
Wicket-1.1.1
Hi!
I've asked so many questions on this list and got so many friendly and
helpful answers, it's time to give something back.
This Saturday I migrated a big web application from Wicket 1.1.1 to
1.2.1. I was using the contrib-dojo Tooltip class, which doesn't work
with 1.2, so I had to find
Gwyn Evans wrote:
10) There is no step 10
11) Agree to suggestion in step 10 and do it :)
I'll do that right now.
How about Document it on the Wiki! :-)
/Gwyn
On 08/08/06, Johannes Fahrenkrug [EMAIL PROTECTED] wrote:
Hi!
I've asked so many questions on this list and got so many
Ok, I added the guide to the wiki:
http://www.wicket-wiki.org.uk/wiki/index.php/How_to_add_tooltips
Enjoy!
- Johannes
Johannes Fahrenkrug wrote:
Gwyn Evans wrote:
10) There is no step 10
11) Agree to suggestion in step 10 and do it :)
I'll do that right now.
How about
That's quite a neat idea!
It shows what beautiful applications you can build with Wicket.
You might want to throw in a custom ErrorPage, though:
http://www.voicetribe.com/app/user/DvdDetails/discId/6259173670902569022%27
- Johannes.
Nathan Hamblen wrote:
Voicetribe is in open beta. (Now you
How about Figurative Speech :)
I'd change the name rather sooner than later: If Woogle becomes
popular, Google might give you a call. And they'd have a point, too: You
are offering a very similar service (search, that is), with exactly the
same look of the logo (probably copy and pasted), with
of ideas.
- Frank
On 8/15/06, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
How about Figurative Speech :)
I'd change the name rather sooner than later: If Woogle becomes
popular, Google might give you a call. And they'd have a point,
too: You
How about setVisible(false)?
Michael Welter wrote:
I have an html table with several columns. One column is an audio
recording:
tr wicket:id=responses class=even
tdembed wicket:id=recording type=audio/x-wav src=
height=50 width=100 autostart=false//td
tdspan
Juergen, you win. Igor and I were a minute too late ;-)
Juergen Donnerstag wrote:
embed.setVisible(false)
Juergen
On 10/26/06, Michael Welter [EMAIL PROTECTED] wrote:
I have an html table with several columns. One column is an audio
recording:
tr wicket:id=responses class=even
Hi,
I'm not sure because I haven't used it yet, but the components in
wicket.markup.html.tree or wicket.extensions.markup.html.tree
could be what you're looking for.
- Johannes
[EMAIL PROTECTED] wrote:
Hi there !
I am new in wicket developement and currently setting up my first project.
Hi!
I'd like to prevent brute force attacks on the login page of my wicket
application. What would be the best approach? This is what I'm thinking
about doing: Record when the last request for the loginpage from a
certain IP came in and only handle the request when at least a second or
two
Bachl wrote:
Bad idea - some ISPs and proxys would be locked out... cachapta would be
solution of choice here.
Regards
Korbinian
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von Johannes Fahrenkrug
Gesendet: Montag, 6. November 2006 14:01
, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi!
I'd like to prevent brute force attacks on the login page of my wicket
application. What would be the best approach? This is what I'm
thinking
about doing: Record when the last request
... that would be extremely effective against scripts.
- Johannes
.rue
Johannes Fahrenkrug schrieb:
Hi!
I'd like to prevent brute force attacks on the login page of my wicket
application. What would be the best approach? This is what I'm thinking
about doing: Record when the last request
AsyncWeb it would be quite another story of course...
Hmmm, that does look very promising!
- Johannes
Regards,
Erik.
Johannes Fahrenkrug schreef:
That's not a bad idea... that would mean delaying a response for a
second or two _every time_ a false login happens... That would
Hi,
I have a best practice question: I have a page with several panels,
each of them having a few Labels. This page shows a summary of the
customer infos. Each panel has a Change link that opens a page to
change the data. Since the panels can be embedded in different pages, I
want to go back
) {
saveLink.onclick() { savechange(); setresponstpage(back); }}}
-igor
On 11/27/06, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Hi,
I have
I'd also love to see some code and I'd like to offer my help, because
I'm working on a new Wicket project and was already looking for a Java
CMS that I could integrate into my project a Wicket CMS would be a
perfect fit!
- Johannes
Ted Roeloffzen wrote:
Hi all,
As some of you may
Martijn,
it would be great to meet up.
I have developed a complex online booking application for the travel
company I work for (with Ajax and all).
It went live last November and has been working great! I'd love to talk
about it at Apachecon (if I'll be able to attend, that is).
I think a big
This is OT, but how come the website for the conference of a group which
main focus is web technologies is so ugly?
And I get a blank page when I click on Registry
Martijn Dashorst wrote:
As you all probably know, the Apache conference Apache Con Europe 2007
is getting closer (read more
I think this message got lost under the appall for the ApacheCon website ;-)
What kinds of real world applications did you have in mind? How are you
planning to go about presenting them?
- Johannes
Johannes Fahrenkrug wrote:
Martijn,
it would be great to meet up.
I have developed a complex
Hi,
I have a quick question: my online booking web application depends on
sessions. When one user is at a certain step of the session process and
opens a new tab/window in the same browser, the same session is used and
no new session is created.
Is it possible to have multiple sessions from
) but
maintain state in the Wicket components. Make sure that your components
are versioned (defaults to on).
Regards,
Erik.
Johannes Fahrenkrug wrote:
Is it possible to have multiple sessions from the same client
Since the registry page is blank I can't find out how much the prices
are. Can anyone enlighten me?
- Johannes
Martijn Dashorst wrote:
As you all probably know, the Apache conference Apache Con Europe 2007
is getting closer (read more about it here: http://apachecon.com)
We can try to
Hi,
I had a strange error I have a Panel with 3 radiobuttons. They let
me choose whether I want to pay by debit or credit or if I want to be
billed later.
When I click on either of the radiobuttons, the corresponding input
fields get enabled via JavaScript.
On the Wicket side, I add
new
Oh, sorry. I'm using version 1.2.4.
Johannes Fahrenkrug wrote:
Hi,
I had a strange error I have a Panel with 3 radiobuttons. They let
me choose whether I want to pay by debit or credit or if I want to be
billed later.
When I click on either of the radiobuttons, the corresponding
Yes, that was also the first thing I thought of: I checked it with
livehttpheaders and yes: they are being submitted by the browser.
- Johannes
Igor Vaynberg wrote:
can you check if the value is actually being submitted by the browser?
-igor
On 1/22/07, *Johannes Fahrenkrug* [EMAIL
On 1/22/07, * Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Yes, that was also the first thing I thought of: I checked it with
livehttpheaders and yes: they are being submitted by the browser.
- Johannes
Igor Vaynberg wrote:
can you check
It was neither a bug nor a feature: I'm simply an idiot. I was using a
custom TextField which overrides isEnabled()... D'Oh!
Sorry for wasting your time with this, Igor!
- Johannes
Johannes Fahrenkrug wrote:
I will. I'm already looking at the FormComponent code. I have to go now,
but I'll
never heard of it, either :)
Igor Vaynberg wrote:
are you using Page.before/afterCallComponent? and if so what is the
usecase?
-igor
-
Take
.
Johannes Fahrenkrug wrote:
Is it possible to have multiple sessions from the same client?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get
Hi Michel,
we are using Wicket for our online booking application. It has been live
and running smoothly since November 2006.
You can take a look here:
https://www.gebeco.de/?rnr=2010004
It's in German, though... oh, and the loading times (which could be a
bit snappier in some places) are due
You might also want to take a look at the @media CSS directive.
This enables you to give the page a different style depending on
whether you want to display it on the screen or print it, ie:
style
@media print {
#hidewhenprinted {display:none; height:0}
}
@media screen {
Hi,
I was wondering if any of you guys are going to be at the CeBIT this
year. It might be nice to meet up...
- Johannes
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll
a place for software development / web frameworks
If you want to meat up, ApacheCon in amsterdam beginning of may would
be a good choice.
johan
On 3/5/07, *Johannes Fahrenkrug* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I was wondering if any of you guys are going
://lists.sourceforge.net/lists/listinfo/wicket-user
--
Johannes Fahrenkrug
Tel:+49 (0)431 5446 246
Fax:+49 (0)431 5446 248
E-Mail: [EMAIL PROTECTED]
Gebeco GmbH Co KG
Holzkoppelweg 19
D-24118 Kiel
Handelsregister Kiel Nr. A 3964
Steuernummer: 19 285 65407
GeschÃ
You can probably avoid it by using cookies instead (if that's an option
for you).
- Johannes
Thomas Singer wrote:
I have mounted the home page as /index.html. When showing the page at
http://localhost:8080/ (application context is /), Wicket 1.2.6 appends the
jsessionid parameter:
87 matches
Mail list logo