Hi,

Passing a dynamic values from the Java page to a JavaScript function
embedded in the .tml file works fine.
However, I need to pass that values to an external (basic) JavaScript
function. 

The external javacript files is attached to the page using the
IncludeJavaScriptLibrary annotation:

@IncludeJavaScriptLibrary("context:scripts/simple.js")
public class Start
{

...

    public String getDynamicValue() {
           // Apply logic here to calculate value
           return "value";
     }

}

How do I pass ${prop:dynamicValue} ?

Thanks,


/Serge
-- 
View this message in context: 
http://www.nabble.com/T5%3A-Passing-values-to-JavaScript-function-tp18071973p18071973.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to