Is the DatePicker component suitable for your needs, or are there some issues it doesn't address?
regards Malcolm
From: "�˦�" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [Tapestry-developer] Questions about components inside form
Date: Thu, 31 Oct 2002 00:56:16 +0800
Congratulations , Tapestry will join Apache...
But I still hope someone can help me solving the immature dumb question , which blocks me for one month...
I am developing a component , DateSelection , which uses TextField for year ,
PropertySelection for month/day/hour/minute .
I develop this component because this component can be used in many situations,
such as user registration , order form processing ...etc.
But I found that TextField and PropertySelection must be embedded in "Form",
which is initially pendent . That is , in DateSelection.html , there
should be a <form jwcid="selectionForm"> wrapping around the year/month/day...
But the "DateSelection" will finally be embedded into other "Form",
such as user-registration form or order-processing form.
Is such design correct ? I feel the "nested form" queer ...
Or which is the proper design for this component ?
By the way , when developing DateSelection component,
I have to write MonthPropertySelectionModel / DayPropertySelectionModel /
HourPropertySelectionModel / and MinutePropertySelectionModel ... which
implements IPropertySelectionModel .
Is this too overkill ? Is there any simpler way ?
_________________________________________________________________
Get a speedy connection with MSN Broadband.� Join now! http://resourcecenter.msn.com/access/plans/freeactivation.asp
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer
