Great this is good to know... I'll document this.
Ken
Todd Patrick wrote:
> Got it, I needed the *following order* in Tomcat 5.0.28:
>
> -Dcatalina.base="C:\javaworkspace\.metadata\.plugins\org.eclipse.wst.ser
> ver.core\tmp0"
> -Dcatalina.home="C:\Tomcat 5.0"
> -Djava.endorsed.dirs="C:\Tomcat 5.0\common\endorsed"
> -Dcom.sun.jsftemplating.DEBUG=true
>
> Now I see the following below.
>
> Thanks,
>
> --Todd
>
> createList
> com.sun.jsftemplating.handlers.UtilHandlers.createList
> INPUT> size(required) class java.lang.Integer
>
> OUTPUT> result interface java.util.List
>
> dec
> com.sun.jsftemplating.handlers.UtilHandlers.dec
> INPUT> number(required) class java.lang.Integer
>
> OUTPUT> value class java.lang.Integer
>
> dumpApplicationAttributes
> com.sun.jsftemplating.handlers.ScopeHandlers.dumpApplicationAttributes
> OUTPUT> value class java.lang.String
>
> dumpAttributeMap
> com.sun.jsftemplating.handlers.UtilHandlers.dumpAttributeMap
> INPUT> component class
> javax.faces.component.UIComponent
> dumpAttributes
> com.sun.jsftemplating.handlers.ScopeHandlers.dumpAttributes
> OUTPUT> value class java.lang.String
>
> dumpPageSessionAttributes
> com.sun.jsftemplating.handlers.ScopeHandlers.dumpPageSessionAttributes
> INPUT> page class
> javax.faces.component.UIViewRoot
> OUTPUT> value class java.lang.String
>
> dumpSessionAttributes
> com.sun.jsftemplating.handlers.ScopeHandlers.dumpSessionAttributes
> OUTPUT> value class java.lang.String
>
> getApplicationAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.getApplicationAttribute
> INPUT> key(required) class java.lang.String
>
> OUTPUT> value class java.lang.Object
>
> getAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.getAttribute
> INPUT> key(required) class java.lang.String
>
> OUTPUT> value class java.lang.Object
>
> getClientId
> com.sun.jsftemplating.handlers.UtilHandlers.getClientId
> INPUT> component(required) class
> javax.faces.component.UIComponent
> OUTPUT> clientId class java.lang.String
>
> getGlobalComponentTypeInformation
> com.sun.jsftemplating.handlers.MetaDataHandlers.getGlobalComponentTypeIn
> formation
> INPUT> id class java.lang.String
>
> OUTPUT> info class java.lang.String
>
> OUTPUT> value class
> com.sun.jsftemplating.layout.descriptors.ComponentType
> OUTPUT> ids interface java.util.Set
>
> getGlobalHandlerInformation
> com.sun.jsftemplating.handlers.MetaDataHandlers.getGlobalHandlerInformat
> ion
> INPUT> id class java.lang.String
>
> OUTPUT> info class java.lang.String
>
> OUTPUT> value class
> com.sun.jsftemplating.layout.descriptors.handler.HandlerDefinition
> OUTPUT> ids interface java.util.Set
>
> getId
> com.sun.jsftemplating.handlers.UtilHandlers.getId
> INPUT> object(required) class java.lang.Object
>
> OUTPUT> clientId class java.lang.String
>
> OUTPUT> id class java.lang.String
>
> getIterator
> com.sun.jsftemplating.handlers.UtilHandlers.getIterator
> INPUT> list(required) interface java.util.List
>
> OUTPUT> iterator interface java.util.Iterator
>
> getPageSessionAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.getPageSessionAttribute
> INPUT> key(required) class java.lang.String
>
> INPUT> page class
> javax.faces.component.UIViewRoot
> OUTPUT> value interface java.io.Serializable
>
> getRaveOptions
> com.sun.jsftemplating.handlers.OptionsHandlers.getRaveOptions
> INPUT> labels(required) interface java.util.Collection
>
> INPUT> values(required) interface java.util.Collection
>
> OUTPUT> options class
> [Ljavax.faces.model.SelectItem;
> getSessionAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.getSessionAttribute
> INPUT> key(required) class java.lang.String
>
> OUTPUT> value class java.lang.Object
>
> getSunOptions
> com.sun.jsftemplating.handlers.OptionsHandlers.getSunOptions
> INPUT> labels(required) interface java.util.Collection
>
> INPUT> values(required) interface java.util.Collection
>
> OUTPUT> options class
> [Ljavax.faces.model.SelectItem;
> getUIComponent
> com.sun.jsftemplating.handlers.ComponentHandlers.getUIComponent
> INPUT> clientId(required) class java.lang.String
>
> OUTPUT> component class
> javax.faces.component.UIComponent
> getUIComponentChildren
> com.sun.jsftemplating.handlers.ComponentHandlers.getChildren
> INPUT> parent(required) class
> javax.faces.component.UIComponent
> OUTPUT> size class java.lang.Integer
>
> OUTPUT> children interface java.util.List
>
> getUIComponentProperty
> com.sun.jsftemplating.handlers.ComponentHandlers.getUIComponentProperty
> INPUT> component(required) class
> javax.faces.component.UIComponent
> INPUT> name(required) class java.lang.String
>
> OUTPUT> value class java.lang.Object
>
> getUIViewRoot
> com.sun.jsftemplating.handlers.NavigationHandlers.getUIViewRoot
> INPUT> id class java.lang.String
>
> OUTPUT> viewRoot class
> javax.faces.component.UIViewRoot
> inc
> com.sun.jsftemplating.handlers.UtilHandlers.inc
> INPUT> number(required) class java.lang.Integer
>
> OUTPUT> value class java.lang.Integer
>
> iteratorHasNext
> com.sun.jsftemplating.handlers.UtilHandlers.iteratorHasNext
> INPUT> iterator(required) interface java.util.Iterator
>
> OUTPUT> hasNext class java.lang.Boolean
>
> iteratorNext
> com.sun.jsftemplating.handlers.UtilHandlers.iteratorNext
> INPUT> iterator(required) interface java.util.Iterator
>
> OUTPUT> next class java.lang.Object
>
> navigate
> com.sun.jsftemplating.handlers.NavigationHandlers.navigate
> INPUT> page(required) class java.lang.Object
>
> printStackTrace
> com.sun.jsftemplating.handlers.UtilHandlers.printStackTrace
> INPUT> msg class java.lang.String
>
> OUTPUT> stackTrace class java.lang.String
>
> println
> com.sun.jsftemplating.handlers.UtilHandlers.println
> INPUT> value(required) class java.lang.String
>
> redirect
> com.sun.jsftemplating.handlers.NavigationHandlers.redirect
> INPUT> page(required) class java.lang.String
>
> returnFalse
> com.sun.jsftemplating.handlers.UtilHandlers.returnFalse
> returnTrue
> com.sun.jsftemplating.handlers.UtilHandlers.returnTrue
> setApplicationAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.setApplicationAttribute
> INPUT> key(required) class java.lang.String
>
> INPUT> value(required) class java.lang.Object
>
> setAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.setAttribute
> INPUT> key(required) class java.lang.String
>
> INPUT> value(required) class java.lang.Object
>
> setPageSessionAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.setPageSessionAttribute
> INPUT> key(required) class java.lang.String
>
> INPUT> value(required) interface java.io.Serializable
>
> INPUT> page class
> javax.faces.component.UIViewRoot
> setResourceBundle
> com.sun.jsftemplating.handlers.ScopeHandlers.setResourceBundle
> INPUT> locale class java.util.Locale
>
> INPUT> key(required) class java.lang.String
>
> INPUT> bundle(required) class java.lang.String
>
> OUTPUT> bundle class java.util.ResourceBundle
>
> setSessionAttribute
> com.sun.jsftemplating.handlers.ScopeHandlers.setSessionAttribute
> INPUT> key(required) class java.lang.String
>
> INPUT> value(required) class java.lang.Object
>
> setUIComponentProperty
> com.sun.jsftemplating.handlers.ComponentHandlers.setComponentProperty
> INPUT> value class java.lang.Object
>
> INPUT> component(required) class
> javax.faces.component.UIComponent
> INPUT> property(required) class java.lang.String
>
> write
> com.sun.jsftemplating.handlers.UtilHandlers.write
> INPUT> value(required) class java.lang.String
>
>
>
>
> ComponentTypes:
> ajaxRequest
> com.sun.jsftemplating.component.factory.sun.AjaxRequestFactory
> dynamicTreeNode
> com.sun.jsftemplating.component.factory.tree.DynamicTreeNodeFactory
> event
> com.sun.jsftemplating.component.factory.basic.EventComponentFactory
> foreach
> com.sun.jsftemplating.component.factory.basic.ForEachFactory
> if
> com.sun.jsftemplating.component.factory.basic.IfFactory
> message
> com.sun.jsftemplating.component.factory.basic.MessageFactory
> rave:addRemove
> com.sun.jsftemplating.component.factory.rave.AddRemoveFactory
> rave:alarm
> com.sun.jsftemplating.component.factory.rave.AlarmFactory
> rave:alert
> com.sun.jsftemplating.component.factory.rave.AlertFactory
> rave:anchor
> com.sun.jsftemplating.component.factory.rave.AnchorFactory
> rave:body
> com.sun.jsftemplating.component.factory.rave.BodyFactory
> rave:breadcrumbs
> com.sun.jsftemplating.component.factory.rave.BreadcrumbsFactory
> rave:button
> com.sun.jsftemplating.component.factory.rave.ButtonFactory
> rave:calendar
> com.sun.jsftemplating.component.factory.rave.CalendarFactory
> rave:checkbox
> com.sun.jsftemplating.component.factory.rave.CheckboxFactory
> rave:checkboxGroup
> com.sun.jsftemplating.component.factory.rave.CheckboxGroupFactory
> rave:dropDown
> com.sun.jsftemplating.component.factory.rave.DropDownFactory
> rave:editableList
> com.sun.jsftemplating.component.factory.rave.EditableListFactory
> rave:field
> com.sun.jsftemplating.component.factory.rave.FieldFactory
> rave:form
> com.sun.jsftemplating.component.factory.rave.FormFactory
> rave:frame
> com.sun.jsftemplating.component.factory.rave.FrameFactory
> rave:frameSet
> com.sun.jsftemplating.component.factory.rave.FrameSetFactory
> rave:head
> com.sun.jsftemplating.component.factory.rave.HeadFactory
> rave:helpInline
> com.sun.jsftemplating.component.factory.rave.HelpInlineFactory
> rave:hidden
> com.sun.jsftemplating.component.factory.rave.HiddenFieldFactory
> rave:html
> com.sun.jsftemplating.component.factory.rave.HtmlFactory
> rave:hyperlink
> com.sun.jsftemplating.component.factory.rave.HyperlinkFactory
> rave:icon
> com.sun.jsftemplating.component.factory.rave.IconFactory
> rave:iconHyperlink
> com.sun.jsftemplating.component.factory.rave.IconHyperlinkFactory
> rave:iframe
> com.sun.jsftemplating.component.factory.rave.IFrameFactory
> rave:image
> com.sun.jsftemplating.component.factory.rave.ImageFactory
> rave:imageHyperlink
> com.sun.jsftemplating.component.factory.rave.ImageHyperlinkFactory
> rave:label
> com.sun.jsftemplating.component.factory.rave.LabelFactory
> rave:legend
> com.sun.jsftemplating.component.factory.rave.LegendFactory
> rave:link
> com.sun.jsftemplating.component.factory.rave.LinkFactory
> rave:listbox
> com.sun.jsftemplating.component.factory.rave.ListboxFactory
> rave:markup
> com.sun.jsftemplating.component.factory.rave.MarkupFactory
> rave:message
> com.sun.jsftemplating.component.factory.rave.MessageFactory
> rave:messageGroup
> com.sun.jsftemplating.component.factory.rave.MessageGroupFactory
> rave:meta
> com.sun.jsftemplating.component.factory.rave.MetaFactory
> rave:orderableList
> com.sun.jsftemplating.component.factory.rave.OrderableListFactory
> rave:page
> com.sun.jsftemplating.component.factory.rave.PageFactory
> rave:pageAlert
> com.sun.jsftemplating.component.factory.rave.PageAlertFactory
> rave:pageSeparator
> com.sun.jsftemplating.component.factory.rave.PageSeparatorFactory
> rave:panelGroup
> com.sun.jsftemplating.component.factory.rave.PanelGroupFactory
> rave:panelLayout
> com.sun.jsftemplating.component.factory.rave.PanelLayoutFactory
> rave:passwordField
> com.sun.jsftemplating.component.factory.rave.PasswordFieldFactory
> rave:property
> com.sun.jsftemplating.component.factory.rave.PropertyFactory
> rave:propertySheet
> com.sun.jsftemplating.component.factory.rave.PropertySheetFactory
> rave:propertySheetSection
> com.sun.jsftemplating.component.factory.rave.PropertySheetSectionFactory
> rave:radioButton
> com.sun.jsftemplating.component.factory.rave.RadioButtonFactory
> rave:radioButtonGroup
> com.sun.jsftemplating.component.factory.rave.RadioButtonGroupFactory
> rave:script
> com.sun.jsftemplating.component.factory.rave.ScriptFactory
> rave:skipHyperlink
> com.sun.jsftemplating.component.factory.rave.SkipHyperlinkFactory
> rave:staticText
> com.sun.jsftemplating.component.factory.rave.StaticTextFactory
> rave:tab
> com.sun.jsftemplating.component.factory.rave.TabFactory
> rave:tabSet
> com.sun.jsftemplating.component.factory.rave.TabSetFactory
> rave:table
> com.sun.jsftemplating.component.factory.rave.TableFactory
> rave:tableActions
> com.sun.jsftemplating.component.factory.rave.TableActionsFactory
> rave:tableColumn
> com.sun.jsftemplating.component.factory.rave.TableColumnFactory
> rave:tableFooter
> com.sun.jsftemplating.component.factory.rave.TableFooterFactory
> rave:tableHeader
> com.sun.jsftemplating.component.factory.rave.TableHeaderFactory
> rave:tablePanels
> com.sun.jsftemplating.component.factory.rave.TablePanelsFactory
> rave:tableRowGroup
> com.sun.jsftemplating.component.factory.rave.TableRowGroupFactory
> rave:textArea
> com.sun.jsftemplating.component.factory.rave.TextAreaFactory
> rave:textField
> com.sun.jsftemplating.component.factory.rave.TextFieldFactory
> rave:themeLinks
> com.sun.jsftemplating.component.factory.rave.ThemeLinksFactory
> rave:time
> com.sun.jsftemplating.component.factory.rave.TimeFactory
> rave:tree
> com.sun.jsftemplating.component.factory.rave.TreeFactory
> rave:treeNode
> com.sun.jsftemplating.component.factory.rave.TreeNodeFactory
> rave:upload
> com.sun.jsftemplating.component.factory.rave.UploadFactory
> staticText
> com.sun.jsftemplating.component.factory.basic.StaticTextFactory
> sun:addRemove
> com.sun.jsftemplating.component.factory.sun.AddRemoveFactory
> sun:alarm
> com.sun.jsftemplating.component.factory.sun.AlarmFactory
> sun:alarmStatus
> com.sun.jsftemplating.component.factory.sun.AlarmStatusFactory
> sun:alert
> com.sun.jsftemplating.component.factory.sun.AlertFactory
> sun:anchor
> com.sun.jsftemplating.component.factory.sun.AnchorFactory
> sun:body
> com.sun.jsftemplating.component.factory.sun.BodyFactory
> sun:breadcrumbs
> com.sun.jsftemplating.component.factory.sun.BreadcrumbsFactory
> sun:button
> com.sun.jsftemplating.component.factory.sun.ButtonFactory
> sun:calendar
> com.sun.jsftemplating.component.factory.sun.CalendarFactory
> sun:checkbox
> com.sun.jsftemplating.component.factory.sun.CheckboxFactory
> sun:checkboxGroup
> com.sun.jsftemplating.component.factory.sun.CheckboxGroupFactory
> sun:dropDown
> com.sun.jsftemplating.component.factory.sun.DropDownFactory
> sun:editableList
> com.sun.jsftemplating.component.factory.sun.EditableListFactory
> sun:field
> com.sun.jsftemplating.component.factory.sun.FieldFactory
> sun:fileChooser
> com.sun.jsftemplating.component.factory.sun.FileChooserFactory
> sun:form
> com.sun.jsftemplating.component.factory.sun.FormFactory
> sun:frame
> com.sun.jsftemplating.component.factory.sun.FrameFactory
> sun:frameSet
> com.sun.jsftemplating.component.factory.sun.FrameSetFactory
> sun:head
> com.sun.jsftemplating.component.factory.sun.HeadFactory
> sun:helpInline
> com.sun.jsftemplating.component.factory.sun.HelpInlineFactory
> sun:helpWindow
> com.sun.jsftemplating.component.factory.sun.HelpWindowFactory
> sun:hidden
> com.sun.jsftemplating.component.factory.sun.HiddenFieldFactory
> sun:html
> com.sun.jsftemplating.component.factory.sun.HtmlFactory
> sun:hyperlink
> com.sun.jsftemplating.component.factory.sun.HyperlinkFactory
> sun:icon
> com.sun.jsftemplating.component.factory.sun.IconFactory
> sun:iconHyperlink
> com.sun.jsftemplating.component.factory.sun.IconHyperlinkFactory
> sun:iframe
> com.sun.jsftemplating.component.factory.sun.IFrameFactory
> sun:image
> com.sun.jsftemplating.component.factory.sun.ImageComponentFactory
> sun:imageHyperlink
> com.sun.jsftemplating.component.factory.sun.ImageHyperlinkFactory
> sun:jobStatus
> com.sun.jsftemplating.component.factory.sun.JobStatusFactory
> sun:label
> com.sun.jsftemplating.component.factory.sun.LabelFactory
> sun:legend
> com.sun.jsftemplating.component.factory.sun.LegendFactory
> sun:link
> com.sun.jsftemplating.component.factory.sun.LinkFactory
> sun:listbox
> com.sun.jsftemplating.component.factory.sun.ListboxFactory
> sun:localizedString
> com.sun.jsftemplating.component.factory.sun.LocalizedStringFactory
> sun:markup
> com.sun.jsftemplating.component.factory.sun.MarkupFactory
> sun:masthead
> com.sun.jsftemplating.component.factory.sun.MastheadFactory
> sun:message
> com.sun.jsftemplating.component.factory.sun.MessageFactory
> sun:messageGroup
> com.sun.jsftemplating.component.factory.sun.MessageGroupFactory
> sun:meta
> com.sun.jsftemplating.component.factory.sun.MetaFactory
> sun:notificationPhrase
> com.sun.jsftemplating.component.factory.sun.NotificationPhraseFactory
> sun:orderableList
> com.sun.jsftemplating.component.factory.sun.OrderableListFactory
> sun:page
> com.sun.jsftemplating.component.factory.sun.PageFactory
> sun:pageAlert
> com.sun.jsftemplating.component.factory.sun.PageAlertFactory
> sun:pageSeparator
> com.sun.jsftemplating.component.factory.sun.PageSeparatorFactory
> sun:panelGroup
> com.sun.jsftemplating.component.factory.sun.PanelGroupFactory
> sun:passwordField
> com.sun.jsftemplating.component.factory.sun.PasswordFactory
> sun:property
> com.sun.jsftemplating.component.factory.sun.PropertyFactory
> sun:propertySheet
> com.sun.jsftemplating.component.factory.sun.PropertySheetFactory
> sun:propertySheetSection
> com.sun.jsftemplating.component.factory.sun.PropertySheetSectionFactory
> sun:radioButton
> com.sun.jsftemplating.component.factory.sun.RadioButtonFactory
> sun:radioButtonGroup
> com.sun.jsftemplating.component.factory.sun.RadioButtonGroupFactory
> sun:scheduler
> com.sun.jsftemplating.component.factory.sun.SchedulerFactory
> sun:script
> com.sun.jsftemplating.component.factory.sun.ScriptFactory
> sun:skipHyperlink
> com.sun.jsftemplating.component.factory.sun.SkipHyperlinkFactory
> sun:staticText
> com.sun.jsftemplating.component.factory.sun.StaticTextFactory
> sun:tab
> com.sun.jsftemplating.component.factory.sun.TabFactory
> sun:tabSet
> com.sun.jsftemplating.component.factory.sun.TabSetFactory
> sun:table
> com.sun.jsftemplating.component.factory.sun.TableFactory
> sun:tableActions
> com.sun.jsftemplating.component.factory.sun.TableActionsFactory
> sun:tableColumn
> com.sun.jsftemplating.component.factory.sun.TableColumnFactory
> sun:tableFooter
> com.sun.jsftemplating.component.factory.sun.TableFooterFactory
> sun:tableHeader
> com.sun.jsftemplating.component.factory.sun.TableHeaderFactory
> sun:tablePanels
> com.sun.jsftemplating.component.factory.sun.TablePanelsFactory
> sun:tableRowGroup
> com.sun.jsftemplating.component.factory.sun.TableRowGroupFactory
> sun:textArea
> com.sun.jsftemplating.component.factory.sun.TextAreaFactory
> sun:textField
> com.sun.jsftemplating.component.factory.sun.TextFieldFactory
> sun:themeLinks
> com.sun.jsftemplating.component.factory.sun.ThemeLinksFactory
> sun:timeStamp
> com.sun.jsftemplating.component.factory.sun.TimeStampFactory
> sun:title
> com.sun.jsftemplating.component.factory.sun.TitleFactory
> sun:tree
> com.sun.jsftemplating.component.factory.sun.TreeFactory
> sun:treeNode
> com.sun.jsftemplating.component.factory.sun.TreeNodeFactory
> sun:upload
> com.sun.jsftemplating.component.factory.sun.UploadFactory
> sun:versionPage
> com.sun.jsftemplating.component.factory.sun.VersionPageFactory
> sun:wizard
> com.sun.jsftemplating.component.factory.sun.WizardFactory
> sun:wizardBranch
> com.sun.jsftemplating.component.factory.sun.WizardBranchFactory
> sun:wizardBranchSteps
> com.sun.jsftemplating.component.factory.sun.WizardBranchStepsFactory
> sun:wizardStep
> com.sun.jsftemplating.component.factory.sun.WizardStepFactory
> sun:wizardSubstepBranch
> com.sun.jsftemplating.component.factory.sun.WizardSubstepBranchFactory
> while
> com.sun.jsftemplating.component.factory.basic.WhileFactory
>
>
> -----Original Message-----
> From: Ken.Paulsen_at_Sun.COM [mailto:Ken.Paulsen_at_Sun.COM]
> Sent: Friday, September 29, 2006 2:44 PM
> To: dev_at_jsftemplating.dev.java.net
> Subject: Re: JSFTemplating: I keep getting
> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>
>
> If you only see that message, then the
> -Dcom.sun.jsftemplating.DEBUG=true isn't being recognized.
>
> See if you can figure out why... Also, I wouldn't expect that updating
> files would work if you're seeing this.
>
> I am going to make a change so that you can turn on DEBUG'ing w/ init
> params instead of JVM variables... it's on my todo list anyway.
>
> Ken
>
> Todd Patrick wrote:
>
>> Ken: OK, that was my fault, I got everything set-up correctly.
>>
>> When I went to the info.jsf and all I see is:
>>
>> Powered by Templating for JavaServer(tm) Faces Technology!
>>
>> Visit https://jsftemplating.dev.java.net
>> <https://jsftemplating.dev.java.net/> to learn more about Templating
>> for JavaServer(tm) Faces Technology.
>>
>>
>> So, I know that everything is set-up correctly, the command worked and
>>
>
>
>> I can update the UI Live (Sweet!).
>>
>> However, I don't see any additional information?
>>
>> I've attached my WebContent directory.
>>
>> Thanks,
>>
>> --Todd
>>
>> ________________________________
>>
>> From: Ken.Paulsen_at_Sun.COM [mailto:Ken.Paulsen_at_Sun.COM]
>> Sent: Friday, September 29, 2006 11:22 AM
>> To: dev_at_jsftemplating.dev.java.net
>> Subject: Re: JSFTemplating: I keep getting
>> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>>
>>
>>
>> How are you specifying the jvm option? I think you can do it by
>> setting an environment variable named: "CATALINA_OPTS" to
>> "-Dcom.sun.jsftemplating.DEBUG=true".
>>
>> Ken
>>
>> Todd Patrick wrote:
>>
>> Here is the logged error:
>>
>> [2006-09-29 09:31:16] [415 javajni.c] [error] CreateJavaVM
>>
> Failed
>
>> [2006-09-29 09:31:17] [770 prunsrv.c] [error] Failed
>>
> initializing
>
>> java C:\Tomcat 5.0\bin\bootstrap.jar
>> [2006-09-29 09:31:17] [982 prunsrv.c] [error] ServiceStart
>>
> returned
>
>> 2
>>
>> (Sorry about the blank email)
>>
>> Thanks,
>>
>> --Todd
>>
>> ________________________________
>>
>> From: Todd Patrick [mailto:Todd.Patrick_at_dtn.com]
>> Sent: Friday, September 29, 2006 9:29 AM
>> To: dev_at_jsftemplating.dev.java.net
>> Subject: RE: JSFTemplating: I keep getting
>> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>>
>>
>> hmmm... I am doing something wrong here.
>>
>> Server: Tomcat 5.0.28
>>
>> When I try to turn on the com.sun.jsftemplating.DEBUG=true,
>>
> Tomcat
>
>> won't start-up and it says it can't find the server.xml? That's new!
>>
>> Thoughts?
>>
>> Thanks,
>>
>> --Todd
>>
>> ________________________________
>>
>> From: Ken.Paulsen_at_Sun.COM [mailto:Ken.Paulsen_at_Sun.COM]
>> Sent: Thursday, September 28, 2006 2:04 PM
>> To: dev_at_jsftemplating.dev.java.net
>> Subject: Re: JSFTemplating: I keep getting
>> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>>
>>
>>
>> Yes, there is a very easy way to include files. Here's an
>> example:
>>
>> file1 (header.jsf):
>>
>>
>> <rave:whatever... >
>> "more header stuff...
>>
>>
>> file2 (footer.jsf):
>>
>>
>> "footer stuff, copyright, whatever...
>> </rave:whatever>
>>
>>
>>
>> file3 (somepage.jsf):
>>
>>
>> #include "/header.jsf"
>>
>> "This is the main content for somepage.jsf
>>
>> #include "/footer.jsf"
>>
>>
>>
>> This feature works with the XML and template formats.
>> Individual "include" files do not have to be well formed and the
>> entire page can still be validated with an XML parser. The including
>> happens at the stream level so it is transparent to the parser and
>> even the rest of JSFTemplating.
>>
>> The real-time update feature is also available in JSFTemplating.
>> It is enabled by setting the "com.sun.jsftemplating.DEBUG=true" jvm
>> option. If you have any trouble turning this on, let me know.
>>
>> I don't know of any feature that Facelets has that JSFTemplating
>>
>
>
>> doesn't. One thing Facelets does do better is error message
>>
> reporting.
>
>> It also has better documentation... although I hope to help address
>> that.
>>
>> Thanks,
>>
>> Ken
>>
>> Todd Patrick wrote:
>>
>> Ken:
>>
>> Thank you for the detail explanation. This is tremendous
>>
> help!
>
>>
>> I picked Facelets for two reasons:
>>
>> 1.) The project is relatively large, thus including a
>>
> standard
>
>> header
>> and menu is important.
>>
>> 2.) I can update the User Interface Live which is a real
>>
> time saver.
>
>>
>> After seeing how JSFTemplating works, I wish it would
>>
> work with
>
>> Facelets, but I understand that it would be a large
>>
> undertaking to
>
>> do
>> so...
>>
>> I believe I am at square one again. I have to use
>>
> Facelets, unless
>
>> there
>> is a way to include files in JSFTemplating similar to
>>
> Facelets?
>
>>
>> Thanks,
>>
>> --Todd
>>
>> -----Original Message-----
>> From: Ken.Paulsen_at_Sun.COM [mailto:Ken.Paulsen_at_Sun.COM]
>> Sent: Thursday, September 28, 2006 12:25 PM
>> To: dev_at_jsftemplating.dev.java.net
>> Subject: Re: JSFTemplating: I keep getting
>> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>>
>>
>> This problem is b/c both facelets and JSFTemplating are
>>
> installed in
>
>> your application and both are trying to handle the
>>
> request. This
>
>> exception should be non-fatal in JSFTemplating and is
>>
> warning you
>
>> that
>> it didn't recognize the page you requested (because it
>>
> was a
>
>> Facelets
>> page). The ViewHandler should then delegate to another
>>
> ViewHandler
>
>> (the
>> faces ViewHandler) and the page should display (unless
>>
> there are
>
>> other
>> errors).
>>
>> To answer your question... the LayoutDefinitionManager
>>
> instances are
>
>> created automatically (by the LayoutDefinitionManger
>>
> class itself).
>
>> Only
>> one LDM is needed per file format (2 are currently
>>
> supported). A
>
>> custom
>> LDM can be provided via the servlet initParam:
>> "LayoutDefinitionManagerImpl" .. this is *not* required
>>
> or even
>
>> recommended. Bot JSFTemplating file formats are
>>
> supported
>
>> out-of-the-box. The LDM instances are responsible for
>>
> implementing a
>
>> method called "accepts(String)" which is used to see if
>>
> the LDM can
>
>> handle a particular "viewId". The .faces requests that
>>
> you are
>
>> sending
>> are not handled by either LDM b/c they are Facelets
>>
> pages, not
>
>> JSFTemplating pages.
>>
>> It would be interesting to write an LDM that handled
>>
> Facetlets
>
>> pages...
>> that doesn't exist today, though, and would likely be a
>>
> significant
>
>> effort. You would also lose most of the benefits of
>>
> Facelets
>
>> (although
>> you'd gain all the benefits of JSFTemplating -- many of
>>
> which are
>
>> identical benefits to Facelets).
>>
>> Ken
>>
>> Todd Patrick wrote:
>>
>>
>> How do I create a LayoutDefinitionManager?
>>
>> I've been looking at the JavaDocs at
>>
>> https://jsftemplating.dev.java.net/nonav/javadoc/index.html and this
>> is somewhat confusing.
>>
>> Thanks,
>>
>> --Todd
>>
>>
>>
>> com.sun.jsftemplating.layout.LayoutDefinitionException: No
>> LayoutDefinitionManager available for
>>
> 'eaigft/eaigft.faces'. This
>
>> may
>>
>>
>>
>>
>>
>> mean the file cannot be found, or is
>>
> unrecognizable.
>
>> at
>>
>> com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefiniti
>> on
>> Manager(LayoutDefinitionManager.java:251)
>> at
>>
>> com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefiniti
>> on
>> (LayoutDefinitionManager.java:208)
>> at
>>
>> com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(Layout
>> Vi
>> ewRoot.java:227)
>> at
>>
>> com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHa
>> nd
>> ler.java:128)
>> at
>>
>> com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java
>> :7
>> 82)
>> at
>>
>> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java
>> :1
>> 64)
>> at
>>
>> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>> at
>>
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
>> at
>>
>> javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> ca
>> tionFilterChain.java:237)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>> lt
>> erChain.java:157)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:264)
>> at
>>
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(Filte
>> rS
>> ecurityInterceptor.java:107)
>> at
>>
>> org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(Fil
>> te
>> rSecurityInterceptor.java:72)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTran
>> sl
>> ationFilter.java:110)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilt
>> er
>> (AnonymousProcessingFilter.java:125)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFi
>> lt
>>
>> er(SecurityContextHolderAwareRequestFilter.java:81)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcess
>> in
>> gFilter.java:217)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>>
>>
>>
>> org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:10
>> 8)
>>
>>
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(Re
>> me
>> mberMeProcessingFilter.java:142)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter
>> (H
>> ttpSessionContextIntegrationFilter.java:191)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(Fi
>> lt
>> erChainProxy.java:274)
>> at
>>
>> org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java
>> :1
>> 48)
>> at
>>
>> org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.ja
>> va
>> :90)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> ca
>> tionFilterChain.java:186)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>> lt
>> erChain.java:157)
>> at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lv
>> e.java:214)
>> at
>>
>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
>> Co
>> ntext.java:104)
>> at
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>> :5
>> 20)
>> at
>>
>> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardC
>> on
>> textValve.java:198)
>> at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lv
>> e.java:152)
>> at
>>
>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
>> Co
>> ntext.java:104)
>> at
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>> :5
>> 20)
>> at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va
>> :137)
>> at
>>
>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
>> Co
>> ntext.java:104)
>> at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va
>> :118)
>> at
>>
>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
>> Co
>> ntext.java:102)
>> at
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>> :5
>> 20)
>> at
>>
>>
>>
>>
>>
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
>
>>
>>
>> java:109)
>> at
>>
>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve
>> Co
>> ntext.java:104)
>> at
>>
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>> :5
>> 20)
>> at
>>
>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>> at
>>
>>
>>
>>
>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160
>> )
>>
>>
>> at
>>
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 79
>> 9)
>> at
>>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>> sC
>> onnection(Http11Protocol.java:705)
>> at
>>
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
>> 57
>> 7)
>> at
>>
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol
>> .java:683)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> -----Original Message-----
>> From: Todd Patrick [mailto:Todd.Patrick_at_dtn.com]
>> Sent: Thursday, September 28, 2006 9:54 AM
>> To: dev_at_jsftemplating.dev.java.net
>> Subject: JSFTemplating: I keep getting
>>
>> "com.sun.jsftemplating.layout.LayoutDefinitionException"
>>
>> I think I am close, but I keep returning the
>> exception:
>>
>>
>> com.sun.jsftemplating.layout.LayoutDefinitionException
>>
>> My .xhtml page is:
>>
>> <!DOCTYPE layoutDefinition SYSTEM
>> "/jsftemplating/layout.dtd"> <html
>> xmlns="http://www.w3.org/1999/xhtml"
>> <http://www.w3.org/1999/xhtml>
>>
>> xmlns:ui="http://java.sun.com/jsf/facelets"
>> <http://java.sun.com/jsf/facelets>
>> xmlns:h="http://java.sun.com/jsf/html"
>> <http://java.sun.com/jsf/html>
>> xmlns:f="http://java.sun.com/jsf/core"
>> <http://java.sun.com/jsf/core>
>> xmlns:rave="http://www.sun.com/web/ui"
>> <http://www.sun.com/web/ui> >
>> <ui:composition
>> template="/common/template.xhtml">
>>
>> <ui:define name="title">Petro Admin:
>> EAI/GFT</ui:define>
>>
>> <ui:define name="body">
>> <layoutDefinition>
>> <layout>
>> <component
>> type="staticText" id="hello">
>> <option
>> name="value"
>> value="Hello World!" />
>> </component>
>> </layout>
>> </layoutDefinition>
>> </ui:define>
>> </ui:composition>
>> </html>
>>
>> I tried using just straight rave components in
>>
> the page such as:
>
>>
>> <rave:staticText text="Hello World!" />
>>
>> But that throws the same exception.
>>
>> Thoughts?
>>
>> Thanks,
>>
>> --Todd
>>
>>
>>
>>
>>