You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nazmul Bhuiyan <Na...@nz.fujitsu.com> on 2007/09/03 02:58:10 UTC

T3: CheckBox

Hello,

I’ve a list of objects displayed in a page. I want to collect ids of
selected object by adding a check box for each of these objects. Then I’ll
use another action event to do something with this collection of ids.

But I’m getting the following error message:

Unable to resolve expression 'formSubmit' for
com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint].
binding:	ExpressionBinding[InfringementsMaint formSubmit]
location:	context:/InfringementsMaint.html, line 10

Can any one please help me out on this?

My code below:

.html
<table border="1" cellpadding="1" cellspacing="0" class="jive-table">
	<form jwcid="@Form" listener="ognl:listeners.formSubmit">
	<div class="jive-contentBoxHeader">Infringement List</div>
	<tr class="jive-table-header">
		<td>Inf Type</td>
		<td>Tran Type</td>
		<td>Name</td>
		<td>Address</td>
		<td>Offence</td>
		<td>Reminder</td>
		<td>Edit/Delete</td>
		<td>Add to Batch</td>
	</tr>
	<tr jwcid="@Foreach" source="ognl:infringements"
value="ognl:currentInfringement" element="tr">
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>

		<td>
			<input type="checkbox" jwcid="@Checkbox" selected="ognl:addToBatch"/>
		</td>
	</tr>
	</form>
</table>

.page
<property-specification name="addToBatch" type="boolean" persistent="yes"/>

.java
    public abstract boolean isAddToBatch();
    public abstract void setAddToBatch(boolean value);

    public void formSubmit(RequestCycle cycle) {
        if (isAddToBatch()) {
           //Get all the infringement Id to add into Batch and add them into
a collection
        }
    }

-- 
View this message in context: http://www.nabble.com/T3%3A-CheckBox-tf4369817.html#a12455075
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to unsubscribe maillist?

Posted by Nick Westgate <ni...@key-planning.co.jp>.
Make sure you have a subject. That was part of Li Li's problem,
though it works for me without a subject. The rest of Li Li's
problem might have been posting from China via Hotmail.

Cheers,
Nick.


Stony Zhang wrote:
> Hi Lili,
> 	I have the same question as you. Afeter I sent a email to
> users-help@tapestry.apache.org, receive the error message,too. 
> 
> Stony
> 
> -----Original Message-----
> From: lili [mailto:liyongqijiashe@hotmail.com] 
> Sent: Tuesday, September 04, 2007 10:19 AM
> To: Tapestry users
> Subject: RE: How to unsubscribe maillist?
> 
> 
> I send a blank email to users-help@tapestry.apache.org. But it seems that
> the email don't send to destination.Instead I receive a email from hotmail
> :(
> 
> I check my mailbox filter and no tapestry.apache.org in it.
> 
> 
> "This is an automatically generated Delivery Status Notification.
>  
> Delivery to the following recipients failed.
>  
>        users-help@tapestry.apache.org
> "
> 
> 
> "Reporting-MTA: dns;bay0-omc1-s28.bay0.hotmail.com
> Received-From-MTA: dns;BAY111-W30
> Arrival-Date: Mon, 3 Sep 2007 07:17:06 -0700
> 
> Final-Recipient: rfc822;users-help@tapestry.apache.org
> Action: failed
> Status: 5.5.0
> Diagnostic-Code: smtp;552 spam score (7.3) exceeded threshold"
> 
> 
> 离人网
> ----------------------------------------> Date: Mon, 3 Sep 2007 19:40:21
> +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org>
> Subject: Re: How to unsubscribe maillist?>> And check any mail filters or
> rules you have.> I think the unsubscribe sends a confirmation mail.> You
> have to reply to it.>> Cheers,> Nick.>>> Nick Westgate wrote:>> Hmm, I had
> read this before, but just tested it now.>> The list server will mail the
> help info to any email address.>>>> Check your junk mail folder etc. The
> help info has the email>> address you should contact if you can't
> unsubscribe.>>>> Cheers,>> Nick.>>>>>> lili wrote:>>> hi nick:>>>>>> I try
> it.But don't receive a reply. I forget which email I use in tapestry,how to
> do it? How to get the email address which I create account in tapestry
> maillist?>>>>>>>>> ----------------------------------------> Date: Mon, 3
> Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To:
> users@tapestry.apache.org> Subject: Re: How to unsubscrib
>  e maillist?>> Ensure that you are sending from the same mail account you
> subscribed with.>> To check that, email for help:>
> users-help@tapestry.apache.org>> If you don't receive a reply, you are
> mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi
> everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list.
> Now,I don't use tapestry,so I don't want to receive email from there. I send
> a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org".
> But I remain receive hundreds of emails everyday ! It's make me crazy~ How
> to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>>
> _________________________________________________________________>> MSN 中文
> 网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>>
> ------------------------------------------> ->> --->>>
> ----------------------->> To unsubscribe, e-mail:
> users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail:
> users-help@tapestry.apache.org>>>>>> --
>  -------------------------------------------------------------------> To
> unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional
> commands, e-mail: users-help@tapestry.apache.org>>>>>>>
> _________________________________________________________________>>> 手机也
> 能上 MSN 聊天了,快来试试吧!>>> http://mobile.msn.com.cn/>>>>>>
> --------------------------------------------------------------------->>> To
> unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>>> For additional
> commands, e-mail: users-help@tapestry.apache.org>>>>>>>>>>
> --------------------------------------------------------------------->> To
> unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional
> commands, e-mail: users-help@tapestry.apache.org>>>>>>
> ---------------------------------------------------------------------> To
> unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional
> commands, e-mail: users-help@tapestry.apache.org>
> 
> _________________________________________________________________
> 手机也能上 MSN 聊天了,快来试试吧!
> http://mobile.msn.com.cn/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: How to unsubscribe maillist?

Posted by Stony Zhang <zh...@cyberobject.com>.
Hi Lili,
	I have the same question as you. Afeter I sent a email to
users-help@tapestry.apache.org, receive the error message,too. 

Stony

-----Original Message-----
From: lili [mailto:liyongqijiashe@hotmail.com] 
Sent: Tuesday, September 04, 2007 10:19 AM
To: Tapestry users
Subject: RE: How to unsubscribe maillist?


I send a blank email to users-help@tapestry.apache.org. But it seems that
the email don't send to destination.Instead I receive a email from hotmail
:(

I check my mailbox filter and no tapestry.apache.org in it.


"This is an automatically generated Delivery Status Notification.
 
Delivery to the following recipients failed.
 
       users-help@tapestry.apache.org
"


"Reporting-MTA: dns;bay0-omc1-s28.bay0.hotmail.com
Received-From-MTA: dns;BAY111-W30
Arrival-Date: Mon, 3 Sep 2007 07:17:06 -0700

Final-Recipient: rfc822;users-help@tapestry.apache.org
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;552 spam score (7.3) exceeded threshold"


离人网
----------------------------------------> Date: Mon, 3 Sep 2007 19:40:21
+0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org>
Subject: Re: How to unsubscribe maillist?>> And check any mail filters or
rules you have.> I think the unsubscribe sends a confirmation mail.> You
have to reply to it.>> Cheers,> Nick.>>> Nick Westgate wrote:>> Hmm, I had
read this before, but just tested it now.>> The list server will mail the
help info to any email address.>>>> Check your junk mail folder etc. The
help info has the email>> address you should contact if you can't
unsubscribe.>>>> Cheers,>> Nick.>>>>>> lili wrote:>>> hi nick:>>>>>> I try
it.But don't receive a reply. I forget which email I use in tapestry,how to
do it? How to get the email address which I create account in tapestry
maillist?>>>>>>>>> ----------------------------------------> Date: Mon, 3
Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To:
users@tapestry.apache.org> Subject: Re: How to unsubscrib
 e maillist?>> Ensure that you are sending from the same mail account you
subscribed with.>> To check that, email for help:>
users-help@tapestry.apache.org>> If you don't receive a reply, you are
mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi
everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list.
Now,I don't use tapestry,so I don't want to receive email from there. I send
a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org".
But I remain receive hundreds of emails everyday ! It's make me crazy~ How
to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>>
_________________________________________________________________>> MSN 中文
网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>>
------------------------------------------> ->> --->>>
----------------------->> To unsubscribe, e-mail:
users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail:
users-help@tapestry.apache.org>>>>>> --
 -------------------------------------------------------------------> To
unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional
commands, e-mail: users-help@tapestry.apache.org>>>>>>>
_________________________________________________________________>>> 手机也
能上 MSN 聊天了,快来试试吧!>>> http://mobile.msn.com.cn/>>>>>>
--------------------------------------------------------------------->>> To
unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>>> For additional
commands, e-mail: users-help@tapestry.apache.org>>>>>>>>>>
--------------------------------------------------------------------->> To
unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional
commands, e-mail: users-help@tapestry.apache.org>>>>>>
---------------------------------------------------------------------> To
unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional
commands, e-mail: users-help@tapestry.apache.org>

_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: How to unsubscribe maillist?

Posted by lili <li...@hotmail.com>.
I send a blank email to users-help@tapestry.apache.org. But it seems that the email don't send to destination.Instead I receive a email from hotmail :(

I check my mailbox filter and no tapestry.apache.org in it.


"This is an automatically generated Delivery Status Notification.
 
Delivery to the following recipients failed.
 
       users-help@tapestry.apache.org
"


"Reporting-MTA: dns;bay0-omc1-s28.bay0.hotmail.com
Received-From-MTA: dns;BAY111-W30
Arrival-Date: Mon, 3 Sep 2007 07:17:06 -0700

Final-Recipient: rfc822;users-help@tapestry.apache.org
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;552 spam score (7.3) exceeded threshold"


离人网
----------------------------------------> Date: Mon, 3 Sep 2007 19:40:21 +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org> Subject: Re: How to unsubscribe maillist?>> And check any mail filters or rules you have.> I think the unsubscribe sends a confirmation mail.> You have to reply to it.>> Cheers,> Nick.>>> Nick Westgate wrote:>> Hmm, I had read this before, but just tested it now.>> The list server will mail the help info to any email address.>>>> Check your junk mail folder etc. The help info has the email>> address you should contact if you can't unsubscribe.>>>> Cheers,>> Nick.>>>>>> lili wrote:>>> hi nick:>>>>>> I try it.But don't receive a reply. I forget which email I use in tapestry,how to do it? How to get the email address which I create account in tapestry maillist?>>>>>>>>> ----------------------------------------> Date: Mon, 3 Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org> Subject: Re: How to unsubscrib
 e maillist?>> Ensure that you are sending from the same mail account you subscribed with.>> To check that, email for help:> users-help@tapestry.apache.org>> If you don't receive a reply, you are mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~ How to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>> _________________________________________________________________>> MSN 中文网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>> ------------------------------------------> ->> --->>> ----------------------->> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>> --
 -------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>>> _________________________________________________________________>>> 手机也能上 MSN 聊天了,快来试试吧!>>> http://mobile.msn.com.cn/>>>>>> --------------------------------------------------------------------->>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>>>>>> --------------------------------------------------------------------->> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>> ---------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional commands, e-mail: users-help@tapestry.apache.org>

_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to unsubscribe maillist?

Posted by Nick Westgate <ni...@key-planning.co.jp>.
And check any mail filters or rules you have.
I think the unsubscribe sends a confirmation mail.
You have to reply to it.

Cheers,
Nick.


Nick Westgate wrote:
> Hmm, I had read this before, but just tested it now.
> The list server will mail the help info to any email address.
> 
> Check your junk mail folder etc. The help info has the email
> address you should contact if you can't unsubscribe.
> 
> Cheers,
> Nick.
> 
> 
> lili wrote:
>> hi nick:
>>
>>    I try it.But don't receive a reply. I forget which email I use  in tapestry,how to do it? How to get the email address which I create account in tapestry maillist?
>>
>>
>> ----------------------------------------> Date: Mon, 3 Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org> Subject: Re: How to unsubscribe maillist?>> Ensure that you are sending from the same mail account you subscribed with.>> To check that, email for help:> users-help@tapestry.apache.org>> If you don't receive a reply, you are mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~ How to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>> _________________________________________________________________>> MSN 中文网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>> ------------------------------------------
-
> ---
>>  ----------------------->> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>> ---------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional commands, e-mail: users-help@tapestry.apache.org>
>>
>> _________________________________________________________________
>> 手机也能上 MSN 聊天了,快来试试吧!
>> http://mobile.msn.com.cn/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to unsubscribe maillist?

Posted by Nick Westgate <ni...@key-planning.co.jp>.
Hmm, I had read this before, but just tested it now.
The list server will mail the help info to any email address.

Check your junk mail folder etc. The help info has the email
address you should contact if you can't unsubscribe.

Cheers,
Nick.


lili wrote:
> hi nick:
> 
>    I try it.But don't receive a reply. I forget which email I use  in tapestry,how to do it? How to get the email address which I create account in tapestry maillist?
> 
> 
> ----------------------------------------> Date: Mon, 3 Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org> Subject: Re: How to unsubscribe maillist?>> Ensure that you are sending from the same mail account you subscribed with.>> To check that, email for help:> users-help@tapestry.apache.org>> If you don't receive a reply, you are mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~ How to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>> _________________________________________________________________>> MSN 中文网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>> -------------------------------------------
---
>  ----------------------->> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>> ---------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional commands, e-mail: users-help@tapestry.apache.org>
> 
> _________________________________________________________________
> 手机也能上 MSN 聊天了,快来试试吧!
> http://mobile.msn.com.cn/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: How to unsubscribe maillist?

Posted by lili <li...@hotmail.com>.
hi nick:

   I try it.But don't receive a reply. I forget which email I use  in tapestry,how to do it? How to get the email address which I create account in tapestry maillist?


----------------------------------------> Date: Mon, 3 Sep 2007 16:54:19 +0900> From: nick@key-planning.co.jp> To: users@tapestry.apache.org> Subject: Re: How to unsubscribe maillist?>> Ensure that you are sending from the same mail account you subscribed with.>> To check that, email for help:> users-help@tapestry.apache.org>> If you don't receive a reply, you are mailing from the wrong account.>> Cheers,> Nick.>>> lili wrote:>> hi everyone:>>>> Anyone could tell me how to unsubscribe tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~ How to unsubscribe from "users-unsubscribe@tapestry.apache.org"? Thks!>> _________________________________________________________________>> MSN 中文网,最新时尚生活资讯,白领聚集门户。>> http://cn.msn.com>>>> ----------------------------------------------
 ----------------------->> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org>> For additional commands, e-mail: users-help@tapestry.apache.org>>>>>> ---------------------------------------------------------------------> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org> For additional commands, e-mail: users-help@tapestry.apache.org>

_________________________________________________________________
手机也能上 MSN 聊天了,快来试试吧!
http://mobile.msn.com.cn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: How to unsubscribe maillist?

Posted by Nick Westgate <ni...@key-planning.co.jp>.
Ensure that you are sending from the same mail account you subscribed with.

To check that, email for help:
users-help@tapestry.apache.org

If you don't receive a reply, you are mailing from the wrong account.

Cheers,
Nick.


lili wrote:
> hi everyone:
> 
>     Anyone could tell me how to unsubscribe  tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~  How to unsubscribe  from "users-unsubscribe@tapestry.apache.org"? Thks!
> _________________________________________________________________
> MSN 中文网,最新时尚生活资讯,白领聚集门户。
> http://cn.msn.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


How to unsubscribe maillist?

Posted by lili <li...@hotmail.com>.
hi everyone:

    Anyone could tell me how to unsubscribe  tapestry mail list. Now,I don't use tapestry,so I don't want to receive email from there. I send a email with empty(blank) title to "users-unsubscribe@tapestry.apache.org". But I remain receive hundreds of emails everyday ! It's make me crazy~  How to unsubscribe  from "users-unsubscribe@tapestry.apache.org"? Thks!
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nick Westgate <ni...@key-planning.co.jp>.
ListPropertySelectionModel and NamedListItem are regular a classes.
Put them wherever you like.

To use them, create your model from a list of objects that implement
the NamedListItem interface.

     selectionModel = new ListPropertySelectionModel(itemList);

Cheers,
Nick.


Nazmul Bhuiyan wrote:
> Hi Nick,
> 
> Few more basic questions:
> To use contrib's component I have added the following lines in my
> .application file as below:
>   <library id="contrib"
> specification-path="/org/apache/tapestry/contrib/Contrib.library" />
> 
> How should I define the path to use the ListPropertySelectionModel as there
> is no library.
> I'm getting path exception.
> <library id="tasselListSelection"
> specification-path="/org/rz/tapestryutils/ListPropertySelectionModel.class"/>
> 
> 
> Can you please please give me some example how should I use this
> ListPropertySelectionModel? I'm not using Palette.
> 
> Thanks
> 
> 
> Nick Westgate wrote:
>> You can write your own selection model, or of course use what others have
>> already written to address this problem.
>>
>> Check out this thread:
>> http://www.nabble.com/Multiple-Select-tf144431.html#a400648
>>
>> Since you are using a list it's easiest to use Robert's
>> ListPropertySelectionModel.
>> http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SListPropertySelectionModel
>>
>> Cheers,
>> Nick.
>>
>>
>> Nazmul Bhuiyan wrote:
>>> Hi Nick,
>>>
>>> Is there any method that I can use to create a
>>> ObjectPropertySelectionModel
>>> model instead of StringPropertySelectionModel as below?
>>>
>>>     public static final IPropertySelectionModel theModel = 
>>>         new StringPropertySelectionModel(new String[] {"a", "b", "c"}); 
>>>
>>> My page displays a list of objects and I want select some of these
>>> objects
>>> and do something about it.
>>>
>>>
>>> Thanks
>>>
>>> Naz
>>>
>>>
>>> Nick Westgate wrote:
>>>> You'll want to use the MultiplePropertySelection component:
>>>> http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
>>>>
>>>> If you need to change the rendering style you can just grab
>>>> the source for the default renderer (which generates a table)
>>>> and change it to output things differently.
>>>>
>>>> Cheers,
>>>> Nick.
>>>>
>>>>
>>>> Nick Westgate wrote:
>>>>> It depends how T3's method matching works, but you might need:
>>>>>     public void formSubmit(IRequestCycle cycle)
>>>>>
>>>>> Note the I in IRequestCycle.
>>>>>
>>>>> Cheers,
>>>>> Nick.
>>>>>
>>>>>
>>>>> Nazmul Bhuiyan wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I’ve a list of objects displayed in a page. I want to collect ids of
>>>>>> selected object by adding a check box for each of these objects. Then 
>>>>>> I’ll
>>>>>> use another action event to do something with this collection of ids.
>>>>>>
>>>>>> But I’m getting the following error message:
>>>>>>
>>>>>> Unable to resolve expression 'formSubmit' for
>>>>>> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint]. 
>>>>>>
>>>>>> binding:    ExpressionBinding[InfringementsMaint formSubmit]
>>>>>> location:    context:/InfringementsMaint.html, line 10
>>>>>>
>>>>>> Can any one please help me out on this?
>>>>>>
>>>>>> My code below:
>>>>>>
>>>>>> .html
>>>>>> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
>>>>>>     <form jwcid="@Form" listener="ognl:listeners.formSubmit">
>>>>>>     <div class="jive-contentBoxHeader">Infringement List</div>
>>>>>>     <tr class="jive-table-header">
>>>>>>         <td>Inf Type</td>
>>>>>>         <td>Tran Type</td>
>>>>>>         <td>Name</td>
>>>>>>         <td>Address</td>
>>>>>>         <td>Offence</td>
>>>>>>         <td>Reminder</td>
>>>>>>         <td>Edit/Delete</td>
>>>>>>         <td>Add to Batch</td>
>>>>>>     </tr>
>>>>>>     <tr jwcid="@Foreach" source="ognl:infringements"
>>>>>> value="ognl:currentInfringement" element="tr">
>>>>>>         <td></td>
>>>>>>         <td></td>
>>>>>>         <td></td>
>>>>>>         <td></td>
>>>>>>         <td></td>
>>>>>>         <td></td>
>>>>>>
>>>>>>         <td>
>>>>>>             <input type="checkbox" jwcid="@Checkbox" 
>>>>>> selected="ognl:addToBatch"/>
>>>>>>         </td>
>>>>>>     </tr>
>>>>>>     </form>
>>>>>> </table>
>>>>>>
>>>>>> .page
>>>>>> <property-specification name="addToBatch" type="boolean" 
>>>>>> persistent="yes"/>
>>>>>>
>>>>>> .java
>>>>>>     public abstract boolean isAddToBatch();
>>>>>>     public abstract void setAddToBatch(boolean value);
>>>>>>
>>>>>>     public void formSubmit(RequestCycle cycle) {
>>>>>>         if (isAddToBatch()) {
>>>>>>            //Get all the infringement Id to add into Batch and add 
>>>>>> them into
>>>>>> a collection
>>>>>>         }
>>>>>>     }
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nazmul Bhuiyan <Na...@nz.fujitsu.com>.
Hi Nick,

Few more basic questions:
To use contrib's component I have added the following lines in my
.application file as below:
  <library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library" />

How should I define the path to use the ListPropertySelectionModel as there
is no library.
I'm getting path exception.
<library id="tasselListSelection"
specification-path="/org/rz/tapestryutils/ListPropertySelectionModel.class"/>


Can you please please give me some example how should I use this
ListPropertySelectionModel? I'm not using Palette.

Thanks


Nick Westgate wrote:
> 
> You can write your own selection model, or of course use what others have
> already written to address this problem.
> 
> Check out this thread:
> http://www.nabble.com/Multiple-Select-tf144431.html#a400648
> 
> Since you are using a list it's easiest to use Robert's
> ListPropertySelectionModel.
> http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SListPropertySelectionModel
> 
> Cheers,
> Nick.
> 
> 
> Nazmul Bhuiyan wrote:
>> Hi Nick,
>> 
>> Is there any method that I can use to create a
>> ObjectPropertySelectionModel
>> model instead of StringPropertySelectionModel as below?
>> 
>>     public static final IPropertySelectionModel theModel = 
>>         new StringPropertySelectionModel(new String[] {"a", "b", "c"}); 
>> 
>> My page displays a list of objects and I want select some of these
>> objects
>> and do something about it.
>> 
>> 
>> Thanks
>> 
>> Naz
>> 
>> 
>> Nick Westgate wrote:
>>> You'll want to use the MultiplePropertySelection component:
>>> http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
>>>
>>> If you need to change the rendering style you can just grab
>>> the source for the default renderer (which generates a table)
>>> and change it to output things differently.
>>>
>>> Cheers,
>>> Nick.
>>>
>>>
>>> Nick Westgate wrote:
>>>> It depends how T3's method matching works, but you might need:
>>>>     public void formSubmit(IRequestCycle cycle)
>>>>
>>>> Note the I in IRequestCycle.
>>>>
>>>> Cheers,
>>>> Nick.
>>>>
>>>>
>>>> Nazmul Bhuiyan wrote:
>>>>> Hello,
>>>>>
>>>>> I’ve a list of objects displayed in a page. I want to collect ids of
>>>>> selected object by adding a check box for each of these objects. Then 
>>>>> I’ll
>>>>> use another action event to do something with this collection of ids.
>>>>>
>>>>> But I’m getting the following error message:
>>>>>
>>>>> Unable to resolve expression 'formSubmit' for
>>>>> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint]. 
>>>>>
>>>>> binding:    ExpressionBinding[InfringementsMaint formSubmit]
>>>>> location:    context:/InfringementsMaint.html, line 10
>>>>>
>>>>> Can any one please help me out on this?
>>>>>
>>>>> My code below:
>>>>>
>>>>> .html
>>>>> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
>>>>>     <form jwcid="@Form" listener="ognl:listeners.formSubmit">
>>>>>     <div class="jive-contentBoxHeader">Infringement List</div>
>>>>>     <tr class="jive-table-header">
>>>>>         <td>Inf Type</td>
>>>>>         <td>Tran Type</td>
>>>>>         <td>Name</td>
>>>>>         <td>Address</td>
>>>>>         <td>Offence</td>
>>>>>         <td>Reminder</td>
>>>>>         <td>Edit/Delete</td>
>>>>>         <td>Add to Batch</td>
>>>>>     </tr>
>>>>>     <tr jwcid="@Foreach" source="ognl:infringements"
>>>>> value="ognl:currentInfringement" element="tr">
>>>>>         <td></td>
>>>>>         <td></td>
>>>>>         <td></td>
>>>>>         <td></td>
>>>>>         <td></td>
>>>>>         <td></td>
>>>>>
>>>>>         <td>
>>>>>             <input type="checkbox" jwcid="@Checkbox" 
>>>>> selected="ognl:addToBatch"/>
>>>>>         </td>
>>>>>     </tr>
>>>>>     </form>
>>>>> </table>
>>>>>
>>>>> .page
>>>>> <property-specification name="addToBatch" type="boolean" 
>>>>> persistent="yes"/>
>>>>>
>>>>> .java
>>>>>     public abstract boolean isAddToBatch();
>>>>>     public abstract void setAddToBatch(boolean value);
>>>>>
>>>>>     public void formSubmit(RequestCycle cycle) {
>>>>>         if (isAddToBatch()) {
>>>>>            //Get all the infringement Id to add into Batch and add 
>>>>> them into
>>>>> a collection
>>>>>         }
>>>>>     }
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>>
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/T3%3A-CheckBox-tf4369817.html#a12513557
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nick Westgate <ni...@key-planning.co.jp>.
You can write your own selection model, or of course use what others have
already written to address this problem.

Check out this thread:
http://www.nabble.com/Multiple-Select-tf144431.html#a400648

Since you are using a list it's easiest to use Robert's ListPropertySelectionModel.
http://www.tapestrycomponents.org/Tassel/app?service=external/ViewComponent&sp=SListPropertySelectionModel

Cheers,
Nick.


Nazmul Bhuiyan wrote:
> Hi Nick,
> 
> Is there any method that I can use to create a ObjectPropertySelectionModel
> model instead of StringPropertySelectionModel as below?
> 
>     public static final IPropertySelectionModel theModel = 
>         new StringPropertySelectionModel(new String[] {"a", "b", "c"}); 
> 
> My page displays a list of objects and I want select some of these objects
> and do something about it.
> 
> 
> Thanks
> 
> Naz
> 
> 
> Nick Westgate wrote:
>> You'll want to use the MultiplePropertySelection component:
>> http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
>>
>> If you need to change the rendering style you can just grab
>> the source for the default renderer (which generates a table)
>> and change it to output things differently.
>>
>> Cheers,
>> Nick.
>>
>>
>> Nick Westgate wrote:
>>> It depends how T3's method matching works, but you might need:
>>>     public void formSubmit(IRequestCycle cycle)
>>>
>>> Note the I in IRequestCycle.
>>>
>>> Cheers,
>>> Nick.
>>>
>>>
>>> Nazmul Bhuiyan wrote:
>>>> Hello,
>>>>
>>>> I’ve a list of objects displayed in a page. I want to collect ids of
>>>> selected object by adding a check box for each of these objects. Then 
>>>> I’ll
>>>> use another action event to do something with this collection of ids.
>>>>
>>>> But I’m getting the following error message:
>>>>
>>>> Unable to resolve expression 'formSubmit' for
>>>> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint]. 
>>>>
>>>> binding:    ExpressionBinding[InfringementsMaint formSubmit]
>>>> location:    context:/InfringementsMaint.html, line 10
>>>>
>>>> Can any one please help me out on this?
>>>>
>>>> My code below:
>>>>
>>>> .html
>>>> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
>>>>     <form jwcid="@Form" listener="ognl:listeners.formSubmit">
>>>>     <div class="jive-contentBoxHeader">Infringement List</div>
>>>>     <tr class="jive-table-header">
>>>>         <td>Inf Type</td>
>>>>         <td>Tran Type</td>
>>>>         <td>Name</td>
>>>>         <td>Address</td>
>>>>         <td>Offence</td>
>>>>         <td>Reminder</td>
>>>>         <td>Edit/Delete</td>
>>>>         <td>Add to Batch</td>
>>>>     </tr>
>>>>     <tr jwcid="@Foreach" source="ognl:infringements"
>>>> value="ognl:currentInfringement" element="tr">
>>>>         <td></td>
>>>>         <td></td>
>>>>         <td></td>
>>>>         <td></td>
>>>>         <td></td>
>>>>         <td></td>
>>>>
>>>>         <td>
>>>>             <input type="checkbox" jwcid="@Checkbox" 
>>>> selected="ognl:addToBatch"/>
>>>>         </td>
>>>>     </tr>
>>>>     </form>
>>>> </table>
>>>>
>>>> .page
>>>> <property-specification name="addToBatch" type="boolean" 
>>>> persistent="yes"/>
>>>>
>>>> .java
>>>>     public abstract boolean isAddToBatch();
>>>>     public abstract void setAddToBatch(boolean value);
>>>>
>>>>     public void formSubmit(RequestCycle cycle) {
>>>>         if (isAddToBatch()) {
>>>>            //Get all the infringement Id to add into Batch and add 
>>>> them into
>>>> a collection
>>>>         }
>>>>     }
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nazmul Bhuiyan <Na...@nz.fujitsu.com>.
Hi Nick,

Is there any method that I can use to create a ObjectPropertySelectionModel
model instead of StringPropertySelectionModel as below?

    public static final IPropertySelectionModel theModel = 
        new StringPropertySelectionModel(new String[] {"a", "b", "c"}); 

My page displays a list of objects and I want select some of these objects
and do something about it.


Thanks

Naz


Nick Westgate wrote:
> 
> You'll want to use the MultiplePropertySelection component:
> http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html
> 
> If you need to change the rendering style you can just grab
> the source for the default renderer (which generates a table)
> and change it to output things differently.
> 
> Cheers,
> Nick.
> 
> 
> Nick Westgate wrote:
>> It depends how T3's method matching works, but you might need:
>>     public void formSubmit(IRequestCycle cycle)
>> 
>> Note the I in IRequestCycle.
>> 
>> Cheers,
>> Nick.
>> 
>> 
>> Nazmul Bhuiyan wrote:
>>> Hello,
>>>
>>> I’ve a list of objects displayed in a page. I want to collect ids of
>>> selected object by adding a check box for each of these objects. Then 
>>> I’ll
>>> use another action event to do something with this collection of ids.
>>>
>>> But I’m getting the following error message:
>>>
>>> Unable to resolve expression 'formSubmit' for
>>> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint]. 
>>>
>>> binding:    ExpressionBinding[InfringementsMaint formSubmit]
>>> location:    context:/InfringementsMaint.html, line 10
>>>
>>> Can any one please help me out on this?
>>>
>>> My code below:
>>>
>>> .html
>>> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
>>>     <form jwcid="@Form" listener="ognl:listeners.formSubmit">
>>>     <div class="jive-contentBoxHeader">Infringement List</div>
>>>     <tr class="jive-table-header">
>>>         <td>Inf Type</td>
>>>         <td>Tran Type</td>
>>>         <td>Name</td>
>>>         <td>Address</td>
>>>         <td>Offence</td>
>>>         <td>Reminder</td>
>>>         <td>Edit/Delete</td>
>>>         <td>Add to Batch</td>
>>>     </tr>
>>>     <tr jwcid="@Foreach" source="ognl:infringements"
>>> value="ognl:currentInfringement" element="tr">
>>>         <td></td>
>>>         <td></td>
>>>         <td></td>
>>>         <td></td>
>>>         <td></td>
>>>         <td></td>
>>>
>>>         <td>
>>>             <input type="checkbox" jwcid="@Checkbox" 
>>> selected="ognl:addToBatch"/>
>>>         </td>
>>>     </tr>
>>>     </form>
>>> </table>
>>>
>>> .page
>>> <property-specification name="addToBatch" type="boolean" 
>>> persistent="yes"/>
>>>
>>> .java
>>>     public abstract boolean isAddToBatch();
>>>     public abstract void setAddToBatch(boolean value);
>>>
>>>     public void formSubmit(RequestCycle cycle) {
>>>         if (isAddToBatch()) {
>>>            //Get all the infringement Id to add into Batch and add 
>>> them into
>>> a collection
>>>         }
>>>     }
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/T3%3A-CheckBox-tf4369817.html#a12488778
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nick Westgate <ni...@key-planning.co.jp>.
You'll want to use the MultiplePropertySelection component:
http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html

If you need to change the rendering style you can just grab
the source for the default renderer (which generates a table)
and change it to output things differently.

Cheers,
Nick.


Nick Westgate wrote:
> It depends how T3's method matching works, but you might need:
>     public void formSubmit(IRequestCycle cycle)
> 
> Note the I in IRequestCycle.
> 
> Cheers,
> Nick.
> 
> 
> Nazmul Bhuiyan wrote:
>> Hello,
>>
>> I’ve a list of objects displayed in a page. I want to collect ids of
>> selected object by adding a check box for each of these objects. Then 
>> I’ll
>> use another action event to do something with this collection of ids.
>>
>> But I’m getting the following error message:
>>
>> Unable to resolve expression 'formSubmit' for
>> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint]. 
>>
>> binding:    ExpressionBinding[InfringementsMaint formSubmit]
>> location:    context:/InfringementsMaint.html, line 10
>>
>> Can any one please help me out on this?
>>
>> My code below:
>>
>> .html
>> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
>>     <form jwcid="@Form" listener="ognl:listeners.formSubmit">
>>     <div class="jive-contentBoxHeader">Infringement List</div>
>>     <tr class="jive-table-header">
>>         <td>Inf Type</td>
>>         <td>Tran Type</td>
>>         <td>Name</td>
>>         <td>Address</td>
>>         <td>Offence</td>
>>         <td>Reminder</td>
>>         <td>Edit/Delete</td>
>>         <td>Add to Batch</td>
>>     </tr>
>>     <tr jwcid="@Foreach" source="ognl:infringements"
>> value="ognl:currentInfringement" element="tr">
>>         <td></td>
>>         <td></td>
>>         <td></td>
>>         <td></td>
>>         <td></td>
>>         <td></td>
>>
>>         <td>
>>             <input type="checkbox" jwcid="@Checkbox" 
>> selected="ognl:addToBatch"/>
>>         </td>
>>     </tr>
>>     </form>
>> </table>
>>
>> .page
>> <property-specification name="addToBatch" type="boolean" 
>> persistent="yes"/>
>>
>> .java
>>     public abstract boolean isAddToBatch();
>>     public abstract void setAddToBatch(boolean value);
>>
>>     public void formSubmit(RequestCycle cycle) {
>>         if (isAddToBatch()) {
>>            //Get all the infringement Id to add into Batch and add 
>> them into
>> a collection
>>         }
>>     }
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T3: CheckBox

Posted by Nick Westgate <ni...@key-planning.co.jp>.
It depends how T3's method matching works, but you might need:
     public void formSubmit(IRequestCycle cycle)

Note the I in IRequestCycle.

Cheers,
Nick.


Nazmul Bhuiyan wrote:
> Hello,
> 
> I’ve a list of objects displayed in a page. I want to collect ids of
> selected object by adding a check box for each of these objects. Then I’ll
> use another action event to do something with this collection of ids.
> 
> But I’m getting the following error message:
> 
> Unable to resolve expression 'formSubmit' for
> com.fujitsu.efi.web.pages.InfringementsMaint$Enhance_58@13cd5b5[InfringementsMaint].
> binding:	ExpressionBinding[InfringementsMaint formSubmit]
> location:	context:/InfringementsMaint.html, line 10
> 
> Can any one please help me out on this?
> 
> My code below:
> 
> .html
> <table border="1" cellpadding="1" cellspacing="0" class="jive-table">
> 	<form jwcid="@Form" listener="ognl:listeners.formSubmit">
> 	<div class="jive-contentBoxHeader">Infringement List</div>
> 	<tr class="jive-table-header">
> 		<td>Inf Type</td>
> 		<td>Tran Type</td>
> 		<td>Name</td>
> 		<td>Address</td>
> 		<td>Offence</td>
> 		<td>Reminder</td>
> 		<td>Edit/Delete</td>
> 		<td>Add to Batch</td>
> 	</tr>
> 	<tr jwcid="@Foreach" source="ognl:infringements"
> value="ognl:currentInfringement" element="tr">
> 		<td></td>
> 		<td></td>
> 		<td></td>
> 		<td></td>
> 		<td></td>
> 		<td></td>
> 
> 		<td>
> 			<input type="checkbox" jwcid="@Checkbox" selected="ognl:addToBatch"/>
> 		</td>
> 	</tr>
> 	</form>
> </table>
> 
> .page
> <property-specification name="addToBatch" type="boolean" persistent="yes"/>
> 
> .java
>     public abstract boolean isAddToBatch();
>     public abstract void setAddToBatch(boolean value);
> 
>     public void formSubmit(RequestCycle cycle) {
>         if (isAddToBatch()) {
>            //Get all the infringement Id to add into Batch and add them into
> a collection
>         }
>     }
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org