cancel
Showing results for 
Search instead for 
Did you mean: 

tableView with iterator and Bee - Please help

Former Member
0 Kudos

Hello,

I have requirement where users enter data using dropdownlistbox in one of table field. Im showing possible values using Iterator and

replacement_bee = cl_htmlb_inputfield=>factory...logic.

My requirement is, user first want to enter value in field and not select from dropdown. If user do not remember, then they will select from dropdown. How can I achieve this?

This is becuase, user is getting page refresh (flicker like feeling) when they use dropdown, which they are not liking. They need just plain typing page and dropdown as optional. Is there any way I can remove flicker/refresh feeling while using tableView with iterator and Bee?

Please help.

Thanks.

Ajay

Accepted Solutions (0)

Answers (4)

Answers (4)

raja_thangamani
Active Contributor
0 Kudos

Ajay,

Use PHTMLB tag COMBOBOX. But you need to use this tag in the iterator & Bee. I had the same requirement & it worked. If it doesnt work let me know i can paste the full code here.

Here is the piece of code:


     <phtmlb:comboBox id                 = "combobox_test"
                   behavior           = "FREETEXT"
                   nameOfKeyColumn    = "CITYFROM"
                   nameOfValueColumn  = "CITYFROM"
                   nameOfValue2Column = "COUNTRYTO"
                   onSelect           = "trigger"
                   table              = "<%= tab_spfli %>" />

Hope this will be useful. Please close the thread if it works.

Raja T

Former Member
0 Kudos

Hello Raja,

Thanks.

Can you please give me little JAVA Script code that how I will be used with inputfield rather than dropdown, iterator and BEE combination..that will be great help.

I select possible values from coockies and load in table to make my possible values.

I use :

CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie

to get cookies and then showing them.

Thanks,

Ajay

athavanraja
Active Contributor
0 Kudos

Sorry Ajay, I dont understand the question. can you explain your quesiton.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

when the user uses dropdown to selecte value, the pagerefresh (server roundtrip ) will happen in the onselect attribute is set in the dropdownlist box. otherwise it will nt refresh - it will just client action only.

Regards

Raja

Former Member
0 Kudos

In your BSP application properties tab there is a checkbox option called DELTA HANDLING - this needs to be checked for each page and also for controller (if using MVC approach) - check that and try if you still get the flicker. This is supposed to eliminate that.

In case this does not work, you can always use a input field with value help option. Users can either directly type in the value or in case they dont remember they can click on the search help button - in this case you will need to write a java script to popu up list of possible values from which user can select.

hope this helps.

Cheers