Re: [Trinidad] [Proposal] Tree Expand All handling

2008-08-21 Thread venkata guddanti
+1. Hard coding the bound to 100 is arbitrary and not right. This should not be part of the framework, especially since this code effects every node expansion/collapse. Venkata On Thu, Aug 21, 2008 at 2:17 PM, Kamran Kashanian [EMAIL PROTECTED] wrote: There is some code in the Trinidad

Re: Apache Trinidad Chart won't load in FF/IE

2008-04-04 Thread venkata guddanti
The trinidad chart should work with FF 1.5+ with native SVG support. In IE you would need the Adobe SVG support. It should also work with Safari 3.0+ and Opera 7.0+ browsers using the native SVG support. If the Firefox browser asked you for download of SVG (chart) file, it is most likely an

Re: Issue using Trinidad Chart component in Web Sphere

2008-04-04 Thread venkata guddanti
This is most likely due to no mime type being set for SVG files on websphere. Make sure that you set svg file mime types to image/svg+xml*. *Since there is no mime-type set, it is crashing at response.setContentType(contentType), where contentType is null. On Thu, Apr 3, 2008 at 9:27 AM, Shankar

Re: [Trinidad] Some stuff about tr:chart

2008-01-15 Thread venkata guddanti
Hi Döring, One way you can avoid labeling all values along x-axis is if your group labels contain null or null string(). These values will be simply ignored during rendering. That way you can provide labels after every 'n' values. I believe your size of groupLabels can also be less than the size

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-02 Thread venkata guddanti
that is not within another tag that has bound the ChartModel instance to a var attribute. It's like the chart tag can't read a var binding from a parent tag. I've tried using forEach too with no luck. On 11/1/07, venkata guddanti [EMAIL PROTECTED] wrote: You could also try using af:forEach instead

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-01 Thread venkata guddanti
I am not sure I understand this issue. The value attribute for the tr:chart must be bound to a ChartModel instance. So if you did that did you add component getter/setter inside it which is an instance of CoreChart? Regards, Venkata On 10/31/07, Dan Potter [EMAIL PROTECTED] wrote: t:dataList

Re: [Trinidad] tr:chart doesn't work inside tr:iterator?

2007-11-01 Thread venkata guddanti
You could also try using af:forEach instead of af:iterator. Regards, Venkata On 11/1/07, venkata guddanti [EMAIL PROTECTED] wrote: I am not sure I understand this issue. The value attribute for the tr:chart must be bound to a ChartModel instance. So if you did that did you add component

Re: [Trinidad] request backed TreeTable

2007-10-03 Thread venkata guddanti
Hi Andrew, I believe this may not have anything to do with change persistence. The selection and the expansion state is part for the component state (SaveState, RestoreState). One possibility is that you use a request scoped bean to bind the selectedRowKeys and disclosedRowKeys attributes via

Re: [Trinidad] Selecting in a table via Java-Code

2007-09-19 Thread venkata guddanti
The selectedRowKeys attribute is bound to an RowKeySet instance. The RowKeySet instance is attached to the collectionModel using setCollectionModel method. To select all rows in the table you would do something like this: rowKeyset.clear(); tableInstance.setRowKey(null); rowKeyset.invertAll();

Re: [Trinidad] Pie chart breaking with 7 items

2007-09-19 Thread venkata guddanti
issues to you. With kind regards Florian Reiser Original-Nachricht Datum: Thu, 6 Sep 2007 15:00:25 -0600 Von: venkata guddanti [EMAIL PROTECTED] An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: [Trinidad] Pie chart breaking with 7 items Hi Florian

Re: [Trinidad] Numeric values in table column cells / skinning

2007-09-13 Thread venkata guddanti
Yes. Please do log a JIRA ticket for this. I believe the skin-selectors documentation needs to be updated. Regards, Venkata On 9/12/07, Carsten Pieper [EMAIL PROTECTED] wrote: Thanks Venkata, I think the selectors af|column::cell-number, af|column::header-number may no longer be used.

Re: [Trinidad] Numeric values in table column cells / skinning

2007-09-12 Thread venkata guddanti
I think the selectors af|column::cell-number, af|column::header-number may no longer be used. In ADF Faces 10.1.3 the column alignment was based on the type attribute for e.g. number, icon etc. In Trinidad the alignment is done by specifying align=start|end|left|right|center on the tr:column

Re: [Trinidad] TreeTable - expand all.

2007-09-06 Thread venkata guddanti
You can expand all nodes in the treeTable by specifying the disclosedRowKeys on the component. If the disclosedRowKeys contains all the nodes in the treeTable, the entire tree will be displayed as expanded. Regards, Venkata On 9/6/07, Darren McEntee [EMAIL PROTECTED] wrote: Hi, we're not

Re: [trinidad] create scrollable div for layout manager (like panelGroupLayout) on FireFox

2007-09-06 Thread venkata guddanti
One suggestion( a wild guess maybe!) that I can make is that you can put inlineStyle=position:relative on all the panelBox components inside the panelGroupLayout. If you have firebug installed for FF 2.0 you can go to the content and change the styles on the panelBox and panelGroupLayout dom

Re: [Trinidad] Pie chart breaking with 7 items

2007-09-06 Thread venkata guddanti
: https://issues.apache.org/jira/browse/TRINIDAD-665 Regards, --Venkata On 8/31/07, venkata guddanti [EMAIL PROTECTED] wrote: Hi Florian, I provided a patch for this issue. I noticed that even after providing the colors, the chart was not working since the gradient templates defined

Re: Best way to right-dock the sort icon in a tr:table column header?

2007-09-06 Thread venkata guddanti
The Display:none is not necessary on the table. In our case we were displaying the sort indicator when the user mouses over the header and hiding it on mouseout. Also note that it should be float:left in RTL. Regards, Venkata On 9/6/07, venkata guddanti [EMAIL PROTECTED] wrote: I think you do

Re: Best way to right-dock the sort icon in a tr:table column header?

2007-09-06 Thread venkata guddanti
I think you do not need a span around the text of the outputText. You can add a div in the header with float:right that contains the sort image. Here is dom snapshot of out table header: .xq6 {DISPLAY: inline-block;BACKGROUND-IMAGE: url(/faces-trunk/afr/sort_des_n.png);WIDTH: 14px;

Re: [Trinidad] chart component in a h:datatable leads to javax.faces.el.PropertyNotFoundException - Base is null:

2007-09-05 Thread venkata guddanti
Hi Claus, This probably due to the fact that chart component does not implement valueHolder interface. Currently I believe only valueHolder components can be put inside the table. Can you use trh:tableLayout with c:forEach instead? Venkata On 9/3/07, Claus Elsborg Laursen [EMAIL PROTECTED]

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-31 Thread venkata guddanti
Datum: Wed, 29 Aug 2007 14:34:05 -0600 Von: venkata guddanti [EMAIL PROTECTED] An: MyFaces Discussion users@myfaces.apache.org Betreff: Re: [Trinidad] Pie chart breaking with 7 items Can you please log a JIRA ticket? I will investigate and provide a patch. Regards, Venkata On 8

Re: [Trinidad] how to get tr:table rowKeys

2007-08-30 Thread venkata guddanti
The index of the element in the array is the rowKey. Trinidad wraps the array into SortableModel. --Venkata On 8/30/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Hi, I used to manage tr:table through my own DataModel, which defines and returns rowKeys. However, for simpler cases usually just

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread venkata guddanti
Can you please log a JIRA ticket? I will investigate and provide a patch. Regards, Venkata On 8/29/07, Florian Reiser [EMAIL PROTECTED] wrote: Hello, I want to draw a pie chart with a total of 15 data items in a series. When I render the page the chart is not shown. So I limited the

Re: [Trinidad] Pie chart breaking with 7 items

2007-08-29 Thread venkata guddanti
that the current implementation is not correct. If it cannot find the colors it should throw an exception on the server or it should wrap around and reuse the colors. So if you enter a JIRA ticket for it, I can provide the patch for it. Regards, Venkata On 8/29/07, venkata guddanti [EMAIL PROTECTED

Re: Trinidad Chart ppr

2007-07-20 Thread venkata guddanti
Unfortunately when the chart is being PPR the entire chart is being PPRed. One thing you may want to do is to turn off animation(animationDuration=0) since it is annoying when the chart is being refreshed using af:poll. This make it look like only the chart bars are refreshing. Venkata On

Re: [Trinidad] Can the chart generated svg be converted to images?

2007-07-20 Thread venkata guddanti
Currently I believe the IE Adobe SVG viewer plugin has an option to save the generated SVG content. You can then take the SVG output to any of the SVG authoring tool and convert it into images. Also Emia Renesis SVG player in IE has an option to save the generated SVG content as an image. But

Re: [Trinidad] Chart in output but not displayed?!

2007-07-16 Thread venkata guddanti
Hi Andre, I tried your sample and the only time I am seeing this issue is if I create a jspx page with your sample in IE. The sample has html, head etc tags that are not necessary. The following jpsx is working good for me: ?xml version=1.0 encoding=iso-8859-1 standalone=yes ? jsp:root