Skinning Challenge for required Input Fields

Hi to all ADF skinning friends!
I am currently using ADF 11.1.1.5
By default the "required indicator" (actually the * character) is rendered in front of the prompt. e.g.
*Credit Card: ______________
Does anyone know if it is possible to skin the "required indicator" at the end of the label?
Credit Card*: ______________
Thx.

Hi Navaneetha,
yes I was playining around with the .AFRequiredIconStyle selector but did not get the desired result. The float:right is probably the most you can do. thx for pointing out.
To summarize With float:right on AFRequiredIconStyle it looks like
Name:         * ______________
Credit Card:  * ______________The ADF default is
*Name:          ______________
*Credit Card:   ______________What the customer wants ;)
Name*:          ______________
Credit Card*:   ______________Thx,
Andreas.
Edited by: Andreas Koop on Apr 5, 2012 9:03 AM

Similar Messages

  • 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

  • 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.

  • F4 help for a Input Field

    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,
    Rohan

    Sure,
    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

  • 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
    Srinivas

    Hi 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

  • 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 Hroch

    Create 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

  • 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 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 R

    Not 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 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 N

    Hi 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

  • 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.

  • How to set a value on a hidden required input field.

    I have a form that I need to set a value that is stored within the session onto it. I would like the input field to be hidden when a new row is created and just set the value with a value that I have stored with sessionScope.
    Is this possible?
    Any help would be appreciated.

    Frank,
    I sure can access the session attribute. I just wasn't sure how to set it. Here is a snippet of my jsp
    <af:inputText value="#{bindings.Createdby.inputValue}"
    binding="#{backing_Project.inputText3}"
    id="inputText3">
    If I set the value="" attribute to be say value="#{sessionScope.userInfo.userId}" then how does ADF know to update the CreatedBy column? This is where I got confused. I figured the value="#{bindings.Createdby.inputValue}" had to stay that way in order for the column to be updated correctly.
    Basically what I am wanting is to programatically set the userId of the person who is creating the row into the CreatedBy column and then show the user's readonly name when a user edits an existing row.
    Any help would be greatly appeciated.
    Marty

  • 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>

  • 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,
    Srikanta

    Undo/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!

  • Programming Lgic Idea...? Thoughts for required/optional fields for HashMap

    hi all:
    Let me see if I can convey this thought clearly..
    I am having logic problems... not coding issues...
    My problem...
    I have a class called JobBuilder and another class called RegistrationFile. The idea is that RegistrationFile has a mehod to write a Registration File called writeRegistrationFile(HashMap regFileParams). Note that the registration file is constructed based on values in the RegistrationFile... However the registration file construction and hence required information is different depending upon the file type... Thus I have created another method called getRegFileParameters(String filetype) in class RegistrationFile which can be called before the write method which will construct a HashMap with the required parameters neccessary for the specified type and return it to the calling class (JobBuilder). The information in the returned HashMap will contain the required and optional fields needed to create a the specific registration file... My idea is that registration file class returns this HashMap to the calling class JobBuilder and it will use the information in the HashMap to construct the appropriatte HashMap which can be passed back to the RegistrationFile method writeRegistrationFile(HashMap params) method in order to construct the registration file...
    so for example say the calling class JobBuilder says ok I want to create a registration file that is of type 2d Drawing... so it will make the following call:
    RegistrationFile rf = new RegistrationFile();
    HashMap hm1 = rf.getRegFileParams("2d Drawing");
    the above will execute and a hashmap of optional and required values will be returned to JobBuilder and will look something like this...
    "GT_ATTRIB", "AFM_W,KEY;AFM_X,KEY;AFM_D,X;"
    "NTK", "X,X;"
    "FILE", "X,X,X;"
    etc...
    couple things to note...
    X = optional
    KEY = REQUIRED
    also there may be X number of required records for GT_ATTRIB, or NTK, etc... multi valued input is seperated by commas and varying value/parameter pairs by semicolons...
    Thus for GT_ATTRIB there may be some number of required fields like AFM_X, AFM_D, etc and each pair is seperated by a semicolon...
    thus AFM_X, AFM_D eventually will translate to seperate records
    i.e. in the registration file it might look like
    GT_ATTRIB|AFM_X|11
    GT_ATTRIB|AFM_D|Q.1
    NTK|3|6
    NTK|4|5
    FILE|/var/tmp|file1.txt|<optional comment>
    FILE|/var/tmp|file2.txt
    etc... all of this would have be turned into a HashMap that is constructed and returned to the RegistrationFile.writeRegistrationFile (HashMap hm) that was constructed like the following...
    HashMap hm2 = new HashMap();
    hm2.put("GT_ATTRIB", "AFM_X,11;AFM_D,Q.1;");
    hm2.put("NTK", "3,6;4,5;");
    hm2.put("FILE", "/var/tmp,file1.txt,<optional comment>;/var/tmp,file2.txt;");
    etc...
    rf.writeRegistrationFile(hm2); // send it to registrationFile class and use the write method...
    The logic problem i am having is that the they should be able to construct the previous by reading the HashMap that was returned earlier... specifying required and optional parameters... does anyone see how in the class JObBuilder I might accomplish this... somehow I need to read each "KEY", "VALUE" pair from the returned HashMap and then further break it down to distinguish the required attributes from the optional ones...
    it seems that they will have to get the KEY (i.e. "GT_ATTRIB", "NTK", etc... and tear apart the "VALUE" (multi valued key) and determine what is required vs. optional and then to reconstruct it so that I can read it in RegistrationFile class.... i.e.
    They may tear it apart as
    "GT_ATTRIB", "AFM_X", "11";
    "GT_ATTRIB", "AFM_D", "Q.1";
    "NTK", "3", "6";
    etc...
    but in the end needs to be reconstructed like...
    HashMap hm2 = new HashMap();
    hm2.put("GT_ATTRIB", "AFM_X,11;AFM_D,Q.1;");
    hm2.put("NTK", "3,6;4,5;");
    hm2.put("FILE", "/var/tmp,file1.txt,<optional comment>;/var/tmp,file2.txt;");
    etc...
    rf.writeRegistrationFile(hm2); // send it to registrationFile class and use the write method...
    does any of this make sense?
    I need a way to tell what is required and optional based on the returned hashmap so that I can construct the correct hashmap which will be used in generation of the registration file...
    I really do hope that makes sense and truly appreciate any time and help anyone can provide... pseudocode would be great.. to convey the idea if anyone has the time or desire...
    thanks again..
    echardrd

    Yeah, you want to learn XML for ways to do this.

Maybe you are looking for

  • Creating CSS text in Fireworks... or should I say not.

    I am so frustrated with Fireworks. I have the latest update, and I am still having problems creating text and exporting as html/css. I've tried deleting elements I though might be causing issues, still no go. I get either no css styling, some styling

  • Problem installing adobe photoshop cs4

    Hi I have issue installing the adobe photoshop cs4.

  • I can't Tweet!

    Hi. When using the Twitter app, I can't post a tweet. I get an error message saying "Saved as draft. Error posting your message. There was an error sending your Tweet. It has been saved as a draft, please try resending later. (Error: forbidden)" Here

  • Watermark not showing up in L4

    I tired adding my watermark last night, as i always do when I export photos.  (yes, the box was checked for watermark) When I viewed the exported file (not the original), it didn't show up. I'm using a custom logo, not text. i also tried creating a n

  • Vendor delivery rating for scheduling agreements

    Dear All, I need to check vendor delivery rating for sch. agreements. Mc$6 is not usefull because of sch. lines it works fo Po's. please suggest me how to get this. Regards MSR