Results 1 to 6 of 6
  1. #1
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Posts
    187
    Rep Power
    2

    Default How to set text in the text field

    Hallo,

    i use inputText to set text and insert it in database, anyway i have another inputText which should update the old text
    I want to get the old text in the new text field, then i can change it instead to get empty text field.

    which attributes should i use?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: How to set text in the text field

    Yeah, that's the perfect example of a vague question.

    Until you can make your question a little less vague, the only answer is "learn to apply the basics of JSF".
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Posts
    187
    Rep Power
    2

    Default Re: How to set text in the text field

    I know the basic of the JSF
    i will try to Simplify the question

    I want to get constant text in the text field, i don't want to get empty text field, which attributes should i use?
    Last edited by vector_ever; 05-05-2014 at 02:50 PM.

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: How to set text in the text field

    Yes that's the way to make a question less vague: by asking it again but shorter.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    vector_ever is offline Senior Member
    Join Date
    Jul 2013
    Posts
    187
    Rep Power
    2

    Default Re: How to set text in the text field

    you can give a hand instead of mocking

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: How to set text in the text field

    No, I can't :s I am clueless about what you want since you provide so little information! Put a little more effort into it yourself.

    Never mind, I'm already done with it. Good luck.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Adding Text from button to text field.
    By Irish Rayray in forum AWT / Swing
    Replies: 3
    Last Post: 02-13-2013, 07:38 PM
  2. getting text from a text field
    By tomandhisjones in forum New To Java
    Replies: 9
    Last Post: 04-17-2011, 09:21 AM
  3. get numeric value from a text field
    By Lehane_9 in forum New To Java
    Replies: 2
    Last Post: 06-14-2008, 04:19 AM
  4. Regarding Text Field
    By adeeb in forum AWT / Swing
    Replies: 1
    Last Post: 06-06-2008, 12:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •