[jira] Created: (WICKET-1354) Change old reference to 1.3.0-SNAPSHOT in build instructions
Change old reference to 1.3.0-SNAPSHOT in build instructions Key: WICKET-1354 URL: https://issues.apache.org/jira/browse/WICKET-1354 Project: Wicket Issue Type: Bug Components: site Affects Versions: 1.3.1 Reporter: Per Ejeklint Priority: Minor The website says, under Using your own built artifacts so refer to them with version 1.3.0-SNAPSHOT, but they are actually built as 1.3-SNAPSHOT, if you download trunk and build. Also, since there apparently is a snapshot repository at wicketstuff.org/repository with 1.3-SNAPSHOTS available, it could be nice to mention for those who don't want to, or can't, build their own snapshots. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-1355) Autocomplete window has wrong position in scrolled context
Autocomplete window has wrong position in scrolled context -- Key: WICKET-1355 URL: https://issues.apache.org/jira/browse/WICKET-1355 Project: Wicket Issue Type: Bug Components: wicket-extensions Affects Versions: 1.3.1 Reporter: Erik van Oosten Fix For: 1.3.2 Attachments: wicket-autocomplete.js When the autocompleted field is located in a scrolled div, the drop-down window is positioned too far down. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1355) Autocomplete window has wrong position in scrolled context
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik van Oosten updated WICKET-1355: Attachment: wicket-autocomplete.js A fix for the problem. Autocomplete window has wrong position in scrolled context -- Key: WICKET-1355 URL: https://issues.apache.org/jira/browse/WICKET-1355 Project: Wicket Issue Type: Bug Components: wicket-extensions Affects Versions: 1.3.1 Reporter: Erik van Oosten Fix For: 1.3.2 Attachments: wicket-autocomplete.js When the autocompleted field is located in a scrolled div, the drop-down window is positioned too far down. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1355) Autocomplete window has wrong position in scrolled context
[ https://issues.apache.org/jira/browse/WICKET-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12569925#action_12569925 ] Erik van Oosten commented on WICKET-1355: - Attached code is not yet correct. Autocomplete window has wrong position in scrolled context -- Key: WICKET-1355 URL: https://issues.apache.org/jira/browse/WICKET-1355 Project: Wicket Issue Type: Bug Components: wicket-extensions Affects Versions: 1.3.1 Reporter: Erik van Oosten Fix For: 1.3.2 Attachments: wicket-autocomplete.js When the autocompleted field is located in a scrolled div, the drop-down window is positioned too far down. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r628799 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java
Author: knopp Date: Mon Feb 18 08:30:27 2008 New Revision: 628799 URL: http://svn.apache.org/viewvc?rev=628799view=rev Log: setStatelessHint(true) also for bookmarkable pages with pagemap constructor Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java?rev=628799r1=628798r2=628799view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java Mon Feb 18 08:30:27 2008 @@ -1156,11 +1156,9 @@ RequestParameters parameters = getRequest().getRequestParameters(); pageMapName = parameters.getPageMapName(); } - final IPageMap pageMap = PageMap.forName(pageMapName); - init(pageMap); - if (isBookmarkable()) - setStatelessHint(true); + final IPageMap pageMap = PageMap.forName(pageMapName); + init(pageMap); } /** @@ -1171,6 +1169,9 @@ */ private final void init(final IPageMap pageMap) { + if (isBookmarkable()) + setStatelessHint(true); + // Set the page map if (pageMap != null) {
[jira] Assigned: (WICKET-1354) Change old reference to 1.3.0-SNAPSHOT in build instructions
[ https://issues.apache.org/jira/browse/WICKET-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-1354: - Assignee: Martijn Dashorst Change old reference to 1.3.0-SNAPSHOT in build instructions Key: WICKET-1354 URL: https://issues.apache.org/jira/browse/WICKET-1354 Project: Wicket Issue Type: Bug Components: site Affects Versions: 1.3.1 Reporter: Per Ejeklint Assignee: Martijn Dashorst Priority: Minor The website says, under Using your own built artifacts so refer to them with version 1.3.0-SNAPSHOT, but they are actually built as 1.3-SNAPSHOT, if you download trunk and build. Also, since there apparently is a snapshot repository at wicketstuff.org/repository with 1.3-SNAPSHOTS available, it could be nice to mention for those who don't want to, or can't, build their own snapshots. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r628848 - /wicket/trunk/README
Author: janne Date: Mon Feb 18 11:30:41 2008 New Revision: 628848 URL: http://svn.apache.org/viewvc?rev=628848view=rev Log: add crypto notice Modified: wicket/trunk/README Modified: wicket/trunk/README URL: http://svn.apache.org/viewvc/wicket/trunk/README?rev=628848r1=628847r2=628848view=diff == --- wicket/trunk/README (original) +++ wicket/trunk/README Mon Feb 18 11:30:41 2008 @@ -22,6 +22,7 @@ - Building Wicket from source - Migrating from 1.2 - Getting help + - Cryptographic Software Notice License --- @@ -224,4 +225,26 @@ you're trying to solve to the user list ([EMAIL PROTECTED]) - Ask a question on IRC at freenode.net, channel ##wicket - + + +Cryptographic Software Notice +- + +This distribution includes cryptographic software. The country in which you currently reside may +have restrictions on the import, possession, use, and/or re-export to another country, of encryption +software. BEFORE using any encryption software, please check your country's laws, regulations and +policies concerning the import, possession, or use, and re-export of encryption software, to +see if this is permitted. See http://www.wassenaar.org for more information. + +The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified +this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security +software using or performing cryptographic functions with asymmetric algorithms. The form and manner +of this Apache Software Foundation distribution makes it eligible for export under the License Exception +ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, +Section 740.13) for both object code and source code. + +The following provides more details on the included cryptographic software: + +For encoding HTTP URL data (see org.apache.wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy) +Wicket requires the Java Cryptography extensions (http://java.sun.com/javase/technologies/security/). Wicket +does not include these libraries itself, but is designed to use them.
[CONF] Apache Wicket: Getting user confirmation (page edited)
Page Edited : WICKET : Getting user confirmation Getting user confirmation has been edited by Alex Jacoby (Feb 18, 2008). Change summary: Changed _javascript_EventConfirmation.newValue so that it works with ajax links too. (View changes) Content: It's common to want the user to confirm his action if it would be hard to reverse, e.g. if he asked to delete something. The confirmation can be easily obtained via a _javascript_ confirm dialog box. If you'd rather not use _javascript_, another approach is outlined below. Using _javascript_ Here's one way to do get confirmation, using _javascript_: Link removeLink = new Link("removeLink") { @Override public void onClick() { // do something you want to confirm beforehand } }; removeLink.add( new SimpleAttributeModifier("onclick", "return confirm('are you sure?');")); SimpleAttributeModifier will replace any existing onclick handler in the html. We can instead add our _javascript_ to any existing _javascript_ by creating our own AttributeModifier instead of using SimpleAttributeModifier: public class _javascript_EventConfirmation extends AttributeModifier { public _javascript_EventConfirmation(String event, String msg) { super(event, true, new Model(msg)); } protected String newValue(final String currentValue, final String replacementValue) { String prefix = "var conf = confirm('" + replacementValue + "'); " + "if (!conf) return false; "; String result = prefix; if (currentValue != null) { result = prefix + currentValue; } return result; } } Then we attach the modifier to the link: removeLink.add(new _javascript_EventConfirmation("onclick", "are you sure?")); If you are using the same confirmation in more than one link, you should subclass Link to encapsulate the change: abstract public class ConfirmLink extends Link { public ConfirmLink(String id, String msg) { super(id); add(new _javascript_EventConfirmation("onclick", "are you sure?")); } @Override abstract public void onClick(); } (The subclass could of course use SimpleAttributeModifier instead.) Without _javascript_ If you don't want to use _javascript_, you could bring up a separate web page with a confirmation form in it. But it's possible to display the confirmation request on the form page itself. The idea (due to Ed Eustace) is to use the wicket Component.replaceWith() method to replace some panel on the page with a confirmation panel. First, here's the confirmation panel: public abstract class ConfirmDeletePanel extends Panel { public ConfirmDeletePanel(String id, String message) { super(id); add(new Label("message", message)); add(new Link("confirm") { @Override public void onClick() { onConfirm(); } }); add(new Link("cancel") { @Override public void onClick() { onCancel(); } }); } protected abstract void onCancel(); protected abstract void onConfirm(); } (The corresponding html should be pretty obvious.) Now assume the link to be confirmed is inside a panel called MyPanel. The link has a onClick method that does the panel replacement: Link removeLink = new Link("removeLink") { @Override public void onClick() { MyPanel.this.replaceWith(new ConfirmDeletePanel( MyPanel.this.getId(), "are you sure") { @Override protected void onCancel() { this.replaceWith(MyPanel.this); } @Override protected void onConfirm() { // do something you want confirmed beforehand // then this.replaceWith(MyPanel.this); } }); } }; Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[jira] Created: (WICKET-1356) When no request target is found for url we should let other filters/servers process the url instead of trying to serve the resource
When no request target is found for url we should let other filters/servers process the url instead of trying to serve the resource --- Key: WICKET-1356 URL: https://issues.apache.org/jira/browse/WICKET-1356 Project: Wicket Issue Type: Bug Affects Versions: 1.3.1 Reporter: Matej Knopp Assignee: Matej Knopp Fix For: 1.3.2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-1357) Ability to set the ExceptionErrorPage in ApplicationSettings
Ability to set the ExceptionErrorPage in ApplicationSettings Key: WICKET-1357 URL: https://issues.apache.org/jira/browse/WICKET-1357 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.1 Reporter: Doug Leeper Fix For: 1.4-M1 Would like to have the ability to set the ExceptionErrorPage. This would be similar to setting the PageExpiredErrorPage. (IApplicationSettings.setPageExpiredErrorPage()) This would allow allow an unhandled RuntimeException to be handled properly by the application in a fashion appropriate for their support teams (i.e. auto email sent out) and displayed in a similar fashion as the rest of the site. Leave the default ExceptionErrorPage as the default but allow the user to set as needed. Would need to change org.apache.wicket.request.AbstractRequestCycleProcessor.respond(RuntimeException e, RequestCycle requestCycle) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r628879 - in /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket: Application.java RequestCycle.java
Author: knopp Date: Mon Feb 18 14:00:09 2008 New Revision: 628879 URL: http://svn.apache.org/viewvc?rev=628879view=rev Log: add methods for binary compatibility Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java?rev=628879r1=628878r2=628879view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java Mon Feb 18 14:00:09 2008 @@ -18,6 +18,7 @@ import java.io.IOException; import java.io.InputStream; +import java.io.Serializable; import java.net.URL; import java.util.ArrayList; import java.util.Collections; @@ -726,6 +727,15 @@ } } + /** +* +* @param key +* @param object +*/ + public final void setMetaData(final MetaDataKey key, final Serializable object) { + setMetaData(key, (Object)object); + } + /** * Sets the metadata for this application using the given key. If the metadata object is not of * the correct type for the metadata key, an IllegalArgumentException will be thrown. For Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java?rev=628879r1=628878r2=628879view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java Mon Feb 18 14:00:09 2008 @@ -16,6 +16,7 @@ */ package org.apache.wicket; +import java.io.Serializable; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; @@ -1427,6 +1428,15 @@ */ private MetaDataEntry[] metaData; + /** +* +* @param key +* @param object +*/ + public final void setMetaData(final MetaDataKey key, final Serializable object) { + setMetaData(key, (Object)object); + } + /** * Sets the metadata for this request cycle using the given key. If the metadata object is not * of the correct type for the metadata key, an IllegalArgumentException will be thrown. For
[jira] Resolved: (WICKET-1357) Ability to set the ExceptionErrorPage in ApplicationSettings
[ https://issues.apache.org/jira/browse/WICKET-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-1357. --- Resolution: Invalid Assignee: Johan Compagner was there any reason to keep this open? Ability to set the ExceptionErrorPage in ApplicationSettings Key: WICKET-1357 URL: https://issues.apache.org/jira/browse/WICKET-1357 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.1 Reporter: Doug Leeper Assignee: Johan Compagner Fix For: 1.4-M1 Original Estimate: 2h Remaining Estimate: 2h Would like to have the ability to set the ExceptionErrorPage. This would be similar to setting the PageExpiredErrorPage. (IApplicationSettings.setPageExpiredErrorPage()) This would allow allow an unhandled RuntimeException to be handled properly by the application in a fashion appropriate for their support teams (i.e. auto email sent out) and displayed in a similar fashion as the rest of the site. Leave the default ExceptionErrorPage as the default but allow the user to set as needed. Would need to change org.apache.wicket.request.AbstractRequestCycleProcessor.respond(RuntimeException e, RequestCycle requestCycle) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1357) Ability to set the ExceptionErrorPage in ApplicationSettings
[ https://issues.apache.org/jira/browse/WICKET-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12570025#action_12570025 ] Johan Compagner commented on WICKET-1357: - we already have that: thats called internal error page The exception error page is a debug/develop page. Thats not something you should enable at runtime Also just override/implement RequestCycle: public Page onRuntimeException(Page page, RuntimeException e) { return null; } And you can do what ever you want. Ability to set the ExceptionErrorPage in ApplicationSettings Key: WICKET-1357 URL: https://issues.apache.org/jira/browse/WICKET-1357 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.1 Reporter: Doug Leeper Fix For: 1.4-M1 Original Estimate: 2h Remaining Estimate: 2h Would like to have the ability to set the ExceptionErrorPage. This would be similar to setting the PageExpiredErrorPage. (IApplicationSettings.setPageExpiredErrorPage()) This would allow allow an unhandled RuntimeException to be handled properly by the application in a fashion appropriate for their support teams (i.e. auto email sent out) and displayed in a similar fashion as the rest of the site. Leave the default ExceptionErrorPage as the default but allow the user to set as needed. Would need to change org.apache.wicket.request.AbstractRequestCycleProcessor.respond(RuntimeException e, RequestCycle requestCycle) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r628922 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java
Author: knopp Date: Mon Feb 18 15:48:03 2008 New Revision: 628922 URL: http://svn.apache.org/viewvc?rev=628922view=rev Log: revert setMetaData change Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java?rev=628922r1=628921r2=628922view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Application.java Mon Feb 18 15:48:03 2008 @@ -466,9 +466,9 @@ * @return The metadata * @see MetaDataKey */ - public final Object getMetaData(final MetaDataKey key) + public final Serializable getMetaData(final MetaDataKey key) { - return key.get(metaData); + return (Serializable) key.get(metaData); } /** @@ -726,15 +726,6 @@ } } } - - /** -* -* @param key -* @param object -*/ - public final void setMetaData(final MetaDataKey key, final Serializable object) { - setMetaData(key, (Object)object); - } /** * Sets the metadata for this application using the given key. If the metadata object is not of @@ -748,7 +739,8 @@ * @throws IllegalArgumentException * @see MetaDataKey */ - public final synchronized void setMetaData(final MetaDataKey key, final Object object) + // TODO: Replace the Serializable type with Object for next wicket version + public final synchronized void setMetaData(final MetaDataKey key, final Serializable object) { metaData = key.set(metaData, object); }
svn commit: r628923 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java
Author: knopp Date: Mon Feb 18 15:48:18 2008 New Revision: 628923 URL: http://svn.apache.org/viewvc?rev=628923view=rev Log: revert setMetaData change Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java?rev=628923r1=628922r2=628923view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/Component.java Mon Feb 18 15:48:18 2008 @@ -1034,7 +1034,7 @@ if (feedbacks == null) { feedbacks = new ArrayList(); - getRequestCycle().setMetaData(FEEDBACK_LIST, feedbacks); + getRequestCycle().setMetaData(FEEDBACK_LIST, (Serializable)feedbacks); } feedbacks.add(this); }
svn commit: r628924 - in /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket: RequestCycle.java protocol/http/MockWebApplication.java protocol/http/WebRequestCycleProcessor.java protocol/http
Author: knopp Date: Mon Feb 18 15:48:39 2008 New Revision: 628924 URL: http://svn.apache.org/viewvc?rev=628924view=rev Log: WICKET-1356 revert setMetaData change Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WebRequestCycleProcessor.java wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/WicketServlet.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java?rev=628924r1=628923r2=628924view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java Mon Feb 18 15:48:39 2008 @@ -1227,8 +1227,10 @@ // has to result in a request target if (target == null) { - throw new WicketRuntimeException( - the processor did not resolve to any request target); + this.handled = false; + currentStep = DONE; + //throw new WicketRuntimeException( + // the processor did not resolve to any request target); } // Add (inserting at the bottom) in case before or during // target resolving one or more request targets were pushed @@ -1288,6 +1290,18 @@ } /** +* INTERNAL. This method is not part of public Wicket Api. Do not call it. +* Returns whether wicket handled this request or not (i.e. when no request target was found). +* @return true if wicket handled this request, false otherwise +*/ + public boolean wasHandled() + { + return handled; + } + + private boolean handled = true; + + /** * Loop through the processing steps starting from the current one. */ private final void steps() @@ -1427,15 +1441,6 @@ * MetaDataEntry array. */ private MetaDataEntry[] metaData; - - /** -* -* @param key -* @param object -*/ - public final void setMetaData(final MetaDataKey key, final Serializable object) { - setMetaData(key, (Object)object); - } /** * Sets the metadata for this request cycle using the given key. If the metadata object is not @@ -1449,7 +1454,8 @@ * @throws IllegalArgumentException * @see MetaDataKey */ - public final void setMetaData(final MetaDataKey key, final Object object) + // TODO: Replace the Serializable type with Object for next wicket version + public final void setMetaData(final MetaDataKey key, final Serializable object) { metaData = key.set(metaData, object); } @@ -1462,8 +1468,8 @@ * @return The metadata or null if no metadata was found for the given key * @see MetaDataKey */ - public final Object getMetaData(final MetaDataKey key) + public final Serializable getMetaData(final MetaDataKey key) { - return key.get(metaData); + return (Serializable)key.get(metaData); } } Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java?rev=628924r1=628923r2=628924view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/protocol/http/MockWebApplication.java Mon Feb 18 15:48:39 2008 @@ -17,6 +17,7 @@ package org.apache.wicket.protocol.http; import java.io.File; +import java.io.IOException; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; @@ -24,6 +25,7 @@ import javax.servlet.FilterConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException;
[jira] Commented: (WICKET-1243) the DatePicker show the same week title in china.
[ https://issues.apache.org/jira/browse/WICKET-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12570081#action_12570081 ] howie , YU commented on WICKET-1243: hi~ There are still some problem below. -- if (Locale.SIMPLIFIED_CHINESE.equals(getLocale())){ dfSymbols.setShortWeekdays(new String[] {, 日, 一, 二, 三, 四, 五, 六}); }; -- The same problem in Locale.TAIWAN Locale.TRADITIONAL_CHINESE. Can i overwrite protected void localize(Map widgetProperties) when new DatePocker myself? -- the DatePicker show the same week title in china. --- Key: WICKET-1243 URL: https://issues.apache.org/jira/browse/WICKET-1243 Project: Wicket Issue Type: Bug Components: wicket-datetime Affects Versions: 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2 Environment: in chinese(zh_CN) language Reporter: Julian Ding Assignee: Gerolf Seitz Priority: Minor Fix For: 1.3.1 Attachments: screenshot-1.jpg, screenshot-2.jpg the DatePicker show the same week title in china. you can see it here in the first pic. if DatePicker can show as the last pic is the best: i have correct this on my own version. i will submit the solution tomorrow -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-1358) Make Application Class More Bean-ish
Make Application Class More Bean-ish Key: WICKET-1358 URL: https://issues.apache.org/jira/browse/WICKET-1358 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.1 Reporter: James Carman The Application class has getters for properties like applicationSettings and securitySettings. Couldn't we make those properties writable also? I realize that the internal implementation might have to change a bit. Currently, the Settings class implements all of those interfaces and it uses a single instance of Settings by default. The reason that I want this is so that I can set up my Application object in Spring and access it via wicket-spring. The current implementation of Application doesn't facilitate the set up part very well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.