java - Can't concatenate Javascript and Struts tag -


I'm trying to create invisible divisions with jQuery, which will be populated by a single stratus tag in the title, but This is giving me invalid indexed property error:

  invalid indexed property 'niveisRisco [' + + LT;% = CTR% & gt; +]  

Here I use the code i:

  $ (function () {var mapaAplicacaoJs = $ ('# MapaAplicacao Area'); On mapaPerfilJs = $ ('# MapaPerfil area');   mapaAplicacaoJs.each (function () {mapaAplicacaoJs.before (div> id id = "nivel_risco_dv" class = "tabindex" title = "& lt; bean: write name =" carteiraSelecionada "property = "CarteiraAtual.niveisRisco ['+ Lt;% = CTR% & gt; +] getDescricao" /> "& gt; & lt; / div & gt;'); & lt; / logic: recurrence & gt; ; & Lt; / logic: current & gt;});  

If I type hardcode & lt; div id = "nivel_risco_dv" class = "tabindex" title = "& lt; bean: write name =" carteiraSelecionada "property =" carteiraAtual.niveisRisco [0] .getDescricao Works.

Can anyone tell me what is wrong with my involvement?

Thanks

In the argument the name is not attribute with indexId: iterative tags. View it with $ ctr instead of

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -