Re: [Tobago] renderedPartially make trouble in JSF 1.2 RI

2007-06-27 Thread David Steinkopff
hi bernd, commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.1.jar commons-digester-1.6.jar commons-el-1.0.jar commons-fileupload-1.1.1.jar commons-io-1.2.jar commons-lang-2.1.jar commons-logging-1.0.4.jar el-api-1.0.jar el-ri-1.2.jar jsf-api-1.2.jar jsf-impl-1.2.jar

Re: [Tobago] renderedPartially make trouble in JSF 1.2 RI

2007-06-27 Thread Matthias Wessendorf
Hi javax/servlet/jsp/tagext/JspIdConsumer is part of JSP 2.1 and... you have serlvet 2.4 in place (JavaEE is 2.5) and ... jstl-1.1.0.jar I am sure is old as well On 6/27/07, David Steinkopff [EMAIL PROTECTED] wrote: hi bernd, commons-beanutils-1.7.0.jar commons-codec-1.3.jar

Re: MyFaces Tobago tc:sheet

2007-06-27 Thread Zied Hamdi
Hello Bernd, Maybe this needs a little conversation with Helmut and John: We maybe need to have a javascript method (to implement our selves) called on the client side (to be notified immediately before the listeners makes a request to the server : maybe that returns true if the request has to

[Trinidad] Skin-Bug on AIX

2007-06-27 Thread Döring Markus
Hello, We currently developed a wizard application with MyFaces 1.1.5, Facelets 1.1.11 and Trinidad 1.0.0-incubating. For development we use JBoss on Windows XP Machines, for testing we use WebSphere on Windows and WebSphere on AIX. On JBoss and WebShere on Windows everything works fine. Only

Re: [Trinidad] Skin-Bug on AIX

2007-06-27 Thread Matthias Wessendorf
Hi Markus, is that true for the demo - app as well ? -Matthias On 6/27/07, Döring Markus [EMAIL PROTECTED] wrote: Hello, We currently developed a wizard application with MyFaces 1.1.5, Facelets 1.1.11 and Trinidad 1.0.0-incubating. For development we use JBoss on Windows XP Machines,

Re: [Trinidad] Skin-Bug on AIX

2007-06-27 Thread Matthias Wessendorf
Also, is there something generated in your work directory, which is something like this (in tomcat..) apache-tomcat-5.5.16\work\Catalina\localhost\nameOfMyApp\adf\styles\cache On 6/27/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hi Markus, is that true for the demo - app as well ?

Re: [Tobago] renderedPartially make trouble in JSF 1.2 RI

2007-06-27 Thread David Steinkopff
Hi Matthias, in simple words, I need a tomcat 6 or another server that understand JEE5. correct? regards David 2007/6/27, Matthias Wessendorf [EMAIL PROTECTED]: Hi javax/servlet/jsp/tagext/JspIdConsumer is part of JSP 2.1 and... you have serlvet 2.4 in place (JavaEE is 2.5) and ...

RE: outputFormat ignoring escape=false

2007-06-27 Thread Ian.Priest
The problem lies with Clay. http://issues.apache.org/struts/browse/SHALE-451 for those who are interested. Cheers, Ian. From: Ian.Priest [mailto:[EMAIL PROTECTED] Sent: 26 June 2007 16:09 To: users@myfaces.apache.org Subject: h:outputFormat ignoring escape=false My

Re: [Tobago] renderedPartially make trouble in JSF 1.2 RI

2007-06-27 Thread Matthias Wessendorf
I think so. I am on Jetty6, for my JavaEE5 stuff. works fine -M On 6/27/07, David Steinkopff [EMAIL PROTECTED] wrote: Hi Matthias, in simple words, I need a tomcat 6 or another server that understand JEE5. correct? regards David 2007/6/27, Matthias Wessendorf [EMAIL PROTECTED]: Hi

AW: [Trinidad] Skin-Bug on AIX

2007-06-27 Thread Döring Markus
Hello, Thanks for the quick reply. I didn't tested the demo app yet, the problem is that the AIX is located by a customer so the testing is a bit tricky, will try to test the demo app if possible. I will also check if the folder is created. Thanks for help Markus Döring TCC Products GmbH

Re: [Announce] Release of Apache MyFaces Trinidad 1.0.1

2007-06-27 Thread Francisco Passos
Is there any downside to using 1.0.1 with JSF 1.2? On 6/26/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Yes, currently the 1.2.1 plugins are on the vote. Once that vote is done, we start with the release procedure of 1.2.1, which is basically the JSF 1.2-version of 1.0.1. In the first

RE: MyFaces Tobago tc:sheet

2007-06-27 Thread Turner, John
Hi Zied, I would be happy if the row click just triggered a JSF action. This would certainly address my immediate requirement which is the continuation of a spring web flow on click of a row. I'm not sure that I agree that a javascript method callout is also required (as you described) as

Re: [Trinidad] Detailstamp facet problem

2007-06-27 Thread Henk Vanhoe
Now it works without problems, thank you! I already feared that the original behavior is the expected behaviour. However, I still think that it would be handy to have a detail functionality where it is possible to fold/unfold the detail without triggering validation and still being able to

Re: MyFaces Tobago tc:sheet

2007-06-27 Thread Helmut Swaczinna
Hi, yes, that's what I need too. A click facet with an associated tc:command will do. For example: tc:sheet id=mySheet... f:facet name=click tc:command ... tc:attribute name=renderedPartially value=:myPage:myPanel/ /tc:command /f:facet ... /tc:sheet So I can excute

[Orchestra] Orchestra and ajax

2007-06-27 Thread Michael Marr
Hi Mario, thanks for the fast response! HibernatePersistenceContextFactory works great. But now I have a problem with orchestra when using partial submits (we use ICEFaces by the way). As there is no page refresh the request attribute CONVERSATION_CONTEXT_REQ is not set. Hence the

[Trinidad] Skinning from a war file

2007-06-27 Thread Francisco Passos
I'm using a skin perfectly when the application is expanded. However when I generate a war file the skin isn't used for rendering... here's my trinidad-skins.xml: ?xml version=1.0 encoding=ISO-8859-1? skins xmlns=http://myfaces.apache.org/trinidad/skin; skin id stp.desktop

Validation error with selectitems in latest Myfaces/Tomahawk

2007-06-27 Thread Safurudin Mahic
I'm having problems getting a correct form submittal with a simple selectOneMenu in the latest MyFaces and TomaHawk. After issuing the command button, I'm getting Validation Error statusid: Value is not a valid option. The statusid is an Integer value on the backing bean. In previous versions

Re: Validation error with selectitems in latest Myfaces/Tomahawk

2007-06-27 Thread Cagatay Civici
Hi, Sounds like; http://wiki.apache.org/myfaces/Tomahawk_1%2e1%2e4_to_1%2e1%2e5 Cagatay On 6/27/07, Safurudin Mahic [EMAIL PROTECTED] wrote: I'm having problems getting a correct form submittal with a simple selectOneMenu in the latest MyFaces and TomaHawk. After issuing the command

Re: Phase Listener execute only once ???

2007-06-27 Thread Francisco Passos
The way I solved a similar problem was putting into my bean onLoad method the logic to decide whether or not it had already run or not (having a private boolean and testing it before running whatever you have to run, plus setting it on the first run to prevent it from running later). Although

adding messages in Invoke Application phase

2007-06-27 Thread ::SammyRulez::
Hi folks I'm re-engineering a app with a custom (and overseized IMHO) message management. I would like to use standard FaceMessages instad of the hyperbolic h:output used everywhere. But I realized that messages added in Invoke Application phase are ignored

Re: Validation error with selectitems in latest Myfaces/Tomahawk

2007-06-27 Thread Safurudin Mahic
Ok - I tried to implement the solution - h:selectOneMenu id=statusid value=#{testBean.statusid} f:selectItem itemValue=#{0} itemLabel=Ikke paabegynt / f:selectItem itemValue=#{1} itemLabel=Under arbeid

Re: Validation error with selectitems in latest Myfaces/Tomahawk

2007-06-27 Thread David Delbecq
does testBean.getStatusId() return a String or a Long? If you don't specify manually a converter, then JSF will try to find a suitable converter based on the type of the selectonemenu value (not the select item value!). To check submitted value validity, as far as i know, myfaces will compare the

Re: Validation error with selectitems in latest Myfaces/Tomahawk

2007-06-27 Thread Safurudin Mahic
the statusid property is an Integer. What the wiki page suggests, is that the itemValue=#{3} will return a valueexpression with the correct type. My issue seems to be that the valueExpression #{3} type is actually not Integer, but Long. Therefore I must use the converter. I was expecting the

Re: adding messages in Invoke Application phase

2007-06-27 Thread Matthias Wessendorf
can u use valueChangeListener ? On 6/27/07, ::SammyRulez:: [EMAIL PROTECTED] wrote: Hi folks I'm re-engineering a app with a custom (and overseized IMHO) message management. I would like to use standard FaceMessages instad of the hyperbolic h:output used everywhere. But I realized that

Which Tomahawk components don't work without javascript?

2007-06-27 Thread KaiWeing
Hi, does anyone have an overview of which tomahawk components will not work if org.apache.myfaces.ALLOW_JAVASCRIPT is set to false? Basically this boils down to the question, which components use the commandLink component (which does not work without javascript, see

RE: Phase Listener execute only once ???

2007-06-27 Thread William Hoover
FYI... Make sure that you are not defining the faces-config.xml deployment descriptor as this will cause the configuration to be loaded 2x http://wiki.apache.org/myfaces/FAQ#Twice -Original Message- From: Francisco Passos [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 5:44

Re: adding messages in Invoke Application phase

2007-06-27 Thread ::SammyRulez::
I ca'nt figure out how to use a valueChangeListener to display messages. shoud I change all the action in valueChanges? I have to add messages AFTER Application logic is executed, most of the time. 2007/6/27, Matthias Wessendorf [EMAIL PROTECTED]: can u use valueChangeListener ? On 6/27/07,

Re: adding messages in Invoke Application phase

2007-06-27 Thread Matthias Wessendorf
for instance, when you modify an entry. you can queue a FAcesMEssage already in the the ValueChangeListener. On 6/27/07, ::SammyRulez:: [EMAIL PROTECTED] wrote: I ca'nt figure out how to use a valueChangeListener to display messages. shoud I change all the action in valueChanges? I have to

Re: [Trinidad] Skinning from a war file

2007-06-27 Thread Danny Robinson
Did you try an absolute path to your css file (e.g. /resources or /WEB-INF/./resources). Danny On 6/27/07, Francisco Passos [EMAIL PROTECTED] wrote: I'm using a skin perfectly when the application is expanded. However when I generate a war file the skin isn't used for rendering... here's

Re: [Orchestra] Orchestra and ajax

2007-06-27 Thread Mario Ivankovits
Hi Michael! But now I have a problem with orchestra when using partial submits (we use ICEFaces by the way). As there is no page refresh the request attribute CONVERSATION_CONTEXT_REQ is not set. I tried the following with the latest ICEFaces (1.6.0-DR5) and it works as expected. Though, I

[ANN] Release of Apache MyFaces Trinidad's Maven plugins (1.2.1)

2007-06-27 Thread Matthias Wessendorf
Hi, The Apache MyFaces community is pleased to announce its 1.2.1 release of the Apache MyFaces Trinidad Maven2 plugins. These Maven2 plugins have been deployed to the Apache Maven2 repo, and they are mirrored by ibiblio as well. release notes: Apache MyFaces Trinidad Plugins (version 1.2.1)

MyFaces + Spring WebFlow

2007-06-27 Thread Turner, John
I am using MyFaces Tobago and Spring WebFlow. I have a link within a JSF page as below: tc:link label=ViewUser action=viewUser f:param name=indexId value=#{user.indexId}/ /tc:link The indexId parameter (or any parameter except the flowId) does not appear to be on the request

Re: Problems migrating from JSF RI 1.1 to MyFaces Core 1.1.5

2007-06-27 Thread Marko Asplund
Matthias Wessendorf wrote: can you provide some code ? the view looks more or less like this: t:div t:commandLink value=tree1 action=#{nav.openTree1}/ /t:div t:div rendered=#{treeState.tree1Visible} t:tree2 var=node value=#{nav.tree1Model}

[Tobago] keylistner for tc:in

2007-06-27 Thread Ramarao Venkata
Hi, tc:in id=searchCriteria width=130px value=#{mySearch.searchvalue} suggestMethod = #{mySearch.search} / tc:link image=images/goo.gif action=#{mySearch.searchItems} / when in search on the link i was getting the results. but when i was tc:in and pressed enter key the link action

RE: Confusion about Tomahawk with Facelets

2007-06-27 Thread Nebinger, David
Um, if you look at the package naming for the classes themselves you'll see that the package naming is org.apache.myfaces. They are still tomahawk components. From: Vladimir Isakovich [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 11:20

[Trinidad] Trinidad render kit

2007-06-27 Thread MOLINA Stéphane
Hi all, I have some problems when using trinidad : all my elements are rendered with trinidad render kit. For some h:* elements I do not want trinidad to do the rendering job (in fact I do not want trinidad to render anything else than trinidad components). How can I do to use trinidad only

Re: [Trinidad] Trinidad render kit

2007-06-27 Thread Matthias Wessendorf
form,commandLink and commandButton are rendered by Trinidad see CoreRenderKit.java -m On 6/27/07, MOLINA Stéphane [EMAIL PROTECTED] wrote: Hi all, I have some problems when using trinidad : all my elements are rendered with trinidad render kit. For some h:* elements I do not want trinidad

Re: MyFaces Tobago tc:sheet

2007-06-27 Thread Zied Hamdi
Seams ok for me too :-), Bernd asked us to put this as a precision in the issue, I let you the priviledge : it's your idea, and you have more experience with the problem :-). Regards, Zied 2007/6/27, Helmut Swaczinna [EMAIL PROTECTED]: Hi, yes, that's what I need too. A click facet with an

Re: [Trinidad] Detailstamp facet problem

2007-06-27 Thread Adam Winer
A major concern is: - Required field is present in the detail - User collapses with the required field blank - Submit, and we show an error that the required field is empty - but the user can't see the field that has the error! What's the concern with leaving immediate=false on the table? --

Re: [Announce] Release of Apache MyFaces Trinidad 1.0.1

2007-06-27 Thread Adam Winer
It's entirely untested. The 1.2 branch will certainly work much better (support for EL functions and c:forEach comes to mind, for one). -- Adam On 6/27/07, Francisco Passos [EMAIL PROTECTED] wrote: Is there any downside to using 1.0.1 with JSF 1.2? On 6/26/07, Matthias Wessendorf [EMAIL

Re: [Tomahawk] TabbedPane does not remember position - solved

2007-06-27 Thread Andreas Heidrich
Hi Mike, thanx for the input on that. The immediate=true onclick=bCancel=true had no effect on my site. I solved the problem with the button with the a4j lib and made it a a4j:commandButton. a4j:commandButton value=Ändern action=

Re: t:inputCalendar

2007-06-27 Thread galletti
How can you do that? It seems like t:inputCalendar does not have a timezone attribute. Any help? Simon Kitching-3 wrote: The default timezone for date controls is UTC aka GMT. Set the timezone attribute of the component to control what timezone is used. omidh wrote: Hi all, I

Re: t:inputCalendar

2007-06-27 Thread David Delbecq
You can define the timezone in a converter. Here, we define a converter (f:dateTimeConverter .../) with a specific format and timeZone for both inputCalendar et outputText to keep date correct. And by this we are sure to always work in our current TimeZone on user interface :D (PS: i think latest

RE: Confusion about Tomahawk with Facelets

2007-06-27 Thread vlad10
I just opened HtmlDataTable.class from tomahawk.jar in the decompiler, and this is what I see: package org.apache.myfaces.component.html.ext; - not org.apache.myfaces. Also on the other thought, if two jars (tomahawk and myfaces) would have the same class (I mean -in the same package) they would

RE: Change visibility dinamically

2007-06-27 Thread mario.buonopane
I'm sorry but I'm trying this solution and I'm receiving this exception: [27/06/07 18.26.04:356 CEST] 0028 ServletWrappe E SRVE0068E: Impossibile richiamare il metodo service() per il servlet /template/template_prototipo.jsp. Eccezione generata : java.lang.IllegalStateException: Client-id :

JSF Validation attribute required=true doesn't work

2007-06-27 Thread bansi
Here is the snippet where Attribute required=true doesn't work using Ajax4Jsf 1.0.4, Facelets 1.1.12, MyFaces 1.1.14 h:form id=manufacturer h:panelGrid columns=3 styleClass=detail columnClasses=label h:outputText value=Manufacturer / h:selectOneMenu id=manufList

RE: Confusion about Tomahawk with Facelets

2007-06-27 Thread Nebinger, David
I just opened HtmlDataTable.class from tomahawk.jar in the decompiler, and this is what I see: package org.apache.myfaces.component.html.ext; - not org.apache.myfaces. Also on the other thought, if two jars (tomahawk and myfaces) would have the same class (I mean -in the same package) they

Re: Confusion about Tomahawk with Facelets

2007-06-27 Thread Martin Marinschek
The Hack-classes are not necessary with 1.2 anymore - until then, the data-model was falsely (for extenders) private instead of protected. regards, Martin On 6/27/07, Nebinger, David [EMAIL PROTECTED] wrote: I just opened HtmlDataTable.class from tomahawk.jar in the decompiler, and this is

[Trinidad] including subcomponents in tr:tree nodes

2007-06-27 Thread Renzo Tomaselli
I'm keeping to attempt including a context menu in tr:tree nodes - without success. Using Tomahawk jscookmenu was a failure, since all nodes got the same menu. Now I tried using rich:dropDownMenu - getting nearly the same results. Basically all nodes were stamped using the same id for all menus.

Re: Facelets question

2007-06-27 Thread Vladimir Isakovich
You're probabli right. Unfortunately. I was able to add : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; [!ENTITY section SYSTEM section.xml] but was not able to refer to this entity as section; inside facelets tags. Probably

Problem in Tree2: nullpointer org.apache.myfaces.custom.tree2.UITreeData.encodeEnd

2007-06-27 Thread Novin
Hi freinds, I have implemented tamhalk tree2, Initially it was working fine but now It is throwing nullpointer when treis to render the tree. Pls help me. here is the JSP page code for the tree to be displayed and stack trace of the exception. Does any one have any idea? Here is the faces

Re: selectItems with clickable labels

2007-06-27 Thread Andrew Robinson
You can do it with css and javascript. I don't have access to my code that has it at the moment, but with css you can hide the radio button part of the control. You need to use IE6 to support clicking a radio label though, as IE6 doesn't support that unlike the other browsers. Just code it so

Re: Facelets question

2007-06-27 Thread Scott O'Bryan
Vlad, Yes, the entities will be parsed by the browser, not the jsp engine. So that would be too late for the faces tags to refer to them. Scott Vladimir Isakovich wrote: You're probabli right. Unfortunately. I was able to add : !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: Problems migrating from JSF RI 1.1 to MyFaces Core 1.1.5

2007-06-27 Thread Andrew Robinson
What scope is #{nav}? Are you using other JSF 3rd party libraries (besides ADF)? Are you using an h:form or a 3rd party form component? On 6/27/07, Marko Asplund [EMAIL PROTECTED] wrote: Matthias Wessendorf wrote: can you provide some code ? the view looks more or less like this:

Re: JSF Validation attribute required=true doesn't work

2007-06-27 Thread Andrew Robinson
If you want to send just one value using a4j and have required attributes, I strongly recommend using the a4j:region: h:form a4j:region h:selectOneMenu a4j:support ajaxSingle=true event=onchange ... / /h:selectOneMenu /a4j:region h:inputText required=true / /h:form What this does

How to use RowClass in detailStamp?

2007-06-27 Thread Francisco Melo
Hi friends, How to use a rowClass style in a facet detailStamp of a dataTable detailToggle? I have a dataTable with the attribute rowsClasses=evenRow,oddRow, so when a toggle a detail of the row it don´t use a style class of de row origin. Somebody knows how to use this? Thanks Francisco Melo

How to use RowClass in detailStamp?

2007-06-27 Thread Francisco Melo
Hi friends, How to use a rowClass style in a facet detailStamp of a dataTable detailToggle? I have a dataTable with the attribute rowsClasses=evenRow,oddRow, so when a toggle a detail of the row it don´t use a style class of de row origin. Somebody knows how to use this? Thanks Francisco Melo

Re: pprPanelGroup ajax-request error

2007-06-27 Thread Ernst Fastl
There have been some issues with PPR in combination with datatables lately. Try using the latest nightly build of the sandbox 1.1.6. available on: http://people.apache.org/builds/myfaces/nightly/ It would also be good to put log4j.logger.org.apache.myfaces=DEBUG in your log4jconfig to see

Re: Problem in Tree2: nullpointer org.apache.myfaces.custom.tree2.UITreeData.encodeEnd

2007-06-27 Thread Andrew Robinson
I don't think this is the problem, but I don't think you want the a4j:region outside of the form. As for the exception, that would occur if the tree data model is null. Here is the line: TreeState state = getDataModel().getTreeState(); On 6/27/07, Novin [EMAIL PROTECTED] wrote: Hi freinds,

Re: [Tobago] renderedPartially make trouble in JSF 1.2 RI

2007-06-27 Thread Bernd Bohmann
Hello David, I would try to remove the servlet.jar dependency. There are some examples in the net to use jsf 1.2 with tomcat 5.5 and facelets. http://blog.exadel.com/?p=23 Regards Bernd David Steinkopff wrote: Hi Matthias, in simple words, I need a tomcat 6 or another server that