cancel
Showing results for 
Search instead for 
Did you mean: 

problem in Getting Values through the query temlate

HariCS23
Contributor
0 Kudos

Hi Gurus,

I got the requirement that my drop down values need to be populated rom the result of query.

So,I have created the Query template which returns the list of values.

I am getting problem in getting the result set in html.

( i have tried by the icommand,but i am missing some thing)

Any body,please help ...

Thanks

Vansi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Or if you are very particular about the look & feel use an HTML combo and with the aid of Java Script fill in the iCommand values into the combo.

1.get the iCommand Rowcount

2.set the length of the combo as RowCount

3.Loop through the iCommand rows and populate the combo.option().text & combo.option().value.

P.S:Keep in mind the index for the combo options start with 0

Edited by: Udayan Upreti on Jan 15, 2008 9:02 AM

Answers (2)

Answers (2)

0 Kudos

Make sure that the iBrowser display tempate is checked for "Drop-Down List Mode".

Sam

Former Member
0 Kudos

Hi Vamsi,

Why don't you use ibrowser to display data from query templates in dropdown format? It will be quite easy to achieve that thing.