myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Kitching (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-814) Allow tree2 to work within dataList and dataTable
Date Tue, 03 Jan 2006 10:11:02 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-814?page=comments#action_12361598 ] 

Simon Kitching commented on MYFACES-814:
----------------------------------------

Hi Ravi,

This does look like a reasonable request. Unfortunately, while *you* may need a fix for this
it looks like there is no-one else who currently does, and no-one who currently has time available
to donate (for free) to fixing this issue.

You therefore have the following options:
 * figure out a workaround (a few suggestions are above), by experimenting or by reading the
code to figure
    out what the issue actually is and how it can be avoided.
 * create your own custom tree2 component by subclassing the existing one (or copying it if
you have to) and
    fix the code to do what you want.
 * create a patch for the existing tree2 component, attach it to this issue, and wait for
an existing MyFaces committer
    to review and commit it. If you include unit tests, documentation, etc. then that will
increase the probability of a
    quick response. However there's no guaranteed time limit that a patch will be evaluated
in
 * offer to pay someone to fix it. A number of MyFaces committers provide professional software
services; others who
    do this work in their spare time may also be willing to tackle this for the right offer.
Maybe even indirect incentives will work, eg
    "we'll donate $100 to charity XXX if someone fixes this..".

The above aren't exclusive; you could try all three simultaneously if you want.

Of course with commercial software, the last option is the only one you ever have. Often you
have to pay in advance for a "maintenance contract" without ever knowing if you'll need it;
often the fix will only be in the "next release" which requires paying an upgrade fee, etc...

> Allow tree2 to work within dataList and dataTable
> -------------------------------------------------
>
>          Key: MYFACES-814
>          URL: http://issues.apache.org/jira/browse/MYFACES-814
>      Project: MyFaces
>         Type: Improvement
>   Components: Tomahawk
>     Versions: 1.1.0
>     Reporter: Daniel Ray

>
> Placing a tree2 component within a dataTable or dataList renders correctly but the onClick
method generates code similar to the following for each row.
> onclick="treeNavClick('org.apache.myfaces.tree.TOGGLE_SPAN:productTree:0'
> This has the effect of selecting a node in another tree in a separate row to always expand/collapse
the tree component within the first row. (Though the +/- icon will change for the selected
row).
> Perhaps passing the id of the dataList or dataTable (much like dataScroller) to the tree2
component will help to generate unique ids for each nav image rendered.

-- 
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