on 11-20-2013 11:37 AM
Hi,
i need to rename some UI Elements and Context Attributes dynamically while Runtime...
Is this possible ?
Thanks for your help!
Do you mean renaming the actual unique ID of those UI elements / context attributes?
If so, why do you want to do that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, i mean the actual unique ID.
I want build a generic Search, where the user should be able to give many filter criterion.
if there are actually 3 criterions and the user wants to delete the second criterion... i want rename the 3rd filter...
for example: change id of inputField with id "inputField3" to "inputField2"
Hi Buenyamin,
The way you are trying to accomplish your task is quite code-heavy, not very maintenance-friendly and not open to future enhancements. Why not use the Web Dynpro framework as it is intended?
If I were you, I would simply create a 1..n node with two attributes, one for the filter title and one for the filter value.
By adding and/or removing node elements you build up your filter, and the complete node content *is* your filter
Hope this helps!
Hi Robin,
i'm new to web dynpro... therefore this heavy code method
i have one problem with your solution... i dont know how many filter values the user wants to use... it is possible, he uses only 1 or 3 filter values...
Do you have an idea how i can realize this?
Apart from this, i understand your solution...
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.