dev@jsftemplating.java.net

Re: JSFTemplating: passing sun:checkBox object to create Map

From: Priti Tiwary <Priti.Tiwary_at_Sun.COM>
Date: Mon, 25 Sep 2006 15:14:55 -0700

Hi Anissa,
I do not know the id of checkbox, i want to create a new checkbox
Object and pass it to the mapPut handler.

priti


Anissa Lam wrote On 09/25/06 03:06 PM,:

>Hi Priti,
>
>Assuming you know the id of your checkbox, you can do something like this:
>
>getUIComponent(clientId="form:sheet:propertySection:property1:checkbox1",
>component=>$attribute{checkBoxObject});
> mapPut(map="$attribute{row1}" key="a0" value="$attribute{checkBoxObject}"
>
>Anissa
>
>Priti Tiwary wrote:
>
>
>>Hi ,
>>If i want to pass checkbox object to following handlers, how can i
>>pass one at bolded checkboxObject
>>
>>createMap(result=>$attribute{row1});
>>mapPut(map="$attribute{row1}" key="a0" value="*checkBoxObject*");
>>
>>Priti
>>
>>
>>
>
>
>
>

-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Priti Tiwary          		M/S SCA16-2425
Sun Microsystems, Inc.		4160 Network Circle
Voice: +1 408 276 5559          Santa Clara, CA 95054      
Cell: +1 510 396 4431           United States