Results 1 to 1 of 1
- 08-17-2012, 06:59 PM #1
Member
- Join Date
- Aug 2012
- Posts
- 1
- Rep Power
- 0
$msg.get not working when passed into tool class - upgrade Tools 1.1 to 1.4
I'm upgrading from Velocity 1.4 to 17, Vel Tools from 1.1 to 1.4, Struts 1.24 to 1.3.10
I have a button tool which takes the following params:
$button.render( "", $msg.get('login.form.submit'), "button", "function();loginForm.submit();" )
The render method bulids a string buffer and calls get(key)
Was working before upgrade
Now, the button class is valid but does not parse $msg.get(key)
As a matter of fact, based on my logs, the render method is not even getting called.
However, if I do this:
$button.render( "stopDebugging", "Stop Debugging", "button", "stopStart('stop')" )
The render method is called but there's an exception bc get(key) expects Ljava.lang.String as opposed to java.lang.String
If outside of the button.render call, $msg.get works fine.
Any ideas?
Similar Threads
-
Class Not Found Exception when 1st two of four parameters passed Constructor
By mwr1976 in forum New To JavaReplies: 1Last Post: 02-10-2012, 09:17 PM -
Class object passed into println(obj) question
By silverglade in forum New To JavaReplies: 4Last Post: 05-15-2011, 11:27 PM -
Reflection tool for working with annotations
By milan.nosal in forum Advanced JavaReplies: 2Last Post: 06-10-2010, 09:17 AM -
Can anyone help me to create a INSERT INTO based on a class passed?
By victoreadward in forum New To JavaReplies: 7Last Post: 12-16-2009, 11:51 AM -
How to use Timer class to schedule a task to execute once 5 seconds have passed
By Java Tip in forum java.utilReplies: 0Last Post: 06-26-2008, 07:32 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks