>From zqzuk <[EMAIL PROTECTED]>: > > however it doesnt work and i got exception error: > > No listener method named 'onClick' suitable for no listener parameters found > in [EMAIL PROTECTED]
That's because tutor is evaluated at render time when it's null. If the form was submitted, it would have the correct value. If you don't want the form submitted try this trick: use <binding name="parameters" value="literal:REPLACEME"/> and add an onchange in your dropdown that looks like: function changeUrl() { // keep the initial url stored if (!document.initialUrl) document.initialUrl = teacherLink.href; // fix the link url teacherLink.href = document.initialUrl.replace("REPLACEME", escape(teacherDropDown.value)); } Don't know what others think about this, but i would even like this provided by the framework. Or perhaps a javascript equivalent of some ILink.getURL implementations. Then one would do: teacherLink.href = tapestry.links.setParameter(0, escape(teacherDropDown.value)); and also stuff like: teacherLink.href = tapestry.links.createPageLink("Home"); tapestry.links.createExternalLink("Home", [params]); I think i've written such thoughts in tacos mailing list. I'll try to find then and add some JIRA issues... > > maybe the forum has to be submitted before getting the value of the > selection, or maybe the acceesor "<binding name="parameters" > value="tutor"/>" is wrong? -- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]