Combining a string with the value of a variable to be the name of another variable in EL

后端 未结 4 1237
Happy的楠姐
Happy的楠姐 2021-02-19 07:12

I want to do something like this:


But it does not work throws exception: \"${summary${selChrm

4条回答
  •  名媛妹妹
    2021-02-19 07:32

    It worked for me.

    ${not empty marginLeft ? 'margin-left:'.concat(marginLeft) : ''}
    

提交回复
热议问题