Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

string concatanation for a property of a jsf tag

790737Oct 11 2010 — edited Oct 13 2010
i want to form a string for a property of tag, there is a string for this, and other string will be added to this string conditionlally.
<code>

<h:graphicImage rendered="true" url="#{sonuc.personelGrubu eq 'I' ? '/home/oracle/ik/images/ozluk/isci/' + '#{sonuc.slcno}' + '.jpg':'/home/oracle/ik/images/ozluk/memur/' + '#{sonuc.slcno}' + '.jpg'}" width="40" height="40" />

</code>

i think "+" operator is for adding numericals.
How can i add a string to a string in jsf pages?

Edited by: 787734 on 11.Eki.2010 04:35
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2010
Added on Oct 11 2010
1 comment
116 views