on 12-04-2013 9:16 AM
Dear all,
could you help me with Web Dynpro, please?
I need to have one row with label (or labels) and under this row I need to have RowRepeater with their required InputField (or fields):
Problem is that InputField is in RowRepeater and label is in TransparentContainer and therefore label is shown gray (not black) and without *:
How could I manage what I want?
Thank you.
Monika, set labelFor property to some other UI element (even to transparent container where it is itself). this will enable it but in order to get * label needs to be associated with UI element having state = required.:
Label - Reference - SAP Library
If the assigned UI element has the status required, this is indicated by a small red star to the right of the label text.
As a workaround you can create an input field with state required and width = 0px and associate label with that input field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Monika, that is the problem - the purpose of label is also:
By clicking on the label, the assigned UI element is activated (dropdown* UI elements and input fields are focused, check boxes toggled and radio buttons selected).
Label - Reference - SAP Library
In case of RowRepeater there is a semantic conflict which InputField to activate as there could be many.
So, to implement the look and feel you need use the workaround I mentioned below:
you can create an input field with state required and width = 0px and associate label with that input field
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 | |
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.