help pls! myfaces portlet ignoring web.xml init-params

2009-10-05 Thread Jim the Standing Bear
Hello, It seems that the myfaces webapp as a portlet is not reading the init-params defined in web.xml. I have a myfaces webapps that uses inputFileUpload. While testing it as a standalone, I was able to control the max upload size by changing the init-param in web.xml. However, after putting ev

Re: Could not find renderer

2009-10-05 Thread baeschtu baeschtu
I was desperately using http://localhost:8080/my-manager/index.jsf instead of http://localhost:8080/my-manager/faces/index.jspx :-) thanks a lot 2009/10/5 Richard Yee > It seems like your aren't using Facelets. Facelet files end in .xhtml. > What URL are you using to access your page? > > _Ri

Streaming Large Files: OutOfMemory Exception

2009-10-05 Thread fischman_98
To All: So from all the other posts it appears that this is a problem with no true resolution. >From what I can gather, JSF buffers all output into memory so the output can be further processed by filters. So, downloading a large file results to an OutOfMemory Exception. The Servlet is an ea

Re: is there an absolute max file upload size? - my findings

2009-10-05 Thread Jim the Standing Bear
thanks for the response Stephen, and you are right on the spot. After some experiments, here is what I found out about the peculiarity of file upload: 1. the servlet spec indeed defines a 32-bit value for maximum file sizes, however, myfaces seems to interpret it as an unsigned 32-bit, so for max

Re: Could not find renderer

2009-10-05 Thread Richard Yee
It seems like your aren't using Facelets. Facelet files end in .xhtml. What URL are you using to access your page? _Richard On Mon, Oct 5, 2009 at 3:17 AM, baeschtu baeschtu wrote: > added an el-Messages file from > http://j4fry.blogspot.com/2009/01/fehlendes-bundle-comsunelmessages.html > And

Re: File download and out of memory

2009-10-05 Thread fischman_98
To All: So far I've found that using the old fashioned servlet is the only (& Quickest as far as download speed) way to go. I would love to see a managedBean solution if someone comes up with one. I am going to attempt the phaseListener approach ( http://cagataycivici.wordpress.com/2006/02/16/p

selectOneChoice, valueChangeListener and partialTriggers

2009-10-05 Thread Rodrigo ILO (OSV)
Hi All. I want to auto-populate a set of fields depending on a dropdown menu. This is my dropdown menu. This is one of my input fields that I want to be populated. This is the method called when dropdown value is changed. public void addressChangeListener(ValueCh

Re: Customize rendered code of (Trinidad) JSF components

2009-10-05 Thread Cédric Durmont
Hi Thomas, inputText has an optional attribute to remove these : It should be enough for what you need. Regards, Cedric 2009/10/5 Thomas Hamacher : > Hi @all, > > I´m pretty new to JSF and like to ask a question concerning customizing > the Trinidad components. > The Trinidad input-components

Customize rendered code of (Trinidad) JSF components

2009-10-05 Thread Thomas Hamacher
Hi @all, I´m pretty new to JSF and like to ask a question concerning customizing the Trinidad components. The Trinidad input-components have some functionalities, that I need, because they are not available in the core JSF-libraries. But I´m not totally pleased with what Trinidad renders as html s

[TRINIDAD 1.0.11] Why XmlHttpServletRequest is forcing encoding to 'UTF-8'??

2009-10-05 Thread Rafa Pérez
Hi all, we are using Trinidad 1.0.11. Our application uses data and jsps encoded in ISO-8859-15 for some reasons and we have tried to force this encoding on all the requests. However, I have noticed that XmlHttpServletRequest on trinidad-impl.jar forces all PPR requests to be encoded in 'UTF-8'. I

Re: Could not find renderer

2009-10-05 Thread baeschtu baeschtu
added an el-Messages file from http://j4fry.blogspot.com/2009/01/fehlendes-bundle-comsunelmessages.html And now I see the error message. SEVERE: Could not find saved view state for token 16smoayywa ERROR _ErrorPageWriter - An exception occurred javax.faces.application.ViewExpiredException: /index.

Re: Could not find renderer

2009-10-05 Thread baeschtu baeschtu
But when I try to fire an Action like this I still get an "Can't find bundle for base name com.sun.el.Messages, locale en_US" exception. ERROR _ErrorPageWriter - An exception occurred java.lang.ExceptionInInitializerError at com.sun.el

Re: Could not find renderer

2009-10-05 Thread baeschtu baeschtu
tnx, works now! :-) 2009/10/5 Richard Yee > Try getting a basic page with an tr:outputText tag working. > > R > > Sent from my iPhone > > On Oct 4, 2009, at 9:49 AM, baeschtu baeschtu wrote: > > thanks, I applied this configs, now when I try to make a tabbed panel with > the code I borrowed fro