• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nested quotes in tag

 
Art Vandelay
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have the following code:



'myItem' is the value of the option and must also act as the selector for the correct message property., but unfortunately this keeps giving a JasperException saying "equal symbol expected". I hav ethe feeling that it has something to do with the nested quotes. Any idea where my problem is?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You cannot embed a custom tag as the attribute value of another custom tag.
 
Art Vandelay
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:You cannot embed a custom tag as the attribute value of another custom tag.

Thanks for the quick response.

Do you mean that it is not possible to embed the fmt:message tag into the form: option tag?
I tried c:set to temporarily store the result of the fmt:message tag, but unfortunately this did not solve the problem. Any idea if there is a workaround for what i'm trying to do?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Art Vandelay wrote:Do you mean that it is not possible to embed the fmt:message tag into the form: option tag?

That is correct.

I tried c:set to temporarily store the result of the fmt:message tag, but unfortunately this did not solve the problem.

Why not? Simply saying "it doesn't work" isn't useful.

Perhaps a thorough examination of the <fmt:message> tag might reveal the answer.
 
Art Vandelay
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:
Art Vandelay wrote:Do you mean that it is not possible to embed the fmt:message tag into the form: option tag?

That is correct.

I tried c:set to temporarily store the result of the fmt:message tag, but unfortunately this did not solve the problem.

Why not? Simply saying "it doesn't work" isn't useful.

Perhaps a thorough examination of the <fmt:message> tag might reveal the answer.

I solved the problem by using the 'var' attribute of fmt:message to temporarily store the message. Thanks for the pointer!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic