I logged this ticket with a simple patch: https://issues.apache.org/struts/browse/WW-1602

(remember to remove theme="ajax" for the ones that you want it to render the label)

regards
musachy

Dariusz Wojtas wrote:
Hi,

I am absolutely nod in mood to be the 1st class troublemaker for S2
ajax support - which is very nice - but real life usage brings some
questions.

I have a form using theme ajax.
And I have some:
<s:textfield ...  label="aaa" />
<s:select ... label="bbb"  />
<s:dropdowndatetimepicker ...  label="ccc" >
fields inside.
Fields 'textfield' and 'select' do create a row in table with 2 cols:
label, field.
But the datetimepicker field only creates a single 'span' element
withsome contents inside but seems to ignore the fact that it is
placed inside an ajax form.

Label defined for such field is not displayed.
Is it supposed to behave like this?
I may create that row myself, but I am worried that one day it will be
'fixed' and then my code is wrong.

I also have some question about the dropdowndatetimepicker in 'time' mode.
What is the data type supported for this on the action side?
If I have a Date property in my field and want to dysplay it as 2
fields in the form, using dropdowndatetimepickers: date & time - what
is the advised approach?
I did not find any info in the docs/wiki about this.

Thanks in advance
Dariusz Wojtas

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




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

Reply via email to