Bugs item #1326849, was opened at 2005-10-14 15:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1326849&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: 1.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Berriman (sberriman)
Assigned to: Nobody/Anonymous (nobody)
Summary: DatePicker assumes target's ID attribute has not been set

Initial Comment:

The DatePicker assumes that the target form component's
HTML ID attrib. can be set equal to getPath()
[wicket.extensions.markup.html.datepicker.DatePicker#getInitScript
line 260].  This should not be the case, as the form
component may have CSS relying on ID remaining
unmodified, or else (more likely) the ID may be being
set in the developers code for the sake of other
dynamically altered JS scripts.  Both the inner class
'PathAttributeModifier' and 'getInitScript()' needs to
look for an AttributeModifier that may have already
been attached to the form components ID attribute, and
use that value, before resorting to setting its own.  A
getter should also be provided, so that the ID used can
be recovered and reused in the developers code.




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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1326849&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to