CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 Unable set Listbox value that contains '&'

Print topic Send  topic

Author Message
daniel_wai

Posts: 13
Posted: 05/13/2015, 10:07 PM

The scenario is I select listbox value contains '&' character, e.g. "Update & Apply", in search form and perform search action, but the listbox value clear after search.

I tried to use java to setValue() to listbox, but it seems no work.

Anybody has idea to solve it?
View profile  Send private message
eratech


Posts: 513
Posted: 05/13/2015, 11:32 PM

@daniel_wai - this is not Java specific as I don't use it, but the way CCS usually works.

If the value of the select listbox doesn't matter (you display 'Update & Apply' but the value is 'Update_and_Apply') could you do that?

The '&' is probably being url encoded when the Search is done and normally would set the value, but the '&' is probably returning as '&' and not matching.

Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message
daniel_wai

Posts: 13
Posted: 05/14/2015, 4:02 AM

Thanks, I will change the value.
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 05/28/2015, 12:14 AM

Yep Eric that is what happens.
_________________
Central Coast, NSW, Australia.

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.