lachni Posted January 3, 2011 Share Posted January 3, 2011 Hi,I use cascading control for an invit page.I've got two controls one single select list of values and an another select query which are supposed to use the first parameter in his query.The user choose a domain (define locally without using a query), then the second input control view dinamically a list of subdomains.Input Control list 1 (domain): String List of values (label and value define locally)Input Control Select query : List of subdomains define by a Query which view fields by do a select on the first parameter.By using the exemple, I know that $X{IN,field ,parameter} worksIs it possible to get a parameter directly from the first input in the multi select query ?Is there a great syntax for something like a : SELECT $X{paramater} Link to comment Share on other sites More sharing options...
baggypants Posted January 4, 2011 Share Posted January 4, 2011 If it's a single select list then use $P{parameter}$X{} is specificaly for multi select lists. Link to comment Share on other sites More sharing options...
adrikr73 Posted January 4, 2011 Share Posted January 4, 2011 But, in the second parameter you have the first value selected without any selection of the first one? I have this problem, and I don't know how to solve it... :(Post Edited by adrikr73 at 01/04/2011 16:13 Link to comment Share on other sites More sharing options...
ramnik Posted January 7, 2011 Share Posted January 7, 2011 The first value selected in second control is bcaz 1. this must be an mandatory control and in mandatory control, first value are selected by default, if one no value selected in first control 2. there is no default value to the second control 2. this is part of the feature when user dont have to select any values when input control are mandatory. so , solution here is :- 1. provide default value to both the controls 2. do the cascading by using the name of parameter in second control, if thats the case, the first value will be selected in the first control, and cased on the casacding, first value is selected in the second control Ramnik KaurSenior QA Engineer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now