on 11-06-2006 7:37 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.