Hi Igor and Eelco,
Sorry, for interventing in your discussion :)
May java annotations can help us?
Say [EMAIL PROTECTED]/Write
or [EMAIL PROTECTED] or ever to protect all bean.
It would protect the field from accidently access in Wicket models
without any assumption on set/get functions.
For the sake of clarity, I think this:
with public getXXX and private setXXX the property is read only
with public getXXX and no setXXX the property is read only
So do I. I think it needs to be fixed. If there is a private setter, we
should use it. Period. Johaaan?!
-Matej
concerning one field depends on another:
have you already taken a look at
http://cwiki.apache.org/confluence/display/WICKET/Validating+related+fields?
the code is still 1.2, but it should get you started.
hth,
gerolf
On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote:
Hi
I have a form that is
I have a RepeatingView that I generate, each row is represented as a
WebMarkupContainer.
At the end of each row I add a checkbox. When the Delete Selected button
is called,
I wish to remove the selected row from the RepeatingView and update the page
to reflect
this status.
I have a RepeatingView that I generate, each row is represented as a
WebMarkupContainer.
At the end of each row I add a checkbox. When the Delete Selected button
is called,
I wish to remove the selected row from the RepeatingView and update the page
to reflect
this status.
the processing impart would be nil because we cache a lot of the
information. however forcing wicket annotations on middle tier objects is
not a very good approach.
if people really wanted to do this they can create this kind of annotation
themselves and then install a security manager that would
have you tried AjaxFormComponentUpdatingBehavior?
gerolf
On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote:
Thanks but this does not solve my problem.
I am submitting the form via ajax using an AjaxSubmitLink. If the form has
errors on it then I do not get the submit, if the form has no
Hi,
it worked fine for me, I attach my own code so you can compare. Btw, why
don't you just use a listview with a model that filters out the selected
items? Imo it's simpler and more elegant. And another remark: you can bind
your checkbox to a boolean (see my example).
Regards,
Carlos
On
that is rather peculiar, could you please reproduce this in a quickstart?
-igor
On 8/26/07, pokkie [EMAIL PROTECTED] wrote:
I have a RepeatingView that I generate, each row is represented as a
WebMarkupContainer.
At the end of each row I add a checkbox. When the Delete Selected button
is
And now that I *really* look at this
while (exerciseTable.iterator().hasNext()) {
WebMarkupContainer container = (WebMarkupContainer)
exerciseTable.iterator().next();
if (container.get
BTW, as long as this issue is not fixed, we can't take our Wicket-based
website online. This is a show-stopper bug for us. :(
--
Best regards,
Thomas Singer
_
SyntEvo GmbH
Brunnfeld 11
83404 Ainring
Germany
www.syntevo.com
Thomas Singer wrote:
Done:
On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote:
Thanks but this does not solve my problem.
I am submitting the form via ajax using an AjaxSubmitLink. If the form has
errors on it then I do not get the submit, if the form has no errors then the
submit code runs ok. The errors are not
Hi,
For a chat application I would like to display a list of chat requests that
have come in.
This list is updated by making use of an AbstractAjaxTimerBehavior.
When the user clicks a chat request in the list, a popup window will open
containing that particular chat conversation. In FF all
From what I can see AjaxFormComponentUpdateingBehaviour does not help.
It appears that the only way to do this is to not use component validation but
to write my own validation in the submit processing code.
Not the most maintainable of solutions :(
Ian
- Original Message
From:
I worked it out. Very simple solution!
On the AjaxSubmitLink override the onError method and add the feedback panel to
the AjaxRequestTarget !
Ian
- Original Message
From: Gerolf Seitz [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Sunday, 26 August, 2007 6:05:00 PM
Subject:
On 8/26/07, Otan [EMAIL PROTECTED] wrote:
I hope that chapter on Models be free to download as well for the benefits
of newbies.
Sorry, I'm afraid we can't do that. Only chapter 1 is free to download.
Eelco
-
To unsubscribe,
Hi Hung,
this addition to the pom.xml of
groupIdorg.wicketstuff/groupId
artifactIdwicket-contrib-gmap2-examples/artifactId
should not be needed since that pom inherits that setting form
the pom.xml of
groupIdorg.apache.wicket/groupId
artifactIdwicket-parent/artifactId
I would like to be able to add a dropdown to a DataTable so that a user can
change the rowsPerPage. Has anyone done this before? If not, what is the best
/ recommended approach?
I tried the following, but I get:
IllegalStateException: Attempt to set model object on null model of component:
The format of the Exception got munged with the example code. This should
read as:
IllegalStateException: Attempt to set model object on null model of
component: rows
final DataTable contacts = NEWDataTable(contacts, columns,
contactProvider, rowsPerPage) {
@Override
PROTECTEDItem
hi,
i have a refreshingview in a treetable column, but it only gets rendered
after opening, closing and again opening the corresponding treenode.
did anyone else notice this misbehavior?
thanks for any hints,
gerolf
class mypage() {
static int[] pages=new int[] {10,15,20,25};
public mypage () {
final DataTable dt=new datatable(..);
add(new dropdownchoice(pages, new imodel() {
void setObject(Object e) { dt.setrowsperpage((Integer)e); }
Object getObject() { return td.getrowsperpage();
i'm using trunk (as of yesterday) 1.3.0-SNAPSHOT
i'll file a jira issue later today, including a quickstart
gerolf
On 8/27/07, Matej Knopp [EMAIL PROTECTED] wrote:
It's probably a bug, can you please fill in a JIRA entry and assign it to
me? What wicket version are you using?
-Matej
On
On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote:
I worked it out. Very simple solution!
On the AjaxSubmitLink override the onError method and add the feedback
panel to the AjaxRequestTarget !
Ian
Yes, that or setDefaultFormProcessing(false) as Eelco suggested before.
That's not doing
23 matches
Mail list logo