[jira] [Created] (TRINIDAD-2395) TrPage.__handlePprResponseAction is not implemented correctly (for portlets)

2013-05-24 Thread JIRA
Thomas Möller created TRINIDAD-2395:
---

 Summary: TrPage.__handlePprResponseAction is not implemented 
correctly (for portlets)
 Key: TRINIDAD-2395
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2395
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Portlet
Affects Versions: 2.0.1-core
Reporter: Thomas Möller


As stated in the comments the method __handlePprResponseAction only updates the 
first form found on a page. This does not work if there are multiple portlets 
on a page.

The patch should be easy: 

1) supply the form-id as an additional parameter to __handlePprResponseAction 
and use it to find the form
2) write out the form-id in PPRResponseWriter (i suppose to move the relevant 
code to FormRenderer where the form id can be retreived via 
RenderingContext.getFormData())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (TRINIDAD-2395) TrPage.__handlePprResponseAction is not implemented correctly (for portlets)

2013-05-24 Thread JIRA

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

Thomas Möller updated TRINIDAD-2395:


Status: Patch Available  (was: Open)

 TrPage.__handlePprResponseAction is not implemented correctly (for portlets)
 

 Key: TRINIDAD-2395
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2395
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Portlet
Affects Versions: 2.0.1-core
Reporter: Thomas Möller
 Attachments: trinidad-2395.patch


 As stated in the comments the method __handlePprResponseAction only updates 
 the first form found on a page. This does not work if there are multiple 
 portlets on a page.
 The patch should be easy: 
 1) supply the form-id as an additional parameter to __handlePprResponseAction 
 and use it to find the form
 2) write out the form-id in PPRResponseWriter (i suppose to move the relevant 
 code to FormRenderer where the form id can be retreived via 
 RenderingContext.getFormData())

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (TOBAGO-1251) tc:link is calculated to narrow when using auto, especially when images are used

2013-05-24 Thread Hudson (JIRA)

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

Hudson commented on TOBAGO-1251:


Integrated in tobago-1.5.x #161 (See 
[https://builds.apache.org/job/tobago-1.5.x/161/])
TOBAGO-1251: tc:link is calculated to narrow when using auto, especially 
when images are used 
 - adding 1 pixel per character (Revision 1485945)
TOBAGO-1251: tc:link is calculated to narrow when using auto, especially when 
images are used (Revision 1485935)

 Result = FAILURE
lofwyr : http://svn.apache.org/viewvc/?view=revrev=1485945
Files : 
* 
/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/current-vs-preferred-in-auto.xhtml

lofwyr : http://svn.apache.org/viewvc/?view=revrev=1485935
Files : 
* 
/myfaces/tobago/branches/tobago-1.5.x/tobago-example/tobago-example-test/src/main/webapp/test/link/link-layout.xhtml


 tc:link is calculated to narrow when using auto, especially when images are 
 used
 --

 Key: TOBAGO-1251
 URL: https://issues.apache.org/jira/browse/TOBAGO-1251
 Project: MyFaces Tobago
  Issue Type: Bug
Affects Versions: 1.6.0-beta-2, 1.5.9
Reporter: Matthias Wronka
Assignee: Udo Schnurpfeil
Priority: Minor
 Fix For: 1.5.10, 2.0.0-alpha-1, 2.0.0


 The width-calculation of links doesn´t work correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (TOBAGO-1251) tc:link is calculated to narrow when using auto, especially when images are used

2013-05-24 Thread Hudson (JIRA)

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

Hudson commented on TOBAGO-1251:


Integrated in tobago-trunk #1017 (See 
[https://builds.apache.org/job/tobago-trunk/1017/])
TOBAGO-1251: tc:link is calculated to narrow when using auto, especially 
when images are used 
 - adding 1px per character to the width (Revision 1485944)
TOBAGO-1251: tc:link is calculated to narrow when using auto, especially when 
images are used 
 - adding 1px per character to the width (Revision 1485940)

 Result = SUCCESS
lofwyr : http://svn.apache.org/viewvc/?view=revrev=1485944
Files : 
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/gridLayout/current-vs-preferred-in-auto.xhtml

lofwyr : http://svn.apache.org/viewvc/?view=revrev=1485940
Files : 
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/test/link/link-layout.xhtml
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtils.java


 tc:link is calculated to narrow when using auto, especially when images are 
 used
 --

 Key: TOBAGO-1251
 URL: https://issues.apache.org/jira/browse/TOBAGO-1251
 Project: MyFaces Tobago
  Issue Type: Bug
Affects Versions: 1.6.0-beta-2, 1.5.9
Reporter: Matthias Wronka
Assignee: Udo Schnurpfeil
Priority: Minor
 Fix For: 1.5.10, 2.0.0-alpha-1, 2.0.0


 The width-calculation of links doesn´t work correctly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[VOTE] Release Tobago 1.5.10

2013-05-24 Thread Bernd Bohmann
Hello,

I would like to release Tobago 1.5.10

For a detail list please consult the release notes:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273version=12324008

The version is available at the nexus staging repository.

Staging repository:

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

The Vote is open for 72h.

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

Regards

Bernd


[jira] [Commented] (MYFACES-3716) Implement h:inputFile

2013-05-24 Thread Dora Rajappan (JIRA)

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

Dora Rajappan commented on MYFACES-3716:


I change the bean to have type part instead of File I get this
va.lang.RuntimeException: Could not restore StateHolder of type 
org.apache.catalina.core.ApplicationPart (missing no-args constructor?)

javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1904)

javax.faces.component._DeltaStateHelper.restoreState(_DeltaStateHelper.java:661)

javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:2057)

 Implement h:inputFile
 -

 Key: MYFACES-3716
 URL: https://issues.apache.org/jira/browse/MYFACES-3716
 Project: MyFaces Core
  Issue Type: Task
  Components: JSR-344
Reporter: Leonardo Uribe

 Implement h:inputFile as described in the spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (MYFACES-3716) Implement h:inputFile

2013-05-24 Thread Dora Rajappan (JIRA)

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

Dora Rajappan commented on MYFACES-3716:


Added this public void encodeEnd(FacesContext facesContext, UIComponent 
component)
throws IOException
{

super.encodeEnd(facesContext, component);

 if(!facesContext.isProjectStage(ProjectStage.Production))
 {
 String content = ((HttpServletRequest) 
facesContext.getExternalContext().getRequest()).getContentType();
 if(content==null || !content.contains(multipart/form-data)){
 //Add facemessage
 FacesMessage message = new FacesMessage(file upload 
requires a form with enctype equal to multipart/form-data);
 facesContext.addMessage(component.getClientId(), 
message);
 }
 }
}

 Implement h:inputFile
 -

 Key: MYFACES-3716
 URL: https://issues.apache.org/jira/browse/MYFACES-3716
 Project: MyFaces Core
  Issue Type: Task
  Components: JSR-344
Reporter: Leonardo Uribe

 Implement h:inputFile as described in the spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (MYFACES-3716) Implement h:inputFile

2013-05-24 Thread Dora Rajappan (JIRA)

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

Dora Rajappan commented on MYFACES-3716:


I can exclude Part type from restore and avoid this error. So the spec wont be 
broken.

 Implement h:inputFile
 -

 Key: MYFACES-3716
 URL: https://issues.apache.org/jira/browse/MYFACES-3716
 Project: MyFaces Core
  Issue Type: Task
  Components: JSR-344
Reporter: Leonardo Uribe

 Implement h:inputFile as described in the spec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [VOTE] Release Tobago 1.5.10

2013-05-24 Thread Werner Punz

+1

Werner

Am 24.05.13 13:52, schrieb Bernd Bohmann:

Hello,

I would like to release Tobago 1.5.10

For a detail list please consult the release notes:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273version=12324008

The version is available at the nexus staging repository.

Staging repository:

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

The Vote is open for 72h.

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

Regards

Bernd