-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys -- and earn cash
.
It is an internal method not meant to be used by users and because it
is internal it is well possible that it'll change over time. Please
see http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript for an
explanation on how to handle css and javascript.
Juergen
On 1/16/06, David Liebeherr [EMAIL
://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA)
---
This SF.Net email is sponsored
Problem solved.
I just forget to pack the DateToStringConverter into a StringConverter :-)
Cu,
Dave
David Liebeherr wrote:
Hi all,
i want to change the default behaviour of java.lang.Date to HTML-Input
field conversion from 2 Digit Year Numbers to 4 Digit Numbers.
I have tried it like
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto:Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN
Hi all,
is there a Tabed-Page component for Wicket avaiable?
Just like this: http://209.61.157.8:8080/taglibs/ ...
Thanks,
Dave
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA
I'll guess it would been a good idea to set up a link to the JavaOne
Presenttion on the Wicket-Homepage.
It's a good introduction i think.
Cu,
Dave
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA
wrote:
It's just that we kept on improving it (we're giving presentations
more often), so maybe it would be better then to put the actual
current presentation on-line.
Eelco
On 10/19/05, David Liebeherr [EMAIL PROTECTED] wrote:
I'll guess it would been a good idea to set up a link to the JavaOne
Hi all,
thank you all very much for your feedback to this topic!
Here is what i have to say in order to the feedback:
---Nick wrote:---
If the code can be generated, why doesn't the language or framework
simply do it for you in the first place? While I'm an XDoclet
committer, I'm of the
.
There are serveral other things which i don't like about it.
Cu,
Dave
Eelco
On 10/2/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi!
Today i read a pretty much interesting article about Ruby on Rails (RoR).
First things first. I don't like ruby.
But: The Aproach of Ruby on Rails is very
how to
implement it bc that comes later!)
Thanks,
Dave
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA)
---
This SF.Net email is sponsored by:
Power Architecture Resource
no discussion about how to
implement it bc that comes later!)
Thanks,
Dave
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA)
---
This SF.Net email is sponsored by:
Power
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA)
---
SF.Net email is Sponsored by the Better Software Conference EXPO
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Rent-a-Developer
David Liebeherr
Tel.: 0721 3504990
mail: [EMAIL PROTECTED]
SUN Certified Java Associate (SCJA
since i found out that setResponsePage does not set
the private field redirect (boolean) from the RequestCycle Object (if i
recall correctly).
But the following works:
setRedirect(false)
redirectToInterceptPage(...);
Thanks for your replies.
Dave
johan
David Liebeherr wrote:
Hi all!
I have
Link link = new Link(hlink) {
public void onClick() {
...
}
};
link.add(new Label(linkLabel, your text));
add(link)
should work.
I guess you simply forget that the linkLabel is inside the hlink...
Cu,
Dave
Dipu wrote:
Hi,
Is there any way i can dynamically specfy the HyperLink text ?
I think aspan.../span/a is better than just a.../a sice it
is clearer to (at least to me) to have a link which contains a label
than a link which is also a label.
So i think the way it's now is pretty nice and clear.
Cu,
Dave
Johan Compagner wrote:
that label should work (like others are
Hi all!
I have a problem with the redirectToInterceptPage.
I have this:
listItem.add(new Link(delete) {
public void onClick() {
setResponsePage((Page) null);
redirectToInterceptPage(new
to another page or set a new person to edit like
setModel(new CompoundPropertyModel(new Person()))
}
Eelco
David Liebeherr wrote:
I have a Page with a Form to edit an Person object.
The Person object is always part of a People-List.
The Form uses a CompoundPropertyModel.
It works fine when i edit
Liebeherr wrote:
Hehe, what is this supposed to mean? :-)
Add it to wiki or You damn fool there is already a Tutorial on wiki
for it so: RTFM!? :-)
Cu,
Dave
Jonathan Locke wrote:
wikiwiki!
David Liebeherr wrote:
I think you missuderstood me or i was not able to explain it clear
enough.
I
What do you think about it?
http://wicket.sourceforge.net/wiki/index.php/How_to_use_the_same_Form_for_editing_and_new
Any critic or suggestions?
Cu,
Dave
---
SF.Net email is Sponsored by the Better Software Conference EXPO
September 19-22,
Hi all,
i have some problems to understand the redirecting mechanism of wicket.
When i try something like this:
public class Testing extends WebPage {
public Testing() {
add(new Link(go) {
public void onClick() {
getResponse().redirect(/);
}
)
youre problem:
public Testing() {
add(new Link(go) {
public void onClick() {
setResponsePage(null)
getResponse().redirect(/);
}
});
}
or
setRedirect(true)
setResponsePage(new RedirectPage(/));
i thnk both should work..
David
Thanks works!
Why didn't i tought of casting null to the specific type i need :-)
Cu,
Dave
Igor Vaynberg wrote:
setResponsePage((Page)null) or setResponsePage((Class)null)
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
David Liebeherr
I have a Page with a Form to edit an Person object.
The Person object is always part of a People-List.
The Form uses a CompoundPropertyModel.
It works fine when i edit a given Person object.
So my question is now:
How can i implement it that the CompoudPropertyModel adds a new Person
object to
So what you want to do is:
input type=button wicket:id=cancel/
new Link(cancel,...);
???
When you use a link for a cancel button then the button action is
implemented as javascript onClick wich means that your site would not
work without JS and this is not a acceptable solution for most
Hi all,
is there a possibility to have something like !-- render-time: 0.14s,
respone-time: 1sec -- with wicket or with servelt engine in general?
I wna to monitor the performance of the server on production systems
that way...
Thank you very much,
Dave
Thank you. That was exectly what i was looking for!
Phil Kulak wrote:
Check out wicket-contrib-benchmark for a filter that does just that.
On 8/13/05, Seth Ladd [EMAIL PROTECTED] wrote:
On 8/13/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi all,
is there a possibility to have
Oh guys, why do you all make it so complicated?
We already had a very good solution like:
Button with onClick() and SubmitButton with onSubmit().
So i think this is much better and cleaner (and less confusing) than
what we got now.
This would be realy important to me since it would be a step
Can anyone please help me out with the Clustering with wickte and tomcat?
I tried everything which was mentioned in the Wiki-Page but nothing works.
The normal servlet session (I tried it with a normal JSP site) works in
cluster mode.
But wiket sessions don't work, even not with the patch from
class approach is messy.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
David Liebeherr
Sent: Friday, August 12, 2005 4:28 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Problem with CompoundPropertyModel
and multiple
Why don't we just make it the simple way like SWING and have a Button
that acts like a Button?
When i make a new button i will juust have something like
Button.onClick(), not Button.unSubmit() not Form.onSubmit() or what ever.
I don't want to care also how a button is implemented in HTML/HTTP.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Michael Jouravlev
Sent: Thursday, August 11, 2005 2:28 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Problem with CompoundPropertyModel
and multiple Submit Buttons
On 8/11/05, David
Hi all!
Is the problem with the session clustering buig in Tomcat solved in the
current alpha version?
What do i have to consider when i want to use clustering with wicket?
What is the Session.updateCluster() method for? I haven't found a
documentation that tells me...
Thanks,
Dave
Sorry, i don't understand fully.
Does this mean i have to simply wait for the final 1.1 version?
Thanks,
Dave
Jonathan Locke wrote:
head==1.1
do nothing
David Liebeherr wrote:
Johan Compagner wrote:
David Liebeherr wrote:
I think i will need to do it without a hardcoded redirect bc i
Hi!
I have a Form wich has two Submit Buttons (Update and Cancel).
The form uses a CompundPropertyModel to get the changes of the form automaticly represented in the
Model. But when i click the Cancel Button i have to discard the changes to the Model Object. How can
i do this?
I was
Hi!
I have a Form wich has two Submit Buttons (Update and Cancel).
The form uses a CompundPropertyModel to get the changes of the form automaticly represented in the
Model. But when i click the Cancel Button i have to discard the changes to the Model Object. How can
i do this?
I was
the default is true that would make more
sense to me. isImmediate is kindof nonsensical to my ear... how can a
button be immediate?
David Liebeherr wrote:
Hi!
I have a Form wich has two Submit Buttons (Update and Cancel).
The form uses a CompundPropertyModel to get the changes of the form
Okay, this fix isn't good since it can be only used with javascript.
So i changed it so the setImmediate(true) solution Jonathan mentioned.
I got a new idea for a rename of this method: setBypassChanges(). What about
that?
Cu,
Dave
David Liebeherr wrote:
Hi Johnatan,
i think immediate
:
i think someone could back-port it to 1.1 and/or 1.0 eventually.
for now, i think it's smarter to stick with the onEndRequest() method i
showed earlier.
HEAD can be pretty unstable. if you want to ensure this backport gets
done, i'd file a bug.
David Liebeherr wrote:
would it be a good idea
Hi all!
How can i set wicket to only use URL-Rewriting for sessions rather than cookies no matter if the
browser supports cookies or not?
Thanx,
Dave
---
SF.Net email is Sponsored by the Better Software Conference EXPO
September 19-22,
Hi all!
How can i end a session and start a new one for logout function for exmaple?
Is there a method in wicket for this?
Thanx,
Dave
---
SF.Net email is Sponsored by the Better Software Conference EXPO
September 19-22, 2005 * San
)
at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
at java.lang.Thread.run(Thread.java:595)
So what is wrong?
Cu,
Dave
Juergen Donnerstag wrote:
just invalidate the session
Juergen
On 8/7/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi all!
How can i end a session and start a new one for logout function
this:
@Override
protected void onEndRequest()
{
getSession().invalidate();
}
David Liebeherr wrote:
add(new Link(logout) {
public void onClick() {
getSession().invalidate();
redirectToInterceptPage(newPage
) { }
}
}
assuming 'app' is servlet name.
Maybe not the best solution, but working :)
-Matej
David Liebeherr wrote:
i got some problems to understand how this works.
I just want to provide a logout-link which invalidates the session
and then _automticly_ redirects the user
a component for the tag:
ul id=feedbackul
And that component should set itself visible on messages or not.
If you want to fix this please send in a patch :)
johan
David Liebeherr wrote:
Hi all!
When i have a feedbackPanel with no messages then there is still an
list (ul/ul) generated
alternating markup, create a Panel component for your
specific case. It works very elegantly, is more O.O. (I hate that word,
like the concept though), and opens up a lot of possibilities for reuse.
Martijn
David Liebeherr wrote:
wouldn't it be a good idea to allow the designer to add components
the web servers, so we had to
switch from our earlier file-based wiki.
/Gwyn
On 03/08/05, David Liebeherr [EMAIL PROTECTED] wrote:
I don't think it's a php related problem...
To mee it seems to be a problem of an db that is not responding properly or
another external
resource which the wiki depends
- I'm trying to get an fresher copy but
SF isn't helping at the moment...
/Gwyn
On 04/08/05, Nick Heudecker [EMAIL PROTECTED] wrote:
If things don't improve soon, I'm willing to temporarily host the wiki
on my server.
On 8/4/05, David Liebeherr [EMAIL PROTECTED] wrote:
Is there no alternative
I don't understand fully, can you explain it a bit detailed what you mean?
Thank you,
Dave
Johan Compagner wrote:
that will not work you will get things like:
span wicket:id=something wicket:class=my.class.MyClass/.
But i am not totally into that (yet)
johan
David Liebeherr wrote
Hi!
When i implement onSelectionChanged() and the javascript in the browser is deactivated the
onSelectionChanged() will never be called.
So i thought about what can be done in this case...
One opportunity could be to call the onSelectionChanged when the form is
submited.
This would make
Hi all!
When i have a feedbackPanel with no messages then there is still an list
(ul/ul) generated.
I tried to format my feedback list with css but the problem is that there is a emtpy ul markup when
no feedback messages are there. So is there a special reason why the ul markup is generated
for the
exception display page...
please report.
David Liebeherr wrote:
Hi guys,
...
getPages().setInternalErrorPage(ErrorPage.class);
getSettings().setUnexpectedExceptionDisplay(ApplicationSettings.SHOW_INTERNAL_ERROR_PAGE);
...
strange question, but: What happens when an Error occours
It simply doesn't :-)
Phil Kulak wrote:
This is an unrelated question, but how does the error page get access
to the exception?
On 8/2/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi guys,
...
getPages().setInternalErrorPage(ErrorPage.class);
getSettings().setUnexpectedExceptionDisplay
it or not.
i thought this was fixed long ago, but maybe that was just for the
exception display page...
please report.
David Liebeherr wrote:
Hi guys,
...
getPages().setInternalErrorPage(ErrorPage.class);
getSettings().setUnexpectedExceptionDisplay(ApplicationSettings.SHOW_INTERNAL_ERROR_PAGE
comment
with stack trace info
in it. for certain kinds of apps, this is nice for customer service or
internal helpdesk...
David Liebeherr wrote:
It simply doesn't :-)
Phil Kulak wrote:
This is an unrelated question, but how does the error page get access
to the exception?
On 8/2/05, David
question, but how does the error page get access
to the exception?
On 8/2/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi guys,
...
getPages().setInternalErrorPage(ErrorPage.class);
getSettings().setUnexpectedExceptionDisplay(ApplicationSettings.SHOW_INTERNAL_ERROR_PAGE);
...
strange question
an interface.
johan
David Liebeherr wrote:
Jonathan Locke wrote:
i don't think we need this johan. i think you can just set the
unexpectedExceptionDisplay
to SHOW_EXCEPTION_PAGE and then extend ExceptionErrorPage instead
of InternalErrorPage. the idea here, although it's not necessarily
well
Hi!
The Wiki seems to be very very slow to me and often even retuls in error messages like cannot
access db or atal error: Call to a member function on a non-object in
/home/groups/w/wi/wicket/htdocs/wiki/includes/ObjectCache.php on line 409.
I want to get an overview of the wicket-tags.
is such a thing i think.
I love java _and_ php, you just have to know when to use what.
Cu,
Dave
Phil Kulak wrote:
Ah, PHP. Gotta love it.
On 8/3/05, David Liebeherr [EMAIL PROTECTED] wrote:
OKay, thanx for the reply!
Martijn Dashorst wrote:
You might want to take a look at the support forums for sf.net
. Developers of
the proect may thing that something is quite easy, but if i'm a
developer of the project i know too much already to tell if a thing can
be easy understood.
But however thanks for your help,
Dave
Juergen
On 8/1/05, David Liebeherr [EMAIL PROTECTED] wrote:
Is there any
Hi!
When i try this:
getPages().setHomePageRenderStrategy(ApplicationPages.NO_REDIRECT);
I get this:
java.lang.NoSuchFieldError: NO_REDIRECT
What do i wrong?
Thanx,
Dave
---
SF.Net email is sponsored by: Discover Easy Linux
Yes, it compiles.
No. both use wicket 1.1-b2.
Damn, what did i wrong
Thanx,
Dave
Johan Compagner wrote:
and youre application does compile?
Then you are mixing compile time and run time versions of wicket
something like on compile time you use wicket1.1 and on run time 1.0
johan
David
to be:
Constructive critism.
Thanx again for your Work,
Dave
Juergen
On 8/2/05, David Liebeherr [EMAIL PROTECTED] wrote:
Juergen Donnerstag wrote:
Sorry, I guess except the javadoc there is no extra doc on it. What is
your question? Signin and Signin2 and not very complex.
I think
to implement it the way it is.
Juergen
On 8/2/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi Juergen,
Juergen Donnerstag wrote:
David,
yes you're right we have to work on the docs, has been on our list and
is under construction. Did you check out our wiki and (the outdated)
user guide
with what i said!
Don't challenge with me, challange with my arguments, please.
I would like to have an information/fact based discussion not a flame-war...
Cu,
Dave
Jonathan Locke wrote:
how long have you been programming?
David Liebeherr wrote:
Uh ohh, i started reading the dicussion about
Hi,
how is the Exception Tracking system actually working in wicket?
I just explain what would love to have:
an error() method almost everywhere and when i call this then a Custom
defined page should appear where i have something like a feedbackPane or
something. something like public
Sorry, but is that the way you react on critism?
Cu,
Dave
Jonathan Locke wrote:
i don't have a graphic equalizer that's going to compensate. i think
we're done talking.
David Liebeherr wrote:
Jonathan Locke wrote:
David Liebeherr wrote:
I quite long enough. But i guess because
Wow, very nice!
Nice UI look and feel btw...
Cu,
Dave
Matej Knopp wrote:
Just in case anyone would be interested, there's a pre-alpha version of
my application running at
http://ruzin.fei.tuke.sk:8080/knopp/app
There's still _much_ work to be done and the server very weak (it's only
fundamental about generics.
Cu,
Dave
Martijn
David Liebeherr wrote:
Hi all,
i read some posts about the dicsussion if generics shall be used in
wicket. But those posts are realy old.
So how is the state today with the generics thing?
I think for exmaple for ListViews it will be a very valuable
Johan Compagner wrote:
There has been over 10 years of Java development without generics. I
doubt that the introduction of generics makes the casts much unsafer
than the previous 10 years.
Sorry, but: Do you realy belive wroking without generics is as safe as
working with them?
There are
, unless someone wants to
start up and maintain a special Wicket branch for this.
Eelco
David Liebeherr wrote:
Johan Compagner wrote:
There has been over 10 years of Java development without generics.
I doubt that the introduction of generics makes the casts much
unsafer than the previous 10
Your abolutely right, man!
Exactly what i think...
Cu,
Dave
PS: All the claims for problems with retroweaver ppl telling lately are
not stable. I don't see where the problem would be to thake advantage of
the great 1.5 features. Especialy generics and annotations may be the
key thing that
Hi all,
i have a class Persons which has a method getPerson(int index) and
getSize() (which returns the number of Persons).
Now i want to display all the Persons of the Persons Object in a ListView.
How can i make a Model that fits my environment?
The Person class does not provide any List. So
Hi!
Is there any exmaple for using the Loop Component as Model in a ListView
avaiable?
Thankx,
Dave
---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward
:
Is there any exmaple for using the Loop Component as Model in a ListView
avaiable?
I guess you misunderstood something. Loop is similar but simpler than
ListView. Loop, like ListView is a component.
Juergen
On 8/1/05, David Liebeherr [EMAIL PROTECTED] wrote:
Hi!
Is there any exmaple for using the Loop
, isn't it?
Igor Vaynberg wrote:
Change your model to a property model, that way the value will be updated
when the form is processed.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
David Liebeherr
Sent: Monday, August 01, 2005 6:21 PM
Hi all,
i read some posts about the dicsussion if generics shall be used in
wicket. But those posts are realy old.
So how is the state today with the generics thing?
I think for exmaple for ListViews it will be a very valuable thing to
use generics there!
The need for doing unsafe casts
78 matches
Mail list logo