Hi Jeremy,
In the blog you use code as:
1. final TextField name = new TextField(name, new
PropertyModel(productModel, name));
2. name.setRequired(true);
3. name.add(new FeedbackPanel(nameFeedback, new
ComponentFeedbackMessageFilter(name)));
I wonder what kind of .html do you
Hi guys;
I am trying to use a CheckGroup component in a form with a ListView to
generate a list of checks. Now, everytime i reload the page, it shows all
the checkboxes checked instead of cheking only those that exist in the
model. Where am i going wrong?
I have a Project entity that has many
Hi Martin,
What do you exactly mean for dump the threads? I am almost a newbie, I
cannot find any document that examplin this.
I made a few more test logging Wicket. To have the web site going down I
need a few hits (close each other) on a bookmarkablepagelink.
Here (
Hi, i am trying to customize the behavior, when in a page a component is
found, that the current user is not authorized to while he is authorized
to the page. This by default throws an exception and i want to change it
so, that the component is simply not displayed. So i did this: in my web
Hi, thanks for the reply.
Honestly I read a little bit around and using WicketServlet instead of
wicketFilter is a kind of not reccomended. I would like to go for teh filter
way, but thanks a lot for teh reply.
Part of the reason is that I think that is impossible that a wicket app goes
down
If you use some kind of Unix then run: kill -3 process id of
tomcat/jetty/...)
This will dump the threads' stack traces in the process standard out
(somewhere in the log files).
This way you can see whether there are threads waiting for something.
Making 20 requests and stopping responding could
On Wed, Jan 5, 2011 at 7:21 AM, Josh Kamau joshnet2...@gmail.com wrote:
Hi guys;
I am trying to use a CheckGroup component in a form with a ListView to
generate a list of checks. Now, everytime i reload the page, it shows all
the checkboxes checked instead of cheking only those that exist in
Pedros
The CheckGroup component is part of a form that users CompoundPropertyModel.
I thought i dont have to pass any thing to the constractor other than the
id.
i have however changed the constructor of CheckGroup to new
CheckGroup(users, project.getUsers()); and it still hasnt worked. I have
Hi Josh, u are right, you code looks good also, can you provide an
quickstart?
On Wed, Jan 5, 2011 at 8:32 AM, Josh Kamau joshnet2...@gmail.com wrote:
Pedros
The CheckGroup component is part of a form that users
CompoundPropertyModel.
I thought i dont have to pass any thing to the
ok. let me create a quickstart.
Josh.
On Wed, Jan 5, 2011 at 2:20 PM, Pedro Santos pedros...@gmail.com wrote:
Hi Josh, u are right, you code looks good also, can you provide an
quickstart?
On Wed, Jan 5, 2011 at 8:32 AM, Josh Kamau joshnet2...@gmail.com wrote:
Pedros
The CheckGroup
Hi,
seems quite complicated to me (one branch too much):
I'd propose to keep the number of branches low, or even very low. Branches, at
least to me, are the hotspots to commit code to, the code you'd like to live on
in the upstream.
As wicketstuff is sort of the tail of wicket, it should try
hi all,
I have form with two submit buttons want different behavior for each
button.
submitButton:
- standard submit button
- expected onClick behavior: validate form save the form's model
(implemented in form's onSubmit() method) redirect to another page
ajaxButton:
- AjaxButton
- expected
An idea:
in Form#onSubmit() check whether the current request is Ajax: if
(AjaxRequestTarget.get() != null) return; // i.e. do not execute the method'
body
You can even check whether the submittingComponent is the AjaxButton and do
nothing in that case only
On Wed, Jan 5, 2011 at 1:19 PM, Marek
You can also move all your code from form.onSubmit to the
standartButton.onSubmit
On Wed, Jan 5, 2011 at 10:19 AM, Marek Pribyl mr.pri...@gmail.com wrote:
hi all,
I have form with two submit buttons want different behavior for each
button.
submitButton:
- standard submit button
-
Hi Marek,
you could override form method 'process(IFormSubmittingComponent
submittingComponent) ' checking whether submittingComponent is
submitButton or ajaxButton. submitButton follows standard behavior
calling super.process(...), whereas ajaxButton just call validate().
But remember
try lstUsers.setReuseItems(true) (see ListView javadoc)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Using-CheckGroup-with-a-listview-tp3175047p3175610.html
Sent from the Users forum mailing list archive at Nabble.com.
thanks all for reply, I chose martin's solution which works for me in
this particular case
marek
On Wed, 2011-01-05 at 13:19 +0100, Marek Pribyl wrote:
hi all,
I have form with two submit buttons want different behavior for each
button.
submitButton:
- standard submit button
- expected
if you want to hide unauthorized components you should use
iauthorizationstrategy and veto component's RENDER action
-igor
On Wed, Jan 5, 2011 at 1:42 AM, Duro develma...@yahoo.com wrote:
Hi, i am trying to customize the behavior, when in a page a component is
found, that the current user is
On Wed, Jan 5, 2011 at 3:12 AM, Martin Grigorov mgrigo...@apache.org wrote:
Hi Jeremy,
In the blog you use code as:
1. final TextField name = new TextField(name, new
PropertyModel(productModel, name));
2. name.setRequired(true);
3. name.add(new FeedbackPanel(nameFeedback, new
Hi Martin,
I appreciate your thoughts on the wicketstuff/core branching.
I can see how your approach would work with their not being a stable
branch (and then no need to cherry-pick commits from the main
development branch).
I looked back at the history and not that many people ever used
Hello, I have a product published on a page, and users can ask the
owner of this product a question. Only the owner can then answer it.
A product can have many questions. But each question only has one
answer, which is answered by the owner.
What I am trying to do is have a listView listing all
On Wed, Jan 5, 2011 at 8:59 PM, Henrique Boregio hbore...@gmail.com wrote:
Hello, I have a product published on a page, and users can ask the
owner of this product a question. Only the owner can then answer it.
A product can have many questions. But each question only has one
answer, which
22 matches
Mail list logo