[
https://issues.apache.org/jira/browse/ADFFACES-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated ADFFACES-317:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> inputDate should not render icon if 'chooseId' specified
> --------------------------------------------------------
>
> Key: ADFFACES-317
> URL: https://issues.apache.org/jira/browse/ADFFACES-317
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Affects Versions: 1.0.0-incubating-core
> Reporter: Danny Robinson
> Priority: Minor
> Fix For: 1.0.0-incubating-core
>
>
> The current <tr:inputDate> implementation always renders an icon immediately
> following the input field. However, if you specify a <tr:chooseDate> to
> render the calendar in-page, it shouldn't render the icon. A simple patch to
> SimpleInputDateRenderer fixes this (below).
> PATCH to
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SimpleInputDateRenderer
> @Override
> protected void renderAfterTextField(
> FacesContext context,
> RenderingContext arc,
> UIComponent component,
> FacesBean bean) throws IOException
> {
> // Only render the icon if chooseId is not specified.
> if (_getChooseId(arc) == null)
> super.renderAfterTextField(context, arc, component, bean);
> }
> By the way, this fix will cause CoreRenderKitTest to fail, so will require an
> update to the expected/golden output for this component. Sorry - I'm not yet
> familiar enough to do this.
> Thanks,
> Danny
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.