You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Eelco Hillenius (JIRA)" <ji...@apache.org> on 2007/12/12 08:11:43 UTC

[jira] Resolved: (WICKET-1219) Make it easier to provide a custom converter for AjaxEditableLabel

     [ https://issues.apache.org/jira/browse/WICKET-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius resolved WICKET-1219.
-------------------------------------

    Resolution: Fixed

Now in AjaxEditableLabel:

	/**
	 * Implementation that returns null by default (panels don't typically need converters anyway).
	 * This is used by the embedded default instances of label and form field to determine whether
	 * they should use a converter like they normally would (when this method returns null), or
	 * whether they should use a custom converter (when this method is overridden and returns not
	 * null).
	 * 
	 * @see org.apache.wicket.Component#getConverter(java.lang.Class)
	 */
	public IConverter getConverter(Class type)
	{
		return null;
	}

> Make it easier to provide a custom converter for AjaxEditableLabel
> ------------------------------------------------------------------
>
>                 Key: WICKET-1219
>                 URL: https://issues.apache.org/jira/browse/WICKET-1219
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.3.0-rc1
>            Reporter: Eelco Hillenius
>            Assignee: Eelco Hillenius
>            Priority: Minor
>             Fix For: 1.3.0-rc3
>
>
> Currently, it is quite hard to provide a custom converter for the label and text field of AjaxEditableLabel. This is mainly because the only way to provide one per component is to override a method; there is no setter for it. As this could be a common case for the AjaxEditableLabel (as I found out while writing WIA), it would be nice if the component made this a bit easier.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.