"But I would like to do something like adding two params to ShowWindow2 function and pass them to "generarEnlace". The thing is that... it could be possible?"
I don't see why not. Make a .js file with the function function setupHelp (win2id, generarEnlace) { $('clickable_thing').observe('click', function(event) { win2id.setTitle("Ayuda") win2id.setURL(generarEnlace); win2id.showCenter(); }); } where 'clickable_item' is the html id of something that you want to have pop up the help window when clicked. Then use @IncludeJavaScript to add that .js file to your component. Inject RenderSupport and then override afterRender: void afterRender () { _renderSupport.addScript("setupHelp(%s, '%s');", window2.componentResources.id, generarEnlace.toString()); } On Wed, Aug 20, 2008 at 1:31 AM, Daniel Alonso Sanchez <[EMAIL PROTECTED]> wrote: > > Wow, thank you so much for the support. At first i would give a try to the > easiest solution, then i will test the second. > > Thank you so much again for everything ;D > -- > View this message in context: > http://www.nabble.com/-t5--Is-there-anyway-of-passing-parameters-to-expressions--tp19047455p19063586.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] > > -- Bill @ PeoplePad --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]