[jira] Created: (TRINIDAD-1500) XMLMenu / Facelets / rendered property

2009-06-05 Thread Jim Dolinski (JIRA)
XMLMenu / Facelets / rendered property
--

 Key: TRINIDAD-1500
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1500
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Facelets
Affects Versions: 1.0.10-core
 Environment: Windows XP, JDK 5, Jboss 4.0.4, Facelets 1.1.14
Reporter: Jim Dolinski


I am using the XMLMenu Model component with facelets and when the rendered 
property is added to the commandNavigationItem the entire menu fails to 
display. The problem only occurs when using the rendered property and works 
without Facelets using JSP. I receive the following log in the console:

13:42:33,819 ERROR [STDERR] Jun 5, 2009 1:42:33 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:nobr does not match start name:span
13:42:33,819 ERROR [STDERR] Jun 5, 2009 1:42:33 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:span does not match start name:td
13:42:33,819 ERROR [STDERR] Jun 5, 2009 1:42:33 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:td does not match start name:tr
13:42:33,835 ERROR [STDERR] Jun 5, 2009 1:42:33 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:tr does not match start name:table
13:42:33,835 ERROR [STDERR] Jun 5, 2009 1:42:33 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:span does not match start name:div
13:42:34,068 ERROR [STDERR] Jun 5, 2009 1:42:34 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:div does not match start name:span
13:42:34,068 ERROR [STDERR] Jun 5, 2009 1:42:34 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:span does not match start name:form
13:42:34,068 ERROR [STDERR] Jun 5, 2009 1:42:34 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:form does not match start name:body
13:42:34,068 ERROR [STDERR] Jun 5, 2009 1:42:34 PM 
org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter endElement
SEVERE: Element End name:body does not match start name:html

My facelet config in web.xml is as follows:

context-param
 param-nameorg.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER/param-name
 param-valuecom.sun.facelets.FaceletViewHandler/param-value
/context-param
context-param
 param-namefacelets.VIEW_MAPPINGS/param-name
 param-value*.xhtml/param-value
/context-param
!-- Special Debug Output for Development --
context-param
 param-namefacelets.DEVELOPMENT/param-name
 param-valuetrue/param-value
/context-param

Menu model xml is:
itemNode id=menuTabs
itemNode id=search label=Project Search 
action=menu.menuprojectsearch focusViewId=/pages/projectSearch.xhtml
itemNode id=results label=Project Results 
focusViewId=/pages/projectSearchResults.xhtml/
itemNode id=edit label=Project Edit 
focusViewId=/pages/projectEdit.xhtml/
/itemNode
itemNode id=new label=New Project action=menu.menuprojectnew 
focusViewId=/pages/newProject.xhtml disabled=true/
itemNode id=dashboard label=Project Dashboard 
action=menu.menuprojectdash focusViewId=/pages/projectDash.xhtml/
itemNode id=reports label=Reports action=menu.menureports 
focusViewId=/pages/reports/reports.xhtml/
/itemNode
itemNode id=logout label=Logout action=logout 
icon=/images/logout.gif/
itemNode id=help label=Help icon=/images/globalhelp.gif 
destination=#{requestContext.helpSystem.frontPage}/

And the page snippet that creates the menu:

h:form id=form
tr:page id=page var=node value=#{menu}
f:facet name=nodeStamp
tr:commandNavigationItem id=cmdNavItem 
text=#{node.label}
action=#{node.doAction} 
icon=#{node.icon} immediate=true rendered=#{node.rendered}

/tr:commandNavigationItem
/f:facet


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-1404) URL param passing

2009-02-19 Thread Jim Dolinski (JIRA)
URL param passing
-

 Key: TRINIDAD-1404
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1404
 Project: MyFaces Trinidad
  Issue Type: Improvement
  Components: Components
Affects Versions: 1.0.9-core
 Environment: Windows XP
Reporter: Jim Dolinski
Priority: Minor


I am using URL param passing to access a jsf page. The following sun tags work 
within my application,

h:outputLink target=_blank 
value=#{facesContext.externalContext.requestContextPath}/faces/pages/project/engreport/viewfullengreport.jsp
f:param value=#{row.reportId} name=reportid/
h:outputText value=View2/
/h:outputLink

I get 
(http://localhost:8080/erosion/faces/pages/project/engreport/viewfullengreport.jsp?reportid=907),
 but when I switch to trinidad:

tr:goLink targetFrame=_blank text=View3 
destination=#{facesContext.externalContext.requestContextPath}/faces/pages/project
   /engreportviewfullengreport.jsp
f:param value=#{row.reportId} name=reportid/
/tr:goLink

The url does not contain the param value: 
http://localhost:8080/erosion/erosion/faces/pages/project/engreport/viewfullengreport.jsp

 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-1335) Chart Drill Down Listener

2008-12-05 Thread Jim Dolinski (JIRA)
Chart Drill Down Listener
-

 Key: TRINIDAD-1335
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1335
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 1.0.10-core
 Environment: Win XP  
Reporter: Jim Dolinski
Priority: Minor


I am trying to create a drill down listener on a chart and I am receiving the 
following error:

java.lang.IllegalArgumentException: Property chartDrillDownListener cannot be 
bound.

org.apache.myfaces.trinidad.bean.FacesBeanImpl.setValueBinding(FacesBeanImpl.java:123)

org.apache.myfaces.trinidad.component.UIXComponentBase.setValueBinding(UIXComponentBase.java:231)

com.sun.facelets.tag.jsf.ComponentRule$ValueBindingMetadata.applyMetadata(ComponentRule.java:90)
com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)

com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:144)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)

com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131)

com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:310)

com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:280)
com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)

com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)

com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)

com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)

com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144)

com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)

com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)

com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)

com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)

org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)

org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)

org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
  

[jira] Created: (TRINIDAD-1282) tr:page renderer for bread crumb cell

2008-10-28 Thread Jim Dolinski (JIRA)
tr:page renderer for bread crumb cell
---

 Key: TRINIDAD-1282
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1282
 Project: MyFaces Trinidad
  Issue Type: Improvement
  Components: Components
Affects Versions: 1.0.9-core
 Environment: Windows XP - Firefox 3  Internet Explorer 7
Reporter: Jim Dolinski


I am using the tr:page component to generate the layout of my webpages. The 
site navigation is using the nodestamp facet on the component. I have 
navigation on the tabs, menu bar, and side navigation. (See attached 
screenshot) The table cell where the breadcrumbs is located displays the path 
vertically centered and in a larger cell than required. I believe the problem 
is caused when I use the infosupplemental facet on the page. The renderer 
does not form fit the bread crumbs and thus leaving extra white space between 
the content and the breadcrumbs on the page. As the infosupplemental area takes 
more space the greater the gap between the bread crumbs and the content below. 
If I specify a height=1 on the cell that contains the bread crumbs the page's 
layout appears much better to the user. However, I don't know where to modify 
the code to add the height attribute to the rendered html to fix the problem or 
if there is a easier fix. Please advise. Thanks Jim 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-1280) tr:inputFile IE javascript error

2008-10-27 Thread Jim Dolinski (JIRA)
tr:inputFile IE javascript error
--

 Key: TRINIDAD-1280
 URL: https://issues.apache.org/jira/browse/TRINIDAD-1280
 Project: MyFaces Trinidad
  Issue Type: Bug
  Components: Components
Affects Versions: 1.0.9-core
 Environment: Windows XP, Internet Explorer 7
Reporter: Jim Dolinski
Priority: Minor


The tr:inputFile input box is not disabled on Internet Explorer. When a user 
enters text that does not resolve to a valid path to a file a javascript error 
occurs and the page is unable to process any actions until the text is removed. 
The problem does not occur on firefox, the input box is disabled forcing the 
user to enter a file path using the browse button.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TRINIDAD-837) This page contains both secure and nonsecure items' messages in IE on https pages

2007-11-23 Thread Jim Dolinski (JIRA)
This page contains both secure and nonsecure items' messages in IE on https 
pages
-

 Key: TRINIDAD-837
 URL: https://issues.apache.org/jira/browse/TRINIDAD-837
 Project: MyFaces Trinidad
  Issue Type: Improvement
  Components: Build
Affects Versions: 1.0.5-core
 Environment: windows xp, internet explorer
Reporter: Jim Dolinski


I really like the new skinning for the tree components, tree/treetable, thanks. 
However, I have noticed that I receive the dialog box This page contains both 
secure and nonsecure items only when expanding the tree on my application when 
using ssl. The previous versions did not display this message. I know this is 
still an unreleased version but I wanted to let you know what I have noticed 
testing 1.0.5 core. Thanks, Jim

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.