When referring to a bean property (id) in EL, I use #{bean.id}
.
I now have a requirement to prepend that data with some static text. I do this by using SSJS: "sometext" + bean.getId();
Is there a way that I can use the EL notation in SSJS? e.g "sometext" + #{bean.id};
I realise that in this example it is not hugely different, but when requesting more complex or nested properties, I think it would come in useful.