Author: gseitz
Date: Tue Jan 15 15:38:25 2008
New Revision: 612310
URL: http://svn.apache.org/viewvc?rev=612310&view=rev
Log:
fixed typos
added missing javadoc comments
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadInfo.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadWebRequest.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/BreadCrumbBar.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/IBreadCrumbModel.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/BreadCrumbPanel.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/IBreadCrumbPanelFactory.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/basic/ILinkParser.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/Palette.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/AbstractOptions.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Choices.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Recorder.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/AbstractDataGridView.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/PropertyPopulator.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/util/encoding/CharSetMap.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/AbstractWizardModel.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/IWizardModel.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardStep.java
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadInfo.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadInfo.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadInfo.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadInfo.java
Tue Jan 15 15:38:25 2008
@@ -146,7 +146,7 @@
}
/**
- * @return estimate of the remaning time in a human readable string
+ * @return estimate of the remaining time in a human readable string
*/
public String getRemainingTimeString()
{
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadWebRequest.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadWebRequest.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadWebRequest.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/form/upload/UploadWebRequest.java
Tue Jan 15 15:38:25 2008
@@ -101,39 +101,49 @@
}
}
+ /**
+ * @see
org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest#wantUploadProgressUpdates()
+ */
protected boolean wantUploadProgressUpdates()
{
return true;
}
+ /**
+ * @see
org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest#onUploadStarted(int)
+ */
protected void onUploadStarted(int totalBytes)
{
UploadInfo info = new UploadInfo(totalBytes);
- HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest())
- .getHttpServletRequest();
+ HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest();
setUploadInfo(request, info);
}
+ /**
+ * @see
org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest#onUploadUpdate(int,
+ * int)
+ */
protected void onUploadUpdate(int bytesUploaded, int total)
{
- HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest())
- .getHttpServletRequest();
+ HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest();
UploadInfo info = getUploadInfo(request);
if (info == null)
{
throw new IllegalStateException(
- "could not find UploadInfo
object in session which should have been set when uploaded started");
+ "could not find UploadInfo object in
session which should have been set when uploaded started");
}
info.setBytesUploaded(bytesUploaded);
setUploadInfo(request, info);
}
+ /**
+ * @see
org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest#onUploadCompleted()
+ */
protected void onUploadCompleted()
{
- HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest())
- .getHttpServletRequest();
+ HttpServletRequest request =
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest();
clearUploadInfo(request);
}
}
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/BreadCrumbBar.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/BreadCrumbBar.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/BreadCrumbBar.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/BreadCrumbBar.java
Tue Jan 15 15:38:25 2008
@@ -31,7 +31,7 @@
/**
* A component that renders bread crumbs. By default, it renders a horizontal
list from left to
- * right (oldest left) with bread crumb links and a ' / ' as a seperator, e.g.
+ * right (oldest left) with bread crumb links and a ' / ' as a separator, e.g.
*
* <pre>
* first / second / third
@@ -69,11 +69,11 @@
* Whether the link should be enabled
*/
public BreadCrumbComponent(String id, int index,
IBreadCrumbModel breadCrumbModel,
- final IBreadCrumbParticipant
breadCrumbParticipant, boolean enableLink)
+ final IBreadCrumbParticipant breadCrumbParticipant,
boolean enableLink)
{
super(id);
add(new Label("sep", (index > 0) ? "/" :
"").setEscapeModelStrings(false)
- .setRenderBodyOnly(true));
+ .setRenderBodyOnly(true));
BreadCrumbLink link = new BreadCrumbLink("link",
breadCrumbModel)
{
private static final long serialVersionUID = 1L;
@@ -129,7 +129,7 @@
*
org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant)
*/
public void breadCrumbActivated(IBreadCrumbParticipant
previousParticipant,
- IBreadCrumbParticipant breadCrumbParticipant)
+ IBreadCrumbParticipant breadCrumbParticipant)
{
signalModelChange();
}
@@ -153,9 +153,9 @@
*/
private void signalModelChange()
{
- // else let the listview recalculate it's childs
immediately;
- // it was attached, but it needs to go trhough that
again now
- // as the signalling component attached after this
+ // else let the listview recalculate it's children
immediately;
+ // it was attached, but it needs to go through that
again now
+ // as the signaling component attached after this
getModel().detach();
super.internalOnAttach();
}
@@ -168,7 +168,7 @@
super.onBeforeRender();
if (dirty)
{
- this.dirty = false;
+ dirty = false;
}
}
@@ -178,8 +178,7 @@
protected void populateItem(ListItem item)
{
int index = item.getIndex();
- IBreadCrumbParticipant breadCrumbParticipant =
(IBreadCrumbParticipant)item
- .getModelObject();
+ IBreadCrumbParticipant breadCrumbParticipant =
(IBreadCrumbParticipant)item.getModelObject();
item.add(newBreadCrumbComponent("crumb", index, size,
breadCrumbParticipant));
}
}
@@ -197,7 +196,7 @@
public BreadCrumbBar(String id)
{
super(id);
- this.decorated = new DefaultBreadCrumbsModel();
+ decorated = new DefaultBreadCrumbsModel();
BreadCrumbsListView breadCrumbsListView = new
BreadCrumbsListView("crumbs");
addListener(breadCrumbsListView);
add(breadCrumbsListView);
@@ -246,7 +245,7 @@
/**
* Gets whether the current bread crumb should be displayed as a link
(e.g. for refreshing) or
- * as a disabled link (effictively just a label). The latter is the
default. Override if you
+ * as a disabled link (effectively just a label). The latter is the
default. Override if you
* want different behavior.
*
* @return Whether the current bread crumb should be displayed as a
link; this method returns
@@ -272,7 +271,7 @@
* @return A new bread crumb component
*/
protected Component newBreadCrumbComponent(String id, int index, int
total,
- IBreadCrumbParticipant breadCrumbParticipant)
+ IBreadCrumbParticipant breadCrumbParticipant)
{
boolean enableLink = getEnableLinkToCurrent() || (index <
(total - 1));
return new BreadCrumbComponent(id, index, this,
breadCrumbParticipant, enableLink);
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/IBreadCrumbModel.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/IBreadCrumbModel.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/IBreadCrumbModel.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/IBreadCrumbModel.java
Tue Jan 15 15:38:25 2008
@@ -77,7 +77,7 @@
/**
* Lists the bread crumb participants in this model.
*
- * @return The bread crumbs particpants, as list with
+ * @return The bread crumbs participants, as list with
* [EMAIL PROTECTED] IBreadCrumbParticipant bread crumb
participants}.
*/
List allBreadCrumbParticipants();
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/BreadCrumbPanel.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/BreadCrumbPanel.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/BreadCrumbPanel.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/BreadCrumbPanel.java
Tue Jan 15 15:38:25 2008
@@ -126,12 +126,12 @@
*/
public void activate(IBreadCrumbParticipant participant)
{
- // get the currently active particpant
+ // get the currently active participant
final IBreadCrumbParticipant active =
breadCrumbModel.getActive();
if (active == null)
{
throw new IllegalStateException("The model has no
active bread crumb. Before using " +
- this + ", you have to have at least one
bread crumb in the model");
+ this + ", you have to have at least one bread
crumb in the model");
}
// add back button support
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/IBreadCrumbPanelFactory.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/IBreadCrumbPanelFactory.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/IBreadCrumbPanelFactory.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/breadcrumb/panel/IBreadCrumbPanelFactory.java
Tue Jan 15 15:38:25 2008
@@ -21,7 +21,7 @@
/**
- * Factory interface to enabled defered creation of a bread crumb panel while
getting the proper id
+ * Factory interface to enabled deferred creation of a bread crumb panel while
getting the proper id
* for creation. Mainly meant for supporting
* [EMAIL PROTECTED] BreadCrumbPanel#activate(IBreadCrumbPanelFactory)}.
*/
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/basic/ILinkParser.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/basic/ILinkParser.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/basic/ILinkParser.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/basic/ILinkParser.java
Tue Jan 15 15:38:25 2008
@@ -17,7 +17,7 @@
package org.apache.wicket.extensions.markup.html.basic;
/**
- * <code>ILinkParser</code> parses an input text and performs modififactions
according to its
+ * <code>ILinkParser</code> parses an input text and performs modifications
according to its
* render strategies.
*
* @author Gerolf Seitz
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/Palette.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/Palette.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/Palette.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/Palette.java
Tue Jan 15 15:38:25 2008
@@ -104,26 +104,26 @@
/** reference to the palette's javascript resource */
private static final ResourceReference JAVASCRIPT = new
ResourceReference(Palette.class,
- "palette.js");
+ "palette.js");
/** reference to the palette's css resource */
private static final ResourceReference CSS = new
ResourceReference(Palette.class, "palette.css");
- /** reference to default up buttom image */
+ /** reference to default up button image */
private static final ResourceReference UP_IMAGE = new
ResourceReference(Palette.class, "up.gif");
/** reference to default down button image */
private static final ResourceReference DOWN_IMAGE = new
ResourceReference(Palette.class,
- "down.gif");
+ "down.gif");
/** reference to default remove button image */
private static final ResourceReference REMOVE_IMAGE = new
ResourceReference(Palette.class,
- "remove.gif");
+ "remove.gif");
- /** reference to default add buttom image */
+ /** reference to default add button image */
private static final ResourceReference ADD_IMAGE = new
ResourceReference(Palette.class,
- "add.gif");
+ "add.gif");
/**
* @param id
@@ -139,7 +139,7 @@
* Allow user to move selections up and down
*/
public Palette(String id, IModel choicesModel, IChoiceRenderer
choiceRenderer, int rows,
- boolean allowOrder)
+ boolean allowOrder)
{
this(id, null, choicesModel, choiceRenderer, rows, allowOrder);
}
@@ -160,7 +160,7 @@
* Allow user to move selections up and down
*/
public Palette(String id, IModel model, IModel choicesModel,
IChoiceRenderer choiceRenderer,
- int rows, boolean allowOrder)
+ int rows, boolean allowOrder)
{
super(id, model);
@@ -217,7 +217,7 @@
}
/**
- * Can be overriden by clients for custom style sheet
+ * Can be overridden by clients for custom style sheet
*
* @return the style sheet reference
*/
@@ -519,9 +519,14 @@
*/
protected String buildJSCall(String funcName)
{
- return new
StringBuffer(funcName).append("('").append(getChoicesComponent().getMarkupId())
-
.append("','").append(getSelectionComponent().getMarkupId()).append("','").append(
-
getRecorderComponent().getMarkupId()).append("');").toString();
+ return new StringBuffer(funcName).append("('")
+ .append(getChoicesComponent().getMarkupId())
+ .append("','")
+ .append(getSelectionComponent().getMarkupId())
+ .append("','")
+ .append(getRecorderComponent().getMarkupId())
+ .append("');")
+ .toString();
}
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/AbstractOptions.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/AbstractOptions.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/AbstractOptions.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/AbstractOptions.java
Tue Jan 15 15:38:25 2008
@@ -30,7 +30,7 @@
/**
- * Generats html option elements based on iterator specified by
getOptionsIterator() and
+ * Generates html option elements based on iterator specified by
getOptionsIterator() and
* IChoiceRender specified by the palette
*
* @author Igor Vaynberg ( ivaynberg )
@@ -90,7 +90,7 @@
{
String next = (String)iter.next();
buffer.append(" " + next + "=\"" +
-
additionalAttributesMap.get(next).toString() + "\"");
+
additionalAttributesMap.get(next).toString() + "\"");
}
}
@@ -133,12 +133,11 @@
// A piece of javascript to avoid serializing the options
during AJAX
// serialization.
- getResponse()
- .write(
- JavascriptUtils.SCRIPT_OPEN_TAG
+
- "if
(typeof(Wicket) != \"undefined\" && typeof(Wicket.Form) != \"undefined\")" +
- "
Wicket.Form.excludeFromAjaxSerialization." +
-
this.getMarkupId() + "='true';" + JavascriptUtils.SCRIPT_CLOSE_TAG);
+ getResponse().write(
+ JavascriptUtils.SCRIPT_OPEN_TAG +
+ "if (typeof(Wicket) != \"undefined\" &&
typeof(Wicket.Form) != \"undefined\")" +
+ " Wicket.Form.excludeFromAjaxSerialization."
+ getMarkupId() + "='true';" +
+ JavascriptUtils.SCRIPT_CLOSE_TAG);
}
/**
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Choices.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Choices.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Choices.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Choices.java
Tue Jan 15 15:38:25 2008
@@ -24,7 +24,7 @@
/**
- * select box containg all available choices of the palette
+ * select box containing all available choices of the palette
*
* @author Igor Vaynberg ( ivaynberg )
*
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Recorder.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Recorder.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Recorder.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/palette/component/Recorder.java
Tue Jan 15 15:38:25 2008
@@ -41,7 +41,7 @@
private static final String[] EMPTY_IDS = new String[0];
- /** conviniently maintained array of selected ids */
+ /** conveniently maintained array of selected ids */
private String[] ids;
/** parent palette object */
@@ -83,7 +83,7 @@
}
/**
- * Syncrhonize ids collection from the palette's model
+ * Synchronize ids collection from the palette's model
*/
private void initIds()
{
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/AbstractDataGridView.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/AbstractDataGridView.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/AbstractDataGridView.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/AbstractDataGridView.java
Tue Jan 15 15:38:25 2008
@@ -69,7 +69,7 @@
/**
* Returns iterator over ICellPopulator elements in the populators
array. This method caches the
- * iterator implemenation in a transient member instance.
+ * iterator implementation in a transient member instance.
*
* @return iterator over ICellPopulator elements in the populators array
*/
@@ -161,6 +161,9 @@
}
}
+ /**
+ * @see
org.apache.wicket.markup.repeater.RefreshingView#populateItem(org.apache.wicket.markup.repeater.Item)
+ */
protected final void populateItem(Item item)
{
RepeatingView cells = new RepeatingView(CELL_REPEATER_ID);
@@ -180,10 +183,10 @@
if (cellItem.get("cell") == null)
{
throw new WicketRuntimeException(
- populator.getClass().getName() +
-
".populateItem() failed to add a component with id [" +
- CELL_ITEM_ID +
- "] to the
provided [cellItem] object. Make sure you call add() on cellItem (
cellItem.add(new MyComponent(componentId, rowModel) )");
+ populator.getClass().getName() +
+ ".populateItem() failed to add
a component with id [" +
+ CELL_ITEM_ID +
+ "] to the provided [cellItem]
object. Make sure you call add() on cellItem ( cellItem.add(new
MyComponent(componentId, rowModel) )");
}
}
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/PropertyPopulator.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/PropertyPopulator.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/PropertyPopulator.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/grid/PropertyPopulator.java
Tue Jan 15 15:38:25 2008
@@ -22,7 +22,7 @@
import org.apache.wicket.model.PropertyModel;
/**
- * A convinience implementation of [EMAIL PROTECTED] ICellPopulator} that adds
a label that will display the
+ * A convenience implementation of [EMAIL PROTECTED] ICellPopulator} that adds
a label that will display the
* value of the specified property. Non-string properties will be converted to
a string before
* display.
* <p>
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java
Tue Jan 15 15:38:25 2008
@@ -78,7 +78,7 @@
*
*/
public OrderByLink(String id, String property, ISortStateLocator
stateLocator,
- ICssProvider cssProvider)
+ ICssProvider cssProvider)
{
super(id);
@@ -290,7 +290,7 @@
}
/**
- * Convineince implementation of ICssProvider that always returns a
null and so never adds a
+ * Convenience implementation of ICssProvider that always returns a
null and so never adds a
* class attribute
*
* @author Igor Vaynberg ( ivaynberg )
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/util/encoding/CharSetMap.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/util/encoding/CharSetMap.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/util/encoding/CharSetMap.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/util/encoding/CharSetMap.java
Tue Jan 15 15:38:25 2008
@@ -206,7 +206,7 @@
{
// Check whether the system directory contains mappings.
path = System.getProperty("java.home") + File.separator
+ "lib" + File.separator +
- CHARSET_RESOURCE;
+ CHARSET_RESOURCE;
mappers[MAP_SYS] = loadPath(path);
}
@@ -226,10 +226,10 @@
}
/**
- * Contructs a charset map from properties.
+ * Constructs a charset map from properties.
*
* @param props
- * charset mapping propeties.
+ * charset mapping properties.
*/
public CharSetMap(final Properties props)
{
@@ -238,7 +238,7 @@
}
/**
- * Contructs a charset map read from a stream.
+ * Constructs a charset map read from a stream.
*
* @param input
* an input stream.
@@ -252,7 +252,7 @@
}
/**
- * Contructs a charset map read from a property file.
+ * Constructs a charset map read from a property file.
*
* @param file
* a property file.
@@ -266,7 +266,7 @@
}
/**
- * Contructs a charset map read from a property file path.
+ * Constructs a charset map read from a property file path.
*
* @param path
* a property file path.
@@ -341,7 +341,7 @@
/**
* Gets the charset for a locale with a variant. The search is
performed in the following order:
- * "lang"_"country"_"variant"="charset", _"counry"_"variant"="charset",
+ * "lang"_"country"_"variant"="charset", _"country"_"variant"="charset",
* "lang"__"variant"="charset", __"variant"="charset",
"lang"_"country"="charset",
* _"country"="charset", "lang"="charset". If nothing of the above is
found, the default charset
* is returned.
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/AbstractWizardModel.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/AbstractWizardModel.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/AbstractWizardModel.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/AbstractWizardModel.java
Tue Jan 15 15:38:25 2008
@@ -60,7 +60,7 @@
*/
public final void addListener(IWizardModelListener listener)
{
- this.wizardModelListeners.add(listener);
+ wizardModelListeners.add(listener);
}
/**
@@ -100,7 +100,7 @@
* [EMAIL PROTECTED] IWizardModel#isLastAvailable} can return true at
any point. Returning false will
* prevent the last button from appearing on the wizard at all.
*
- * @return <tt>true</tt> if the previou last should be displayed,
<tt>false</tt> otherwise.
+ * @return <tt>true</tt> if the previous last should be displayed,
<tt>false</tt> otherwise.
*/
public boolean isLastVisible()
{
@@ -115,7 +115,7 @@
*/
public final void removeListener(IWizardModelListener listener)
{
- this.wizardModelListeners.remove(listener);
+ wizardModelListeners.remove(listener);
}
/**
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/IWizardModel.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/IWizardModel.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/IWizardModel.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/IWizardModel.java
Tue Jan 15 15:38:25 2008
@@ -166,7 +166,7 @@
void reset();
/**
- * Returns an iterator over all the steps in the model. The iteration
order is not guarenteed to
+ * Returns an iterator over all the steps in the model. The iteration
order is not guaranteed to
* the be the order of traversal. This is an optional operation;
dynamic models can just return
* null, and should call init the first time a step is encountered
right before rendering it.
*
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java
Tue Jan 15 15:38:25 2008
@@ -27,7 +27,7 @@
* The button bar holds the [EMAIL PROTECTED] PreviousButton previous}, [EMAIL
PROTECTED] NextButton next},
* [EMAIL PROTECTED] LastButton last}, [EMAIL PROTECTED] CancelButton cancel}
and [EMAIL PROTECTED] FinishButton finish} buttons.
* The [EMAIL PROTECTED] LastButton last button} is off by default. You can
turn it on by having the wizard
- * model return true for [EMAIL PROTECTED] IWizardModel#isLastVisible() the is
last visble method}.
+ * model return true for [EMAIL PROTECTED] IWizardModel#isLastVisible() the is
last visible method}.
* </p>
*
* @author Eelco Hillenius
Modified:
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardStep.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardStep.java?rev=612310&r1=612309&r2=612310&view=diff
==============================================================================
---
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardStep.java
(original)
+++
wicket/trunk/jdk-1.4/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardStep.java
Tue Jan 15 15:38:25 2008
@@ -66,7 +66,7 @@
* <td><input type="text"
wicket:id="user.userName" /></td>
* </tr>
* <tr>
- * <td><wicket:message key="email">Email
Adress</wicket:message></td>
+ * <td><wicket:message key="email">Email
Address</wicket:message></td>
* <td><input type="text"
wicket:id="user.email" /></td>
* </tr>
* </table>
@@ -93,7 +93,7 @@
void execute()
{
- Form form =
(Form)WizardStep.this.findParent(Form.class);
+ Form form = (Form)findParent(Form.class);
form.add(formValidatorWrapper);
}
}