[jira] [Commented] (MYFACES-4383) Stale website http://myfaces.apache.org/wiki

2021-04-08 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17317330#comment-17317330
 ] 

Mike Kienenberger commented on MYFACES-4383:


Whatever we do, we need to preserve the contents of

 

[https://cwiki.apache.org/confluence/display/MYFACES2/Home]

 

It's about the only documentation that we still have on inactive projects like 
Tomahawk, Sandbox, Commons, etc.

 

It was a real nightmare trying to upgrade a JSF 1.x project over the last month 
as all of the old documentation appears to be gone from our website.

 

> Stale website http://myfaces.apache.org/wiki
> 
>
> Key: MYFACES-4383
> URL: https://issues.apache.org/jira/browse/MYFACES-4383
> Project: MyFaces Core
>  Issue Type: Bug
>Reporter: Sebb
>Priority: Major
>
> The site http://myfaces.apache.org/wiki/ appears to be obsolete; most of its 
> links are broken.
> Is it still supposed to be available to the public?
> If so, the links ought to be fixed; if not, it should be removed to avoid 
> confusing anyone who happens upon it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (TOMAHAWK-1689) t:messages replaceIdWithLabel fails for components inside UIData elements.

2021-03-26 Thread Mike Kienenberger (Jira)


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

Mike Kienenberger resolved TOMAHAWK-1689.
-
Fix Version/s: 1.1.15-SNAPSHOT
   Resolution: Fixed

Changed createOutputLabelMap() to also add map entries for every iterated 
component id inside of a UIData component by using root.visitTree() in addition 
to the existing code which iterates over the root children list recursively.

 

Changed msgDetail and msgSummary to replace by the current clientId in addition 
to the non-indexed input id.

 

> t:messages replaceIdWithLabel fails for components inside UIData elements.
> --
>
> Key: TOMAHAWK-1689
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1689
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Message(s)
>Affects Versions: 1.1.15-SNAPSHOT
> Environment: Myfaces 2.2
>Reporter: Mike Kienenberger
>Assignee: Mike Kienenberger
>Priority: Major
> Fix For: 1.1.15-SNAPSHOT
>
>
> client ids of the form "uidata:0:inputComponent" are not replaced with their 
> label inside t:message and t:messages.
> The problem appears to be that the mapping between input components and their 
> labels ignores the row iteration, so for a given input element, only 
> "uidata:inputComponent" has a label.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (TOMAHAWK-1689) t:messages replaceIdWithLabel fails for components inside UIData elements.

2021-03-26 Thread Mike Kienenberger (Jira)
Mike Kienenberger created TOMAHAWK-1689:
---

 Summary: t:messages replaceIdWithLabel fails for components inside 
UIData elements.
 Key: TOMAHAWK-1689
 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1689
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: Message(s)
Affects Versions: 1.1.15-SNAPSHOT
 Environment: Myfaces 2.2
Reporter: Mike Kienenberger
Assignee: Mike Kienenberger


client ids of the form "uidata:0:inputComponent" are not replaced with their 
label inside t:message and t:messages.

The problem appears to be that the mapping between input components and their 
labels ignores the row iteration, so for a given input element, only 
"uidata:inputComponent" has a label.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (TOMAHAWK-1665) t:inputCalendar script resources are not rendered in jsp view

2021-03-26 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17309709#comment-17309709
 ] 

Mike Kienenberger commented on TOMAHAWK-1665:
-

Probably because you are using  instead of  and  instead of 
 after upgrading from JSF 1 to JSF 2.

> t:inputCalendar script resources are not rendered in jsp view 
> --
>
> Key: TOMAHAWK-1665
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1665
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Calendar
>Affects Versions: 1.1.14
> Environment: java 1.6, tomcat 6, myfaces 2.0.17
>Reporter: Marco Tietjen
>Priority: Major
>
> When a inputCalendar component is put in a jsp view, the necessary script 
> resources are not added to the page.
> <%@taglib uri="http://java.sun.com/jsf/core; prefix="f"%>
> <%@taglib uri="http://java.sun.com/jsf/html; prefix="h"%>
> <%@taglib uri="http://myfaces.apache.org/tomahawk; prefix="t"%>
> 
> 
>  tabindex="1"
>   renderAsPopup="true" popupButtonStyleClass="calbutton"
>   popupDateFormat="dd.MM."
>   id="myDate">
>   
>   
> 
> rendered: 
>  action="/facesbox/faces/inputCalendar.jsp" 
> enctype="application/x-www-form-urlencoded"> id="j_id_jsp_1122995321_1:myDate"> id="j_id_jsp_1122995321_1:myDate_input" name="j_id_jsp_1122995321_1:myDate" 
> type="text" tabindex="1" /> id="j_id_jsp_1122995321_1:myDateSpan"> type="text/javascript"> onclick="j_5Fid_5Fjsp_5F1122995321_5F1_3AmyDateCalendarVar._popUpCalendar(this,document.getElementById('j_id_jsp_1122995321_1:myDate_input'),'dd.MM.')"
>  value="..." class="calbutton" /> name="j_id_jsp_1122995321_1_SUBMIT" value="1" /> name="javax.faces.ViewState" id="javax.faces.ViewState" 
> value="4AUb/24XV4dHzZQXGf3iwsaf3cs9M57iRFQmkH0MkJsisi03" />



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (TOMAHAWK-1665) t:inputCalendar script resources are not rendered in jsp view

2021-03-26 Thread Mike Kienenberger (Jira)


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

Mike Kienenberger resolved TOMAHAWK-1665.
-
Resolution: Invalid

> t:inputCalendar script resources are not rendered in jsp view 
> --
>
> Key: TOMAHAWK-1665
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1665
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Calendar
>Affects Versions: 1.1.14
> Environment: java 1.6, tomcat 6, myfaces 2.0.17
>Reporter: Marco Tietjen
>Priority: Major
>
> When a inputCalendar component is put in a jsp view, the necessary script 
> resources are not added to the page.
> <%@taglib uri="http://java.sun.com/jsf/core; prefix="f"%>
> <%@taglib uri="http://java.sun.com/jsf/html; prefix="h"%>
> <%@taglib uri="http://myfaces.apache.org/tomahawk; prefix="t"%>
> 
> 
>  tabindex="1"
>   renderAsPopup="true" popupButtonStyleClass="calbutton"
>   popupDateFormat="dd.MM."
>   id="myDate">
>   
>   
> 
> rendered: 
>  action="/facesbox/faces/inputCalendar.jsp" 
> enctype="application/x-www-form-urlencoded"> id="j_id_jsp_1122995321_1:myDate"> id="j_id_jsp_1122995321_1:myDate_input" name="j_id_jsp_1122995321_1:myDate" 
> type="text" tabindex="1" /> id="j_id_jsp_1122995321_1:myDateSpan"> type="text/javascript"> onclick="j_5Fid_5Fjsp_5F1122995321_5F1_3AmyDateCalendarVar._popUpCalendar(this,document.getElementById('j_id_jsp_1122995321_1:myDate_input'),'dd.MM.')"
>  value="..." class="calbutton" /> name="j_id_jsp_1122995321_1_SUBMIT" value="1" /> name="javax.faces.ViewState" id="javax.faces.ViewState" 
> value="4AUb/24XV4dHzZQXGf3iwsaf3cs9M57iRFQmkH0MkJsisi03" />



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MYFACES-4383) Stale website http://myfaces.apache.org/wiki

2021-03-17 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17303704#comment-17303704
 ] 

Mike Kienenberger commented on MYFACES-4383:


I can provide a patch if someone provides it.

> Stale website http://myfaces.apache.org/wiki
> 
>
> Key: MYFACES-4383
> URL: https://issues.apache.org/jira/browse/MYFACES-4383
> Project: MyFaces Core
>  Issue Type: Bug
>Reporter: Sebb
>Priority: Major
>
> The site http://myfaces.apache.org/wiki/ appears to be obsolete; most of its 
> links are broken.
> Is it still supposed to be available to the public?
> If so, the links ought to be fixed; if not, it should be removed to avoid 
> confusing anyone who happens upon it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (TOMAHAWK-961) Deleting a row when t:dataList/t:dataTable preserveRowStates=true assigns submitted values to wrong row

2021-03-16 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/TOMAHAWK-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17302884#comment-17302884
 ] 

Mike Kienenberger commented on TOMAHAWK-961:


Unfortunately, the fix in TOMAHAWK-1552 t:dataList, t:dataTable ajax causes 
other problems.   Setting a rowKey fixes the delete problem, but breaks other 
functionality (other field values are lost, buttons stop working, warnings 
about non-submitted values), possibly because the derived client ids are too 
long or perhaps they duplicate.  In the end, I had to port my original 1.x fix 
to 2.x in order to have a working system after upgrading the application from 
JSF 1.x to JSF 2.x.  I still don't know if my fix is good enough for a general 
solution, but it works for the simple application that I have to maintain.

 

[^Tomahawk21-DataTableRowState.patch.txt]

> Deleting a row when t:dataList/t:dataTable preserveRowStates=true assigns 
> submitted values to wrong row
> ---
>
> Key: TOMAHAWK-961
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-961
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Data List, Extended Datatable
>Affects Versions: 1.1.7-SNAPSHOT
>Reporter: Mike Kienenberger
>Assignee: Leonardo Uribe
>Priority: Major
> Fix For: 1.1.11
>
> Attachments: Tomahawk21-DataTableRowState.patch.txt, 
> preserveRowStates-2007-04-12-00.txt
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MYFACES-4383) Stale website http://myfaces.apache.org/wiki

2021-03-16 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/MYFACES-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17302780#comment-17302780
 ] 

Mike Kienenberger commented on MYFACES-4383:


It should probably redirect to here, at least as a short term workaround

 

[https://cwiki.apache.org/confluence/display/MYFACES2/Home]

 

> Stale website http://myfaces.apache.org/wiki
> 
>
> Key: MYFACES-4383
> URL: https://issues.apache.org/jira/browse/MYFACES-4383
> Project: MyFaces Core
>  Issue Type: Bug
>Reporter: Sebb
>Priority: Major
>
> The site http://myfaces.apache.org/wiki/ appears to be obsolete; most of its 
> links are broken.
> Is it still supposed to be available to the public?
> If so, the links ought to be fixed; if not, it should be removed to avoid 
> confusing anyone who happens upon it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (TOMAHAWK-1688) default t:calendar popup button url is broken after 1.1.15-snapshot changes

2021-03-15 Thread Mike Kienenberger (Jira)


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

Mike Kienenberger resolved TOMAHAWK-1688.
-
Fix Version/s: 1.1.15-SNAPSHOT
   Resolution: Fixed

> default t:calendar popup button url is broken after 1.1.15-snapshot changes
> ---
>
> Key: TOMAHAWK-1688
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1688
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Calendar
>Affects Versions: 1.1.15-SNAPSHOT
>Reporter: Mike Kienenberger
>Assignee: Mike Kienenberger
>Priority: Major
> Fix For: 1.1.15-SNAPSHOT
>
>
> After upgrading from Tomahawk 1.1.14 to 1.1.15, the popup button calender url 
> changed to
> /faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/16155843/oam.custom.calendar.images/calendar.gif
>  
> However, this url will not resolve.   Since I was unable to determine why, I 
> switched the calendar url generation to the older style still used by the 
> tree2 component.
>  
> /faces/javax.faces.resource/calendar.gif?ln=oam.custom.calendar.images



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (TOMAHAWK-1688) default t:calendar popup button url is broken after 1.1.15-snapshot changes

2021-03-15 Thread Mike Kienenberger (Jira)
Mike Kienenberger created TOMAHAWK-1688:
---

 Summary: default t:calendar popup button url is broken after 
1.1.15-snapshot changes
 Key: TOMAHAWK-1688
 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1688
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: Calendar
Affects Versions: 1.1.15-SNAPSHOT
Reporter: Mike Kienenberger


After upgrading from Tomahawk 1.1.14 to 1.1.15, the popup button calender url 
changed to

/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/16155843/oam.custom.calendar.images/calendar.gif

 

However, this url will not resolve.   Since I was unable to determine why, I 
switched the calendar url generation to the older style still used by the tree2 
component.

 

/faces/javax.faces.resource/calendar.gif?ln=oam.custom.calendar.images



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (TOMAHAWK-1685) ExtensionFilter not working for JSF 2.2

2021-03-15 Thread Mike Kienenberger (Jira)


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

Mike Kienenberger resolved TOMAHAWK-1685.
-
Resolution: Invalid

> ExtensionFilter not working for JSF 2.2
> ---
>
> Key: TOMAHAWK-1685
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1685
> Project: MyFaces Tomahawk
>  Issue Type: Bug
>  Components: Calendar
>Affects Versions: 1.1.14
> Environment: JSF 2.2, Trinidad 2.2.1, Websphere Application Server 9
>Reporter: Rajat
>Priority: Blocker
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> org_apache_myfaces_PopupCalendar is not defined.
>  
> I've defined the ExtensionFilter - /faces/myExtensionResource/* and at 
> runtime it should load in source 
> /faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader
>  -> calendar.HtmlCalendarRenderer while it is pointing to javax.faces.resource
> The HTML is missing this:
> {{ href="/DERO_WEB/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/15238805/calendar.HtmlCalendarRenderer/WH/theme.css"
>  type="text/css" />  href="/DERO_WEB/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/15238805/calendar.HtmlCalendarRenderer/DB/theme.css"
>  type="text/css" />  src="/DERO_WEB/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/15238805/prototype.PrototypeResourceLoader/prototype.js">
>   src="/DERO_WEB/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/15238805/calendar.HtmlCalendarRenderer/date.js">
>  

[jira] [Comment Edited] (TOMAHAWK-1685) ExtensionFilter not working for JSF 2.2

2021-03-15 Thread Mike Kienenberger (Jira)


[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17301841#comment-17301841
 ] 

Mike Kienenberger edited comment on TOMAHAWK-1685 at 3/15/21, 6:21 PM:
---

I hit similar issues when upgrading a MyFaces 1.x project to Myfaces 2.x.

 

You need to be using  instead of  in order for the  and 
 tags to be inserted into the head section of your generated html.

You should also be using  and not  tags.

 

Also, you no longer need to use the extension filter so far as I can tell, and 
you should remove all references to it from your web.xml file.

 


was (Author: mkienenb):
I hit similar issues when upgrading a MyFaces 1.x project to Myfaces 2.x.

 

You need to be using  instead of  in order for the  and