Problem with Tomcat 5.5.15 and MyFaces

2006-02-17 Thread Farith Heras Garcia
Hi there! I'm trying to deploy example aplication of MyFaces-Component, and get the follow error: INFO: Despliegue del archivo myFaces.war de la aplicación web 16-feb-2006 22:54:08 org.apache.catalina.core.StandardContext listenerStart GRAVE: Error configurando escuchador de aplicación de

Re: Problem with Tomcat 5.5.15 and MyFaces

2006-02-17 Thread Matthias Wessendorf
this class comes from servlet-api ... javax/servlet/ServletContextListener so maybe that is a tomcat issue ? try an older version , please ;-) On 2/17/06, Farith Heras Garcia [EMAIL PROTECTED] wrote: Hi there! I'm trying to deploy example aplication of MyFaces-Component, and get the

RE: [SPAM] Re: Problem with Tomcat 5.5.15 and MyFaces

2006-02-17 Thread Yee CN
We are using Tomcat 5.5.15 as well. We are using facelets, debugging with MyEclipse, no problems so far. -Original Message- From: Francesco Consumi [mailto:[EMAIL PROTECTED] Sent: Friday, 17 February 2006 4:23 PM To: users@myfaces.apache.org Subject: [SPAM] Re: Problem with Tomcat 5.5.15

Re: Picklist problem

2006-02-17 Thread Bruno Aranda
Can you try to put the sandbox examples [1] in your container and tell me if the example there works ok? What is your configuarion? I've always tested the component with linux+firefox. Regards, Bruno [1] /myfaces/tomahawk/sandbox/examples On 2/16/06, Stefan Lukesch [EMAIL PROTECTED] wrote:

Fwd: [JSF] Renderkit of AdfFaces is not working on SunApplicationServer

2006-02-17 Thread Dudu
I've deployed my ADFfaces/Myfaces webapplication on SunApplication Server, and the default renderkit is oracle, but it is not working in the application server. It works well only on jdeveloper standalone container: http://img104.imageshack.us/img104/9422/imagem6uq.jpgAnd this is a part about

Re: display label in error message instead of id

2006-02-17 Thread Bruno Aranda
And what if you try showSummary=false showDetail=true? Bruno On 2/16/06, Michael Heinen [EMAIL PROTECTED] wrote: Thanks Bruno. I replaced my h:message tag with t:message but without success. I added replaceIdWithLabel=true but this does not change anything. Unfortunately I can't access the

Re: [JSF] Renderkit of AdfFaces is not working on SunApplicationServer

2006-02-17 Thread Matthias Wessendorf
dudu, have you looked at http://tinyurl.com/4jl52 -Matthias On 2/17/06, Dudu [EMAIL PROTECTED] wrote: I've deployed my ADFfaces/Myfaces webapplication on SunApplication Server, and the default renderkit is oracle, but it is not working in the application server. It works well only on

ADF faces: when?

2006-02-17 Thread Adam Koprowski
Hello,I was very excited to read about the incorporation of ADF components into myfaces. I am just wondering when we should expect them to come bundled with the standard distribution of myfaces... anybody can cast some light on this issue? And otherwise: is there an easy way to use ADF components

Re: ADF faces: when?

2006-02-17 Thread Matthias Wessendorf
Hi, the drop has been made available ([1]) to go through the Apache Incubator ([2]). The drop contains the source, compiled demo application (including the adf faces api/impl jars, some jsf-mock stuff and maven2 plugins. -Matthias [1] - http://wiki.apache.org/myfaces/adfproposal [2] -

Problems with ADF-drop

2006-02-17 Thread Adam Koprowski
Hello,Sorry for what may be a stupid question but I was trying to put to work the drop of ADF faces and during deploying the demo adf-faces-demo-ea20-SNAPSHOT.war (in JBoss 4.0.3) I got the following error: java.lang.ClassCastException: org.apache.myfaces.custom.ajax.api.AjaxPhaseListener at

Re: Problems with ADF-drop

2006-02-17 Thread Matthias Wessendorf
The drop made public under ([1]) has dependency to Sun's JSF impl. No big deal in changing it to MyFAces ([2]). -Matthias [1] - http://wiki.apache.org/myfaces/adfproposal [2] - http://jroller.com/page/mwessendorf On 2/17/06, Adam Koprowski [EMAIL PROTECTED] wrote: Hello, Sorry for what

ADF Faces installation

2006-02-17 Thread Fábio C . Ríspoli
Title: Mensagem Hi. I am trying to install ADF Faces (the MyFaces drop) on JDeveloper J2EE. I followed the steps contained in http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/installation.htmland noticed they mentioned an adfshare.jar file, but I could

Re: ADF Faces installation

2006-02-17 Thread Harald Ommang
On Fri, 17 Feb 2006 12:25:32 -0300 Fábio C. Ríspoli [EMAIL PROTECTED] wrote: Hi. I am trying to install ADF Faces (the MyFaces drop) on JDeveloper J2EE. I followed the steps contained in http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchan ge/jsf/doc/installation.html

Re: ADF Faces installation

2006-02-17 Thread Harald Ommang
On Fri, 17 Feb 2006 12:25:32 -0300 Fábio C. Ríspoli [EMAIL PROTECTED] wrote: Hi. P.S. When I try to run my application I got the following message: WARNING The AdfFacesFilter has not been installed... You need to add the following sections (in the appropriate places) to your web.xml:

By default how to select the first tab to be rendered

2006-02-17 Thread Vibha Singhal
I have 3 tabs in a page, which are supposed to be shown or hidden using the rendered attribute on the individual. By default, the first tab is selected. However, if the first tab is not rendered i.e. has rendered = false then none of the other tabs are selected by default. The user needs to go

Specifying parameters in navigation-cases?

2006-02-17 Thread Qiang Yu
Hello all, I am not sure whether it is appropriate to specify parameters in navigation-cases but I am trying to use it in my project: ... navigation-case from-outcomeBacillus_anthracis/from-outcome to-view-id/common/misc/redirect.jsp?to=http://www.google.com/to-view-id redirect/

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
It does still not work!!! login.name = User t:outputLabel for=name h:outputText value=#{msgs['login.name']}/ /t:outputLabel h:inputText id=name value=#{LoginControllerBean.name} required=true / t:message for=name styleClass=errorText replaceIdWithLabel=true

Re: HtmlCommandButton problem

2006-02-17 Thread Mike Kienenberger
Sorry it's taken so long to get back to you -- I'm very far behind on my email. It sounds like you've created a custom component. The main cause of a custom component working the first request, and then having all values reset to null on further requests is forgetting to implement StateHolder

Re: display label in error message instead of id

2006-02-17 Thread Martin Marinschek
try it with t:messages - if it works there.. regards, Martin On 2/17/06, Michael Heinen [EMAIL PROTECTED] wrote: It does still not work!!! login.name = User t:outputLabel for=name h:outputText value=#{msgs['login.name']}/ /t:outputLabel h:inputText id=name

Re: Specifying parameters in navigation-cases?

2006-02-17 Thread Mike Kienenberger
Are you triggering the navigation rule directly from your page? If so, use h:outputLink instead. If you're triggering it from java code, you might be better off writing the redirect in java code instead. On 2/17/06, Qiang Yu [EMAIL PROTECTED] wrote: On 2/17/06, Qiang Yu [EMAIL PROTECTED] wrote:

Re: Specifying parameters in navigation-cases?

2006-02-17 Thread Qiang Yu
Hello Mike, Thanks a lot for your response. My page is something like thatThe following is generated using h:selectOneRadio_X_ To Page 1___ To Page 2___ To Page 3 [Next] button If a user clicks [Next] button, JSF action will be called and simply return a string as from-output which defined in

Re: Specifying parameters in navigation-cases?

2006-02-17 Thread Mike Kienenberger
That's what I feared :) I threw the other two options out in case the navigation case target wasn't dynamic, but it doesn't sound like those options will work for you. I don't know enough to help you with complex navigation management issues. I do know that someone just posted a modification to

Re: [tree2] Major Improvement to Tree2

2006-02-17 Thread Sean Schofield
Did you file a JIRA issue on this? If not please do so. That is the best way to make sure your suggestions do not get lost. Sean On 2/17/06, Michal Glowacki [EMAIL PROTECTED] wrote: Hello Sean. There's one thing that is very important - it's node deletion when using client side toggle.

Re: Specifying parameters in navigation-cases?

2006-02-17 Thread Costa Basil
Check out the thread of:http://www.mail-archive.com/users@myfaces.apache.org/msg16882.htmlMike Kienenberger [EMAIL PROTECTED] wrote: That's what I feared :)I threw the other two options out in case the navigation case targetwasn't dynamic, but it doesn't sound like those options will work foryou.I

Re: [JSF] Renderkit of AdfFaces is not working on SunApplicationServer

2006-02-17 Thread Eduardo Dudu Ivan Pichler
applicationdefault-render-kit-id oracle.adf.core/default-render-kit-id /applicationMy application has this lines too :(and I've downloaded the adf*.war samples of Oracle, and at jboss, it runs ok, but on SunApplicationServer, don't works the adf render kit I have no idea what I

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
t:messages is also not working with the label. I post whole page below. It is used inside Tiles Framework. Maybe someone finds an obvious error. f:view f:loadBundle basename=messages var=msgs/ h:form id=loginForm t:messages styleClass=errorText replaceIdWithLabel=true

Re: Javascript code generated after html content when using tiles

2006-02-17 Thread Costa Basil
I found the solution myself. My f:view tag embraced all the html tags. As soon as I placed it below body problem solved.Costa Basil [EMAIL PROTECTED] wrote: Hi:I am using tiles and I noticed that the final html content contains this piece of _javascript code at the end after the /html tag. Is

Re: Javascript code generated after html content when using tiles

2006-02-17 Thread Bruno Aranda
What version are you using? If you use current nighlty builds you can put viewTag before the head and body tag. Regards, Bruno On 2/17/06, Costa Basil [EMAIL PROTECTED] wrote: I found the solution myself. My f:view tag embraced all the html tags. As soon as I placed it below body problem

Action event being fired more than once

2006-02-17 Thread Fernando Madruga Pinheiro
Hi,I'm very confused about this error and did a search on google but no one appears to have the same problem. BTW, I even don't know the exactly keywords to do this search...I have a large dataTable, which has N columns.The rows are the products and the columns are regions or sellers.So, for each

Anyone out there doing custom skins with ADF Faces?

2006-02-17 Thread Frank Felix Debatin
Hi there, we're using custom skinning with ADF. Anyone did the same and can share their experience? We found a strange behaviour of style classes when migrating form EA19 to the current version. We set our own style class, for example af:menuList styleClass=myNavMenuList In EA19, this class

Re: Action event being fired more than once

2006-02-17 Thread Dennis Byrne
Are you using the RI? If so this is a known issue. You'll have to upgrade to the latest RI or get a different impl. Dennis Byrne -Original Message- From: Fernando Madruga Pinheiro [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 01:09 PM To: 'MyFaces Discussion' Subject:

Re: Anyone out there doing custom skins with ADF Faces?

2006-02-17 Thread Jonas Jacobi
Hi Frank, We have done some changes between EA19 and the release that is available on the Apache MyFaces site. You can check out this How To and download the source for the sample. I'm currently working on a more elaborate skin to support more components. Note that not all components have

Re: Action event being fired more than once

2006-02-17 Thread Fernando Madruga Pinheiro
When you say the RI do you mean Sun's RI? Yes, we are using the latest version, 1.1_01.I'll try use MyFaces' RI and tell if it solved this problem.Thanks.Fernando M. Pinheiro-Mensagem Original-De: Dennis Byrne [EMAIL PROTECTED]Enviado em: Friday, 17. Feb 2006 16:38 -0200Para: MyFaces

Re: display label in error message instead of id

2006-02-17 Thread Mario Ivankovits
Hi! Ok, I found a problem if one uses outputText as child of outputLabel. Its fixed now. As a workaround now you can get rid of outputText and use the value= attribute in outputLabel directly. eg. h:outputLabel for=input value=label / h:inputText id=input

Re: Javascript code generated after html content when using tiles

2006-02-17 Thread Costa Basil
I am using 1.1.1.Bruno Aranda [EMAIL PROTECTED] wrote: What version are you using? If you use current nighlty builds you canput viewTag before the head and body tag.Regards,BrunoOn 2/17/06, Costa Basil <[EMAIL PROTECTED]> wrote: I found the solution myself. My f:view tag embraced all the html

Re: [tree2] Major Improvement to Tree2

2006-02-17 Thread Sean Schofield
Root node problem has been fixed. I wrote a cool test using the new shale mock stuff but maven is unable to deal with it so I did not check the test in yet. Sean On 2/17/06, Sean Schofield [EMAIL PROTECTED] wrote: Did you file a JIRA issue on this? If not please do so. That is the best way

RE: display label in error message instead of id

2006-02-17 Thread Michael Heinen
Thanks a lot for your help. Now it works of course :-) -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Freitag, 17. Februar 2006 11:58 To: MyFaces Discussion Subject: Re: display label in error message instead of id Hi! Ok, I found a problem if one uses

AW: Rendered markup of HtmlSelectManyCheckbox / HtmlSelectOneRadio incomplete?

2006-02-17 Thread Matthias Kahlau
Hi Volker, many thanks. I tried different selectors, but neither ID selector nor some attribute selectors did work (in my case). But I could achieve success with the following attribute (class) selector in conjunction with a descendant selector: BODY.classname TD { // my css } Regards,

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: This part of the problem, at least, is pretty easy to deal with :-). Call FacesContext.setResponseWriter() -- perhaps after calling getResponseWriter() to save the original one, if any -- in a before render response phase listener, and do the inject-and-copy trick in the

Re: commandLink encode/decode behaviour

2006-02-17 Thread Laurie Harper
Hmm, I don't want to get into relying on implementation specifics in a general-purpose component library. I guess I'll need to manage a hidden input of my own. Thanks, L. Dennis Byrne wrote: This is not standardized. MyFaces exposes this w/ HtmlRendererUtils.HIDDEN_COMMANDLINK_FIELD_NAME ,

Re: Tiles and javascript code generated after html content

2006-02-17 Thread Laurie Harper
Costa Basil wrote: Hi: I am using tiles and I noticed that the final html content contains this piece of javascript code at the end after the /html tag. Is there a way to fix this? Things seem to work tough in IE, however, it kind of worries me. Thanks form id=linkDummyForm

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Werner Punz wrote: Laurie Harper schrieb: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that I could plug into through a faces-config entry

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Werner Punz wrote: Laurie Harper schrieb: I have a need for similar functionality to the Tomahawk Extensions filter, and have been thinking about ways to achieve it without requiring user config. I was hoping I could find a standard JSF hook that

AW: Problem with panelTabbedPane's selectedIndex memory

2006-02-17 Thread Matthias Kahlau
Hi! I did some further investigations and could limit the possible causes. The Backing-Bean's selectedIndex property is 'null' only when a Backing-Bean lookup is performed to read the property value (the Backing-Bean is in session-scope!). Example with logging output in the property's setter

RE: Scrollable ResultSet being passed to Tobago Sheet - errors as 'Forward Only'

2006-02-17 Thread John
I put the h:dataTable tag right above the tobago sheet tag and this was the error An error occurred in the bean. Error Message is: Exception in JSP: /pageparts/quarantinelist.jsp:17 14: 15: 16: 17: 18: 19: 20: Stacktrace: Stack Trace is : javax.faces.FacesException: Exception in JSP:

Re: ADF Faces installation

2006-02-17 Thread Alexandre Poitras
Just download the last JDevelopper version (10.1.3) wich already bundles everything you need. On 2/17/06, Harald Ommang [EMAIL PROTECTED] wrote: On Fri, 17 Feb 2006 12:25:32 -0300 Fábio C. Ríspoli [EMAIL PROTECTED] wrote: Hi. P.S. When I try to run my application I got the following

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I think that is true for weblets, and it is definitely true for Shale Remoting.

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Craig McClanahan
On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I think that is true for

Re: Tomahawk 'extensions' filter: alternatives?

2006-02-17 Thread Laurie Harper
Craig McClanahan wrote: On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote: Craig McClanahan wrote: Interesting. I was under the impression that Weblets did not and would not support the 'add script elements to the document head' part of the equation. I'll have to have another look at it. I

RE: display label in error message instead of id

2006-02-17 Thread Mike Duffy
Thanks for figuring this out. I had the exact same problem. If you look at the JSF book by Kito Mann, p 26, it shows an h:outputText .../ wrapped in an h:outputLabel.../ which is unnecessary (overall, it's a good book). Thanks again. Mike --- Michael Heinen [EMAIL PROTECTED] wrote:

Re: Collapsible Panel

2006-02-17 Thread Dave
Is collapsed panel handled(expand/collapse) on client side? Martin Marinschek [EMAIL PROTECTED] wrote: the collapsed attribute is replaced by the value attribute.regards,MartinOn 2/16/06, Geoff Longo <[EMAIL PROTECTED]>wrote: I noticed that in the nightly builds, the "collapsed" attribute of the

Internationalization for Error Messages

2006-02-17 Thread Mike Duffy
What is the best way to do internationalization for error messages? For example, Specified attribute is not between the expected values of 1 and 1000. According to the Kito Mann book on page 307, you can overwrite existing messages by creating the name value pairs in your own properties file

Adding Image Icons to Drop Down Lists

2006-02-17 Thread Mike Duffy
There is a cool technique to add image icons to drop-down lists: option id=issuetype value=1 style=background-image: url(/images/icons/someIcon.gif); selected=selectedSome Label/option Is there anyway to do this with SelectItems in JSF? Thx. Mike

Re: Internationalization for Error Messages

2006-02-17 Thread Gregg Bolinger
I *think* it should work the same way as all your other properties files. Follow the example given on page 237 of JSF in Action and in the secondary language properties files, place your overridden error messages in the appropriate language. I haven't tried this, but I believe it should work.

catch FacesException

2006-02-17 Thread Dave
How to catch FacesException and display a nice message instead of stack trace on web page?javax.faces.FacesException: Cannot get value for _expression_ '#{bean.enabled}' org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422)