beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Ramirez (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Assigned: (BEEHIVE-533) TreeHtmlAttributeInfo should have a constructor that takes attribute and value
Date Mon, 02 May 2005 18:50:06 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-533?page=all ]

Alejandro Ramirez reassigned BEEHIVE-533:
-----------------------------------------

    Assign To: Krista Baker  (was: Alejandro Ramirez)

Please Verify

> TreeHtmlAttributeInfo should have a constructor that takes attribute and value
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-533
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-533
>      Project: Beehive
>         Type: Wish
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Krista Baker
>     Assignee: Krista Baker
>     Priority: Minor
>      Fix For: TBD
>  Attachments: j533.zip
>
> When creating dynamic trees in the pageFlow and adding html attributes to the items,
a minimum of 5 lines must be written to create a valid rendering attribute.
> example treeHtmlAttribute tag in JSP:
> <netui:treeHtmlAttribute attribute="c" value="**C**" onSelectionLink="true" onDiv="true"
onIcon="true" applyToDescendents="true"/>
> Current Configuration to create the equivalent of above tag using the TreeHtmlAttributeInfo
class:
> TreeHtmlAttributeInfo myAttributes = new TreeHtmlAttributeInfo();
> myAttributes.setAttribute("c");
> myAttributes.setValue("**C**");
> myAttributes.setOnSelectionLink(true);
> myAttributes.setOnDiv(true);
> myAttributes.setOnIcon(true);
> myAttributes.setApplyToDescendents(true);
> myTreeItem.addAttribute(myAttributes);
> Proposed Constructor for TreeHtmlAttributeInfo to simplify the process and set the required
values:
> public HtmlTreeAttributeInfo(String attribute, String value)
> {
>     this();
>     _attribute = attribute;
>     _value = value;
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message