Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Frits Walraven
  • Himai Minh

Concat two attributes in Composite component in jsf

Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai Friendz!

How can I Concat two attributes in Composite component in jsf ??

public class Mbean
private string name ="NNNNName";
private string company="CCCCompany";

I have one custom component named as

<cc:myComponent bean="#{mbean1} paramv="name" />

<cc:myComponent bean="#{mbean2} paramv="company"/>

IN composite component i want to concat bean and the attribute. How can i achive this..?

My tries are
<composite:attribute name="bean"/>
<composite:attribute name="paramv"/>

<h:outputText value="#{ }

/****** #{} ====>working
But i want to get it from attribute and set with that bean.******/
Are we home yet? Wait, did we forget the tiny ad?
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic