Servlets return 404 after update to 1.2

2009-12-22 Thread Michael Heinen
Hi, After my update from myfaces 1.1.6 to to 1.2.8 I got a strange error in my Non-Faces Servlets. All Servlets are working well until I access the Faces Context as described in the WIKI: http://wiki.apache.org/myfaces/AccessFacesContextFromServlet After this all responses are empty and status

Re: Servlets return 404 after update to 1.2

2009-12-22 Thread Jakob Korherr
Hi Michael, Your problem is the following line: // set a new viewRoot, otherwise context.getViewRoot returns null UIViewRoot view = facesContext.getApplication().getViewHandler().createView(facesContext, ); In this line the current view handler trys to build the view , which, of course, does

Re: [Trinidad] Trinidad and Glassfish: resource servlet does not work

2009-12-22 Thread Walter MourĂ£o
Hi Matthias, thanks the attention. I just checked and I'm sure the resource servlet is executed. The url is null after URL url = loader.getResource(resourcePath); in: ... ResourceLoader loader = _getResourceLoader(request); String resourcePath = getResourcePath(request); URL url =

RE: Servlets return 404 after update to 1.2

2009-12-22 Thread Michael Heinen
This works! Thanks again Michael -Original Message- From: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Dienstag, 22. Dezember 2009 10:01 To: MyFaces Discussion Subject: Re: Servlets return 404 after update to 1.2 Hi Michael, Your

[tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2009-12-22 Thread Michael Heinen
Hi, I have another migration issue: Error messages are rendered with the component ids instead of the label after update from myfaces 1.1.6 to 1.2.8 and tomahawk to 12_1.1.9 jsp: h:outputLabel for=name value=User/ h:panelGroup h:inputText id=name value=#{MyController.name} required=true

Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2009-12-22 Thread Jakob Korherr
Hi Michael, I'm sorry, but I can not reproduce your problem. On my machine it is User: Validierungsfehler: Eingabe erforderlich.. Can you please provide more information about your jsp. Regards, Jakob 2009/12/22 Michael Heinen michael.hei...@recommind.com Hi, I have another migration

RE: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2009-12-22 Thread Michael Heinen
I found the issue during the creation of a small test project. It was caused by a not correctly migrated patch for the UIInput.class. Michael -Original Message- From: sethfromaust...@gmail.com [mailto:sethfromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Dienstag, 22. Dezember

Re: how to restrict inputDate to be the 1st date of each month within a range of date

2009-12-22 Thread lwu1
That sounds good. Also May be we can suggest trinidad to have another attribute called "validDays" for the tr:validateDateRestriction component like the following: tr:inputDate id="days" value="#{bean.date}" label="Select a date"tr:convertDateTime

Re: how to restrict inputDate to be the 1st date of each month within a range of date

2009-12-22 Thread Richard Yee
I'm not sure that adding a validDays attribute is a very workable solution. What happens if there is an overlap with the valid and invalid days? Right now, the same thing could be accomplished by putting all of the dates in the date range in the invalidDays list and removing the first day of the

Trinidad site has a error

2009-12-22 Thread Zeng Lingzhu
I think that the Trinidad site has a error. If i entered the 'Tag Documentation' pages, then click other links left side, the page not found. Ofcourse, it is unimportant. We have many ways to visit the site. regards. Zeng Lingzhu

Re: Trinidad site has a error

2009-12-22 Thread Gerhard Petracek
hi zeng, thx for reporting it. it's a quite old issue [1]. so it would be great if you have time to look into the issue and provide a patch. regards, gerhard [1] http://issues.apache.org/jira/browse/TRINIDAD-1000 http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and