In RMA , during runtime how to get a value from user and add it to list box..
What are you trying to accomplish? The RMA is for rules (code) maintenance, so we are talking about how to add to the code generation options, right?
I have a requirement .
1) Display a sting list say a list of car names.
2) In RMA i need to add few more car names to the list
i.e dynamically add data to list from RMA.
How to do this ?
It really depends on what kind of data you are talking about. If the data should be accessible in other forms/for querying etc, I'd suggest putting it in a database. You could include a CRUD interface in the RMA by using an iframe etc.
If you only need to maintain this list in the RMA/use it in your rules, you can use either a variable template or enumeration items template. That will give you items that are "listable" by one of the built in providers (SRL Entity provider, for example).
You should probably create a custom provider that handles conversion from your input value to some compile safe value. Both the variable template and the enumeration items template create SRL content, so it needs to compile. I have previously handled this by creating a provider that converts anything not in (a-zA-Z0-9_) to _<character point>_, i.e. underscore followed by the character point of the character followed by another underscore. (This gives me a distinct pattern to search for when converting back.)
I will try that . Thnx jos
Retrieving data ...