Trying again, due to bad formatting on Nabble...
I saw cilquirms reply, but I don't think I phrased my problems correctly. I understand that the tag libraries are very accomodating, but I am at a loss as to how to insert this code. This little calendar image and the associated href for clickability would need to go somewhere inside the generated code that the tag outputs. Is that even possible? I want to have the little calendar icon be next to the field input, so user's can use it instead of typing in a date by hand.
Hopefully that is a bit more clear on my issues.

Any ideas?

-------------------------------------------------------

I tried the s:datetimepicker to work on things, but since I am not using AJAX, I believe that is a dead end, no? There'd be no point in bringing in the ajax theme if I wasn't using AJAX.

So how do I incorporate a standard js calendar routine into a field on my form?

What I want to add is this calendar clickable icon that brings up a date picker:
<pre>
<a href="javascript:NewCal('demo1','ddmmmyyyy',true,24)"><img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a>
</pre>

Where I want to add it is next to my input box on my form for the datePaid field:
<s:textfield key="p.datePaid"  />

I am just missing the concept here on how to plug custom code into the s: tags. I am trying very hard not to hack this thing to bits with tricks and cheats.

Skip Hollowell



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

Reply via email to