Hi SDN,
Can anyone plz tell me how to set the selection attribute of a dropdown with the cookie from the browser??
<hbj:dropdownListBox
id = "myDropdownListBox1"
disabled = "false"
model = "myBean.model"
selection="readCookie(name)"
jsObjectNeeded = "TRUE"
onSelect="onProcess"
onClientSelect = "raiseMyEvent()">
</hbj:dropdownListBox><br>
readCookie returns a string from the cookie.
But it seems itz not reading though i can alert and see that the function returns the string...
Two pages have the same iview with a dropdown..
I want the second iview to read the cookie set by the first iview with the value selected in the dropdown.
This helps me in showing the same selection in the dropdown on both pages.
Any hints are gr8ly appreciated..
Thanks.