You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org> on 2005/05/02 20:50:06 UTC

[jira] Assigned: (BEEHIVE-533) TreeHtmlAttributeInfo should have a constructor that takes attribute and value

     [ 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