File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to read values of javascript button from .properties file

 
James Whillis
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


When I do like this - I've got JSP exception.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that's all JavaScript code, so it's unlikely that it's the cause of any JSP exception.

Perhaps you could post the exception?
 
James Whillis
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it's JasperException
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heh, I missed the EL expressions in the script (they look a lot like $())...

Not sure why they are not evaluating. If you simplify the page down to just the EL expressions, do they parse? (Determining if it's systemic, or page-specific.)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that not and book are established scoped variables? (Though if they are not, it shouldn't error out.)
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that it's because "not" is an El keyword - that's what line 55 of the exception indicates.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doh! I missed that. I was going to say that the names were poorly chosen, but I missed the keyword conflict.

Good eye, Ulf!
 
James Whillis
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It works! Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic