Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Rendering a property value on a scaffold form


Level 2


I have a hyperlink on a product scaffold form and I want to modify the href field by appending the value of a new property on the end of it, which will come from the product data. I am doing this via the hyperlink.jsp code.

So, following the example of other scaffold components, I have defined a property on the form as 'name String ./idPath'

The product that uses this scaffold has a property of 'idPath String value' and I want to pull through this value in to the hyperlink.

However, I can only get the jsp to display the value './idPath' rather than render the value contained in the idPath property.

In the jsp code, I am using this statement to get the name value 'name = cmp.getExpressionHelper().getString(cfg.get("name", ""));' , which gives me './idPath'. Is there something that gives me the value of idPath as held on the product data?


0 Replies