Bugs item #1433386, was opened at 2006-02-17 02:34
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=1433386&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: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Joseph Toth (weazelb0y)
Assigned to: Nobody/Anonymous (nobody)
Summary: niceurls mounted to "/"

Initial Comment:
Loading of resources (like datapicker) stop working
when you have a niceurl mount to "/".  Also, when you
mount to "/" and extra / can be removed.

Here is how to reproduce with the examples


In NiceUrlApplication Change 
mount("/my/mounted/package",
PackageName.forClass(Page3.class));

to 

mount("/", PackageName.forClass(Page3.class));



Added this to Page3.java in niceurl.mounted

                WebMarkupContainer dateLabel = new
WebMarkupContainer("dateLabel");
                add(dateLabel);
                TextField datePropertyTextField = new
TextField("dateProperty", Date.class);
                add(datePropertyTextField);
                add(new DatePicker("datePicker", dateLabel,
datePropertyTextField));


Added this to Page3.html in niceurl.mounted

                          <label wicket:id="dateLabel"
for="dateProperty">Date</label>
                          <input wicket:id="dateProperty" id="dateProperty"
type="text" size="40"/>
                          <span wicket:id="datePicker"></span>

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to