Message -
From: "Josh Canfield" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, 24 April, 2008 9:44:40 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: How to update a list from a checkbox in a loop in t5
The way checkbox works out of the box y
say if this was a textfield,
> making the checkbox not very useful in a loop!
>
> Peter
>
>
>
> - Original Message -
> From: "nicholas Krul" <[EMAIL PROTECTED]>
> To: "Tapestry users"
> Sent: Thursday, 24 April, 2008 1:13:44 PM GMT
ginal Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 10:37 AM
To: Tapestry users
Subject: Re: How to update a list from a checkbox in a loop in t5
Hi Joel,
I thought my previous posts made it obvious that it is not possible to
use the encoder, I no
GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: RE: How to update a list from a checkbox in a loop in t5
Peter,
Are you using a DefaultPrimaryKeyEncoder as your encoder?
Joel
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008
Peter,
Are you using a DefaultPrimaryKeyEncoder as your encoder?
Joel
-Original Message-
From: Peter Stavrinides [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 8:39 AM
To: Tapestry users
Subject: Re: How to update a list from a checkbox in a loop in t5
Hi Ivan
This is
- Original Message -
From: "nicholas Krul" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, 24 April, 2008 3:48:46 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: How to update a list from a checkbox in a loop in t5
Perhaps trimming it back
van
>
> This is precisely what I tried.
>
>
> - Original Message -
> From: "Ivan Dubrov" <[EMAIL PROTECTED]>
> To: "Tapestry users"
> Sent: Thursday, 24 April, 2008 1:59:10 PM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: How to update
Hi Ivan
This is precisely what I tried.
- Original Message -
From: "Ivan Dubrov" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, 24 April, 2008 1:59:10 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: How to update a list from a check
-
From: "nicholas Krul" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, 24 April, 2008 1:13:44 PM GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: How to update a list from a checkbox in a loop in t5
Perhaps some code would help us out.
.tml loop &
Peter Stavrinides wrote:
Hi All
I this scenario:
Have you tried something like this:
in .tml:
in .java:
public boolean isArchived() {
return selectedDOA.isArhived();
}
public void setArchived(boolean value) {
return selectedDOA.setArhived(value);
}
selectedDOA
Perhaps some code would help us out.
.tml loop & checkbox snippet
.java index & getter & setter snippet
? I can only try
On Thu, Apr 24, 2008 at 10:54 AM, Peter Stavrinides <
[EMAIL PROTECTED]> wrote:
> I have also noticed that the value parameter on the checkbox component is
> a read only bo
I have also noticed that the value parameter on the checkbox component
is a read only boolean, so using accessors to write the value is
impossible, which confirms the checkbox is not usable in this way in a
loop.
Peter Stavrinides wrote:
Sorry, let me try rephrasing my question:
When I click
Sorry, let me try rephrasing my question:
When I click on the checkbox, how do I modify the corresponding object
in the loop? The only way I can see of doing this is to iterate
manually, in which case a Tapestry checkbox component is not usable in a
loop.
Peter
Peter Stavrinides wrote:
Hi
try adding an index to the loop, and then using this index to do the
translation b/n the getters/setters.
(but I don't know anything about encoders)
--nK
On Wed, Apr 23, 2008 at 3:24 PM, Peter Stavrinides <
[EMAIL PROTECTED]> wrote:
> Hi All
>
> I this scenario:
>
>
>
>
> How do I
Hi All
I this scenario:
How do I use the checkbox correctly when the user clicks it? 'I want to
associate it with an object' via a primary key perhaps...but the
checkbox only seems to have a value property of the type boolean:
http://tapestry.apache.org/tapestry5/tapestry-core/
15 matches
Mail list logo