How to include Placeholder in af:inputText component

In the HTML5 there is property called *“placeholder”* it will act as watermark for the text box
Below is syntax for the HTML
<input type="text" name="fname" placeholder="First name">
I need the same approach to solve the af:inputText tag is there any solution available.
Please help me on this issues.
Thanks in advance

Thanks Pavol.
Link which you given as sample example and work around for label using jquery.
Problem we facing for af:inputText command (input text) as follows
approach
we make the value field act as watermark.
using clientlistner onfoucs clear the value
using clientlistner onblur adding the watermark value.
Problem we facing is how to support for multi language.
During the post watermark value also passed to server.
(Need to clear the text value before send to server if it watermark value. it is very complex task.since we need to check in every form and every field used in the application).
Another scenario during editing already existing data or re-submit data value should be show to af:inputText command.
how we can able to achieve it.
Value should be either of the below one
1) user enter value
2) Fetched from DB. (for editing )
3) Adding Water mark value.if it is null value from post or null value from DB data.
it would be great help. Any configuration change to add attribute to af:inputText command

Similar Messages

  • How to include a third party component into a netbeans project

    I am working in netbeans 5.0 and i want to include a third party component into my project.I have the jar files of a text editor ie FCK text editor.Could anyone tell me how to include the component into my project

    - Put the jar file on a location you want (the location must be the same for all developers).
    - Select the "Libraries" node of your project.
    - Press the right mouse button to bring up the popup menu and choose "Add JAR / Folder..."
    - Locate and select the JAR file you need and press OK.
    - Now you have included it into your project.

  • How to style an inputText component?

    I want inputText component to have four blue borders instead of default ones.. how can I do this?

    on this PJC-site you find many example of this and similiar features :
    http://forms.pjc.bean.over-blog.com/
    it's pure gold to search there a while

  • How to include multiple image components into a single custom component???

    How to include multiple image components into a single custom component???

    Hi Marcel,
    an ABAP transaction can only run or at least be started on one single system. A portal transaction can be assigned using a URL. This doesn't need any logical component.
    Regards
    Andreas

  • How to email text from a text component in my applet on a the host server ?

    How to email text from a text component in my applet on a the host server, back to my email address ?
    Assuming I have Email Form on the host server.
    Help will be appreciated.

    You can do like below
    =REPLACE(Fields!Column.Value," " & Parameters!ParameterName.value & " ","<b>" & Parameters!ParameterName.value & "</b>")
    The select the expression and  right click and choose placeholder properties
    Inside that set Markup type as HTML 
    then it will highlight the passed parameter value in bold within the full xml string
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to include a KB Update into a WIM in order to point to the WIM when using DISM (details inside)?

    Hi, I was told in another of the forums that my issue
    is best suited for the TechNet audience.  Previously, I posted it here: http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/how-to-include-a-kb-update-into-a-wim-in-order-to/e7015076-b4a9-4862-a73b-6c58b4c82461?tm=1409598696763
    I've been struggling to fix a corrupted file.  
    Context:  I feel that something is not right with the computer, so I started poking around.
    I used "sfc /scannow" from an elevated command prompt and the result was: 
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log <var style="border:0px;margin:0px;padding:0px;vertical-align:top;-webkit-font-smoothing:antialiased;">%WinDir%</var>\Logs\CBS\CBS.log.
    I looked in the log.  This message appears 4 times:
    Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate",
    TypeName neutral, PublicKey neutral in the store, hash mismatch
    There is also the following message:
    This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    I'm not positive what to do next, but I have been led to believe the problem is that Flash files in version 6.3.9600.16407 are corrupted, that I need to find which KB updates Flash to this version, download the file, add it to a new WIM, and point
    to it when using DISM.  I'm not positive this is correct, but it was suggested.
    I downloaded the KB update: kb2889543, but I do not know how to add it to a new WIM or what the repercussions of doing so will be (e.g. Will I lose everything and have to restore my documents, etc from my external drive by doing this?).  
    So, the question is: How can I include a KB Update into a WIM and tell me what the result will be when once I do and point to it when using DISM?
    Secondarily, if this is a bad way to move forward with the issue, would some kind soul offer sage advise on how to move forward with resolving the original issue?

    Hi TTQSTTQS,
    As you mentioned in the answers forum, when run  the command DISM /Online /Cleanup-Image /RestoreHealth,  we received the error message “The source files could not be downloaded. Use the "source" option to specify the
    location of the files that are required to restore the feature”.
    When run the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess, we met the same error message.
    I think there are some mistakes in the source setting, so we meet the same error messages.
    As I mentioned in the last reply, we need a mounted image as a repair source, and then use this path.
    We need to configure a Windows repair source. Please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825020.aspx
    Please refer to the following steps to set the source image.
    1. Assign Drive Letters to Partitions by Windows PE.
    2. Capture Partition Images using DISM
    For more information, please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825072.aspx
    Then, we could try the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Explain: how to include Infospoke in Process Chain where destination is  DB

    Explain: how to include Infospoke in Process Chain where destination is  local machine database [NOT Flatfile]

    Hi vijay,
    First you create an Infospoke with destination as a DB table in your local BI or BW Machine. Now add this infospoke by going through below steps.
    1. Call up the process chain maintenance. Choose This graphic is explained in the accompanying text Process Chain Maintenance from the Administrator Workbench toolbar. The Process Chain Maintenance Planning View screen appears.
    2. In the left-hand screen area of the required This graphic is explained in the accompanying text display component, navigate to the process chain in which you want to insert your InfoSpoke. Double-click to select it. The system displays the process chain plan view in the right-hand side of the screen.
    If no suitable process chain is available, you need to create a new process chain. You can find additional information under Creating a Process Chain.
    3. To insert a process for extraction by means of an InfoSpoke, choose This graphic is explained in the accompanying text Process Types in the left-hand area of the screen. The system now displays the process categories available.
      4.In the process category Loading Process and Post Processing, choose the application process type This graphic is explained in the accompanying text Data Export into External Systems.
      5.Insert the Data Export into External Systems application type with Drag&Drop into the process chain. The dialog box for inserting a process variant appears.
      6.In the Process Variant field, enter the name of the InfoSpoke that you want to include in the process chain, or select it by means of the input help.
    Once You have added the infospoke you have to write a program which will fetch the database table that you filled and transfer the data fetched to other legacy system with the help of XI System
    For more information on how to infospoke on 3rd party pls find the link below
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f12a03d-0401-0010-d9a7-a55552cbe9da
    Hope this help
    Harish

  • How to include in table of contents the list of figures and list of tables?

    How to include in table of content the "Table of contents", "List of figures" and "List of tables"? All are generated with function Table of contents, but they will not appear in generated table of contents even if they have proper style of headings - Heading 1, as other chapter.
    I get this in generated Table of contentes of my dissertaion thesis:
    Table of contents
    Preface
    Table of contents <- missing
    List of tables <- missing
    List of figures <- missing
    Introduction
    Main
    Conclusion
    Is it ok, that generated lists are not included in table of contents?

    You've just confused me.
    My understanding of how this is set up is that either:
    This is a book, and there is a master TOC that includes all book documents and a document-specific TOC in each component file, or
    This is a single file and there is one master TOC that includes all sections and a section-specific TOC that includes only the individual section.
    In the first case, I think you would want two TOC styles set up, one that includes the chapter heads (if I understood how you said this worked) for the for the master, and you would include all docs in the book when you generate it, and a second style for the individual chapters, with the subheadings you want to include.
    In the second case, it would be similar, but instead of only one style to cover the section TOCS, I think you would need to create a unique set of pargraph styles for the headings in each section (they can all be the same format, based one section, just with unique names), and then make a TOC style for each section that includes only the styles from that section.
    OK,  wait a sec. I just reread what you said: "Another thing: when the numbers are "linked" and updating well, they  display indide a little box. Not a text box, but a kind of little frame  around the numbers. That frame makes it imposible to delete just one  number: when the TOC says that Section 6.1 is in page 135, for example,  you cannot delete just the 5, it deletes, not just the 3 numbers, but  also the doted tab."
    I think these are NOT normal TOCs created by using Layout > TOC (but you could replace them with ones that are, if you set up your styles properly and the text you want to include is appearing on the pages). Those little boxes you mention sound like cross-references, which should update automatically without any intervention at all. Unfortunately, cross-refs can be flakey, especially if they point to another document. I'd open the cross-refs panel and see if you need to recreate a bunch of links.

  • How to include others jar in my project use netbean

    Hi,
    Here i'm build my project in netbean, in compile source i add jdom.jar. Afer compile, run jar from terminal. But, application can't use and error :
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jpos/
    iso/ISOPackager
    Now, i ask : How to include others lib or jar in my project use netbean
    Rgds,
    Wira S

    Dear All,
    The code In manifest.mf, like :
    Manifest-Version: 1.0
    X-COMMENT: Main-Class will be added automatically by build
    Main-Class: root/Phase3/TesterPhase3/IsolibTester/src/isolibtester/DynamicTreeTester
    Class-Path: root/Phase3/TesterPhase3/jpos/lib/jdom.jar
    When build jar, error :
    error while reading original manifest: error in opening zip file
    Building jar: /root/PHASE3/TesterPhase3/IsolibTester/dist/IsolibTester.jar
    Manifest is invalid: Manifest sections should start with a "Name" attribute and not "Main-Class"
    /root/PHASE3/TesterPhase3/IsolibTester/nbproject/build-impl.xml:273: Invalid Manifest: /root/PHASE3/TesterPhase3/IsolibTester/manifest.mf
    BUILD FAILED (total time: 0 seconds)
    So, i tried add classpath in bash_profile and build.xml, unseccessful
    But, when runing my project from terminal can't found component jdom.jar

  • How to include element on page TOC in dynamic converter

    Hi,
    I am trying to create TOC in dynamic converter, when I open edit template, select element, and properties, check on include in page TOC, Click OK to close properties window, then come back to take look the change, the check is gone. it happens to all the elements. How to include element in page TOC? are there other steps have to be done before elements can be added? Thanks!
    T.J.

    JSP tags don't add html elements. Add the html and body elements as listed:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
      <body>
      <af:pageTemplateDef var="attrs">
        <af:xmlContent>
          <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
            <display-name>sampletemplate</display-name>
            <facet>
              <facet-name>content</facet-name>
            </facet>
            <attribute>
              <attribute-name>hideBreadcrumb</attribute-name>
              <attribute-class>java.lang.Boolean</attribute-class>
              <default-value>#{false}</default-value>
            </attribute>
          </component>
        </af:xmlContent>
       <af:resource type="javascript" source="//scripts/code.js"/>
      </af:pageTemplateDef>
      </body>
    </html>
    </jsp:root>

  • Best practices to include client libraries used at component level

    How to include component level resources, while following the best practices.
    Ex:
    I am looking at the geometrixx media site in CQ 5.6. In the some of components, ex: 2-col-article-summary we have a client library defined under the component.
    /apps/geometrixx-media/components/2-col-article-summary
    -2-col-article-summary.jsp
    -clientlibs
      -css
      -css.txt
    if i look at the categories of the clientlib, it is defined as follows
    categories String[] apps.geometrixx-media, apps.geometrixx-media.2-col-article-summary
    The only place this client library is included is in the head.jsp of main page level component.
        <cq:includeClientLib categories="apps.geometrixx-media.all"/> - this in turn embeds the apps.geometrixx-media
    my questions are as follows
    1) Why do we have two categories for the clientlib, if ithe second category name( apps.geometrixx-media.2-col-article-summary) is not being used. Is there is some other usage for this i am missing.
    2) Also these set of css is always included no matter whether a specific component is added to the page or not.
    3)  I could use the following to include the client at the component level, but this will cause unnecessary <script> and <link> elements at the component level mark up.
       <cq:includeClientLib categories="apps.geometrixx-media.2-col-article-summary"/>
    Essentially  i am trying to understand, how to include a specific component level resources while following the best practices

    Hi,
    I dont have CQ5.6 setup so could not see referring example but by looking at description i can say
    Ans 1. The client library can be invoked directly through tag lib as <cq:includeClientLib categories="category name"/> but it can also be invoked when you add "dependencies" property to client library folder and in that case it resolve all the dependencies first. So to answer your quesiton by looking at client library folder configuration you can not say that specific category has not been used any where or not invoked.
    Ans 2. Invoking client library folder completely depends on your code where you are placing call for client library using <cq:includeClientLib> tag and dependencies configuration. So you have to dig it more to trace out all the calls (also default css/js loads)
    Ans 3. Correct. So accomplish that best way to manage client library at component level and give it a unique name which can not be invoked any where neither through <cq:includeClientLib> call nor through dependenies configuration. This way you can avoide overridding of same library files. (Better to manage proper hierarchy of library)
    Hope it gives you some idea .
    Thanks,
    Pawan

  • How to include external style sheet

    Hi !!
    Can any one explain how to include external style sheet.

    Anil,
    Simply include the css file as I demonstrated in my last post and then reference one the css classes by name in the "styleClass" attribute of the component. So, if the css file that have included in my JSP file (as demonstrated in the prev post) contains a class like:
    .spicyPink {
    color:#FF1CAE;
    font-weight:bold;
    Then I would simply reference this class in the component as folows:
    <af:outputText value="Pretty In Pink" styleClass="spicyPink"/>
    However, you can also add styling to a component inline and accomplish the same task:
    <af:outputText value="Pretty In Pink" inlineStyle="color:#FF1CAE;
    font-weight:bold;"/>
    The thing to remember is that other than the use of styleClass and inlineStyle, referencing and including css in your JSP/JSPX pages is really no different that used in an HTML page.
    Here is reference to help you along:
    http://www.w3.org/TR/REC-CSS1#containment-in-html
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to include 2 jspx pages in one jspx page and should navigate each other

    Hi,
    How to include 2 jspx pages in one jspx page. When I click on submit button in one page I should able to display those values in another jspx page.
    Plz give me systax or any examples on this requirement.
    Thanks

    I divided one jspx page into 2 parts(Left and Right). In Left side part contain Tree component. Onclick on any node in Tree component, Include another jspx page in Right side. The included jspx contain one submit button. If I click on that button corresponding backing bean is not getting call.
    If I tested with individual pages its working fine. It is getting fail when ever I included jspx page into another.

  • How to include old invoices in the invoice list

    How to Include old billing documents in the invoice list.
    TO be more clear:-
    I created 20 invoices in the monthof JAN
    I maintained the factory calender in the payer master in the month of Feb 1st and created 10 more invoices in this month.
    So the system is considering only the invocies which were generated after I maintained the factory calender (Only feb invoices).
    Is there any process to include the previous invoicies (Jan invoices)  also to get include in the invoice list.
    Help me in this regards.
    Regards,
    Mallesh.

    It is not possible.
    Regards,
    Rajesh Banka

  • How to include a jsp page in another jsp jsp page

    hi,
    i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
    <%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
    but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
    the servlet is in
    C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
    i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
    plz help
    manish

    use this for including in your selectattribute.jsp
    <jsp:include page="header.jsp" flush="true"/>
    I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp

Maybe you are looking for

  • Calling sql script from shell script

    Hi, I know this question has been asked many time in various forums, but I tried many combinations and not able to figure out what I'm missing. Basically - I'm trying to call a sql script from a shell script. This is my sql script (plsql.sql) - DELCA

  • Cant download "DI Event Service"

    Hi all, I cant seem to complete the download of "SAP Business One DI Event Service" from the download section of SDN.  Can someone please email the 1.2MB file to me...[email protected] Thanks

  • Pass word for Apple ID not accepted in Newstand?

    Help! I changed my password for Apple ID and had no problem using it to purchase items in ITUNES. However when attempting to puchase magazines through APPs and newstand it is not accepting the same password. States not regonised for the same user nam

  • I am concerned if it is safe to use Adobe Flash and plug in in Firefox after yesterdays news alert :

    I am concerned if it is safe to use Adobe Flash and plug in in Firefox after yesterdays news alert :

  • Static object vs non-static object......

    What is the purpose of static object???? is there any example showing that the advantage of declaring a static object rather than a non-static object?? secondly, why static object/primitive data is initialized before non-static object/primitive data?