Re: JSF + OSGi integration.

2011-06-14 Thread Kamil Soboń
W dniu 2011-06-14 01:30, Jakob Korherr pisze: Hi, Nice stuff ;) I think JSF 2.1 might have the answer to your problem. Two new classes were introduced: FaceletCache and FaceletCacheFactory (see [1] and [2]). With a custom impl of those two you should be able to control the caching behavior!

Re: JSF + OSGi integration.

2011-06-14 Thread Kamil Soboń
W dniu 2011-06-14 01:30, Jakob Korherr pisze: Hi, Nice stuff ;) I think JSF 2.1 might have the answer to your problem. Two new classes were introduced: FaceletCache and FaceletCacheFactory (see [1] and [2]). With a custom impl of those two you should be able to control the caching behavior!

Re: JSF + OSGi integration.

2011-06-14 Thread Jakob Korherr
Hi, Actually you should not directly use stuff from myfaces-impl (package org.apache.myfaces.*). Theses classes are implementation specific and not built for extensions! If you need some base code, you should copy (or shade) it! Regards, Jakob 2011/6/14 Kamil Soboń iso.poc...@gmail.com: W

Re: JSF + OSGi integration.

2011-06-14 Thread Kamil Soboń
W dniu 2011-06-14 11:46, Jakob Korherr pisze: Hi, Actually you should not directly use stuff from myfaces-impl (package org.apache.myfaces.*). Theses classes are implementation specific and not built for extensions! If you need some base code, you should copy (or shade) it! Regards, Jakob

Re: JSF + OSGi integration.

2011-06-14 Thread Kamil Soboń
In JSF 2.1 FaceletCache has been created and provided for custom caching and mapping URL (of view) to Facelet. Why simmilar assumption has not been done for mapping uri of view to its physical URL ? I am talking about DefaultFaceletFactory#getViewMetadataFacelet(String) method where

[jira] [Created] (MYFACES-3174) IE9 css loading leads to java.lang.IllegalArgumentException: ContentTypeList does not contain a supported content type: text/css

2011-06-14 Thread Jan Ziegler (JIRA)
IE9 css loading leads to java.lang.IllegalArgumentException: ContentTypeList does not contain a supported content type: text/css Key: MYFACES-3174

Re: Advanced JSF 2 ResourceHandler for MyFaces commons

2011-06-14 Thread Jakob Korherr
Hi Leonardo, Because set prefix and suffix mapping for the same webapp could lead to inconsistencies. Which inconsistencies exactly? Please give an example, I can't really think of any! [...] If a page is rendered using suffix mapping, resource paths will use that and not prefix mapping,

[jira] [Created] (EXTCDI-200) TransactionalInterceptor: flush EntityManagers before commit

2011-06-14 Thread Mark Struberg (JIRA)
TransactionalInterceptor: flush EntityManagers before commit Key: EXTCDI-200 URL: https://issues.apache.org/jira/browse/EXTCDI-200 Project: MyFaces CODI Issue Type: Improvement

Re: Advanced JSF 2 ResourceHandler for MyFaces commons

2011-06-14 Thread Leonardo Uribe
Hi Jakob 2011/6/14 Jakob Korherr jakob.korh...@gmail.com: Hi Leonardo, Because set prefix and suffix mapping for the same webapp could lead to inconsistencies. Which inconsistencies exactly? Please give an example, I can't really think of any! Let's take a look to

[jira] [Resolved] (EXTCDI-200) TransactionalInterceptor: flush EntityManagers before commit

2011-06-14 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/EXTCDI-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gerhard Petracek resolved EXTCDI-200. - Resolution: Fixed TransactionalInterceptor: flush EntityManagers before commit

[jira] [Created] (EXTCDI-201) Use maven-dependency-plugin instead of shade to produce bundle artifacts

2011-06-14 Thread Jakob Korherr (JIRA)
Use maven-dependency-plugin instead of shade to produce bundle artifacts Key: EXTCDI-201 URL: https://issues.apache.org/jira/browse/EXTCDI-201 Project: MyFaces CODI

Calling getViewState() on the client results in errors

2011-06-14 Thread Deryk Sinotte
We're running against MyFaces 2.1 and we have some code on the client that calls getViewState(aValidFormReference) during the intial rendering of the page. It's causing a JavaScript error and preventing proper operation after the page has loaded. The flow of execution looks like this: 1) We

[jira] [Resolved] (EXTCDI-201) Use maven-dependency-plugin instead of shade to produce bundle artifacts

2011-06-14 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/EXTCDI-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Korherr resolved EXTCDI-201. -- Resolution: Fixed Fix Version/s: 1.0.0 Using the maven-dependency-plugin turned out to

[jira] [Created] (PORTLETBRIDGE-215) EncodeResource url improperly recognizes non context path encoded urls beginning with / as being an internal url

2011-06-14 Thread Michael Freedman (JIRA)
EncodeResource url improperly recognizes non context path encoded urls beginning with / as being an internal url - Key: PORTLETBRIDGE-215 URL:

[jira] [Commented] (EXTCDI-118) Could not serialize state: org.jboss.weld.bean.ManagedBean

2011-06-14 Thread Gerhard Petracek (JIRA)
[ https://issues.apache.org/jira/browse/EXTCDI-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13049392#comment-13049392 ] Gerhard Petracek commented on EXTCDI-118: - if you use the latest version of weld,

[jira] [Created] (EXTCDI-202) simple OSGi support

2011-06-14 Thread Jakob Korherr (JIRA)
simple OSGi support --- Key: EXTCDI-202 URL: https://issues.apache.org/jira/browse/EXTCDI-202 Project: MyFaces CODI Issue Type: Improvement Affects Versions: 0.9.5 Environment: OSGi Reporter: Jakob

[jira] [Commented] (PORTLETBRIDGE-215) EncodeResource url improperly recognizes non context path encoded urls beginning with / as being an internal url

2011-06-14 Thread Michael Freedman (JIRA)
[ https://issues.apache.org/jira/browse/PORTLETBRIDGE-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13049414#comment-13049414 ] Michael Freedman commented on PORTLETBRIDGE-215: Looks like ADF

[jira] [Commented] (MYFACES-3160) [PERF] TagAttributeImpl part II: object allocations (cache ELExpressions)

2011-06-14 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13049449#comment-13049449 ] Leonardo Uribe commented on MYFACES-3160: - Attached corrected patch

[jira] [Updated] (TRINIDAD-744) Update translated message files

2011-06-14 Thread Bud Osterberg (JIRA)
[ https://issues.apache.org/jira/browse/TRINIDAD-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bud Osterberg updated TRINIDAD-744: --- Status: Patch Available (was: Reopened) Update translated message files

[jira] [Resolved] (EXTCDI-202) simple OSGi support

2011-06-14 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/EXTCDI-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jakob Korherr resolved EXTCDI-202. -- Resolution: Fixed Fix Version/s: 1.0.0 simple OSGi support ---