RE: stateChangeNotifier does not work with t:commandButton properly

2007-01-29 Thread Madhav Bhargava
I just looked at the renderer code for this component: In the encodeJavascript method following line is present: sb.append("setTimeout('" + replacedClientId + "Notifier.prepareNotifier()',500);\n"); This will add a timeout of 500. However this setting does not have any effect on command li

What is going wrong ?

2007-01-29 Thread sammes
Hi, I developed this simple "a dogs life" jsf application. There I have 3 jsp´: index.jsp (which redirects to enterAge.jsp) enterAge.jsp result.jsp error.jsp Now, when I call localhost:8080/jsf/index.jsf -> it shows the enterAge.jsp, which is: <%@ taglib uri="http://java.sun.com/jsf/html"; pref

Re: What is going wrong ?

2007-01-29 Thread David Delbecq
En l'instant précis du 01/29/07 14:54, sammes s'exprimait en ces termes: > Hi, > > I developed this simple "a dogs life" jsf application. > There I have 3 jsp´: > index.jsp (which redirects to enterAge.jsp) > enterAge.jsp > result.jsp > error.jsp > > Now, when I call localhost:8080/jsf/index.jsf ->

Dynamic Datatable CommandSortHeader Problem

2007-01-29 Thread CarlHowarth
Hi there, I have a strange problem with a datatable that I am generating on the fly (since the user may choose the columns they wish to appear). It all appears to be working just fine, except for the sortation under certain circumstances. On first load of the page, all sortation works without a

Help with Multi-step Wizard "Previous" Button...

2007-01-29 Thread bgsdev
(I posted this to the "dev" email list by accident, so I am reposting here with a bit more information...) I am implementing a multi-step registration wizard which functions as follows: 1. Uses one backing bean per wizard page 2. Uses Tomahawk saveState to save model data between pages 3. "Next

[Tobago] tc:validateFileItem

2007-01-29 Thread H. Swaczinna
Hello, the message "ContentType x/y not expected." of tc:validateFileItem seems to be hardcoded in class FileItemValidator. I would like to see a german maessage. Regards Helmut

Testing tools

2007-01-29 Thread Colin Chalmers
hi all, We're developing a site based om MyFaces and Ajax4Jsf. In order to improve quality and time-to-martket I want to automate the testing utilising scripts for both regression and load testing. Our tester says that because of our choice of tools (see first sentence) he is unable to test wi

s:inputSuggestAjax - encoding Problem

2007-01-29 Thread Birgit Kaschte
Hi, I've got a problem with s:inputSuggestAjax and the encoding of German 'Umlaute'. I tried using which had no effect. I also tried setting the parameter 'charset' of s:inputSuggestAjax to 'utf-8'. This had the effect that the items in the list were displayed correctly but the selected item was

Nesting t:tree2; problem with binding

2007-01-29 Thread Svilen Ivanov
Hi, I need to create a tree which nodes contain another tree as well. Something like the following (simplified) JSF snippet. The problem is that the "innerTree" expand/collpase state is one and same for each node of "outerTree".

Re: Testing tools

2007-01-29 Thread Christopher Cudennec
Hi, try ProxySniffer for load tests. That one has already been quite useful in our project although we've only used for a couple of days. Christopher Colin Chalmers schrieb: hi all, We're developing a site based om MyFaces and Ajax4Jsf. In order to improve quality and time-to-martket I want t

[ Tobago ] or [ Tomahawk ]

2007-01-29 Thread madan chowdary
Hi all, Presently i am put into a project which develops some kind of shopping application. Was told to do that stuff with Tobago. The project includes basic things like Tree, Sheet which both Tobago and Tomahack support. But was facing issues when using Tobago , like Table alignments, no cu

Re: Testing tools

2007-01-29 Thread Paul Spencer
Both Selenium [1] and Shale Test Framework[2] are used by MyFaces. Shale's Test Framework is part of the Maven Build Process. Selenium test are run manually, but their are services, HostedQA, the can be used to run a Selenium test in the Maven Build Process. Look at the Tomahawk Simple example

jscookmenu

2007-01-29 Thread Pierre Raoul
Hello, I'm trying to use jsCookMenu. I tested the example from http://wiki.apache.org/myfaces/JSCook_Menu. They worked fine but the EL expression are not evaluated. In the generated page, I got for example:

Re: jscookmenu

2007-01-29 Thread Paul Spencer
Pierre, I asked a similar question [1]. I suspect their is a bug because the action is not called when the menu item is clicked. I do not think you want the action called when the menu item is generated, which would occur when the EL is evaluated. Paul Spencer [1]http://www.mail-archive.com/

[tobago] displaying complex values in tx:selectOneChoice

2007-01-29 Thread Stefan Hedtfeld
Hi, I'm trying to display some complex values within a tx:selectOneChoice element. What I've managed so far is the following: 1. The tag: 2. The item list (memberItem): ... // list is declared as List list above ... List items = new ArrayList(

Re: [tobago] displaying complex values in tx:selectOneChoice

2007-01-29 Thread Volker Weber
Hi Stefan, change the converter to convert from and to id and don't use the converter for the label. e.g.: List items = new ArrayList(); for (Person person : list) { StringBuilder builder = new StringBuilder(); if (person.getSalutation() != null) { builder.append(person.getSa

Re: A question about file-download

2007-01-29 Thread Thomas Chang
I've tried this example and it works quite well. But I have now another problem. I.e.: after I've saved the file and close the download dialog. It doesn't change to another xhtml-page (assumed downloadOK.xhtml. See my code shown as follow). It stay by myJSF.xhtml. Who knows why? Than

A question about showing/opening PDF-file in run-time

2007-01-29 Thread Thomas Chang
Good day everybody, My code look as follow. What I want to do is: I generate a pdf-file in run-time and put it under a dir in server-side, assumed under "c:\temp\myfile.pdf". If one clicks the commmanlink, the PDF-file will be opened in a new browser window with tool-bar which contains save, pr

Dojo widgets not working on IE

2007-01-29 Thread Catalin Kormos
Hi, Any of you experiencing problems using Dojo based components on IE, like modalDialog or inputSuggestAjax? i keep getting this kind of messages, and only on IE: Jan 29, 2007 9:48:13 PM org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader serveResource SEVERE: Unable to find resource s

t:popup problems

2007-01-29 Thread Torin Chichirico
I'm trying to use the t:popup component in Tomahawk 1.1.3. It works just fine when I put it on a h:inputText field on the page. However, I'm trying to add a popup when the mouse moves over an image overlay that is on top of a map image. The popup appears but it is pushed way off to lower right o

Re: [tobago] displaying complex values in tx:selectOneChoice

2007-01-29 Thread Stefan Hedtfeld
Hi Volker, thanks for the quick response. I changed my converter to return the id as you suggested (and I guess I had this state before but got over it ...). This way it works for the tx:selectOneChoice. But if the object containing the person as a field is displayed in a table now the person's i

Date Converter problem with selectOneMenu after MyFaces1.1.5 upgr ade

2007-01-29 Thread Levin, Stan
Hi, We are using a dropdown menu control populated with date values. For date conversion we are using a standard DateConverter. Our code was working fine until we upgraded to MyFaces1.1.5 implementation. Now we get this error: " Value is not a valid option" This is our code (was working