override getscrolling()

2006-07-05 Thread Eric Hsieh
The default implementation for getScrolling() that gets added by the extensionsfilter does a window.scrollTo() call to set the scrolling position.This only works for the case where tree2 is set in the window, not withing another container like a scrolling div (where overflow=auto).Is there a way

Tree2, selected node focus

2006-07-04 Thread Eric Hsieh
I'm using tree2 to render some data and am programmatically selecting nodes. Is there a way to have the node that is selected be in focus in the browser? I'm looking for something like an html textarea, where if you select a value in the textarea via _javascript_ the browser will autoscroll the

adding attributes to a row in a dataTable

2006-01-11 Thread Eric Hsieh
Is it possible to set the onlick event of a generated tr in a dataTable? It looks like the only thing you can set is the style class by using the rowClasses attribute in t:dataTable Yahoo! Photos – Showcase holiday pictures in hardcover Photo Books. You design it and we’ll bind it!

Apply style to a panelTab

2005-10-18 Thread Eric Hsieh
When t:panelTab gets rendered a div and span get created. The styleClass attached to t:panelTab gets put onto the span tag. Is there a way to apply a style class to the div tag? Some styles are only applicable to block elements like overflow. Right now, t:panelTab renders into something like

not saving state of expand/collapse in tree2?

2005-04-14 Thread Eric Hsieh
I'm using tree2 to display a dynamic amount of data. I noticed that the state of the tree gets saved as a cookie in the session. Is there anyway to force the tree to not save the state? On a new request I want the tree to render as if it were being rendered for the first time. The problem I'm