[jira] [Updated] (MYFACES-3736) Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces

2013-11-20 Thread Sebastian Leske (JIRA)

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

Sebastian Leske updated MYFACES-3736:
-

Status: Patch Available  (was: Open)

 Occasional ResourceHandlerImpl Error trying to load resource jsf.js with 
 library javax.faces
 

 Key: MYFACES-3736
 URL: https://issues.apache.org/jira/browse/MYFACES-3736
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.1.10
 Environment: Windows Server 2008 R2
 Java 1.7.0_07
 Apache Tomcat 7.0.39
Reporter: Moshe Elisha

 From time to time I encountered the following error:
 ERROR http-apr-80-exec-2 ResourceHandlerImpl:425: Error trying to load 
 resource jsf.js with library javax.faces :null
 That is all I have. I can't tell what the exact request details or what is 
 the IOException.
 Can you please also make it possible to log the IOException stacktrace?
 Thanks.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Reopened] (TOBAGO-1276) Rendered attribute for rows in Sheet

2013-11-20 Thread Volker Weber (JIRA)

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

Volker Weber reopened TOBAGO-1276:
--


Selection with shift key did not work propperly

 Rendered attribute for rows in Sheet
 

 Key: TOBAGO-1276
 URL: https://issues.apache.org/jira/browse/TOBAGO-1276
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core, Themes
Affects Versions: 2.0.0
Reporter: Volker Weber
Assignee: Volker Weber
 Fix For: 2.0.0-alpha-1, 2.0.0






--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (TRINIDAD-2427) af|panelTabbed skinning doesn't work with content compression

2013-11-20 Thread Ana Vinatoru (JIRA)
Ana Vinatoru created TRINIDAD-2427:
--

 Summary: af|panelTabbed skinning doesn't work with content 
compression
 Key: TRINIDAD-2427
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2427
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Skinning
Affects Versions:  1.2.13-plugins 
 Environment: Windows 7, JDeveloper 11.1.1.6.0, Trinidad library that 
comes shipped by default with this IDE version (Trinidad Components 1.2, 
Trinidad HTML Components 1.2)
Reporter: Ana Vinatoru


The skinning for tr:panelTabbed works properly when 
org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION is set to false. 
When compression is turned on, most of the skinning selectors no longer work. 
Some of the skin selectors remain uncompressed.
Not sure if the issue is fixed in newer versions of the library, but I couldn't 
find a similar bug in the tracker.

Partial content of the .jspx file:
tr:panelTabbed
position=above styleClass=panelTabbed #{condition ? 
'panelTabbedHidden' : ''} id=selectorPanel
tr:showDetailItem text=#{l10n['menu.customer.label']} 
inlineStyle=background-color: transparent
/tr:showDetailItem
/tr:panelTabbed

Content of the skin CSS file:
.panelTabbed af|panelTabbed::tab {
text-align: center;
background-color: #DADADA;
}

.panelTabbed af|panelTabbed::body {
background-color: transparent;
}

.panelTabbed af|panelTabbed::tab-link,
.panelTabbed af|panelTabbed::tab-link-selected {
color: #66;
font-size: 13pt;
}

.panelTabbed af|panelTabbed::cell-end,
.panelTabbed  table {
background-color: white;
}

.panelTabbed af|panelTabbed::cell-start {
padding-left: 20px;
}

.panelTabbed af|panelTabbed::cell-end {
padding-right: 20px;
}
.panelTabbedHidden af|panelTabbed::tab,
.panelTabbedHidden af|panelTabbed::tab-selected{
display: none !important;
}

Resulting HTML for the tab header:
table class=panelTabbed 
panelTabbedHidden cellpadding=0 cellspacing=0 
border=0 width=100% summary=
tbody
trtd class=xb9b style=margin-left:0px/b/td
td height=1 nowrap= class=xb8a id=f2:j_id_id25 name=f2:j_id_id25 
href=# 
span class=x9wSelected/spanCustomer
/a/td
td class=xbab style=margin-left:0px/b
/td/tr
/tbody
/table




--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (MYFACES-3736) Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces

2013-11-20 Thread Sebastian Leske (JIRA)

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

Sebastian Leske commented on MYFACES-3736:
--

We have seen the same message in production several times.

As the type ClientAbortException suggests, it occurs when the network 
connection is interrupted while the resource handler is sending a resource.

To reproduce: Take any JSF application, and put some large resource inside (in 
my case, 3 MiB was enough - it just needs to be big enough that loading it 
takes a few seconds). Deploy the application inside Tomcat, then load the large 
resource (in the browser, or directly via curl or similar), and interrupt the 
download. The error message will be triggered.


 Occasional ResourceHandlerImpl Error trying to load resource jsf.js with 
 library javax.faces
 

 Key: MYFACES-3736
 URL: https://issues.apache.org/jira/browse/MYFACES-3736
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.1.10
 Environment: Windows Server 2008 R2
 Java 1.7.0_07
 Apache Tomcat 7.0.39
Reporter: Moshe Elisha

 From time to time I encountered the following error:
 ERROR http-apr-80-exec-2 ResourceHandlerImpl:425: Error trying to load 
 resource jsf.js with library javax.faces :null
 That is all I have. I can't tell what the exact request details or what is 
 the IOException.
 Can you please also make it possible to log the IOException stacktrace?
 Thanks.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (EXTVAL-156) Add support for BehaviorEvent/AjaxBehaviorEvent in ExtValViewRootInterceptor

2013-11-20 Thread Alexey Shakov (JIRA)
Alexey Shakov created EXTVAL-156:


 Summary: Add support for BehaviorEvent/AjaxBehaviorEvent in 
ExtValViewRootInterceptor
 Key: EXTVAL-156
 URL: https://issues.apache.org/jira/browse/EXTVAL-156
 Project: MyFaces Extensions Validator
  Issue Type: New Feature
Affects Versions: 2.0.8
 Environment: Following use case does not work:

  h:selectOneMenu ...
f:ajax event=change render=main 
listener=#{bean.bypassValidation} execute=@form /
  /h:selectOneMenu

where bean.bypassValidation is defined as:

@SkipConstraintValidation
public String bypassValidation() {
return success;
}

@SkipConstraintValidation is not evaluated in this case:  onchange-event forces 
all form fields to be validated.
Reporter: Alexey Shakov


Following use case does not work at the mnoment



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (MYFACES-3736) Occasional ResourceHandlerImpl Error trying to load resource jsf.js with library javax.faces

2013-11-20 Thread Sebastian Leske (JIRA)

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

Sebastian Leske commented on MYFACES-3736:
--

Looking at the source code, the problem is that _any_ IOException that occurs 
while reading the resource data and sending it over the network will trigger 
this message.

However, such an IOException can indicate many different problems, some 
serious, some not.
In particular, if the loading of the resource fails, there is typically a 
serious problem on the server (such as a damaged JAR file, or a filesystem 
error). If the sending fails, it is probably because of a network problem (like 
in this case), which is not an error, at least not for the server.

Ideally, the code should somehow distinguish these problems, for example by 
specifically checking for exceptions that indicate a network problem. I 
attached a patch which does that for the ClientAbortException from Tomcat. 
However, this check will only work for Tomcat - I could not find a general way 
to check.

If using container-specific checks is not acceptable, I believe the severity 
should be downgraded from SEVERE to WARNING. The exception may or may not 
indicate a real problem, so WARNING seems most appropriate, as it is (to cite 
the Javadocs) a message level indicating a potential problem.


 Occasional ResourceHandlerImpl Error trying to load resource jsf.js with 
 library javax.faces
 

 Key: MYFACES-3736
 URL: https://issues.apache.org/jira/browse/MYFACES-3736
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.1.10
 Environment: Windows Server 2008 R2
 Java 1.7.0_07
 Apache Tomcat 7.0.39
Reporter: Moshe Elisha

 From time to time I encountered the following error:
 ERROR http-apr-80-exec-2 ResourceHandlerImpl:425: Error trying to load 
 resource jsf.js with library javax.faces :null
 That is all I have. I can't tell what the exact request details or what is 
 the IOException.
 Can you please also make it possible to log the IOException stacktrace?
 Thanks.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Resolved] (TOBAGO-1276) Rendered attribute for rows in Sheet

2013-11-20 Thread Volker Weber (JIRA)

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

Volker Weber resolved TOBAGO-1276.
--

   Resolution: Fixed
Fix Version/s: (was: 2.0.0-alpha-1)
   2.0.0-alpha-3

 Rendered attribute for rows in Sheet
 

 Key: TOBAGO-1276
 URL: https://issues.apache.org/jira/browse/TOBAGO-1276
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core, Themes
Affects Versions: 2.0.0
Reporter: Volker Weber
Assignee: Volker Weber
 Fix For: 2.0.0-alpha-3, 2.0.0






--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (MYFACES-3817) ajax redirect/navigation loosing state information when changes are executed with redirect/navigation

2013-11-20 Thread Dora Rajappan (JIRA)

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

Dora Rajappan commented on MYFACES-3817:


In order not to loose state change for the redirect/navigation if you save 
state in execute cycle before overwrite the viewroot the server side state 
saving remains in good state but with  the client side state saving you simply 
cannot send two separate viewstate information. And that is the reason the 
state is not saved in execute. This conflict has to be addressed. Easiest 
solution is send a viewstate information after state saving and before 
overwriting viewroot and then save the new view and send the response.  For all 
responseComplete navigation cases in execute cycle the overwritten view can be 
saved in execute cycle to avoid ViewExpiredException. And this will not 
conflict the clientside and serverside state saving.

  ajax redirect/navigation loosing state information when changes are executed 
 with redirect/navigation
 --

 Key: MYFACES-3817
 URL: https://issues.apache.org/jira/browse/MYFACES-3817
 Project: MyFaces Core
  Issue Type: Bug
  Components: General
Affects Versions: 2.2.0-beta
 Environment: Windows 8
Reporter: Dora Rajappan
   Original Estimate: 0.8h
  Remaining Estimate: 0.8h

  Ajax redirect/navigation loosing state information when changes are executed 
 with redirect.  This can be addressed 
 #1 By putting a  flag in redirect and write it in response after save state 
 in rendering phase.
 #2 This behaviour true for redirect via navigation handler. In render phase 
 it goes to response complete and state saving is avoided. When its a redirect 
 not make the response complete true and flag it so that in rendering phase 
 state is saved.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (TOBAGO-1276) Rendered attribute for rows in Sheet

2013-11-20 Thread Hudson (JIRA)

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

Hudson commented on TOBAGO-1276:


SUCCESS: Integrated in tobago-trunk #1164 (See 
[https://builds.apache.org/job/tobago-trunk/1164/])
Revert: TOBAGO-1276 - Rendered attribute for rows in Sheet: fix selection 
(weber: http://svn.apache.org/viewvc/?view=revrev=1543882)
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/sheet.xhtml
TOBAGO-1276 - Rendered attribute for rows in Sheet: fix selection (weber: 
http://svn.apache.org/viewvc/?view=revrev=1543879)
* 
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/02-sheet/sheet.xhtml
TOBAGO-1276 - Rendered attribute for rows in Sheet: fix selection (weber: 
http://svn.apache.org/viewvc/?view=revrev=1543859)
* 
/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js


 Rendered attribute for rows in Sheet
 

 Key: TOBAGO-1276
 URL: https://issues.apache.org/jira/browse/TOBAGO-1276
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Core, Themes
Affects Versions: 2.0.0
Reporter: Volker Weber
Assignee: Volker Weber
 Fix For: 2.0.0-alpha-3, 2.0.0






--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (TRINIDAD-2408) TrPage._getTextContent is not working in IE10

2013-11-20 Thread Robert Schoch (JIRA)

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

Robert Schoch commented on TRINIDAD-2408:
-

The patch has not been applied to the 1.2.x branch. Is there a reason for this?

 TrPage._getTextContent is not working in IE10
 -

 Key: TRINIDAD-2408
 URL: https://issues.apache.org/jira/browse/TRINIDAD-2408
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 2.0.0-core, 2.1.0-core
 Environment: IE-10
Reporter: Paresh Kumar Acharya
Assignee: Scott O'Bryan
 Fix For: 2.0.2-core, 2.1.0-core

 Attachments: 17285610.patch, 17285610_updated.patch, IE10-Test3.zip


 The TrPage._getTextContent() API is not working on ie 10. On ie10 the 
 innerText attribute and the text attribute doesn't work on IE10. In IE 10 
 textContent attribute shoule be used.



--
This message was sent by Atlassian JIRA
(v6.1#6144)