2/21/2025 5:00:56 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
| |
|
Re: I need some direction building items in a combo box from the results of a query for the Web Client.
Posted: 28 Aug 06 9:36 AM
|
fiogf49gjkf0d Here are 2 ways I would do it: 1) Have the action build the HTML for the select item and its options. On the web client, use Jscript to invoke the action and retreive the result. Insert the result from the action into the innerHTML of an existing item on the Web.
2) Have the action return an XML object containing the options you want to place on your Combo box (Select element) On the Web Client, use JScript to invoke the action, retreive the results and load them into an XML Object Using Javascript, loop thru the Elements on the XML Object and add them as Options into the Combo box
Another Alternative would be to use the Include tag and load the items onto the Template. I would use this approach if you do not need to call the action dynamically based on user response.
Sorry for the lack of Code samples, but let me know which approach you prefer and/or wether you would like some sample code. |
|
|
| |
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|