static parameter for id in <h:InputText>

Discussion in 'Java' started by juliya.shvets@gmail.com, Mar 20, 2007.

  1. Guest

    Hello!
    Please, answer the question. How I can to pass into <h:inputText id =
    "param "> where param is static param so as
    newTitle_#{testBean.repeater.rowKey}?

    <table border="1" width="100%">
    <a4j:repeat binding="#{testBean.repeater}"
    ajaxKeys="#{testBean.keys}"
    value="#{testBean.newsItemsList}"
    var="newsItem">
    <tr>
    <td width="30">#{newsItem.id}
    '#{testBean.repeater.rowKey}'</td>
    <td width="100">
    <h:panelGroup id="title">
    <h:eek:utputText value="#{newsItem.title}"
    rendered="${!newsItem.expanded}"/
    >

    <h:inputText
    id="newTitle_#{testBean.repeater.rowKey}"
    value="#{newsItem.title}"
    rendered="${newsItem.expanded}"/>
    </h:panelGroup>
    </td>

    Thanks!
    , Mar 20, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JSF inputText

    , Oct 31, 2005, in forum: Java
    Replies:
    0
    Views:
    559
  2. Replies:
    4
    Views:
    517
    Matteo
    Mar 29, 2007
  3. Replies:
    2
    Views:
    4,495
  4. Stuart Redmann
    Replies:
    5
    Views:
    476
    Stuart Redmann
    Dec 14, 2007
  5. Replies:
    5
    Views:
    630
Loading...

Share This Page