Darshan Patel
Darshan Patel

Reputation: 3256

How to set value to Java bean from FTL in Jive?

I am new to Jive as well as Freemarker.

I tried following approach like we did in Struts:

<input size=40 name="bvProperties.fileBasedQueueLocation" 
            type="text" value="${badgeVilleProperties.fileBasedQueueLocation!''}" style="float: right;"/>

that needs to set a value of fileBasedQueueLocation variable to bvProperties bean, which is available in the action.

I have also created a setter, as well as a getter method for bvProperties in action.

Upvotes: 1

Views: 305

Answers (1)

Roman C
Roman C

Reputation: 1

The syntax you should try:

<input size=40 name="bvProperties.fileBasedQueueLocation" 
            type="text" value="${(badgeVilleProperties.fileBasedQueueLocation)!}" style="float: right;"/>

Upvotes: 1

Related Questions