How can I use the <t:inputText as a javascript function parameter? I'm using the PopcalTrigger Calendar and it has two parameters: the input from where the date is take and the input where the selected date on the Calendar is placed. In my case they are the same, the id of my <h:form is: PatientForm and the id of the <t:inputText is date, so I tried something like this, but doesn´t works:
....onclick="scwShow('document.PatientForm :date','document.PatientForm:date'')
How can I do this?

