Ammar
Ammar

Reputation: 1821

Setting a property value without taking input on JSF page

I need to set a property value without taking input on JSF page which is as follows:

<ui:repeat var="i" value="#{elBean.list}" iterationStatus="loop" >
    #{i}    // I need to assign this value to a bean property
</ui:repeat>

Upvotes: 0

Views: 152

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240898

You can add c:set

<c:set property="i" value="SOME_VALUE"/>

Also See

Upvotes: 1

Related Questions