Combination View Flat View Tree View
Threads [ Previous | Next ]
Gurumurthy Godlaveeti
How to get values of AUI textbox list to java (portlet) class ?
September 10, 2012 9:46 AM
Answer

Gurumurthy Godlaveeti

Rank: Regular Member

Posts: 142

Join Date: August 11, 2011

Recent Posts

Hello Everybody ,
I used alloy ui textboxlist for getting multiple values and now , how can i get these values to Java class ?

 1
 2var TBL = new A.TextboxList(
 3    {
 4        dataSource: [
 5            ['NM', 'New Mexico', 'Land of Enchantment'],
 6            ['NY', 'New York', 'Empire State'],
 7            ['NC', 'North Carolina', 'First in Freedom'],
 8            ['ND', 'North Dakota', 'Peace Garden State'],
 9            ['OH', 'Ohio', 'The Heart of it All'],
10            ['OK', 'Oklahoma', 'Oklahoma is OK'],
11            ['OR', 'Oregon', 'Pacific Wonderland'],
12            ['PA', 'Pennsylvania', 'Keystone State'],
13            ['RI', 'Rhode Island', 'Ocean State']
14        ],
15        schema: {
16            resultFields: ['key','name','Description']
17        },
18        matchKey: 'name',
19        typeAhead: true,
20        contentBox: '#myAutoComplete',
21        width: 600
22    }
23);
24
25TBL.render('#demo');


I want to get the keys (NM,NY,...RI) to portlet class , How can i do and more ever please tell me if any techniques are there to get the values of aui auto complete , textboxlist ...etc ?

Thanks ,
Gurumurthy . G