on 05-14-2007 6:47 AM
Hi,
I have to select multiple rows in a table.I have made the Cardinality-0..n
Selection 0..n and Checked the Initilization Lead Selection Checkbox.
In the Layout,I have given the value for Selection Mode-Multi.But whenever I try
to run the appln,the first row is always selected(Because of "Initialization Lead
Selection" CHECKBOX) and when i select some other row,the particular row is not
getting selected.always the first row is selected.As I am new to webdynpro,I don't have that much knowledge.Only this much has to be done for selecting multiple rows or any coding has also to be done.Can anyone help on this ?
Regards,
Rohini.M
Hi Rohini,
A UI element is bound to a context node or attribute on a node , where this
node is defined as :
cardinality 0..n or 0..1.
The framework will not create a default empty element in this case.
When the view is to be rendered, its source content doesnt exist. AS the node
has no elements. rendering fails....
Now in your case check for the cardinality. You can try with different
cardinalities as per your requirements.
As per my understanding the reason for to get this dump is that you have set
the property "Initialization Lead Selection" to true of a context node in the
CALLED view.. now since initially there is no data in your context the system
is not able to perform this action and hence you get this dump. Uncheck this
and it should work fine.
Hope this answer will help you.
Cheers,
Darshna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohini,
The settings you have done are sufficient for selecting multiple records in the table.
Check if in any other method if the lead selection is reset to 1? like in Modifyview...
Best regards,
Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.