How to add attribute to already existing tag?

Hello!
Could you help me, please. I need to add attribute maxlegth to <h:inputTextarea>, but I don't know how to do it. Maybe, you know?

<textarea> don't support maxlength by spec. You can use JavaScript instead.
Or if you really want to create a custom component with this attribute added, check following tuts:
http://www.jsftutorials.net/components/index.html
http://www-128.ibm.com/developerworks/java/library/j-jsf4/
http://java.sun.com/javaee/javaserverfaces/customcomponents.html

Similar Messages

  • How to add attributes in the xml tag

    hi,
    i have two tables employee,department
    employee table
    empno number,
    empname varchar2(100),
    deptno number,
    department table
    deptno number,
    deptname varchar2(100)
    i want xml file in the above mentioned two tables.The xml file is as follows,
    <?xml version="1.0" encoding="UTF-8" ?>
    <EmployeeInfo>
    <Data type="employee">
    <empno>1</empno>
    <empname>siva</empname>
    <deptno>10</deptno>
    </data>
    <Data type="department">
    <deptno>10</empno>
    <deptname>IT</empname>
    </data>
    </EmployeeInfo>
    can anybody please give plsql code for this requirement.i need to add attributes in the xml tag.Its urgent
    By
    Siva

    A general example (based on the OE sample data/tables)
    SQL>SELECT XMLElement("Emp",
      2                     XMLAttributes(employee_id AS "id"
      3                                  , '10' "dept"),
      4                     first_name||' '||last_name) as result
      5 FROM   employees e
      6 WHERE  department_id = 10;
    RESULT
    <Emp id="200" dept="10">Jennifer Whalen</Emp>

  • POWERLIST: Subnode or attribute DY_OFN already exists (termination: RABAX_STATE)

    Hello,
    I've made a Powerlist to show Quality notifications. It works fine, except when I click on "Change Query", the dump "ERROR: Subnode or attribute DY_OFN already exists (termination: RABAX_STATE)" appear.
    DY_OFN is actually one of my selection criteria fields, and seems that when I click on change query goes on dump because the instance of this element already exists.
    Any clue about how to solve this problem?
    How can I do to debug when "Change query" is clicked?
    Thanks in advance

    Hi David,
    Here the issue is, you are trying to create a node in context and the logic is getting called again. As the node already exists, it cannot create the node again with the same name.
    You need to put a condition to restrict the logic to execute only once.
    Example:
    IF FIRST_TIME = abap_true.
         " Here place your code
    endif.
    Hope this helps you.
    Regards,
    Rama

  • OVS  dump (Subnode/attribute INPUT already exists)

    Hi gurus,
    I have created WD application with multiple views where user can navigate between views.
    Every view has its own funcionality and user after working in one view can go to main menu, and choose another view...
    Each view has it's own OVS.
    The problem i faced is a dump in OVS when testing my application..
    When I execute OVS search help in one view and then navigates to a different view and presses OVS search help there,
    I get a dump (Subnode/attribute INPUT already exists).
    Indeed, some of the input fields (in my views) for which I use OVS are the same fields, but I implemented separate OVS in each view since they have diferent logic behind them.
    Does anyone know how to proceed with this problem?
    thnx in advance,
    Tom

    Hello,
    thanks for your inputs Krishna & Sumit.
    Krishna, you are correct I did mapp the nodes from component controller to views through context mapping.
    I deleted the mappings, removed OVS from component controller context nodes, and left only view context nodes
    with OVS. It seemed a logical thin to do but still, this did not solve the problem.
    On some views i have multiple fields connected with OVS... So (when i start the program) when I use OVS in first view it works fine, but upon navigation to another view and selectig OVS search help for a field it crashes.
    Nodes in my views are independant and are only a part of a single view and a component controller, but wihout the mapping with views.
    Some attributes (from my view context nodes) for which I use OVS have the same name in other views.
    Could this the problem? But each of my views has its own OVS event hander so I gues same name of an attribute in
    different view wouldn't be a problem, or?
    @ Konstantin
    I get  a short-dump right after clicking a serach help on a field connected with OVS.
    When I start my program i can branch to 6 views, each view has it's own OVS.
    Regardless of the view, OVS works fine with the firs view. Only when navigating away from a view in which i used OVS and by trying to use OVS in onother view, I get  RABAX_STATE  error:
    " The exception 'CX_WD_CONTEXT' was raised, but it was not caught anywhere along the call hierarchy."
    "UNCAUGHT_EXCEPTION" "CX_WD_CONTEXT"
    "CL_WDR_CONTEXT_NODE_INFO======CP" or "CL_WDR_CONTEXT_NODE_INFO======CM006"
    "IF_WD_CONTEXT_NODE_INFO~ADD_CHILD_NODE"
    Hope this helps...
    Kind regards,
    Tom
    Edited by: Tom Baksa on Aug 24, 2010 2:04 PM
    Edited by: Tom Baksa on Aug 24, 2010 2:05 PM

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • How to add blank page to existing Document In Adobe Dc

    how to add blank page to existing Document In Adobe Dc Pro

    Hi thashrifs16749461,
    You can add a blank page using Adobe Acrobat DC by following the below instructions :-
    1) Open your existing pdf document in Acrobat DC.
    2) Choose the 'Organize Page' option form the Tools pane on the right as shown below in the screen shoot.
    3) Now at the top you will see all the tools to Organize the page, Click on 'Insert' & select 'Blank Page' from the drop-down to insert blank pages.
    *Shortcut : If you are using windows computer you can use ' Shift+Ctrl+T ' key to insert blank pages.
    In case if you experience any issue or have any query please let us know. We will be happy to help you.
    Regards,
    Aadesh

  • How to add one column in existing search help.

    Hi Folks,
    My quesion is
    How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
    Shivam

    Hi,
    If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
    If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
    I think this should help you to certain extent.
    Regards,
    Kranthi
    Edited by: Kranthi on Jan 14, 2010 11:15 AM

  • How do I make my already existing check boxes "checkable" [so I can check and uncheck them on PDF Expert]

    How do I make my already existing check boxes on a (PDF Document) checkable - So I can check and uncheck them on PDF Expert or Annotate 101.
    I am using ADOBE Acrobat PRO with millions of options, but no easy "here is how to do the one thing you want to do" anywhere within reason.
    Please help me.
    Thank You

    Can you check and uncheck the boxes in Acrobat?

  • How to add accessibility to already built application

    Hi,
    Can any one help me how to add accessability to already built application. jdev version which am using is 11.1.1.4.
    Thanks in advance.
    Regards,
    lavanya.

    Hi,
    its mostly a configuration in ADF Faces
    http://docs.oracle.com/cd/E23549_01/web.1111/b31973/af_access.htm
    Frank
    Ps.: One of the beauties of using ADF Faces instead of hand-crafted web site in which case you would have been screwed

  • RE: how to add attributes in graphical modulator in segment builder .

    Hi Gurus,
    can you please help me how to add attributes in graphical modulator in segment builder in sap CRM 7.0 WEB-UI.
    thanks and regards
    satyanarayana
    Edited by: koradasatya on Oct 27, 2011 8:14 PM

    Hi Gurus,
    thanks for your reply my requirement from client is given below if you could answer this it will be a great help for me.
    WKSC needs to be able to make selections (in segment builder) with the possibilities to use stored data on organizations. The information we are missing in Segment builder (SB) (and Account search for industrycode) are Industrycode (we want to see values not codes) and responsible salesrep (values not codes).
    These variables together with regions and other marketing attributes is crucial for us. Without it we cannot use the functionality built.
    We also need it so that we can extract smaller parts of our customers and prospects and update them with information from the thirdparty or adding new persons to them.
    Everyone using the SB should be able to use the fields for selections. i.e. Marketers, marketing managers and power users.
    Example
    We would like to make selections that could look like this.
    Region: A and B
    Organization in Industrycode C
    Sales rep: D, E, and F
    Turnover: above 50000
    CP on selected orgs
    CP has title G or H
    CP has Email not blank
    thanks and regards
    satya

  • OVS - getting dump with the message Subnode/attribute INPUT already exists

    Hi All,
    I am using OVS for the field Shopping cart number.whenever i click on F4 help, icon i am getting the dump with the following message  'Subnode or attribute INPUT already exists ' .. Any idea / clue regarding this dump.please advise me.
    Thanks & Regards,
    Lakshmi.

    Also check this link:-
    Regarding select options
    It also talks about the same problem.

  • How to add attribute to characteristic already in production system

    HI Guru's ,
                     How to add a attribute to characteristic which already exist in production system.
    thanks in advance

    Hi Venkat,
    We don't make any design changes in production box. Usually you make changes in Development box then transport that object with request to Quality box. You test the changed object there, if no inconsistancies found you will transport the object to Production box with same request.
    In development box, if you want to add the new attribute to the characterstic, you need to delete the complete data in the characterstic.
    Thanks
    Sreekanth

  • How to add columns to an existing dimension on the fly?

    Hey,
    1) I already have a cube which is attached to three dimensions. Now if I wanted to add a few columns in the dimensions once they have been deployed, I find it difficult as the changes in the logical model and the physical table is not synchronized. Can some one please let me know, if adding columns to existing dimensions is possible?
    2) I also had one more doubt. I have a fact table which has columns by the name parameter name and parameter value. Now once it is loaded I want to make certain calculations using a few parameters values and store them in the same fact table in the form of a new parameter name and the derived parameter value. How can I go about doing this part in OWB.
    Thanks

    1. Yes you can add existing columns to a dimension, there are a couple of approaches; either add the columns to tje underlying table and then change the dimension to manual binding and add attributes to represent the columns. Or edit the dimension and regenerate the implementation table.
    2. Could these not be just additional measures that you calculate in the cube load?
    Cheers
    David

  • REG: How to add new fields to existing Infospoke

    Hi All,
    We have an existing Infospoke, It has ODS as a Source and some fields are being pulled.
    But here is the scenario....
    I need some extra fields that are available in other ODS. How to add that fields ?
    By some research came to know that.. I need to lookup on the ODS and populate into existing Infospoke.How to add these fields to InfoSpoke using BAdi implementaion.
    Note: already BAdi is active in the infospoke.
    Please help me in this regard

    Hi Chase,
    As you mentioned that BADI is already implemented then I guess you should be able to extend the existing BADI itself.
    For doing lookup first you should know the key fields of source DSO then by using the existing field of Infospoke you will have to read data from DSO.
    DATA: it_data type standard table of 'DSO Name'.
    select Key1 key2 etc...
              Field1 Field2 Field3 Field4
              from DSO
              into table it_data
              for all entries of infospoke
             where key1 = infospoke1-key1
                         key2 = infospoke2-key2.
    This will give you all the required records from source DSO into internal table it_data. Now you using this table you can populate the original table of Infospoke.
    Regards,
    Durgesh.

  • How to add abap stack to existing NW Java engine- for XI installation

    Hi All,
    I am having a netweaver Java Stack installed on my system. I would like to install XI - in order to install Xi ,I guess the system should be ABAP + Java. But since I am having java based engine, I would like to add ABAP stack to it. So, my question how to add an ABAP stack to already existing JAVA/J2ee engine.
    So what this process is known as-- Is it upgrading or New Installation. Because I need the guide and CD's for it.
    Can any one tell me which Guide(Install/upgrade/Master) wud help me.
    Thanks
    S

    Hi
    check the link www.service.sap.com/instguides>SAP Netweaver 7.0>installation guides there you can find what is the process which involves in installing ABAP+JAVA with PI
    Regards
    Uday

Maybe you are looking for

  • Using Time Machine on the new MacBook after migration

    Hello, I have an external hard disk that I use for time machine. I changed my laptop from Macbook Pro 15" to Macbook Pro 13" and I used this external hard disk to migrate from my older Macbook to the new one. Now I want to use my external hard disk t

  • Script that runs very slow when exporting output to XLS file

    I am using TOAD for oracle to export result to XLS. Need help on this script to chec how can I speed up the process: select a.div, a.zname, a.MBr, a.Loc,a.lname, b.mid as SLID, c.slname, a.FDID, b.FName as FDNAME, a.apptdate,b."Contact Nos", b."Credi

  • Error in Formula Syntax

    Hi Could you please update me where the error in Syntax. I had a User entry Variable on Cal Year/Week in my query. My requirment is to display a drop down list of Week No (1-52). For this reason i created a Drop Down with Static List of 1-52 weeks. S

  • AD Reconciliation - Password Policy Error

    all, I am trying to run AD User Trusted recon. I am getting the following error for each user in AD.. I don't remember seeing this before on this system before and i have run recon successfully in the past. Is there any suggestion how to to go about

  • ITunes w/ external hard drives

    Right now I have all of my music on 3 external hard drives and want to consolidate to 2 1TB hard drives. Once I have all the files organized on the 2 new hard drives what is the easiest way to make iTunes recognize the new hard drives as the sources