[VOTE] Release Tobago 3.0.0-alpha-4

2016-07-08 Thread Udo Schnurpfeil
Hello,

I would like to release Tobago 3.0.0-alpha-4.

Major changes are:
* buttons-, nav-, bar- tags
* collapsible (also for popups)
* security annotations
* new date/time-picker

For a detail list please consult the release notes:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273=12337842
The version is available at the staging repository (Nexus).

Staging repository:

https://repository.apache.org/content/repositories/orgapachemyfaces-1070/

Please vote now! (The vote is open for 72h.)

[ ] +1
[ ] +0
[ ] -1

Regards,

Udo



[jira] [Commented] (TOBAGO-1529) Navbar, Toolbar, Menu, etc. for Bootstrap

2016-07-08 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/TOBAGO-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15367793#comment-15367793
 ] 

Hudson commented on TOBAGO-1529:


SUCCESS: Integrated in Tobago 3.0.x #422 (See 
[https://builds.apache.org/job/Tobago%203.0.x/422/])
TOBAGO-1529: Navbar, Toolbar, Menu, etc. for Bootstrap (lofwyr: 
[http://svn.apache.org/viewvc/?view=rev=1751915])
* tobago-3.0.x/src/site/apt/migration-3.0.apt
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIToolBar.java
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIToolBarCommand.java
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIToolBarSelectOne.java
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ToolBarCommandTagDeclaration.java
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ToolBarSeparatorTagDeclaration.java
* 
tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ToolBarTagDeclaration.java
* 
tobago-3.0.x/tobago-example/tobago-example-addressbook/src/main/webapp/addressbook/editor.xhtml
* 
tobago-3.0.x/tobago-example/tobago-example-addressbook/src/main/webapp/addressbook/list.xhtml
* 
tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/020-output/60-object/object.xhtml
* 
tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/040-command/command.xhtml
* 
tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/20-component/090-tree/02-editor/tree-editor.xhtml
* 
tobago-3.0.x/tobago-theme/tobago-theme-scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/image/1x1.png
* 
tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
* 
tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/TabGroupRenderer.java
* 
tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRenderer.java
* 
tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererBase.java
* 
tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/ToolBarRendererOld.java


> Navbar, Toolbar, Menu, etc. for Bootstrap
> -
>
> Key: TOBAGO-1529
> URL: https://issues.apache.org/jira/browse/TOBAGO-1529
> Project: MyFaces Tobago
>  Issue Type: Sub-task
>  Components: Themes
>Reporter: Udo Schnurpfeil
>Assignee: Udo Schnurpfeil
> Fix For: 3.0.0-alpha-4, 3.0.0
>
>
> tc:toolBar will be removed, for most cases tc:buttons is a good replacement



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


[jira] [Resolved] (TOBAGO-1565) Specification for "collapsible" for Popup, Box, Section, ...

2016-07-08 Thread Udo Schnurpfeil (JIRA)

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

Udo Schnurpfeil resolved TOBAGO-1565.
-
Resolution: Fixed

> Specification for "collapsible" for Popup, Box, Section, ...
> 
>
> Key: TOBAGO-1565
> URL: https://issues.apache.org/jira/browse/TOBAGO-1565
> Project: MyFaces Tobago
>  Issue Type: New Feature
>  Components: Core, Themes
>Reporter: Udo Schnurpfeil
>Assignee: Henning Noeth
> Fix For: 3.0.0-alpha-4, 3.0.0
>
>
> h4. Overview
> This is the specification of concept of collapsible. This concept will be 
> implemented into **, ** and **, but also be the 
> logic of **. The collapsible state and behavior may depend on the 
> component. E.g. for collapsed box the header is visible, but the content not. 
> For a collapsed popup there is nothing visible. (Nevertheless there is a 
> hidden fragment on the browsers DOM, but this is a technical detail.)
> h3. Concept
> h4. The state and the mode
> The state will be hold in an attribute named {{ boolean collapsible}} and the 
> mode in the attribute {{collapsibleMode}}. The mode is an enum which has the 
> values {{hidden}} and {{absent}}. 
> The meaning on the client side is:
> * {{hidden}}: The content is *present* but *not visible*
> * {{absent}}: The content is *not present* and *not visible*.
> The meaning on server side is:
> * {{hidden}}: The content *is part* of the lifecycle (validation, 
> update-model, etc.).
> * {{absent}}: The content is *not part* of the lifecycle.
> h4. Transitions
> The state model with transitions:
> There are 2 transitions {{show}}, {{hide}}, which ends in the state given in 
> the figure.
> You may notice, that this is the case, when the state {{absent}} is involved 
> to the transition. The reason is that either (case {{show}} or {{hide}}) data 
> must be loaded from the server.
> h3. Implementation
> h4. Commands
> There might be components which have implicit commands to change the state. 
> But here we define the API to describe the command. To respect CSP the 
> commands will be added to the data attribute {{tobago-data-commands}} of e.g. 
> a button. The relevant part has two values:
> * {{transition}} for the transition to execute and 
> * {{for}} which contains the id of the collapsible component. 
> The examples shows code internal JSON for a command which opens a popup with 
> the given id ":page:popup":
> {code}
> "collapse": {
>   "transition": "show"
>   "for": ":page:popup"
>   }
> {code}
> The Facelet XHTML code may look like this:
> {code}
> 
>
> 
> {code}
> The {{for}} attribute may contain useful shortcuts like {{\@auto}} (TBD).  
> It may be a good idea to allow more than one collapsible tags in a command. 
> h4. DOM
> On server side each collapsible component has at least one DOM element with 
> its id independent from the state. The state will be hold in a hidden input 
> field like this:
> {code}
> 
>   
> 
> {code}
>  
> h3. JSF Lifecycle
> The implementation of UIPopup, UIButton, etc. needs to respect the state in 
> the implementation of these lifecycle methods:
> {{processValidators()}} and {{processUpdates()}}. In the case of state is 
> absent the children must not be validated nor update the model.  
> The transition command itself will be executed at the end of the update model 
> phase.
> h3. Use cases:
> TODO: Define the most important usecases.
> * Popup: submit data and close the popup.
> ** Rerender if validation fails.
> * Popup: Cancel-button to close the popup.



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


[jira] [Created] (TOBAGO-1573) Ajax: auto reload breaks navigation response

2016-07-08 Thread Volker Weber (JIRA)
Volker Weber created TOBAGO-1573:


 Summary: Ajax: auto reload breaks navigation response
 Key: TOBAGO-1573
 URL: https://issues.apache.org/jira/browse/TOBAGO-1573
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Themes
Affects Versions: 2.0.9
Reporter: Volker Weber
Assignee: Volker Weber
Priority: Critical


If a partial request results in a navigation response a full reload must 
requested, but if another partial request is in queue this request is done 
parallel. This could break the full reload.



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