File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to read values of javascript button from .properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to read values of javascript button from .properties file" Watch "how to read values of javascript button from .properties file" New topic
Author

how to read values of javascript button from .properties file

James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35


When I do like this - I've got JSP exception.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

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?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
James Whillis
Ranch Hand

Joined: Jul 27, 2013
Posts: 35
Well it's JasperException
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

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

Joined: Jan 10, 2002
Posts: 60050
    
  65

I assume that not and book are established scoped variables? (Though if they are not, it shouldn't error out.)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
My guess would be that it's because "not" is an El keyword - that's what line 55 of the exception indicates.


Ping & DNS - updated with new look and Ping home screen widget
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

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

Joined: Jul 27, 2013
Posts: 35
It works! Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read values of javascript button from .properties file
 
Similar Threads
My First Real jQuery Plugin - Feedback
Problem on getting values from a radio buttons group
Jquery Event Sequence
Creating a masked popup in JavaScript
Is it possible to put a button inside autocomplete in jquery ui plugin?