hi, all
I have got a problem here.
I have a modal window which contains a form.
When i submit that form i get a error message as shown below:
WicketMessage: Method onFormSubmitted of interface
wicket.markup.html.form.IFormSubmitListener targeted at component
[MarkupContainer [Component id =
on of your components doesn't have a model where the data that comes from
the browser
can be stored into.
so you use something like this:
TextField field = new TextField(textfield)
instead of this:
TextField field = new TextField(textfield, new Model())
that constructor without the model is
what is clearing a checkbox?
If the data that somebody entered was false.. (so that was the value that
was entered)
and then you call clear what is then the value? still false? But that is not
cleared. That is still data
cleared to me is null not false (thats state). Why is false better then
Decreased outright dollars comparison iptv. Identifies marketing, goes through.
Seminar minnesota twin cities.
Remixing clips property podcaster health awaited vertical.
Software dells, oem machines became. Blog weblogs slammed parent. Details
telcos, lay goose egg ranked.
Kitties campaign
Can you please check your log? Probably there will be an exception. Can
you post the stacktrace?
-Matej
Nili Adoram wrote:
I tried replacing the original SubmitLink in the form with an
AjaxSubmitLink:
public class AdvancedSearchForm extends Form {
private static final String id =
Thank you!
I put the following code in the constructor of my web-pages.
add(new AjaxSelfUpdatingTimerBehavior(Duration.minutes(10)));
add(new AbstractAjaxTimerBehavior(Duration.minutes(10))
{
/**
* @see
Indeed there was an error since I put an input tag for the
AjaxSubmitLink inside the markup instead of a tag.
I fixed the markup and now the form is submitted, the modal window is
closed and the window closed callback is invoked.
Thank you,
Nili
Matej Knopp wrote:
Can you please check your
Hi,
it would be nice if setRequired(true) works on RadioGroup or DropDownChoice
and similar controls. For instance, radio group with initial state that has
no radio checked, user is required to select one, there is no default
value. When RadioGroup has required=true, it will verify if one of he
Thank you!
I put the following code in the constructor of my web-pages.
add(new AjaxSelfUpdatingTimerBehavior(Duration.minutes(10)));
add(new AbstractAjaxTimerBehavior(Duration.minutes(10))
{
/**
* @see
If i wasn't in Montreal/Quebec/Canada, I would definitely go with something
like drinking beer! Damn it, Europe is too far away to get there and get
back in one day and not paying for an airplane ticket!
Eh, too bad :)
Marc
On 1/9/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
As you all
I need show a downloadlink when a record has a attachment info. since the
reocrd may have not attachment, the downloadlink must be create by condition.
how can i do it ?
I also feel puzzle for how to do generate a system menu or some dymic link .
since the componet have to bind with some id.
add(new LInk(link) {}.setVisible(someCondition));
Martijn
On 1/10/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
I need show a downloadlink when a record has a attachment info. since the
reocrd may have not attachment, the downloadlink must be create by condition.
how can i do it ?
I also
To answer a part of your question:
You can 'hide' elements on a condition like this:
add(new SomeComponent() {
public boolean isVisible() {
return your_condition;
}
});
Regards,
Erik.
tooy li(Gmail) schreef:
I need show a downloadlink when a record has a attachment
remove the selfupdating one, and just leave the timer. you dont need to put
anything into the ontimer() event, the point is that the behavior generated
a callback to the page so it keeps your session alive.
-igor
On 1/10/07, suranjay [EMAIL PROTECTED] wrote:
Thank you!
I put the following
Hi all, been a long hiatus for me but I'm diving back into Wicket finally.
I'm a little rusty (was forced, against my will, to use JSF for the past
couple of months!) - and I've got a silly question...should be a snap.
I've got a DropDownChoice select list on a page I simply need to fill w/
first, you dont need to specify that IChoiceRenderer as it does what the
default one does
second, you are doing this: form.add(new DropDownChoice(phoneType, new
Model(),
that newModel() isnt bound to your entity, so use a constructor without that
IModel param - that way the compound property
offtopic, would like to hear about your jsf experience compared to wicket.
anything you found better that we can improve?
-igor
On 1/10/07, V. Jenks [EMAIL PROTECTED] wrote:
Hi all, been a long hiatus for me but I'm diving back into Wicket finally.
I'm a little rusty (was forced, against
Sure, I'd be happy to comment on that.
Some constructive criticism; there are many things that JSF does easier
and/or better (IMO) than Wicket.
1. select lists are *much* easier to populate, manipulate, and deal with. ;)
2. paging and sorting tables/grids/lists are *much, much* easier to
Someone (nick eugs) had a question on the IRC channel today. I gave
the wrong answer unfortunately, and I'm afraid this is quite a common
mistake to make anyway.
Q: I want to change an attribute of the list view. So say, the list
view is attached to tag tr wicket:id=rows.../tr, I want it to
One more thing :D
Wicket has a fantastic group of developers and the support has been
top-knotch...the same can't be said about every project.
If this mailing list wasn't here I might not have used Wicket so much...or
at all.
igor.vaynberg wrote:
offtopic, would like to hear about your jsf
That worked, thanks a lot.
igor.vaynberg wrote:
first, you dont need to specify that IChoiceRenderer as it does what the
default one does
second, you are doing this: form.add(new DropDownChoice(phoneType, new
Model(),
that newModel() isnt bound to your entity, so use a constructor
cool, thanks for the comparison, a few points to discuss
On 1/10/07, V. Jenks [EMAIL PROTECTED] wrote:
1. select lists are *much* easier to populate, manipulate, and deal with.
;)
can i have an example of code?
2. paging and sorting tables/grids/lists are *much, much* easier to
http://www.oreillynet.com/onjava/blog/2007/01/wicket_another_java_web_framew.html
On 1/9/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
Hello,
I just updated the wiki page
http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket
but there must surely be more articles on
Not a bad idea.
Eelco
On 1/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
as a sidenote, i think a few tag-interfaces are in order:
INotRenderable, INotAjaxifiable, names up for grabs.
what this can do is give the user some nice runtime errors that explain
whats wrong. listview, for
hi,
you didn't give the answer. when you create a download link , you have to put a
file that cannot be null into the constructor. now I have to create a fake
file into downloadlink ,then hidden it when the condition is not ok. it's very
verbose!!!.
Message: 6
Date: Wed, 10 Jan 2007
filelink is just a few lines of code, create your own class that retrieves
the file lazily
-igor
On 1/10/07, tooy li(Gmail) [EMAIL PROTECTED] wrote:
hi,
you didn't give the answer. when you create a download link , you have to
put a file that cannot be null into the constructor. now I have
hello all
i found no cursor in the modal window. Is it the
default behavior.How to make cursor appear in the
input field of the modal window?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Just kinda taking this thread back to where it started:
Does anyone have a .jar for wicket-stuff that will work with the
Wicket 1.x branch?
Ian.
On 1/9/07, James McLaughlin [EMAIL PROTECTED] wrote:
That would be great. Maybe we can run the wicket-stuff examples there, too.
Is it possible for
Hi,
If anyone has got a free book on wicket please help me
I think i need to go through some more tutorials
Please guide me
thanks in advance
sNkr
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's
It's not free, but at $20 for the electronic version, this
http://www.apress.com/book/bookDisplay.html?bID=10189 is a bargain :)
Eelco
On 1/10/07, snkr subedi [EMAIL PROTECTED] wrote:
Hi,
If anyone has got a free book on wicket please help me
I think i need to go through some more tutorials
Can you read chinese? Then there is one available for you.
http://jroller.com/page/dashorst?entry=new_wicket_book_reaches_out
Martijn
On 1/11/07, snkr subedi [EMAIL PROTECTED] wrote:
Hi,
If anyone has got a free book on wicket please help me
I think i need to go through some more tutorials
31 matches
Mail list logo