Re: Help with panelTabbedPane

2007-09-20 Thread kewldude
any suggestions? kewldude wrote: > > I have a panelTabbedPane wherein I have 4 tabs to display all in all. The > catch here is I have 8 inside that panelTabbedPane the reason > is because I have an additional for each of those 4 tabs. > > Those panelTabs serve the pur

Help with panelTabbedPane

2007-09-20 Thread kewldude
I have a panelTabbedPane wherein I have 4 tabs to display all in all. The catch here is I have 8 inside that panelTabbedPane the reason is because I have an additional for each of those 4 tabs. Those panelTabs serve the purpose of displaying the tab, but they are not clickable. (Something like

Re: - how long ?

2007-09-19 Thread kewldude
x27;s browser inside a > hidden input tag. If you are using server-side state, it is saved into > the users HttpSession and lives as long as the session, unless booted > by another view state (once the maximum number of views to save has > been reached). > > -Andrew > > On

- how long ?

2007-09-19 Thread kewldude
How long is the duration of the objects in . Ive read somewhere that it lasts longer than request, but shorter than session. Is there a fixed value with regard to its duration in memory? The reason I ask is because I have a managed bean that is saved in t:saveState and there comes a time that it e

Re: Javascript error : oamSetHiddenInput('_idJsp0','autoScroll',getScrolling()

2007-09-19 Thread kewldude
Hey guys, has anyone solve this problem? My environment is myfaces 1.1.5 + tomahawk 1.1.6 snapshot. I hope the gurus out there will provide some inputs. harinair wrote: > > I am also encountering the same issue. Did you find a solution to this > problem? > I am using tomahawk 1.1.5 + myfaces

custom outputText

2007-08-29 Thread kewldude
Okay, I have no experience whatsoever in creating a custom component, but I just finished reading this http://www.jsftutorials.net/components/step1.html guide on creating custom components. What I want to achieve is to customize the outputText component wherein any value of the outputText com

Re: AW: AW: AW: AW: Search Highlighting

2007-08-29 Thread kewldude
Or I have no choice, but to code my own dataTable renderer given my requirements below? kewldude wrote: > > Just a simple exact match for the meantime will do. > > > Sertic Mirko, Bedag wrote: >> >> Are you using special characters for your search, a % or an *, A

Re: AW: AW: AW: AW: Search Highlighting

2007-08-28 Thread kewldude
Just a simple exact match for the meantime will do. Sertic Mirko, Bedag wrote: > > Are you using special characters for your search, a % or an *, AND or OR > matching, > or are you doing a simple exact match? > > -Ursprüngliche Nachricht----- > Von: kewldude [ma

Re: AW: AW: AW: Search Highlighting

2007-08-28 Thread kewldude
-Ursprüngliche Nachricht----- > Von: kewldude [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 28. August 2007 09:48 > An: users@myfaces.apache.org > Betreff: Re: AW: AW: Search Highlighting > > > No im not using Hibernate, Im using plain DAOs via Oracle. > > > Ser

Re: AW: AW: Search Highlighting

2007-08-28 Thread kewldude
ossibilities > to link hibernate with lucene... > > Regards > Mirko > > -Ursprüngliche Nachricht- > Von: kewldude [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 28. August 2007 09:09 > An: users@myfaces.apache.org > Betreff: Re: AW: Search Highlighting

Re: AW: Search Highlighting

2007-08-28 Thread kewldude
u using lucene, for instance? With lucene, you can use > she search result highlighter to generate html, and then > output it in your jsp/jsf page... > > Regards > Mirko > > -Ursprüngliche Nachricht- > Von: kewldude [mailto:[EMAIL PROTECTED] > Gesend

Search Highlighting

2007-08-27 Thread kewldude
I know this is a little bit off topic here, but I need to ask it here because I'm using MyFaces in this project, so here it goes... I need to present a dataTable that represents search results coming from a search query (query of books, articles,documents etc. ). Lets say I have 4 columns to disp

Re: Tree2 - Selecting a node programmatically

2007-08-18 Thread kewldude
} > } > > class MyBaseNode2 extends TreeNodeBase implements ClickableBaseNode { > public void onClick(ActionEvent event) { > setNodeSelected(event); > getTreeBacker().processFolder(); > } > } > > You just have to create proper implementations of

customizing h:dataTable

2007-08-18 Thread kewldude
Lets say I have a resultset of 10 items, I need to display them in a dataTable, but I need to highlight rows 1,5 and 8...is that possible at all? -- View this message in context: http://www.nabble.com/customizing-h%3AdataTable-tf4292394.html#a12219471 Sent from the MyFaces - Users mailing list

Re: Tree2 - Selecting a node programmatically

2007-08-16 Thread kewldude
> whatsoever) that can be called when you found the match in your backing > bean. Does that solve your problem? (Look here for a start: > http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/tree2/TreeNodeBase.html) > > Cheers, > > Christopher > > kew

Tree2 - Selecting a node programmatically

2007-08-16 Thread kewldude
Here goes the situation, I have a textbox that can search through the nodes in the tree2 component. When there is a match, I need to expand the specific node. I can do that part no problem. But together with expanding that node, the action associated to that node should also be executed (it was as

Revisiting the Tree2 Wiki post

2007-08-09 Thread kewldude
It was mention in the wiki page that there are different ways of lazy loading the contents of the tree2 components. Also, the first approach encountered a problem in capturing the +/- event in his code. The bad thing is that the + icon is now invisible, but i couldn't find a way to get the event

Using PhaseListeners

2007-08-08 Thread kewldude
Is there a way to detect which phase is currently being executed inside the backing bean? I need to detect the Apply Request Values Phase inside my managed bean. Okay lets say i have created a public class that implements PhaseListener, ive registered it in the faces-config.xml. How do I capture

Tree2 and events

2007-08-06 Thread kewldude

Scrollable Tree2

2007-08-03 Thread kewldude
Has anyone here tried to implement a tree2 component that is scrollable? Meaning lets say you have to display 100 nodes with 10 nodes per page (10 nodes are visible at any given time), then above the tree2 component you have something like a scroller, so you can traverse the tree and display each

Re: Tree2 Lazy Loading Confusion

2007-08-02 Thread kewldude
anyone? kewldude wrote: > > Okay, after eating dinner, I figured out that a work around can be done to > get the currently selected node by binding the tree2 component to a > backing bean that has a HtmlTree object. And from there this.selectedNode > = yourTreeObject.getNode()

Re: Tree2 Lazy Loading Confusion

2007-08-02 Thread kewldude
mething. Thanks. kewldude wrote: > > I'm trying to use the Alternative Tree2 Lazy Loading Method...by jtmille30 > approach in lazy loading my tree. > > I'm just wondering why the action attribute in the jsp is pointing to > (action="#{treeBacker.selectedNode} ) which

Tree2 Lazy Loading Confusion

2007-08-02 Thread kewldude
I'm trying to use the Alternative Tree2 Lazy Loading Method...by jtmille30 approach in lazy loading my tree. I'm just wondering why the action attribute in the jsp is pointing to (action="#{treeBacker.selectedNode} ) which is in the back end its public void selectedNode() {

Re: question about tree2's t.nodeSelected

2007-08-02 Thread kewldude
Sorry for resurrecting this old thread, but I'm in the same situation as the thread starter. I tried the suggestion, but i'm getting exceptions. Here is how my code looked like right now. here is the tree2 component here is the a4j:commandLink

Re: Using and serialization

2007-08-01 Thread kewldude
this.tree; } } in another page i have this I'm trying to digest what you mean by serializing the model and the state but not the component... Andrew Robinson-5 wrote: > > Serialize the model and the state, but not the component. > > On 8/1/07, kewldude <[EMAIL PROTECTED

Using and serialization

2007-08-01 Thread kewldude
This is my situation, I have a component that has a treeBacker class at the back end. I'm using to save the state of the treeBacker object. My problem right now is I tried to component bind my component to a HtmlTree object declared inside my treeBacker class. Obviously, all the objects inside

Re: t:datascroller + ajax

2007-07-31 Thread kewldude
are you there andrew? or anyone who has anymore inputs? kewldude wrote: > > > Hi Andrew, > > Do you have any sample codes that I can build and play around with? I'm > really intent on using the t:datascroller instead of the richfaces > scroller. > > >

Re: t:datascroller + ajax

2007-07-30 Thread kewldude
common to all >> scroller implementations since they are caused by DataModel and not by >> scroller itself. >> >> regards, >> paul >> >> kewldude schrieb: >> > Yeah other than the richfaces scroller. Went through their forum and >> read >>

Re: t:datascroller + ajax

2007-07-29 Thread kewldude
Yeah other than the richfaces scroller. Went through their forum and read some problems regarding richfaces scroller. I'm interested in using the t:datascroller with ajax. Adrian Mitev-2 wrote: > > RichFaces project got ajax scroller. > > 2007/7/30, kewldude <[EMAIL PROTE

t:datascroller + ajax

2007-07-29 Thread kewldude
Was there a successful implementation of using the tomahawk datascroller + ajax? Something like clicking the page number of the scroller and only the data table changed and not the whole page is reloaded... I'm trying to search the forum and it seems there are difficulties in doing so. Can someone

Re: tree2 - backing bean gets called twice

2007-07-26 Thread kewldude
any inputs? kewldude wrote: > > Here is my tree2 code (it is rendered inside a component): > > > > > columnClasses="columnTree1,columnTre

tree2 - backing bean gets called twice

2007-07-25 Thread kewldude
Here is my tree2 code (it is rendered inside a component):

Re: Getting contents for Tree2 component

2007-07-19 Thread kewldude
t; TreeNodeBase childNode = nodes.get(nodeId); > parentNode.getChildren().add(childNode); > } > } > > return new TreeModelBase(rootNode); > > > > > On 7/18/07, kewldude <[EMAIL PROTECTED]> wrote: >> >> something like loading the tree2 component with data from dat

Re: Getting contents for Tree2 component

2007-07-18 Thread kewldude
something like loading the tree2 component with data from database... kewldude wrote: > > What if I want to build the tree model all at once? I just need a > tip/advice on how to do the fetching from the database and load it up into > the TreeNodeBase object. > > > An

Re: Getting contents for Tree2 component

2007-07-17 Thread kewldude
What if I want to build the tree model all at once? I just need a tip/advice on how to do the fetching from the database and load it up into the TreeNodeBase object. Andrew Robinson-5 wrote: > > Do you want to lazy load them or build the tree model all at once? > > On 7/17/

Getting contents for Tree2 component

2007-07-17 Thread kewldude
Hi guys, I just need your advice though this is not really about the tree2 component entirely. I just want to know how did you retrieve the data that represents all the folders and nodes for the tree2 component. I know most likely that data comes from a db that has a table that has a column mappi

Re: CSS vs Tree2 Component

2007-07-15 Thread kewldude
e way you would have to > create icon DIVs/SPANs would make the HTML really useless for anything > besides a tree? > > On 7/15/07, kewldude <[EMAIL PROTECTED]> wrote: >> >> We have a project that uses JSF(MyFaces Implementation). Actually, we >> just >>

CSS vs Tree2 Component

2007-07-15 Thread kewldude
We have a project that uses JSF(MyFaces Implementation). Actually, we just inherited this project from a former programmer that had resigned, so we don't have anything to do with the JSF framework. After doin some maintenance work on the project, a new requirement was needed. We need to display a

Using Frame with Tree2 Component in a TabbedPabe

2007-07-13 Thread kewldude
I have this requirement wherein I need to display a Tree2 component in a tab, and that tab should have 2 frames in it. The frame on the left contains the Tree2 component and the frame on the right contains a page that will correspond to any data that needs to be displayed when clicking the Tree2 c