You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "A.J. (JIRA)" <ji...@apache.org> on 2010/08/26 17:32:53 UTC
[jira] Created: (PIVOT-614) add a clearFlag() method in Form
add a clearFlag() method in Form
--------------------------------
Key: PIVOT-614
URL: https://issues.apache.org/jira/browse/PIVOT-614
Project: Pivot
Issue Type: Improvement
Affects Versions: 1.5.1
Reporter: A.J.
Priority: Minor
The Form does not expose any explicit way of removing the Flag attribute.
While implementing it, I realized it was as easy as calling Form.setFlag() method with a null value but it ain't very 'developer friendly', imho.
So, either make it clear in the doc or add a method such as this one
Form,java:
public static final void clearFlag(Component component) {
setFlag(component, (Flag) null);
}
cheers
A.J.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-614) add a clearFlag() method in Form
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-614.
------------------------------
Fix Version/s: 1.5.2
2.0
Resolution: Fixed
Agreed - not developer friendly. Resolved.
> add a clearFlag() method in Form
> --------------------------------
>
> Key: PIVOT-614
> URL: https://issues.apache.org/jira/browse/PIVOT-614
> Project: Pivot
> Issue Type: Improvement
> Affects Versions: 1.5.1
> Reporter: A.J.
> Priority: Minor
> Fix For: 1.5.2, 2.0
>
>
> The Form does not expose any explicit way of removing the Flag attribute.
> While implementing it, I realized it was as easy as calling Form.setFlag() method with a null value but it ain't very 'developer friendly', imho.
> So, either make it clear in the doc or add a method such as this one
> Form,java:
> public static final void clearFlag(Component component) {
> setFlag(component, (Flag) null);
> }
> cheers
> A.J.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.