Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > static parameter for id in <h:InputText>

Reply
Thread Tools

static parameter for id in <h:InputText>

 
 
juliya.shvets@gmail.com
Guest
Posts: n/a
 
      03-20-2007
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">
<hanelGroup id="title">
<hutputText value="#{newsItem.title}"
rendered="${!newsItem.expanded}"/
>

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

Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing parameter to function not expecting parameter Mister B C Programming 8 08-26-2010 08:01 AM
decltype as a template parameter when containing reference to anothertemplate parameter. Isti C++ 2 04-19-2010 10:01 PM
without declare parameter [double square(parameter)] return 0 in main WanHongbin@gmail.com C Programming 5 10-01-2008 03:31 AM
Using declaration inside first template parameter as default valuefor second template parameter. Stuart Redmann C++ 5 12-14-2007 08:42 AM
Parameter List / Parameter Block / Anything patterns... mast2as@yahoo.com C++ 4 03-29-2007 09:37 PM



Advertisments