[jira] [Created] (TOBAGO-1420) tc:time will be replaced with tc:date

2014-09-04 Thread Udo Schnurpfeil (JIRA)
Udo Schnurpfeil created TOBAGO-1420:
---

 Summary: tc:time will be replaced with tc:date
 Key: TOBAGO-1420
 URL: https://issues.apache.org/jira/browse/TOBAGO-1420
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core, Themes
Reporter: Udo Schnurpfeil
Assignee: Udo Schnurpfeil


With TOBAGO-1407 tc:date can do the job of tc:time. You only need to set 
the f:convertDateTime type=time/ inside the tc:date. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TOBAGO-1420) tc:time will be replaced with tc:date

2014-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14121106#comment-14121106
 ] 

Hudson commented on TOBAGO-1420:


SUCCESS: Integrated in tobago-trunk #1256 (See 
[https://builds.apache.org/job/tobago-trunk/1256/])
TOBAGO-1420: tc:time (lofwyr: 
http://svn.apache.org/viewvc/?view=revrev=1622413)
* /myfaces/tobago/trunk/src/site/apt/migration-2.0.apt


 tc:time will be replaced with tc:date
 -

 Key: TOBAGO-1420
 URL: https://issues.apache.org/jira/browse/TOBAGO-1420
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core, Themes
Reporter: Udo Schnurpfeil
Assignee: Udo Schnurpfeil

 Since Tobago 2.0 (see TOBAGO-1407) tc:date can do the job of tc:time. You 
 only need to set the f:convertDateTime type=time/ inside the tc:date. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TOBAGO-939) RenderedPartially support for sheet and tabGroup

2014-09-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14121525#comment-14121525
 ] 

Hudson commented on TOBAGO-939:
---

SUCCESS: Integrated in tobago-trunk #1257 (See 
[https://builds.apache.org/job/tobago-trunk/1257/])
TOBAGO-939: RenderedPartially support for sheet and tabGroup (lofwyr: 
http://svn.apache.org/viewvc/?view=revrev=1622508)
* 
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java
* 
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/html/DataAttributes.java
* /myfaces/tobago/trunk/tobago-example/pom.xml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/web.xml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/sheet.xhtml
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml
* /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/pom.xml
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/TabGroupRenderer.java
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/META-INF/tobago-config.xml
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tab.js
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js


 RenderedPartially support for sheet and tabGroup
 

 Key: TOBAGO-939
 URL: https://issues.apache.org/jira/browse/TOBAGO-939
 Project: MyFaces Tobago
  Issue Type: Improvement
Affects Versions: 1.5.0-alpha-1
Reporter: Bernd Bohmann
Assignee: Udo Schnurpfeil
 Fix For: 2.0.3


 It would be nice if can define the new rendered region.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MYFACES-3915) NullpointerException during UIOuput state handling

2014-09-04 Thread Leonardo Uribe (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-3915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14121784#comment-14121784
 ] 

Leonardo Uribe commented on MYFACES-3915:
-

I have been trying to fix this one but I have realized that there is an easy 
way to fix it:

{code:java}
public class CustomComposite extends UINamingContainer {

private UIInput field;

/** getter and setters **/

{code}

And then use #{cc.field} instead go into the attribute map.

Also, even if we can overcome the bug reported here, the fix done in 
DeltaStateHelper will not be perfect, because from the beginning, a component 
binding should not be stored in the state, and that means it should not be 
stored on the attribute map. Fix it could lead to a bad syntax.

The problem is in other cases, use the attribute map to hold components works 
as long as there is no state in the component, so it gives the wrong impression.

After this reasoning I have to close this as won't fix, because the 
relationships between components should be coded in the component class.

 NullpointerException during UIOuput state handling
 --

 Key: MYFACES-3915
 URL: https://issues.apache.org/jira/browse/MYFACES-3915
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.2.4
Reporter: Sven Linstaedt

 Under the conditions:
 * having a h:inputText in a composite component with binding to it's 
 composite component attribute map (like binding=#{cc.attrs.input})
 * attaching state holding converter (implements StateHolder) to the input 
 with non initial state
 * having no other state saved (specifically UIOuput#saveState returns null)
 a state array of size two is returned that looks like [null, converterState].
 Restoring this state causes UIOuput to hand over the first array entry to 
 UIOuput, which directly fails with a NPE, if the initialState was not marked.
 {code}
 java.lang.NullPointerException: state
   at 
 javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:2046)
   at javax.faces.component.UIOutput.restoreState(UIOutput.java:241)
   at javax.faces.component.UIInput.restoreState(UIInput.java:1060)
   at 
 javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1915)
   at 
 javax.faces.component._DeltaStateHelper$InternalMap.restoreState(_DeltaStateHelper.java:925)
   at 
 javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1915)
   at 
 javax.faces.component._DeltaStateHelper.copyMap(_DeltaStateHelper.java:289)
   at 
 javax.faces.component._DeltaStateHelper._createDeltas(_DeltaStateHelper.java:216)
   at 
 javax.faces.component._DeltaStateHelper.put(_DeltaStateHelper.java:425)
   at 
 javax.faces.component._ComponentAttributesMap.put(_ComponentAttributesMap.java:603)
   at 
 javax.faces.component._ComponentAttributesMap.put(_ComponentAttributesMap.java:55)
   at 
 org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver$CompositeComponentAttributesMapWrapper.put(CompositeComponentELResolver.java:418)
   at 
 org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver$CompositeComponentAttributesMapWrapper.put(CompositeComponentELResolver.java:271)
   at javax.el.MapELResolver.setValue(MapELResolver.java:94)
   at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:83)
   at org.apache.el.parser.AstValue.setValue(AstValue.java:221)
   at 
 org.apache.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:252)
   at 
 org.jboss.weld.el.WeldValueExpression.setValue(WeldValueExpression.java:64)
   at 
 org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.setValue(ContextAwareTagValueExpression.java:153)
   at 
 org.apache.myfaces.view.facelets.el.LocationValueExpression.setValue(LocationValueExpression.java:157)
   at javax.faces.component.UIComponent.processEvent(UIComponent.java:849)
   at 
 org.apache.myfaces.lifecycle.DefaultRestoreViewSupport$RestoreStateCallback.visit(DefaultRestoreViewSupport.java:281)
   at 
 org.apache.myfaces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:141)
   at javax.faces.component.UIComponent.visitTree(UIComponent.java:1016)
   at 
 javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1191)
   at javax.faces.component.UIComponent.visitTree(UIComponent.java:1044)
   at 
 javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1191)
   at javax.faces.component.UIComponent.visitTree(UIComponent.java:1044)
   at 
 javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1191)
   at javax.faces.component.UIComponent.visitTree(UIComponent.java:1044)
   at 
 

[jira] [Resolved] (MYFACES-3895) Missed space character in ViewExpiredException getMessage()

2014-09-04 Thread Leonardo Uribe (JIRA)

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

Leonardo Uribe resolved MYFACES-3895.
-
   Resolution: Fixed
Fix Version/s: 2.2.5
   2.1.16
   2.0.22
 Assignee: Leonardo Uribe

 Missed space character in ViewExpiredException getMessage()
 ---

 Key: MYFACES-3895
 URL: https://issues.apache.org/jira/browse/MYFACES-3895
 Project: MyFaces Core
  Issue Type: Improvement
  Components: General
Affects Versions: 2.1.13
Reporter: Dmitry Volkov
Assignee: Leonardo Uribe
Priority: Trivial
 Fix For: 2.0.22, 2.1.16, 2.2.5


 ViewExpiredException getMessage() returns following text: 
 /demo/test.jsfNo saved view state could be found for the view identifier: 
 /demo/test.jsf
 Space between View Id and No saved view...  is missed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[core] release for MyFaces 2.2.5, 2.1.16, 2.0.22

2014-09-04 Thread Leonardo Uribe
Hi

It could be good if we can make a release for MyFaces Core artifacts,
probably next week. If you have any issue that requires to be fixed, this
is a good moment to say something about it.

regards,

Leonardo Uribe