[Trinidad] RC1 for 1.2.14 with the new skin?

2010-02-23 Thread Matthias Wessendorf
Hi,

should we generate a RC1 for the 1.2.14 release, to have the new skin
hitting the road ?
I am all for it ;-)

-Matthias

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [Trinidad] RC1 for 1.2.14 with the new skin?

2010-02-23 Thread Jan-Kees van Andel
+1 from me

/JK


2010/2/23 Matthias Wessendorf mat...@apache.org:
 Hi,

 should we generate a RC1 for the 1.2.14 release, to have the new skin
 hitting the road ?
 I am all for it ;-)

 -Matthias

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



Re: [Trinidad] RC1 for 1.2.14 with the new skin?

2010-02-23 Thread Bruno Aranda
+1

On 23 February 2010 13:06, Jan-Kees van Andel jankeesvanan...@gmail.comwrote:

 +1 from me

 /JK


 2010/2/23 Matthias Wessendorf mat...@apache.org:
  Hi,
 
  should we generate a RC1 for the 1.2.14 release, to have the new skin
  hitting the road ?
  I am all for it ;-)
 
  -Matthias
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 



[jira] Created: (TRINIDAD-1734) Facelets: need metarule to convert String- Timezone for date converter

2010-02-23 Thread Yee-Wah Lee (JIRA)
Facelets: need metarule to convert String- Timezone for date converter


 Key: TRINIDAD-1734
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1734
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions:  2.0.0.2-core 
Reporter: Yee-Wah Lee
Priority: Minor


1. Modify the inputDate demo to specify timezone as a string on the converter,  
e.g.
tr:inputDate id=mdf8 value=#{date.date5} label=attached 
converter with locale ja
  tr:convertDateTime locale=ja type=date dateStyle=full 
timeZone=America/New_York/
/tr:inputDate

2. Run the page with facelets enabled. Get the following runtime error:
java.lang.IllegalArgumentException: Cannot convert America/New_York of type 
class java.lang.String to class java.util.TimeZone
at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
at 
com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:66)
at 
com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:81)
at 
com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
at 
javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
at 
javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
at 
com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.applyAttachedObject(ConverterTagHandlerDelegateImpl.java:126)
at 
javax.faces.view.facelets.FaceletsAttachedObjectHandler.applyAttachedObject(FaceletsAttachedObjectHandler.java:91)
at 
com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.apply(ConverterTagHandlerDelegateImpl.java:73)
at 
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TRINIDAD-1723) Trinidad 2: ClassCastEXception while running componentDemos.jspx

2010-02-23 Thread JIRA

[ 
https://issues.apache.org/jira/browse/TRINIDAD-1723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12837333#action_12837333
 ] 

Matthias Weßendorf commented on TRINIDAD-1723:
--

what proxy issue ?

 Trinidad 2: ClassCastEXception while running componentDemos.jspx
 

 Key: TRINIDAD-1723
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1723
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 2.0.0-alpha-2
Reporter: Max Starets

 Grab the latest trinidad-2.0.x branch and try running componentDemos.jspx. 
 The following exception will be thrown:
 java.lang.ClassCastException: 
 org.apache.myfaces.trinidadinternal.uinode.UIComponentUINode cannot be cast 
 to org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode
   at 
 org.apache.myfaces.trinidadinternal.uinode.UIXComponentUINode.__getAdapter(UIXComponentUINode.java:439)
   at 
 org.apache.myfaces.trinidadinternal.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:65)
   at 
 org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:852)
   at 
 org.apache.myfaces.trinidad.render.RenderUtils.encodeRecursive(RenderUtils.java:70)
   at 
 org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:509)
   at 
 org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:531)
   at 
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:70)
   at 
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:151)
   at 
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:153)
   at 
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:80)
   at 
 org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:546)
   at 
 org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:82)
 This does not seem to be JSF 2 specific, but I have not had time to try it on 
 the latest MAIN.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TRINIDAD-1734) Facelets: need metarule to convert String- Timezone for date converter

2010-02-23 Thread Yee-Wah Lee (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yee-Wah Lee updated TRINIDAD-1734:
--

Status: Patch Available  (was: Open)

 Facelets: need metarule to convert String- Timezone for date converter
 

 Key: TRINIDAD-1734
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1734
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions:  2.0.0.2-core 
Reporter: Yee-Wah Lee
Priority: Minor
 Attachments: trin2_1734.diff


 1. Modify the inputDate demo to specify timezone as a string on the 
 converter,  e.g.
 tr:inputDate id=mdf8 value=#{date.date5} label=attached 
 converter with locale ja
   tr:convertDateTime locale=ja type=date dateStyle=full 
 timeZone=America/New_York/
 /tr:inputDate
 2. Run the page with facelets enabled. Get the following runtime error:
 java.lang.IllegalArgumentException: Cannot convert America/New_York of type 
 class java.lang.String to class java.util.TimeZone
   at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
   at 
 com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:66)
   at 
 com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:81)
   at 
 com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
   at 
 javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.applyAttachedObject(ConverterTagHandlerDelegateImpl.java:126)
   at 
 javax.faces.view.facelets.FaceletsAttachedObjectHandler.applyAttachedObject(FaceletsAttachedObjectHandler.java:91)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.apply(ConverterTagHandlerDelegateImpl.java:73)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TRINIDAD-1683) client-side convertNumber causes loss of precision

2010-02-23 Thread Gabrielle Crawford (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabrielle Crawford updated TRINIDAD-1683:
-

   Resolution: Fixed
Fix Version/s: 1.2.14-core 
   Status: Resolved  (was: Patch Available)

 client-side convertNumber causes loss of precision
 --

 Key: TRINIDAD-1683
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1683
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions:  1.2.12-core
Reporter: Cale Scholl
Assignee: Gabrielle Crawford
Priority: Minor
 Fix For: 1.2.14-core 

 Attachments: maxPrecision_1.2.12.2.patch, maxPrecision_trunk.patch


 ISSUE:
 --
 JS numbers are 64-bit values and thus only have 16 digits of precision; this 
 isn't enough to represent the max value of a Long, BigInteger, or BigDecimal. 
 This means that when we convert a number string to object then back to string 
 on the client, we can lose precision, even though we wouldn't lose any 
 precision on the server.
 FIX:
 -
 Only render a client converter if the input value is bound to a supported 
 type (Float, Double, Integer, Short, Byte). The JavaScript number is a 64-bit 
 floating type and has enough precision to represent any of these supported 
 types.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-1735) Trinidad 2: Provide ViewDeclarationLanguageFactory wrapper instead of overriding ViewHandler.getViewDeclarationLanguage()

2010-02-23 Thread Max Starets (JIRA)
Trinidad 2: Provide ViewDeclarationLanguageFactory wrapper instead of 
overriding ViewHandler.getViewDeclarationLanguage()
-

 Key: TRINIDAD-1735
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1735
 Project: MyFaces Trinidad
  Issue Type: Bug
Affects Versions:  2.0.0.2-core 
Reporter: Max Starets
Priority: Minor


We override ViewHandler.getViewDeclarationLanguage() to return null VDL for the 
internal views and to call inro PageResolver before determining the VDL. 

The problem is our override does not get called during ViewHandler.createView() 
because the delegate ViewHandler just calls getViewDeclarationLanguage on 
itself. This is not causing any serious problems today because both Facelets 
and JSP VDLs call into the same base implementation of createView(). However, 
the right solution will be to stop overriding getViewDeclarationLanguage() on 
the ViewHandler and start wrapping ViewDeclarationLanguageFactory instead, so 
we can start overriding getViewDeclarationLanguage() there. 

According to JavaDoc, ViewHandler.getViewDeclarationLanguage() is merely a 
convenience method. As such it should have been made final in the JSF API, and 
problems like these would be easily prevented.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TRINIDAD-1734) Facelets: need metarule to convert String- Timezone for date converter

2010-02-23 Thread Gabrielle Crawford (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabrielle Crawford updated TRINIDAD-1734:
-

   Resolution: Fixed
Fix Version/s:  2.0.0.2-core 
   Status: Resolved  (was: Patch Available)

 Facelets: need metarule to convert String- Timezone for date converter
 

 Key: TRINIDAD-1734
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1734
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions:  2.0.0.2-core 
Reporter: Yee-Wah Lee
Assignee: Gabrielle Crawford
Priority: Minor
 Fix For:  2.0.0.2-core 

 Attachments: trin2_1734.diff


 1. Modify the inputDate demo to specify timezone as a string on the 
 converter,  e.g.
 tr:inputDate id=mdf8 value=#{date.date5} label=attached 
 converter with locale ja
   tr:convertDateTime locale=ja type=date dateStyle=full 
 timeZone=America/New_York/
 /tr:inputDate
 2. Run the page with facelets enabled. Get the following runtime error:
 java.lang.IllegalArgumentException: Cannot convert America/New_York of type 
 class java.lang.String to class java.util.TimeZone
   at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
   at 
 com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:66)
   at 
 com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:81)
   at 
 com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
   at 
 javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.applyAttachedObject(ConverterTagHandlerDelegateImpl.java:126)
   at 
 javax.faces.view.facelets.FaceletsAttachedObjectHandler.applyAttachedObject(FaceletsAttachedObjectHandler.java:91)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.apply(ConverterTagHandlerDelegateImpl.java:73)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Reopened: (TRINIDAD-1734) Facelets: need metarule to convert String- Timezone for date converter

2010-02-23 Thread Gabrielle Crawford (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabrielle Crawford reopened TRINIDAD-1734:
--


couldn't commit, svn says
Command: Commit  
Error: Commit failed (details follow):  
Error: Server sent unexpected return value (503 Service Temporarily 
Unavailable) in   
Error: response to MKACTIVITY request for 
'/repos/asf/!svn/act/bc878178-2b76-3748-80ef-15a6b162da41'  
Finished!:   


 Facelets: need metarule to convert String- Timezone for date converter
 

 Key: TRINIDAD-1734
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1734
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions:  2.0.0.2-core 
Reporter: Yee-Wah Lee
Assignee: Gabrielle Crawford
Priority: Minor
 Fix For:  2.0.0.2-core 

 Attachments: trin2_1734.diff


 1. Modify the inputDate demo to specify timezone as a string on the 
 converter,  e.g.
 tr:inputDate id=mdf8 value=#{date.date5} label=attached 
 converter with locale ja
   tr:convertDateTime locale=ja type=date dateStyle=full 
 timeZone=America/New_York/
 /tr:inputDate
 2. Run the page with facelets enabled. Get the following runtime error:
 java.lang.IllegalArgumentException: Cannot convert America/New_York of type 
 class java.lang.String to class java.util.TimeZone
   at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
   at 
 com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:66)
   at 
 com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:81)
   at 
 com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
   at 
 javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.applyAttachedObject(ConverterTagHandlerDelegateImpl.java:126)
   at 
 javax.faces.view.facelets.FaceletsAttachedObjectHandler.applyAttachedObject(FaceletsAttachedObjectHandler.java:91)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.apply(ConverterTagHandlerDelegateImpl.java:73)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [Trinidad] RC1 for 1.2.14 with the new skin?

2010-02-23 Thread Mathias Walter
+1

I didn't find time to test the new skin with other projects too. I'll do
this at the end of March.

--
Mathias Walter


2010/2/23 Matthias Wessendorf mat...@apache.org:
 Hi,

 should we generate a RC1 for the 1.2.14 release, to have the new skin
 hitting the road ?
 I am all for it ;-)

 -Matthias

 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




[jira] Updated: (TRINIDAD-692) Title of Lightweight Dialogs is set to parent page's title when partialSubmit is not used on link/button

2010-02-23 Thread Henrique Fiorio (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henrique Fiorio updated TRINIDAD-692:
-

Status: Patch Available  (was: Reopened)

 Title of Lightweight Dialogs is set to parent page's title when partialSubmit 
 is not used on link/button
 

 Key: TRINIDAD-692
 URL: https://issues.apache.org/jira/browse/TRINIDAD-692
 Project: MyFaces Trinidad
  Issue Type: Bug
Affects Versions: 1.0.3-core
Reporter: Danny Robinson
Assignee: Danny Robinson
Priority: Minor
 Fix For: 1.0.4-core


 If you open a lightweight dialog using a commandLink/Button, but don't use 
 partialSubmit=true then the title bar of the dialog will be set to the 
 title of the parent page.  Infact it is set twice, first correctly, then 
 overridden by the parent page.
 The cause is the TrPopupDialog._initDialogPage() call in the onload of the 
 page.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (TRINIDAD-1734) Facelets: need metarule to convert String- Timezone for date converter

2010-02-23 Thread Gabrielle Crawford (JIRA)

 [ 
https://issues.apache.org/jira/browse/TRINIDAD-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabrielle Crawford resolved TRINIDAD-1734.
--

Resolution: Fixed

 Facelets: need metarule to convert String- Timezone for date converter
 

 Key: TRINIDAD-1734
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1734
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions:  2.0.0.2-core 
Reporter: Yee-Wah Lee
Assignee: Gabrielle Crawford
Priority: Minor
 Fix For:  2.0.0.2-core 

 Attachments: trin2_1734.diff


 1. Modify the inputDate demo to specify timezone as a string on the 
 converter,  e.g.
 tr:inputDate id=mdf8 value=#{date.date5} label=attached 
 converter with locale ja
   tr:convertDateTime locale=ja type=date dateStyle=full 
 timeZone=America/New_York/
 /tr:inputDate
 2. Run the page with facelets enabled. Get the following runtime error:
 java.lang.IllegalArgumentException: Cannot convert America/New_York of type 
 class java.lang.String to class java.util.TimeZone
   at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:381)
   at 
 com.sun.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:66)
   at 
 com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:81)
   at 
 com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
   at 
 javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.applyAttachedObject(ConverterTagHandlerDelegateImpl.java:126)
   at 
 javax.faces.view.facelets.FaceletsAttachedObjectHandler.applyAttachedObject(FaceletsAttachedObjectHandler.java:91)
   at 
 com.sun.faces.facelets.tag.jsf.ConverterTagHandlerDelegateImpl.apply(ConverterTagHandlerDelegateImpl.java:73)
   at 
 javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-1736) JDev plugin should configure the source jar

2010-02-23 Thread Kohsuke Kawaguchi (JIRA)
JDev plugin should configure the source jar
---

 Key: TRINIDAD-1736
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1736
 Project: MyFaces Trinidad
  Issue Type: Improvement
  Components: Plugins
Affects Versions:  1.2.12-plugins 
Reporter: Kohsuke Kawaguchi


Maven jdev plugin should generate a project file with the proper references to 
source jars, so that one can look at the source files of the library 
dependencies.

The patch is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.