ADF: Mandatory symbol for ReadOnly input fields
Hi All,
I am using JDeveloper 11.1.2 version. I am creating sample login window. In that there is Input Text filed called "old Password" which should be readOnly always [It will display oldPassword value]. When I ran my page in OldPassword field, mandatory symbol is not displaying. Eventhough I gave required="true" and showRequired="true" in jsff file, I am getting same output. The input Text is not ViewObject based. I am just binding ManagedBean variable value to that Input field to display oldPassword value.
Can u please help me out?
Regards,
Praveen.
This is the normal behavior, as a workaround you can surround the input text with af:panelLabelAndMessage and set its showRequired property to true.
<af:panelLabelAndMessage id="plam1" showRequired="true">
<af:inputText label="old Password" id="it1" readOnly="true" value="value"/>
</af:panelLabelAndMessage>
Similar Messages
-
Multiple select options for an input field
Hi All,
We have a requirement where in we need to provide multiple select options for an input field in a BSP application and get output relevant to all the given inputs(do not require range).
Please do let me know how to solve this.
Thanks & Regards,
Lavanya .Hi,
The requirement is : Suppose there is a input field PLANT.
If we give input for plant it gives related output.
Now if it is required to give 5 or 6 inputs..like plant1,plant2...plant6 and get the output related to all 6 inputs.
(Like we implement in ABAP)
Please do let me know how can this be implemented in BSP.
Thanks & Regards,
Lavanya. -
How to restrict number of characters for an input field
Hi All,
I have an input field.
The max number of characters for this input field is 10.
when a user enter more then 10 characters. it should prompt for an error or the input field should not allow to accpet the 11 character.
how we do this in VC.
need your helpful answers
Rgds
SrinivasHi Srinu
You could achieve this by configuring error messages under the formula:-
Select the control properties and in the Input field at the Display tab write the formula
"IF((@<LEN(text)>10),'appropriate message','Records available')"
Note :- there is a LEN(text) under text functions in formula tab.
Regards
Navneet
Message was edited by:
Navneet Giria -
Hi Experts,
I am New to web Dyn Pro Java.
I have a requirement in which I need to impplement F4 help for a input Field. For this I should not use the Back end. I am suppose to hard code the values that will appear in the F4 help. Can I implement it and how?
Please respond. Thanks in Advance.
Regards,
RohanSure,
Go by this-->
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ab331b-97c6-2a10-f982-c9f972c34e51]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e038cf90-0201-0010-0a9a-ec69262a1564]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8]
kunal -
Setting the colour red for an input field or a text-field in a table
Hy,
I am using an input-field or text-field within a table-cell. For some rows in the table the text in the input-field / text-field should be red. How can I do this ?
Florian HrochCreate a new attribute "TextColor" of type "com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor" (local DDIC types), under the table's data source node.
Bind the "TextView.semanticColor" property of the table cell editor to this attribute.
If you cannot add new attributes under the data source node (this is the case if there is a structure binding), add a value node "TableProperties" (cardinality 1:1, selection 1:1) under the data source node and add the attribute there.
Then you can control the color of the TextView in table row at index i by setting the "TextColor" value for node element at index i.
For an input field, you cannot set the text color, a workaround might be adding an icon in an extra column.
Armin -
Field Symbol that call input field
I learnt that I will need to use field symbol to call the values that is in my input field call (IO_INPUT). How am I suppose to call the valuein my input field? Codes example is appreciated
FIELD-SYMBOLS
Declares field symbols.
Syntax
FIELD-SYMBOLS <FS> [<type>|STRUCTURE <s> DEFAULT <wa>].
Field symbols are placeholders or symbolic names for other fields. Pointed brackets are part of the syntax for field symbol names. The <type> addition allows you to specify the type of a field symbol. The STRUCTURE addition forces a structured view of the data objects that you assign to the field symbol.
PLZ REWARD IF USEFUL.
PEGARDS,
PRIYA. -
Search help for a Input Field........
Hi,
I'm fairly new to BSP and I would like to know how to attach Search Help to the Input Field in BSP application.
Thanks
NP.Hi nagendra
Search Help for input field Provide using attribute of input field is showHelp and onvaluehelp
This is providing the search help . -
How to create a dynamic entry list for an input field in VC(ce 7.1)
Hello all,
I have an Input field, i need to create a Dynamic Entry List for it in VC(ce 7.1).
How can this be done.
Thanks in Advance.
Thanks and Regards,
Santhosh Guptha NHi Santhosh,
You can define Dynamic entry list for Drop down list and combo box but not for input field.
[Refer this|http://help.sap.com/saphelp_nwce10/helpdata/en/2a/28249060dd4dbc872f6266f4557364/frameset.htm] for defining entry list.
Let me know if it helped.
Regards,
Dharmi -
Custom Exit Button not working..looks for required input field on screen?
I defined this EXIT button as type E in Menu Painter.
I am using "MODULE At EXIT-COMMAND" in my PAI.
SAP message still asks for the required input field when I select the function EXIT button?
The logic still will not break into the At EXIT-COMMAND of my PAI?
Thank-You.Hi
Have you assigned variable OK_CODE in the list of screen element?
IF NOT zin_railid is initial.
LEAVE TO SCREEN 0100.
ENDIF.
Which is the sense to create a button for exit-command and doesn't allow the exit if the input field is empty?
In SE41 I entered "Back" over the back button, "EXIT" over the exit button, and "CANCEL" over the cancel button.
I selected each one, and got a popup to enter "E" for each type. As I said they appear, but do nothing?
Did I need to set a status for these?
No you don't, it's only important to define a functional having the attribute for EXIT-COMMAND
Max
Max
Edited by: max bianchi on Nov 5, 2010 6:31 PM -
How to put Mandatory option for selection screen fields in ABAP Queries
Hi Experts
Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
Manually I had written code in the At Selection Screen option in infoset to display error message if that field is blank.
But I need to display the selection fields with the tick mark (obligatory mark).
How to do this?
Appropriate answers will be awardedHi
For parameter option
parameters : p_kunnr type kna1-kunnr obligatory.
For select option
select-options: s_date for vbak-erdat obligatory.
Plz rewards points ,
Regards ,
Ganesh. -
How to assign search help for an input field by fetchign values from an int
i have an input field ,
i want to assign search help for the same by fetching values from a table.
how to achieve this ?Using the below ways you can assign search help to a field.
1) [OVS Search Help|http://wiki.sdn.sap.com/wiki/display/Snippets/OVSsearchhelp]
2) [Freely Programmed Search Help|http://wiki.sdn.sap.com/wiki/display/WDABAP/Freelyprogrammedinput+help]
3) Dictonary Help - Use the Data element for that purpose. -
ADF JSF Shuttle Component - Additional input fields
Hello,
We're in the process of integrating the nice shuttle JSF component into our application. Our app though requires that before the assignment is done (by moving an item left ->right in the shuttle UI) a dialog window must be opened to allow the user to fill in additional input fields (i.e the targe N-M association table that is populated by the shuttle component, needs those additional fields filled for each new record).
Is there a way to do that with the current shuttle component?
Thanks in advance for any help.
Jordickx,
The components don't require a model reference (i.e. assocaition with a JavaBean). You can access all of the components on the posting page on the server, so you could definitely get all of the values that way. You can build up the tree dynamically as well.
So the short answer is yes :-).
<<KM>> -
How to get label text for the Input Field in code
Hi,
I have created Two UI elements InputField and Label. I set the property 'labelFor' of the UI element Label to 'InputField'.
This is my requirement . I am having the Id of InputField in the code . I want to get the value of 'text' of the UI element Label.
Please suggest how to proceed.
Points will be rewarded for helpful answers.
Best Wishes
Idhaya RNot sure why you really need this, but you could do something like
IWDInputField field = (IWDInputField) view.getElement("inputFieldID");
IWDLabel fieldLabel = null;
for (Iterator children = field.getContainer().iterateChildren(); children.hasNext(); )
IWDUIElement child = (IWDUIElement) children.next();
if (child instanceof IWDLabel)
IWDLabel label = (IWDLabel) child;
if ( field.getId().equals(label.getLabelFor())
fieldLabel = label;
break;
Armin -
How to implement AZAX call for a input field in webdynpro java.
Hello everyone,
I want to make a AZAX call , when I click on the input field.Anybody has already implemented this earlier, plz let me know how to do this.
Thanks,
SrikantaUndo/Redo is a pain in the neck. If I recall correctly, I usually use a javax.swing.undo.CompoundEdit to group smaller edits. Not sure if this will work but you might try starting a compound edit when a user strikes a key and ending it after a certain amount of time passes without a keystroke. This will allow rapid bursts of typing to be grouped as a single edit.
-
Matchcode for GuiXT input fields
I installed theh program ZGUIXTF4 and created transactions ZXF4 in our DEV system to use SAP matchodes in GuiXT input fields. When I click on the icon to bring up the values no values come up but instead it creates a new session. Any ideas what I am missing? I installed it in SBX and it is working fine there. The ZGUIXTF4 code and the ZXF4 transaction look to be identical.
Hi Kathryn,
I'm having the same problem! did you solve the problem? I really would appreciated your help!
Regards!
Maybe you are looking for
-
I would like to upgrade my itunes but have a macbook 10.8.5. How can I do this?
-
Hello I keep getting an error when I am trying to dawnlaw OS-X an any other software why?
-
I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?
-
Apple style universal dock with sound?
I keep my touch on my end table along with a clock radio I'd like to ditch. Only trouble is that the dock doesn't emit sound. Yes, there are oddles of dock stations with speakers; they're overkill. I had purchased a few of those 'lego' style speakers
-
Embedding and using external fonts.
I'm using Flash CS4. I'm trying to load and embed an external font. The main problem I'm having is that I need to import more than just latin 1. I need many special characters imported as well. Because of this, using Flash CS4's create new font f