Re: CSS vs Tree2 Component

2007-07-16 Thread kewldude
Its because when I brought the idea of using the tree2 component, I told him that we need to use iframe in order to emulate the effect of using the tree2 as a navigation pane while the iframe will serve as the pane wherein the results will be displayed (when the tree2 is clicked). He detests

creation of a checkbox tree

2007-07-16 Thread Pierre Goupil
Hello, Could anyone give me a clue regarding the creation of a checkbox tree with myfaces ? I mean a tree where each child has a checkbox next to it. I know how to create a tree, it's pretty easy, but I'm unable to find the relation between it and the treeCheckBox component. I've looked at the

Re: [Trinidad] State saving between applications

2007-07-16 Thread Stéphane Poirier
Great! Works perfectly! Thank a lot for your help! On 7/14/07, Adam Winer [EMAIL PROTECTED] wrote: Ah, yes. Well, Trinidad offers a ChangeManager feature that can be used to persist component state. What you'd do is add a rangeChangeListener to the table like so: public void

Creating variables

2007-07-16 Thread Anton Schoultz
Hi, We have a need for myfaces 'compatible' tags that support logic and looping.. I have managed to roll my own logic tag without a problem, but would appreciate some suggestions on how I can create and set variables to be used for a loop. I'm looking to do something similar to the var,row and

Re: [tobago] can we create a UIMenu structure on the fly (from the server side)?

2007-07-16 Thread Zied Hamdi
Hello again, I forgot to tell you I'm new to JSF, It's possible I'm doingit all bad. I took a look in debug mode at a UIMenu instance initialized with Jsf tags, and I've found an attribute containing the list of nested commands ids. I suppose there's a factory for doing these routines... Does

Re: Re: Can't reRender h:inputText value using ajax4jsf ?

2007-07-16 Thread sushma sharma
I am sure you are changing myBean.myValue in your action method of the bean, but still, Can you post your action method here? On Sun, 15 Jul 2007 Cagatay Civici wrote : Maybe you can try ajax4jsf list? On 7/15/07, Brian Woolf [EMAIL PROTECTED] wrote: Hi I think I've already asked, but

RE: Re: Trinidad table paging

2007-07-16 Thread Laperle, Denis
You're right about the automatic clean-up upon process termination but only a new window starts a new process so it's not very useful unless a new window is associated to each process and sub-process you need. I read the documentation about the Spring Webflow JSF integration and it seems very

Re: Re: Trinidad table paging

2007-07-16 Thread Francisco Passos
You are probably right about the automatic clean-up. That is actually what makes sense. However I should point to what caused me to think otherwise. In the Trinidad developer manual, on the page http://myfaces.apache.org/trinidad/devguide/communicatingBetweenPages.html it is stated:

Re: Can't reRender h:inputText value using ajax4jsf ?

2007-07-16 Thread Brian Woolf
Surround h:selectOneMenu with a4j:region, the questions have been resolved, thank you. -- View this message in context: http://www.nabble.com/Can%27t-reRender-h%3AinputText-value-using-ajax4jsf---tf4081255.html#a11615805 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: CSS vs Tree2 Component

2007-07-16 Thread Andrew Robinson
There is no reason to use an IFRAME unless you are showing pages from outside of the JSF system, and CSS will not stop that need. If you are doing a windows explorer like page with the tree on the left and the JSF details page on the right, then you simply can use an a4j:include or ui:include

Re: creation of a checkbox tree

2007-07-16 Thread Andrew Robinson
I haven't done it, but tree2 has the capabilities built in. Check the archives for more information. I don't know much about it though, as I created my own version to support check boxes before the component supported them. On 7/16/07, Pierre Goupil [EMAIL PROTECTED] wrote: Hello, Could

Re: Creating variables

2007-07-16 Thread Andrew Robinson
Just read the data list code On 7/16/07, Anton Schoultz [EMAIL PROTECTED] wrote: Hi, We have a need for myfaces 'compatible' tags that support logic and looping.. I have managed to roll my own logic tag without a problem, but would appreciate some suggestions on how I can create and set

RE: [Trinidad] Renderer Listeners

2007-07-16 Thread William Hoover
The intent is to track selections. It seems like a lot of extra work to maintain quite a few tr:inputHidden components just to capture selection values. I see what your saying about post-processing a pattern in JS, but I don't think that searching through table for fields might be the best

RE: PPR - Update an inputText dont work

2007-07-16 Thread David Brunette
Hello. I am having trouble with this as well. But, the difference in my situation is that the inputText components that I am trying to reset are in a table. I'm having trouble getting a hold of those components in the table so I can reset the values. I've tried a couple things,

JSF/MyFaces Component to Add Multiple textfields

2007-07-16 Thread bansi
I have a requirement to add multiple textfields like Name : h:inputText id=name / Age : h:inputText id=age / h:commandButton value=Add / I am looking for JSF/MyFaces component which onclick of Add button can store multiple records of Name and Age into some kind of JSF Component I can think of

Re: PPR - Update an inputText dont work

2007-07-16 Thread Michał 'Gandalf' Stawicki
In my case, I just put fields in form named objectDetForm and when I need to reset them: private void resetFields() { UIComponent c = FacesContext.getCurrentInstance().getViewRoot().findComponent(objectDetForm); if(c != null c.getParent() != null)

[Tobago] spell checker for textarea input exmaples?

2007-07-16 Thread Wong, Emmanuel (Sam)
Hi: Does anyone tell me where I could get spell checker for implementing Tobago textarea input field? Thanks. -- Sam Wong

Re: Re: Trinidad table paging

2007-07-16 Thread Adam Winer
pageFlowScope doesn't empty itself, but:- it is window-specific - there's a limited number of pageFlowScope tokens saved So, in that sense, it does clean up. The point of the sentence you quote is that as you move from page to page, pageFlowScope keeps accumulating objects, unless you manually

InputSuggestAjax: 'Ajax' is undefined

2007-07-16 Thread M M
Hello When I deploy a simple application using InputSuggestAjax and try to watch then my Browser (IE 6) is giving me the error: 'Ajax' is undefined Tomahawk and Sandbox seem to render the site correctly. There is no error thrown in the tomcat log files. I have checked google for similar

[Trinidad] Chart in output but not displayed?!

2007-07-16 Thread Andre_Fritsch
Hi! I tried to create my own trindad chart based on the example. therefore i created a chart class with this code: package mypack; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.faces.component.UIComponent; import

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-16 Thread bansi
Thanks Andrew i fixed it. I have similar kind of problem in different situation Their is a Search Form . Click on Search button reRenders the h:dataTable to display the search resultSet but this happens only after clicking the Search button twice or thrice. Quite wierd I tried doing the same

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-16 Thread Andrew Robinson
I bet it is because your outputPanel is not rendered the first time. A4J needs to have a client HTML element present to replace the contents of. In your example, the searchpanel may not be rendered, and if so, there is nothing to replace on the client. A component that is reRendered must first be

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-16 Thread bansi
Andrew Thanks for quick response. As suggested i tried a4j:outputPanel id=searchpanel h:panelGroup rendered=#{searchDeviceBean.searchResultSet} Still it behaves the same way i.e. displays the search Results Set only after 3 clicks on search button Andrew Robinson-5 wrote: I bet it

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-16 Thread Andrew Robinson
Can you show the managed bean code? On 7/16/07, bansi [EMAIL PROTECTED] wrote: Andrew Thanks for quick response. As suggested i tried a4j:outputPanel id=searchpanel h:panelGroup rendered=#{searchDeviceBean.searchResultSet} Still it behaves the same way i.e. displays the search Results

RE: PPR - Update an inputText dont work

2007-07-16 Thread David Brunette
Thanks for the suggestion. But unfortunately it still did not work for me. For an inputText on its own, it worked fine, but the values in my table still did not reset. While trying a bunch of things, I noticed that this is only happening if immediate=true is set on the

Re: [Trinidad] Renderer Listeners

2007-07-16 Thread Adam Winer
On 7/16/07, William Hoover [EMAIL PROTECTED] wrote: The intent is to track selections. It seems like a lot of extra work to maintain quite a few tr:inputHidden components just to capture selection values. I see what your saying about post-processing a pattern in JS, but I don't think that

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-16 Thread bansi
Andrew I figured out the problem was enclosing a4j:region tag for Search Button. i.e. if we have a4j:region tag then click of search button is not submitting the search input textfield value to the form hence the query use to return no records When i remove the a4j:region tag , the query returns

Re: [Tobago] spell checker for textarea input exmaples?

2007-07-16 Thread Shane Petroff
Wong, Emmanuel (Sam) wrote: Does anyone tell me where I could get spell checker for implementing Tobago textarea input field? Thanks. I'm assuming that you've Googled it already and are asking because there are so many choices... While I don't use Tobago, there are tons of paid

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

pprPanelGroup breaks UTF-8

2007-07-16 Thread Michał 'Gandalf' Stawicki
Usage of pprPanelGroup breaks encoding of submitted data, ex. from inputText regards, -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

Scriptaculous Effect with JSF MyFaces components

2007-07-16 Thread ThinkBlue
Hello all, Wondering if it is possible to use Scriptaculous effects with regular JSF components by using the onclick event with the action attributes...Specifically here is the code that I have that doesn't seem to work correctly: h:commandButton value=Edit User onclick=new