Re: [vote] release tobago 1.0.9

2006-12-18 Thread Matthias Wessendorf

+1

On 12/18/06, Martin Marinschek [EMAIL PROTECTED] wrote:

+1

regards,

Martin

On 12/18/06, Dennis Byrne [EMAIL PROTECTED] wrote:
 +1

 This release contains over 70 changes.

 Which explains why my inbox has had so many commit messages in it lately.

 Dennis Byrne

 -Original Message-
 From: Bernd Bohmann [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 17, 2006 04:30 PM
 To: 'MyFaces Development'
 Subject: [vote] release tobago 1.0.9
 
 Hello,
 
 I would like to release tobago 1.0.9,
 

 For a detail list please consult the release notes:
 
 
http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273styleName=Htmlversion=12312042
 
 The latest 1.0.9-SNAPSHOT is available in the nightly build dir and
 revision number of the release is 487980 and tagged as tobago-1.0.9.
 
 http://people.apache.org/builds/myfaces/nightly/
 
 The Vote is open for 72h.
 
 Regards
 
 Bernd
 





--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


Re: [vote] release tobago 1.0.9

2006-12-18 Thread Udo Schnurpfeil

I've a problem with the Annotations: Converter, Facet and Validator.
There should be Retension=SOURCE and Target=TYPE as I've commited 
recently to the trunk.


with this fix all my stuff is working, so:

+1

Regards

Udo

Bernd Bohmann schrieb:

Hello,

I would like to release tobago 1.0.9,

This release contains over 70 changes.
For a detail list please consult the release notes:

http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273styleName=Htmlversion=12312042 



The latest 1.0.9-SNAPSHOT is available in the nightly build dir and 
revision number of the release is 487980 and tagged as tobago-1.0.9.


http://people.apache.org/builds/myfaces/nightly/

The Vote is open for 72h.

Regards

Bernd



[jira] Created: (TOBAGO-218) tobago throws an exception after validation form in not English locale

2006-12-18 Thread Yuri Ivanov (JIRA)
tobago  throws an exception after validation form in not English locale 


 Key: TOBAGO-218
 URL: http://issues.apache.org/jira/browse/TOBAGO-218
 Project: MyFaces Tobago
  Issue Type: Bug
Affects Versions: 1.0.8
 Environment: tobago 1.0.8
facelets 1.1.11
validation the form fields
Reporter: Yuri Ivanov


when Tobago validates the form fields it tries to write title attribute in 
not English locale and throws an exception. 

Facelets calls 
renderKit.createResponseWriter(NullWriter.Instance, contentType, encoding); 
with null encoding, and then HtmlWriterUtil.writeEncodedValue calls 
TobagoResponseWriter.write 

I think TobagoRenderKit should validate encoding and set it to UTF-8 if it's 
null.
  

full stack trace.
java.lang.IllegalStateException: Cannot write attribute when start-tag not 
open. name = 'style'value = 'null'property = 'style' (InRenderer.java:105)
at 
org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeAttribute(TobagoResponseWriter.java:361)
at 
org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeAttribute(TobagoResponseWriter.java:314)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.InRenderer.encodeEndTobago(InRenderer.java:105)
at 
org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(RendererBase.java:108)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:90)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(GridLayoutRenderer.java:286)
at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:72)
at 
org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(UIGridLayout.java:261)
at 
org.apache.myfaces.tobago.component.UIPanel.encodeChildren(UIPanel.java:44)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:82)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(GridLayoutRenderer.java:286)
at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:72)
at 
org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(UIGridLayout.java:261)
at 
org.apache.myfaces.tobago.component.UIPanel.encodeChildren(UIPanel.java:44)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:82)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(DefaultLayoutRenderer.java:55)
at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:72)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encodeChildren(RenderUtil.java:61)
at 
org.apache.myfaces.tobago.renderkit.html.speyside.standard.tag.TabGroupRenderer.encodeContent(TabGroupRenderer.java:68)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.renderTabGroupView(TabGroupRenderer.java:294)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.TabGroupRenderer.encodeEndTobago(TabGroupRenderer.java:152)
at 
org.apache.myfaces.tobago.renderkit.RendererBase.encodeEnd(RendererBase.java:108)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at 
org.apache.myfaces.tobago.component.UITabGroup.encodeEnd(UITabGroup.java:90)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:90)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(DefaultLayoutRenderer.java:55)
at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:72)
at 
org.apache.myfaces.tobago.component.UIPanel.encodeChildren(UIPanel.java:44)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:82)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(GridLayoutRenderer.java:286)
at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:72)
at 
org.apache.myfaces.tobago.component.UIGridLayout.encodeChildrenOfComponent(UIGridLayout.java:261)
at 
org.apache.myfaces.tobago.component.UIPanel.encodeChildren(UIPanel.java:44)
at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:82)
at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.encodeChildrenOfComponent(GridLayoutRenderer.java:286)
at 

Re: [vote] release tobago 1.0.9

2006-12-18 Thread Volker Weber

My Applications seems to work (but i have no time for intensiv testing today).
so my
+1 (non binding)

Regards,
 Volker

2006/12/17, Bernd Bohmann [EMAIL PROTECTED]:

Hello,

I would like to release tobago 1.0.9,

This release contains over 70 changes.
For a detail list please consult the release notes:

http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273styleName=Htmlversion=12312042

The latest 1.0.9-SNAPSHOT is available in the nightly build dir and
revision number of the release is 487980 and tagged as tobago-1.0.9.

http://people.apache.org/builds/myfaces/nightly/

The Vote is open for 72h.

Regards

Bernd



MyFaces 1.1.5 Release Status?

2006-12-18 Thread Paul Spencer

This is yet another release status request.

Current open issue with a Fix Version = 1.1.5-SNAPSHOT
 MYFACES-1372h:messages not shown (- not working)
** Per an 8-Dec-2006 Posting from Mike Kienenberger:
MYFACES-1372h:messages not shown (- not working) is important,
but it's been broken for 18 months.   It's not a regression as far as
I know.

 MYFACES-1409incorrect behavior after RESTORE_VIEW responseComplete

 MYFACES-1411Lifecycle phase executions repetitions
** Per an 8-Dec-2006 Posting from Mike Kienenberger:
MYFACES-1411 has I.P. issues.


 MYFACES-1506Translated messages in Messages.properties files
** Per an 8-Dec-2006 Posting from Mike Kienenberger:
MYFACES-1506 is an improvement.   It can be moved to 1.1.6.  Actually,
this is a Tomahawk issue, not a MyFaces one.  Should be moved.  Not
sure how Messages.properties interacts with Tomahawk, though.


None of the above issue are marked as blockers.  Are any of the actually
blockers to the 1.1.5 release?


What is holding up this release?

Paul Spencer



[jira] Created: (TOMAHAWK-822) ID attribute on t:navigationMenuItem is ignored

2006-12-18 Thread Richard J. Barbalace (JIRA)
ID attribute on t:navigationMenuItem is ignored
---

 Key: TOMAHAWK-822
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-822
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: NavigationMenuItem
Affects Versions: 1.1.3
Reporter: Richard J. Barbalace


The id attribute can be specified in the t:navigationMenuItem tag, but this 
does not result in an id attribute on any generated HTML tags.  This means 
programmatically referencing menu items in JSCookMenu is impossible (say, for 
testing  purposes or automated navigation).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MYFACES-1511) CLONE -oamSetHiddenInput function missing if ...

2006-12-18 Thread Sachin Satija (JIRA)
CLONE -oamSetHiddenInput function missing if ...


 Key: MYFACES-1511
 URL: http://issues.apache.org/jira/browse/MYFACES-1511
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 1.1.5-SNAPSHOT
 Environment: latest myfaces svn head
Reporter: Sachin Satija


a) ... there is only a commandButton on the form (not commandLinks)
... which is not necessarily a problem as normally such a form do not require 
these functions, BUT when you have enabled the auto_scroll feature things 
getting worse. Then something like
oamSetHiddenInput('_idJsp29','autoScroll',getScrolling())
will be rendered and then the oamSetHiddenInput function is missing.

b) ... you are using the adf form
in HtmlLinkRendererBase you'll see that renderFormSubmitScriptIfNecessary will 
not be called if the link is used within an adf form, then again the autoScroll 
feature is broken and a javascript error will be shown.

Would be great if someone else has some time to fix it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (TOMAHAWK-823) ExtensionsFilter not working

2006-12-18 Thread Gabriel Enriquez (JIRA)
ExtensionsFilter not working


 Key: TOMAHAWK-823
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-823
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: JS Cook Menu
Affects Versions: 1.1.3
 Environment: Application server: Apache Tomcat/5.5.16, WinXP 
Professional
Reporter: Gabriel Enriquez


I've been trying to use the jscookMenu as following,

h:form
t:jscookMenu layout=hbr theme=ThemeOffice
%/* Availaible jscookMenu themes: ThemeIE, 
ThemeMiniBlack,ThemeOffice, ThemePanel
 Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr,vbl, 
vur, vul
 respect to Heng Yuan 
http://www.cs.ucla.edu/~heng/JSCookMenu
*/%
t:navigationMenuItems value=#{appMenuBean.navItems} 
/
/t:jscookMenu
/h:form

then getting the next exception:
java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF
mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/to
mahawk/extensionsFilter.html
...

I already checked my web.xml to make sure is as the documentation (i removed 
others for brevity):
...
context-param
param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name
param-valuetrue/param-value
/context-param
...

filter
filter-nameMyFacesExtensionsFilter/filter-name

!--filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class--

filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
init-param
param-namemaxFileSize/param-name
param-value20m/param-value
descriptionSet the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
/description
/init-param
/filter
...

filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
url-pattern/faces/myFacesExtensionResource/*/url-pattern
/filter-mapping
 
filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
servlet-nameFaces Servlet/servlet-name
/filter-mapping
...
servlet
servlet-nameFaces Servlet/servlet-name
servlet-classjavax.faces.webapp.FacesServlet/servlet-class
load-on-startup1/load-on-startup
/servlet

servlet-mapping
servlet-nameFaces Servlet/servlet-name
url-pattern*.jsf/url-pattern
/servlet-mapping
...


I have tried both:
org.apache.myfaces.webapp.filter.ExtensionsFilter   AND
org.apache.myfaces.component.html.util.ExtensionsFilter
BUT either working.

Also,
with this context parameter:
org.apache.myfaces.CHECK_EXTENSIONS_FILTER set to true, i got the exception 
previously mentioned.
If I set to false, I get a JS error on the client.

I am using:
myfaces-core-1.1.4
tomahawk-1.1.3
myfaces-impl-1.1.4.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (TOBAGO-220) Add complete facet for a UICommand to tc:progress

2006-12-18 Thread Bernd Bohmann (JIRA)
Add complete facet for a UICommand to tc:progress
-

 Key: TOBAGO-220
 URL: http://issues.apache.org/jira/browse/TOBAGO-220
 Project: MyFaces Tobago
  Issue Type: Improvement
  Components: Themes
Affects Versions: 1.0.9
Reporter: Bernd Bohmann
 Assigned To: Bernd Bohmann
Priority: Minor
 Fix For: 1.0.10


It should be possible to invoke a action if the progress is complete:

tc:progress value=#{progress.progress} 
f:facet name=complete
  tc:command action=#{progress.reset} /
/f:facet
  /tc:progress

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [vote] release tobago 1.0.9

2006-12-18 Thread Bernd Bohmann

Here is my +1

Regards

Bernd

Bernd Bohmann wrote:

Hello,

I would like to release tobago 1.0.9,

This release contains over 70 changes.
For a detail list please consult the release notes:

http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273styleName=Htmlversion=12312042 



The latest 1.0.9-SNAPSHOT is available in the nightly build dir and 
revision number of the release is 487980 and tagged as tobago-1.0.9.


http://people.apache.org/builds/myfaces/nightly/

The Vote is open for 72h.

Regards

Bernd



[jira] Created: (TOBAGO-221) tc:sheet - tc:column - tc:out does not support f:convertNumber / convertDateTime

2006-12-18 Thread Rainer Rohloff (JIRA)
tc:sheet - tc:column - tc:out does not support f:convertNumber / 
convertDateTime
--

 Key: TOBAGO-221
 URL: http://issues.apache.org/jira/browse/TOBAGO-221
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core
Affects Versions: 1.0.9-RC1
Reporter: Rainer Rohloff


assuming following jsp-fragment

tc:sheet 
value=#{table22ListModel} var=entry

state=#{table2SheetState} columns=1*;1*;1*;1*;1*;1*;1*
rows=5 first=0 
showDirectLinks=center showPageRange=right
showRowRange=left 
selectable=single

tc:column label=Date 
sortable=true
tc:out 
value=#{entry.date}

f:convertDateTime pattern=/MM/dd/
/tc:out
/tc:column
tc:column 
label=Double sortable=true
tc:out 
value=#{entry.double}

f:convertNumber minFractionDigits=2 maxFractionDigits=3 /
/tc:out
/tc:column
 ..

an Exception occures

javax.faces.convert.ConverterException: java.lang.IllegalArgumentException: 
Cannot format given Object as a Date

javax.faces.convert.DateTimeConverter.getAsString(DateTimeConverter.java:369)

org.apache.myfaces.tobago.component.ComponentUtil.currentValue(ComponentUtil.java:420)

org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.OutRenderer.encodeEnd(OutRenderer.java:44)

javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)

org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:84)

org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.renderSheet(SheetRenderer.java:394)

org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.encodeEnd(SheetRenderer.java:132)

javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
org.apache.myfaces.tobago.component.UIData.encodeEnd(UIData.java:111)




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (TOBAGO-221) tc:sheet - tc:column - tc:out does not support f:convertNumber / convertDateTime

2006-12-18 Thread Bernd Bohmann (JIRA)
[ 
http://issues.apache.org/jira/browse/TOBAGO-221?page=comments#action_12459474 ] 

Bernd Bohmann commented on TOBAGO-221:
--

Just testing it in a sheet.
I didn't found any problem

See commit

http://svn.apache.org/viewvc?view=revrevision=488431

Which jsf implementation is used?

 tc:sheet - tc:column - tc:out does not support f:convertNumber / 
 convertDateTime
 --

 Key: TOBAGO-221
 URL: http://issues.apache.org/jira/browse/TOBAGO-221
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core
Affects Versions: 1.0.9-RC1
Reporter: Rainer Rohloff

 assuming following jsp-fragment
   tc:sheet 
 value=#{table22ListModel} var=entry
   
 state=#{table2SheetState} columns=1*;1*;1*;1*;1*;1*;1*
   rows=5 first=0 
 showDirectLinks=center showPageRange=right
   showRowRange=left 
 selectable=single
   tc:column label=Date 
 sortable=true
   tc:out 
 value=#{entry.date}
   
 f:convertDateTime pattern=/MM/dd/
   /tc:out
   /tc:column
   tc:column 
 label=Double sortable=true
   tc:out 
 value=#{entry.double}
   
 f:convertNumber minFractionDigits=2 maxFractionDigits=3 /
   /tc:out
   /tc:column
  ..
 an Exception occures
 javax.faces.convert.ConverterException: java.lang.IllegalArgumentException: 
 Cannot format given Object as a Date
   
 javax.faces.convert.DateTimeConverter.getAsString(DateTimeConverter.java:369)
   
 org.apache.myfaces.tobago.component.ComponentUtil.currentValue(ComponentUtil.java:420)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.OutRenderer.encodeEnd(OutRenderer.java:44)
   
 javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
   
 org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:84)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.renderSheet(SheetRenderer.java:394)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.encodeEnd(SheetRenderer.java:132)
   
 javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
   org.apache.myfaces.tobago.component.UIData.encodeEnd(UIData.java:111)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MYFACES-1512) Validators are not called for blank input fields

2006-12-18 Thread Alex Savitsky (JIRA)
Validators are not called for blank input fields


 Key: MYFACES-1512
 URL: http://issues.apache.org/jira/browse/MYFACES-1512
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 1.1.4
Reporter: Alex Savitsky


When a validator is attached to an input field, using the backing bean 
validator method:

h:inputText id=accountNumber value=#{unitBean.entity.accountNumber} 
validator=#{unitBean.validateAccountNumber} /

the validator is not called if the field is blank. This limits the usefulness 
of validators, making it impossible to implement validation rules for fields 
that are only required under certian conditions (in my case the account # was 
only required for certain selections from another control in the form)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (TOMAHAWK-823) ExtensionsFilter not working

2006-12-18 Thread Gary VanMatre (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-823?page=comments#action_12459500 
] 

Gary VanMatre commented on TOMAHAWK-823:


I've seen this error on a jsp forward from a welcome page.  

jsp:forward page=/index.jsf/

I added the dispatcher (Servlet 2.4) to the filter definition so that the 
filter would be invoked on a forward.   It seems to fix my problem but I didn't 
dig into what the filter was unhappy about.

You might try:

filter-mapping
   filter-nameextensionsFilter/filter-name
   url-pattern*.jsf/url-pattern
   dispatcherREQUEST/dispatcher
   dispatcherFORWARD/dispatcher
/filter-mapping
filter-mapping
   filter-nameextensionsFilter/filter-name
   url-pattern/faces/*/url-pattern
   dispatcherREQUEST/dispatcher
dispatcherFORWARD/dispatcher
/filter-mapping


 ExtensionsFilter not working
 

 Key: TOMAHAWK-823
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-823
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: JS Cook Menu
Affects Versions: 1.1.3
 Environment: Application server: Apache Tomcat/5.5.16, WinXP 
 Professional
Reporter: Gabriel Enriquez

 I've been trying to use the jscookMenu as following,
   h:form
   t:jscookMenu layout=hbr theme=ThemeOffice
   %/* Availaible jscookMenu themes: ThemeIE, 
 ThemeMiniBlack,ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr,vbl, 
 vur, vul
respect to Heng Yuan 
 http://www.cs.ucla.edu/~heng/JSCookMenu
   */%
   t:navigationMenuItems value=#{appMenuBean.navItems} 
 /
   /t:jscookMenu
   /h:form
 then getting the next exception:
 java.lang.IllegalStateException: ExtensionsFilter not correctly configured. 
 JSF
 mapping missing. JSF pages not covered. Please see: 
 http://myfaces.apache.org/to
 mahawk/extensionsFilter.html
 ...
 I already checked my web.xml to make sure is as the documentation (i removed 
 others for brevity):
 ...
   context-param
 param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name
 param-valuetrue/param-value
 /context-param
 ...
 filter
   filter-nameMyFacesExtensionsFilter/filter-name
   
 !--filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class--
   
 filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
   init-param
   param-namemaxFileSize/param-name
   param-value20m/param-value
   descriptionSet the size limit for uploaded files.
   Format: 10 - 10 bytes
   10k - 10 KB
   10m - 10 MB
   1g - 1 GB
   /description
   /init-param
   /filter
 ...
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   url-pattern/faces/myFacesExtensionResource/*/url-pattern
   /filter-mapping
  
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   servlet-nameFaces Servlet/servlet-name
   /filter-mapping
 ...
   servlet
   servlet-nameFaces Servlet/servlet-name
   servlet-classjavax.faces.webapp.FacesServlet/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
   servlet-nameFaces Servlet/servlet-name
   url-pattern*.jsf/url-pattern
   /servlet-mapping
 ...
 I have tried both:
 org.apache.myfaces.webapp.filter.ExtensionsFilter   AND
 org.apache.myfaces.component.html.util.ExtensionsFilter
 BUT either working.
 Also,
 with this context parameter:
 org.apache.myfaces.CHECK_EXTENSIONS_FILTER set to true, i got the exception 
 previously mentioned.
 If I set to false, I get a JS error on the client.
 I am using:
 myfaces-core-1.1.4
 tomahawk-1.1.3
 myfaces-impl-1.1.4.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (TOMAHAWK-823) ExtensionsFilter not working

2006-12-18 Thread Gabriel Enriquez (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-823?page=comments#action_12459515 
] 

Gabriel Enriquez commented on TOMAHAWK-823:
---

Hey Gary,

Thanks for the tip. It seems that there is some progress on it.

The exception is not thrown anymore with that. Thanks again!

But still not able to render the menu properly;
not it appears a js error:
Error: cmThemeOffice is not defined

And looking at the cliend code, I do not see any .js resource for that variable.

Do you have any idea what is going on?

Thanks again,
Gabriel




 ExtensionsFilter not working
 

 Key: TOMAHAWK-823
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-823
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: JS Cook Menu
Affects Versions: 1.1.3
 Environment: Application server: Apache Tomcat/5.5.16, WinXP 
 Professional
Reporter: Gabriel Enriquez

 I've been trying to use the jscookMenu as following,
   h:form
   t:jscookMenu layout=hbr theme=ThemeOffice
   %/* Availaible jscookMenu themes: ThemeIE, 
 ThemeMiniBlack,ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr,vbl, 
 vur, vul
respect to Heng Yuan 
 http://www.cs.ucla.edu/~heng/JSCookMenu
   */%
   t:navigationMenuItems value=#{appMenuBean.navItems} 
 /
   /t:jscookMenu
   /h:form
 then getting the next exception:
 java.lang.IllegalStateException: ExtensionsFilter not correctly configured. 
 JSF
 mapping missing. JSF pages not covered. Please see: 
 http://myfaces.apache.org/to
 mahawk/extensionsFilter.html
 ...
 I already checked my web.xml to make sure is as the documentation (i removed 
 others for brevity):
 ...
   context-param
 param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name
 param-valuetrue/param-value
 /context-param
 ...
 filter
   filter-nameMyFacesExtensionsFilter/filter-name
   
 !--filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class--
   
 filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
   init-param
   param-namemaxFileSize/param-name
   param-value20m/param-value
   descriptionSet the size limit for uploaded files.
   Format: 10 - 10 bytes
   10k - 10 KB
   10m - 10 MB
   1g - 1 GB
   /description
   /init-param
   /filter
 ...
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   url-pattern/faces/myFacesExtensionResource/*/url-pattern
   /filter-mapping
  
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   servlet-nameFaces Servlet/servlet-name
   /filter-mapping
 ...
   servlet
   servlet-nameFaces Servlet/servlet-name
   servlet-classjavax.faces.webapp.FacesServlet/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
   servlet-nameFaces Servlet/servlet-name
   url-pattern*.jsf/url-pattern
   /servlet-mapping
 ...
 I have tried both:
 org.apache.myfaces.webapp.filter.ExtensionsFilter   AND
 org.apache.myfaces.component.html.util.ExtensionsFilter
 BUT either working.
 Also,
 with this context parameter:
 org.apache.myfaces.CHECK_EXTENSIONS_FILTER set to true, i got the exception 
 previously mentioned.
 If I set to false, I get a JS error on the client.
 I am using:
 myfaces-core-1.1.4
 tomahawk-1.1.3
 myfaces-impl-1.1.4.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (TOMAHAWK-823) ExtensionsFilter not working

2006-12-18 Thread Gary VanMatre (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-823?page=comments#action_12459532 
] 

Gary VanMatre commented on TOMAHAWK-823:


The filter extension has two modes.  

1) The components that require script call a utility that ends up queuing up 
the javascript. The filter intercepts the response and injects the javascript 
in the document header.

This task, adding script to the header, is associated with the first filter 
mapping.  The mapping must match the faces servlet mapping.  So if you are 
using *.faces, I believe you will need the same mapping for the filter 
extension.

2) The second filter mapping pulls down the javascript to the browser.  The 
javascript added to the header as a src that the second filter intercepts 
/faces/*.  The document header should contain common script that is used by 
the script fragments rendered by the components.

script type=text/javascript 
src=/shale-clay-mailreader/faces/extensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11664983/navmenu.jscookmenu.HtmlJSCookMenuRenderer/JSCookMenu.js;jsessionid=6E269EEF72A2EFF9CBBA46C67E1C5827

You might check your faces servlet mapping and make sure the filter matches.  
I'd also check the document header to see if you have the javascript.

Are you using JSP or Facelets?


 ExtensionsFilter not working
 

 Key: TOMAHAWK-823
 URL: http://issues.apache.org/jira/browse/TOMAHAWK-823
 Project: MyFaces Tomahawk
  Issue Type: Bug
  Components: JS Cook Menu
Affects Versions: 1.1.3
 Environment: Application server: Apache Tomcat/5.5.16, WinXP 
 Professional
Reporter: Gabriel Enriquez

 I've been trying to use the jscookMenu as following,
   h:form
   t:jscookMenu layout=hbr theme=ThemeOffice
   %/* Availaible jscookMenu themes: ThemeIE, 
 ThemeMiniBlack,ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr,vbl, 
 vur, vul
respect to Heng Yuan 
 http://www.cs.ucla.edu/~heng/JSCookMenu
   */%
   t:navigationMenuItems value=#{appMenuBean.navItems} 
 /
   /t:jscookMenu
   /h:form
 then getting the next exception:
 java.lang.IllegalStateException: ExtensionsFilter not correctly configured. 
 JSF
 mapping missing. JSF pages not covered. Please see: 
 http://myfaces.apache.org/to
 mahawk/extensionsFilter.html
 ...
 I already checked my web.xml to make sure is as the documentation (i removed 
 others for brevity):
 ...
   context-param
 param-nameorg.apache.myfaces.CHECK_EXTENSIONS_FILTER/param-name
 param-valuetrue/param-value
 /context-param
 ...
 filter
   filter-nameMyFacesExtensionsFilter/filter-name
   
 !--filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class--
   
 filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
   init-param
   param-namemaxFileSize/param-name
   param-value20m/param-value
   descriptionSet the size limit for uploaded files.
   Format: 10 - 10 bytes
   10k - 10 KB
   10m - 10 MB
   1g - 1 GB
   /description
   /init-param
   /filter
 ...
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   url-pattern/faces/myFacesExtensionResource/*/url-pattern
   /filter-mapping
  
   filter-mapping
   filter-nameMyFacesExtensionsFilter/filter-name
   servlet-nameFaces Servlet/servlet-name
   /filter-mapping
 ...
   servlet
   servlet-nameFaces Servlet/servlet-name
   servlet-classjavax.faces.webapp.FacesServlet/servlet-class
   load-on-startup1/load-on-startup
   /servlet
   servlet-mapping
   servlet-nameFaces Servlet/servlet-name
   url-pattern*.jsf/url-pattern
   /servlet-mapping
 ...
 I have tried both:
 org.apache.myfaces.webapp.filter.ExtensionsFilter   AND
 org.apache.myfaces.component.html.util.ExtensionsFilter
 BUT either working.
 Also,
 with this context parameter:
 org.apache.myfaces.CHECK_EXTENSIONS_FILTER set to true, i got the exception 
 previously mentioned.
 If I set to false, I get a JS error on the client.
 I am using:
 myfaces-core-1.1.4
 tomahawk-1.1.3
 myfaces-impl-1.1.4.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: [vote] release tobago 1.0.9

2006-12-18 Thread Grant Smith

+1


On 12/18/06, Bernd Bohmann [EMAIL PROTECTED] wrote:


Here is my +1

Regards

Bernd

Bernd Bohmann wrote:
 Hello,

 I would like to release tobago 1.0.9,

 This release contains over 70 changes.
 For a detail list please consult the release notes:


http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310273styleName=Htmlversion=12312042


 The latest 1.0.9-SNAPSHOT is available in the nightly build dir and
 revision number of the release is 487980 and tagged as tobago-1.0.9.

 http://people.apache.org/builds/myfaces/nightly/

 The Vote is open for 72h.

 Regards

 Bernd






--
Grant Smith


[jira] Commented: (TOBAGO-213) Combobox elements rendererd incorrectly within sheet

2006-12-18 Thread Carsten Dimmek (JIRA)
[ 
http://issues.apache.org/jira/browse/TOBAGO-213?page=comments#action_12459561 ] 

Carsten Dimmek commented on TOBAGO-213:
---

I have checked it with Firefox and Opera. It seems that you're right.

 Combobox elements rendererd incorrectly within sheet
 

 Key: TOBAGO-213
 URL: http://issues.apache.org/jira/browse/TOBAGO-213
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core
Affects Versions: 1.0.9
Reporter: Carsten Dimmek
 Assigned To: Volker Weber
Priority: Minor
 Attachments: bug_sheet.JPG


 When you can scroll a sheet, where combobox elements are used, the combobox 
 is drawn over the sheet header

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (TOBAGO-221) tc:sheet - tc:column - tc:out does not support f:convertNumber / convertDateTime

2006-12-18 Thread Rainer Rohloff (JIRA)
[ 
http://issues.apache.org/jira/browse/TOBAGO-221?page=comments#action_12459562 ] 

Rainer Rohloff commented on TOBAGO-221:
---

When using a special Converter no exception occures.

tc:column label=Decimal-1 align=right
tc:out value=#{entry.decimal} 
converter=de.nordlbit.TableDecimalConverter /
/tc:column

It seems to be a problem of a nested f:convertNumber Tag.


 tc:sheet - tc:column - tc:out does not support f:convertNumber / 
 convertDateTime
 --

 Key: TOBAGO-221
 URL: http://issues.apache.org/jira/browse/TOBAGO-221
 Project: MyFaces Tobago
  Issue Type: Bug
  Components: Core
Affects Versions: 1.0.9-RC1
Reporter: Rainer Rohloff

 assuming following jsp-fragment
   tc:sheet 
 value=#{table22ListModel} var=entry
   
 state=#{table2SheetState} columns=1*;1*;1*;1*;1*;1*;1*
   rows=5 first=0 
 showDirectLinks=center showPageRange=right
   showRowRange=left 
 selectable=single
   tc:column label=Date 
 sortable=true
   tc:out 
 value=#{entry.date}
   
 f:convertDateTime pattern=/MM/dd/
   /tc:out
   /tc:column
   tc:column 
 label=Double sortable=true
   tc:out 
 value=#{entry.double}
   
 f:convertNumber minFractionDigits=2 maxFractionDigits=3 /
   /tc:out
   /tc:column
  ..
 an Exception occures
 javax.faces.convert.ConverterException: java.lang.IllegalArgumentException: 
 Cannot format given Object as a Date
   
 javax.faces.convert.DateTimeConverter.getAsString(DateTimeConverter.java:369)
   
 org.apache.myfaces.tobago.component.ComponentUtil.currentValue(ComponentUtil.java:420)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.OutRenderer.encodeEnd(OutRenderer.java:44)
   
 javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
   
 org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:84)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.renderSheet(SheetRenderer.java:394)
   
 org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.SheetRenderer.encodeEnd(SheetRenderer.java:132)
   
 javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:740)
   org.apache.myfaces.tobago.component.UIData.encodeEnd(UIData.java:111)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira