on 10-27-2013 3:26 PM
Hi,
i'm new to Web Dynpro, therefore some easy questions...
i want edit some entries in a table.
the access on the entry is no problem... but
1- How can i store the ID/number/row of the selected element ?
int i = wdContext.nodeAdresses().LEAD_SELECTION; returns -1
2- And how can i close the selectionMode via Code?
3- Is there any possibility to change the colour of an Input Field? for invalid inputs
thx
Bueni
Hi Buenyamin
1. The method is getLeadSelection().
If it returns -1 then it means that no row is selected, for preventing that you can set the node's property 'Collection Cardinality' to '1..n' OR '1..1'
2. Create a context attribute of type TableSelectionMode and bind it to the table's property and handle the attribute in code
3. Using the messageManager method 'reportContextAttributeMessage'
Good luck
Shai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.