Re: [orchestra] nullpointer in AbstractViewControllerManager.getViewController - probably bad configuration?

2008-01-24 Thread Mario Ivankovits
Hi! I probably have changed something, which I am unable to find again, and I keep having this exception now: 2008-01-23 17:31:56,789 [btpool0-1] ERROR (PhaseListenerManager,77) - Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. java.lang.NullPointerException at

Dynamic Component

2008-01-24 Thread Sébastien Boutté
Hi, I'm trying to change dynamically component but i have got problems with HtmlPanelGrid : Here is the algorithm : I have a dynamic Panel Grid which contains others HtmlPanelGrid that i want to change content on the fly. When i call the file index.jsp, the jsp is well displayed everything seems

[Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Rafa Pérez
Hi all, We are trying to implement a custom UploadFileProcessor to be able to show a message to the user when the file he wants to upload is too large to be handled by Trinidad. By now, Trinidad throws an EOFException, but it can not be handled in anyway, isn't it? How could we show a

Tomahawk pannelTabbedPane tag

2008-01-24 Thread Alvi
Hi, I am trying to make a simple tab page. My code is.. %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% %@ taglib uri=http://myfaces.apache.org/tomahawk; prefix=t% html head titlet:panelTabbedPane exampletitle /head body center f:view

Re: Tomahawk pannelTabbedPane tag

2008-01-24 Thread Gerald Müllan
Hi, please do also append the corresponding snippet of your web.xml. cheers, Gerald On Jan 24, 2008 12:56 PM, Alvi [EMAIL PROTECTED] wrote: Hi, I am trying to make a simple tab page. My code is.. %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %@ taglib

Re: Tomahawk pannelTabbedPane tag

2008-01-24 Thread Alvi
Gerald Müllan gmuellan at apache.org writes: Hi, please do also append the corresponding snippet of your web.xml. cheers, Gerald On Jan 24, 2008 12:56 PM, Alvi qadeeralvi at yahoo.com wrote: Hi, I am trying to make a simple tab page. My code is.. %@ taglib

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Matthias Wessendorf
I haven't looked into this particular thing, but we already have a bug for it in our jira. Perhaps it is worth to check this: the size-check is done in UploadedFileImpl.load() catch that exception and return null from processFile(). when there is an exception store a flag in the requestMap.

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Matthias Wessendorf
or better, override the validate() of the component, to check for a key. b/c not really a conversion error, more validation On Jan 24, 2008 6:55 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: I haven't looked into this particular thing, but we already have a bug for it in our jira. Perhaps

Re: [orchestra] nullpointer in AbstractViewControllerManager.getViewController - probably bad configuration?

2008-01-24 Thread Bruno Aranda
Um, I continue with the exception, I have probably some bug in the configuration of my app... wish me luck :) Bruno On 24/01/2008, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! I probably have changed something, which I am unable to find again, and I keep having this exception now:

Re: Tomahawk pannelTabbedPane tag

2008-01-24 Thread Gerald Müllan
remove the filter-mapping filter-nameextensionsFilter/filter-name url-pattern*.jsf/url-pattern /filter-mapping instead wire it to your FacesServlet filter-mapping filter-nameextensionsFilter/filter-name servlet-nameFaces Servlet/servlet-name /filter-mapping Assuming you

Long sessions (and IE)?

2008-01-24 Thread Bjørn T Johansen
I am having a problem with an myfaces application... They are working on shifts, so I have set a long session timeout, so they don't have to login and out all the time... (Have set it to 720 ) The problem is, that when they have been away from the application a long time and then get back, the

Re: Long sessions (and IE)?

2008-01-24 Thread Simon Kitching
Bjørn T Johansen [EMAIL PROTECTED] schrieb: I am having a problem with an myfaces application... They are working on shifts, so I have set a long session timeout, so they don't have to login and out all the time... (Have set it to 720 ) The problem is, that when they have been away

Re: Long sessions (and IE)?

2008-01-24 Thread Simon Kitching
Simon Kitching [EMAIL PROTECTED] schrieb: Bjørn T Johansen [EMAIL PROTECTED] schrieb: I am having a problem with an myfaces application... They are working on shifts, so I have set a long session timeout, so they don't have to login and out all the time... (Have set it to 720

Tomahawk tree2 new error

2008-01-24 Thread Wolf Benz
Hi List, I'm (trying to) use Facelets - MF 1.2.1- SNAPSHOT - Tomahawk 1.2.0 (latest checkeout) - Trinidad 1.2.6 snapshot (and the tomahawk-facelets taglib) Using tree2, I get this error. Anyone an idea how to remedy? -Wolf 18:06:35,335 (http-8080-2) ERROR [javax.faces.webapp._ErrorPageWriter]

[Trinidad] how to PPR without trigger/target dependencies

2008-01-24 Thread Renzo Tomaselli
Hi, I'm trying to figure out how to PPR a target which has no static knowledge about its triggers, e.g. no partialTriggers are specified. At the same time triggers (button and links) do not know about the target they will potentially PPR. From the dev-guide, I knew about the

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Rafa Pérez
Thanks for your help Matthias. I will try to override the validate() for the component on Monday On Jan 24, 2008 4:09 PM, Matthias Wessendorf [EMAIL PROTECTED] wrote: or better, override the validate() of the component, to check for a key. b/c not really a conversion error, more validation

Is it possible for JSF h:commandButton to execute MethodBinding and JavaScript

2008-01-24 Thread bansi
I have a requirement where i wanna execute both Method Binding and JavaScript Code at the same time using JSF h:commandButton. The Javascript will open a popup while MethodBinding will set the values in Backing Bean Here is the snippet h:commandButton id=findContact value=Manage Contacts

Re: [Trinidad] How to show a FacesMessage inside a custom UploadFileProcessor?

2008-01-24 Thread Matthias Wessendorf
I am traveling to the rest of the week; But, I can try to do a prototype in Trinidad next week. Like provide a *modified* input-file comp. I haven't really spent time on it, but there is this bug: http://issues.apache.org/jira/browse/TRINIDAD-607 and we are aware of the related issues; -M On

Re: [Tobago] Error with field validation

2008-01-24 Thread Bernd Bohmann
Hello, can you send list of WEB-INF/lib, please. Regards Bernd florimodo schrieb: Hi, when I am submitting a form with empty required fields - I get a ClassCastException, no messages are displayed on the page. It seems that I got something to do with my resources, but I have no clue

Re: Is it possible for JSF h:commandButton to execute MethodBinding and JavaScript

2008-01-24 Thread David Delbecq
Javascript = Client side ActionListeners / Actions = Server Side So, answer is no, you can't synchronize a javascript with a server code. It's alwasy javascript onclick, followed by an http method call (which will trigger all JSF stuffs) bansi a écrit : I have a requirement where i wanna

Re: Is it possible for JSF h:commandButton to execute MethodBinding and JavaScript

2008-01-24 Thread Andrew Robinson
There are different approaches, but it can be done. The easiest way is to set the target of the command button to a new window. Then the action method can be responsible for loading a popup page in that window. I avoid popups like the plague because of browser blocking, opening in window vs. tab,

Re: Dynamic Component

2008-01-24 Thread Mike Kienenberger
On 1/24/08, Sébastien Boutté [EMAIL PROTECTED] wrote: I try also to define the methods saveState and processRestoreState but it doesn't work. Note also that you need to use saveState and restoreState, not processRestoreState

Re: Tomahawk Sandbox promotion schedule?

2008-01-24 Thread Werner Punz
Simon Kitching schrieb: There are a number of components that really should be promoted; the ppr stuff at least would seem to be in that category, and subforms too. I don't know specifically about the other components you list. It just needs someone with enough time to double-check them and

Re: Tomahawk Sandbox promotion schedule?

2008-01-24 Thread Leonardo Uribe
Hi I'm doing some tasks related with tomahawk, and one of them is do a list of components to be included in tomahawk 1.2. If anyone have a list of possible sandbox components to be upgraded I will take a look after doing some work here. regards Leonardo Uribe

Re: Tomahawk Sandbox promotion schedule?

2008-01-24 Thread Mike Kienenberger
Here are the guidelines for promoting components from sandbox to tomahawk: http://wiki.apache.org/myfaces/promotion On Jan 23, 2008 1:43 PM, Jed Smallwood [EMAIL PROTECTED] wrote: Hi, I'm a bit new to Tomahawk Sandbox components and they seem pretty useful, at least in the examples that I

Re: Tomahawk Sandbox promotion schedule?

2008-01-24 Thread Mike Kienenberger
Leonardo, Thanks for volunteering. subForm and validateCompareTo definitely should be promoted, and have been requested frequently in the past (now becoming distant past). I'd also like to see submitOnEvent promoted. I've gotten a lot of use out of it, although I don't know how may others are

How many levels can you create using nested tables?

2008-01-24 Thread albertw
Hi As long as you keep the table var and value elements connected, can you create deep nests of tables? tr:table var=row value=#{lotTree.delivery} f:facet name=detailStamp tr:table var=sub value=#{row.module} f:facet

[Trinidad] Custom CoreShowDetail

2008-01-24 Thread Ravindra Adireddy
Hi all I created my own renderer class for tr:table, and i am trying to render one CoreShowDetail from my custom table renderer as follows CoreShowDetail d = (CoreShowDetail) context.getApplication().createComponent(CoreShowDetail.COMPONENT_TYPE); d.setId(show_1);