Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA IRender ajaxDelegate = getAjaxDelegate(); if (ajaxDelegate != null) ajaxDelegate.render(writer, cycle); and Customhead.jwc !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; component-specification class=org.trails.demo.components.CustomHead allow-body=yes allow-informal-parameters=yes component id=customhead inherit-informal-parameters=no type=Shell inherited-binding name=stylesheet parameter-name=stylesheet/ inherited-binding name=title parameter-name=title/ inherited-binding name=ajaxDelegate parameter-name=ajaxDelegate/ !-- inherited-binding name=coreAjaxDelegate parameter-name=coreAjaxDelegate/ -- !-- inherited-binding name=defaultDojoSource parameter-name=defaultDojoSource/ -- !-- inherited-binding name=defaultDojoPath parameter-name=defaultDojoPath/ -- !-- inherited-binding name=defaultTapestrySource parameter-name=defaultTapestrySource/ -- !-- inherited-binding name=defaultTapestryPath parameter-name=defaultTapestryPath/ -- /component Here is the markup output: !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 10:01:02 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / base href=http://localhost:8080/; /!--[if IE]/base![endif]-- /head body id=Body Best regards Ken in nashua _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
So this is all that got called... any idea what I'm missing? public class BaseTagWriter implements IRender { public void render(IMarkupWriter writer, IRequestCycle cycle) { IPage page = cycle.getPage(); StringBuffer sb = new StringBuffer(); sb.append(/); if (page.getNamespace().getId() == null) { String name = page.getPageName(); int slashx = name.lastIndexOf('/'); // Include the directory and trailing slash. if (slashx 0) sb.append(name.substring(0, slashx + 1)); } String url = cycle.getAbsoluteURL(sb.toString()); writer.beginEmpty(base); writer.attribute(href, url); writer.printRaw(!--[if IE]/base![endif]--); writer.println(); } Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:03:08 -0400 Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA IRender ajaxDelegate = getAjaxDelegate(); if (ajaxDelegate != null) ajaxDelegate.render(writer, cycle); and Customhead.jwc !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; component-specification class=org.trails.demo.components.CustomHead allow-body=yes allow-informal-parameters=yes component id=customhead inherit-informal-parameters=no type=Shell inherited-binding name=stylesheet parameter-name=stylesheet/ inherited-binding name=title parameter-name=title/ inherited-binding name=ajaxDelegate parameter-name=ajaxDelegate/ !-- inherited-binding name=coreAjaxDelegate parameter-name=coreAjaxDelegate/ -- !-- inherited-binding name=defaultDojoSource parameter-name=defaultDojoSource/ -- !-- inherited-binding name=defaultDojoPath parameter-name=defaultDojoPath/ -- !-- inherited-binding name=defaultTapestrySource parameter-name=defaultTapestrySource/ -- !-- inherited-binding name=defaultTapestryPath parameter-name=defaultTapestryPath/ -- /component Here is the markup output: !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 10:01:02 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / base href=http://localhost:8080/; /!--[if IE]/base![endif]-- /head body id=Body Best regards Ken in nashua _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Everything you need I gave you in my last email. And - contrary to your belief - ScriptIncludes would work. You can write out script tags anywhere in a document. On 7/20/07, Ken nashua [EMAIL PROTECTED] wrote: So this is all that got called... any idea what I'm missing? public class BaseTagWriter implements IRender { public void render(IMarkupWriter writer, IRequestCycle cycle) { IPage page = cycle.getPage(); StringBuffer sb = new StringBuffer(); sb.append(/); if (page.getNamespace().getId() == null) { String name = page.getPageName(); int slashx = name.lastIndexOf('/'); // Include the directory and trailing slash. if (slashx 0) sb.append(name.substring(0, slashx + 1)); } String url = cycle.getAbsoluteURL(sb.toString()); writer.beginEmpty(base); writer.attribute(href, url); writer.printRaw(!--[if IE]/base![endif]--); writer.println(); } Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:03:08 -0400 Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA IRender ajaxDelegate = getAjaxDelegate(); if (ajaxDelegate != null) ajaxDelegate.render(writer, cycle); and Customhead.jwc !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; component-specification class=org.trails.demo.components.CustomHead allow-body=yes allow-informal-parameters=yes component id=customhead inherit-informal-parameters=no type=Shell inherited-binding name=stylesheet parameter-name=stylesheet/ inherited-binding name=title parameter-name=title/ inherited-binding name=ajaxDelegate parameter-name=ajaxDelegate/ !-- inherited-binding name=coreAjaxDelegate parameter-name=coreAjaxDelegate/ -- !-- inherited-binding name=defaultDojoSource parameter-name=defaultDojoSource/ -- !-- inherited-binding name=defaultDojoPath parameter-name=defaultDojoPath/ -- !-- inherited-binding name=defaultTapestrySource parameter-name=defaultTapestrySource/ -- !-- inherited-binding name=defaultTapestryPath parameter-name=defaultTapestryPath/ -- /component Here is the markup output: !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 10:01:02 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / base href=http://localhost:8080/; /!--[if IE]/base![endif]-- /head body id=Body Best regards Ken in nashua _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
ScriptIncludes is not usable as-is within a CustomHead.JAVA component. It just gets written out with the markup as follows: span [EMAIL PROTECTED]/ and becomes unevaluated/processed... just text. I was hoping you could elaborate on original suggested solution: you'll still need to provide it with path information to include the js correctly. Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:08:57 -0400 So this is all that got called... any idea what I'm missing? public class BaseTagWriter implements IRender { public void render(IMarkupWriter writer, IRequestCycle cycle) { IPage page = cycle.getPage(); StringBuffer sb = new StringBuffer(); sb.append(/); if (page.getNamespace().getId() == null) { String name = page.getPageName(); int slashx = name.lastIndexOf('/'); // Include the directory and trailing slash. if (slashx 0) sb.append(name.substring(0, slashx + 1)); } String url = cycle.getAbsoluteURL(sb.toString()); writer.beginEmpty(base); writer.attribute(href, url); writer.printRaw(!--[if IE]/base![endif]--); writer.println(); } Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:03:08 -0400 Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA IRender ajaxDelegate = getAjaxDelegate(); if (ajaxDelegate != null) ajaxDelegate.render(writer, cycle); and Customhead.jwc !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; component-specification class=org.trails.demo.components.CustomHead allow-body=yes allow-informal-parameters=yes component id=customhead inherit-informal-parameters=no type=Shell inherited-binding name=stylesheet parameter-name=stylesheet/ inherited-binding name=title parameter-name=title/ inherited-binding name=ajaxDelegate parameter-name=ajaxDelegate/ !-- inherited-binding name=coreAjaxDelegate parameter-name=coreAjaxDelegate/ -- !-- inherited-binding name=defaultDojoSource parameter-name=defaultDojoSource/ -- !-- inherited-binding name=defaultDojoPath parameter-name=defaultDojoPath/ -- !-- inherited-binding name=defaultTapestrySource parameter-name=defaultTapestrySource/ -- !-- inherited-binding name=defaultTapestryPath parameter-name=defaultTapestryPath/ -- /component Here is the markup output: !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 10:01:02 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / base href=http://localhost:8080/; /!--[if IE]/base![endif]-- /head body id=Body Best regards Ken in nashua _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ http://newlivehotmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 11:05:10 -0400 ScriptIncludes is not usable as-is within a CustomHead.JAVA component. It just gets written out with the markup as follows: span [EMAIL PROTECTED]/ and becomes unevaluated/processed... just text. I was hoping you could elaborate on original suggested solution: you'll still need to provide it with path information to include the js correctly. Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:08:57 -0400 So this is all that got called... any idea what I'm missing? public class BaseTagWriter implements IRender { public void render(IMarkupWriter writer, IRequestCycle cycle) { IPage page = cycle.getPage(); StringBuffer sb = new StringBuffer(); sb.append(/); if (page.getNamespace().getId() == null) { String name = page.getPageName(); int slashx = name.lastIndexOf('/'); // Include the directory and trailing slash. if (slashx 0) sb.append(name.substring(0, slashx + 1)); } String url = cycle.getAbsoluteURL(sb.toString()); writer.beginEmpty(base); writer.attribute(href, url); writer.printRaw(!--[if IE]/base![endif]--); writer.println(); } Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 10:03:08 -0400 Thanks Jesse... I need to use my CustomHead so ScriptIncludes is not possible. I went with your former suggestion and still not getting the includes to happen. Could you elaborate on the file path specs? Not sure how to do that. Here are my details. thanks I added this to my CustomHead.JAVA IRender ajaxDelegate = getAjaxDelegate(); if (ajaxDelegate != null) ajaxDelegate.render(writer, cycle); and Customhead.jwc !DOCTYPE component-specification PUBLIC -//Apache Software Foundation//Tapestry Specification 4.0//EN http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd; component-specification class=org.trails.demo.components.CustomHead allow-body=yes allow-informal-parameters=yes component id=customhead inherit-informal-parameters=no type=Shell inherited-binding name=stylesheet parameter-name=stylesheet/ inherited-binding name=title parameter-name=title/ inherited-binding name=ajaxDelegate parameter-name=ajaxDelegate/ !-- inherited-binding name=coreAjaxDelegate parameter-name=coreAjaxDelegate/ -- !-- inherited-binding name=defaultDojoSource parameter-name=defaultDojoSource/ -- !-- inherited-binding name=defaultDojoPath parameter-name=defaultDojoPath/ -- !-- inherited-binding name=defaultTapestrySource parameter-name=defaultTapestrySource/ -- !-- inherited-binding name=defaultTapestryPath parameter-name=defaultTapestryPath/ -- /component Here is the markup output: !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 10:01:02 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / base href=http://localhost:8080/; /!--[if IE]/base![endif]-- /head body id=Body Best regards Ken in nashua _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ http://newlivehotmail.com _ http://liveearth.msn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
So it seems I have to tell my Customhaed.JAVA to act like ScriptIncludes.JAVA But that produces the following error below org.apache.hivemind.ApplicationRuntimeException There was an error borrowing the page with key PageKey[_pageName='Home' , _locale=en ] from the page pool. location: context:/WEB-INF/CustomHead.jwc, line 96, column 58 91 set name=preventBackButtonFix value=preventBackButtonFix / 92 set name=parseWidgets value=parseWidgets / 93 /bean 94 95 asset name=defaultDojoSource path=classpath:/dojo/dojo.js / 96 asset name=defaultDojoPath path=classpath:/dojo/ / 97 asset name=defaultTapestrySource path=classpath:/tapestry/core.js / 98 asset name=defaultTapestryPath path=classpath:/tapestry/ / 99 100 /component-specification [ +/- ] Exception: Missing classpath resource '/dojo/'. org.apache.hivemind.ApplicationRuntimeException Missing classpath resource '/dojo/'. location: context:/WEB-INF/CustomHead.jwc, line 96, column 58 91 set name=preventBackButtonFix value=preventBackButtonFix / 92 set name=parseWidgets value=parseWidgets / 93 /bean 94 95 asset name=defaultDojoSource path=classpath:/dojo/dojo.js / 96 asset name=defaultDojoPath path=classpath:/dojo/ / 97 asset name=defaultTapestrySource path=classpath:/tapestry/core.js / 98 asset name=defaultTapestryPath path=classpath:/tapestry/ / 99 100 /component-specification Stack Trace: org.apache.tapestry.asset.ClasspathAssetFactory.createAbsoluteAsset(ClasspathAssetFactory.java:83) $AssetFactory_113e45036b6.createAbsoluteAsset($AssetFactory_113e45036b6.java) org.apache.tapestry.asset.AssetSourceImpl.findAsset(AssetSourceImpl.java:97) $AssetSource_113e4503643.findAsset($AssetSource_113e4503643.java) org.apache.tapestry.pageload.PageLoader.addAssets(PageLoader.java:704) org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:399) org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:504) $IPageLoader_113e450363d.createImplicitComponent($IPageLoader_113e450363d.java) $IPageLoader_113e450363e.createImplicitComponent($IPageLoader_113e450363e.java) org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:203) org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... asset name=defaultDojoSource path=classpath:/dojo/dojo.js / asset name=defaultDojoPath path=classpath:/dojo/ / asset name=defaultTapestrySource path=classpath:/tapestry/core.js / asset name=defaultTapestryPath path=classpath:/tapestry/ / for this... @Asset(/js/dojo/dojo.js) public abstract IAsset getDefaultDojoSource(); @Asset(/dojo/) public abstract IAsset getDefaultDojoPath(); @Asset(/tapestry/core.js) public abstract IAsset getDefaultTapestrySource(); @Asset(/tapestry/) public abstract IAsset getDefaultTapestryPath(); here is the output... but I still get DOJO UNDEFINED message box in IE. Jesse can you validate this markup for me? Why is dojo still undefined for IE? !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 12:39:16 EDT 2007 -- html renderContentType=false doctype= head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script script type=text/javascript dojo.require(dojo.logging.Logger); dojo.log.setLevel(dojo.log.getLevel(WARNING)); /script script type=text/javascript dojo.registerModulePath(tapestry, /assets/static/tapestry); /script script type=text/javascript src=/assets/static/tapestry/core.js/script script type=text/javascript dojo.require(tapestry.namespace); tapestry.requestEncoding='UTF-8'; /script /head Best regards Ken in nashua _ Need a brain boost? Recharge with a stimulating game. Play now! http://club.live.com/home.aspx?icid=club_hotmailtextlink1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
dojo undefined occurs at dojo.require(dojo.logging.Logger); in the markup below. Why would this happen i IE if the following was rendered before it? script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 12:44:20 -0400 Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... asset name=defaultDojoSource path=classpath:/dojo/dojo.js / asset name=defaultDojoPath path=classpath:/dojo/ / asset name=defaultTapestrySource path=classpath:/tapestry/core.js / asset name=defaultTapestryPath path=classpath:/tapestry/ / for this... @Asset(/js/dojo/dojo.js) public abstract IAsset getDefaultDojoSource(); @Asset(/dojo/) public abstract IAsset getDefaultDojoPath(); @Asset(/tapestry/core.js) public abstract IAsset getDefaultTapestrySource(); @Asset(/tapestry/) public abstract IAsset getDefaultTapestryPath(); here is the output... but I still get DOJO UNDEFINED message box in IE. Jesse can you validate this markup for me? Why is dojo still undefined for IE? !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 12:39:16 EDT 2007 -- html renderContentType=false doctype= head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script script type=text/javascript dojo.require(dojo.logging.Logger); dojo.log.setLevel(dojo.log.getLevel(WARNING)); /script script type=text/javascript dojo.registerModulePath(tapestry, /assets/static/tapestry); /script script type=text/javascript src=/assets/static/tapestry/core.js/script script type=text/javascript dojo.require(tapestry.namespace); tapestry.requestEncoding='UTF-8'; /script /head Best regards Ken in nashua _ Need a brain boost? Recharge with a stimulating game. Play now! http://club.live.com/home.aspx?icid=club_hotmailtextlink1 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
In firefox the folliowing line:121 produces NPE after clicking link in application after bootstrap of webapp ... this line... .append(_tapestryPath.buildURL()).append(\);\n); str.append(\nscript type=\text/javascript\\n) .append(dojo.registerModulePath(\tapestry\, \) .append(_tapestryPath.buildURL()).append(\);\n); str.append(/script\n); ??? Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 13:02:22 -0400 dojo undefined occurs at dojo.require(dojo.logging.Logger); in the markup below. Why would this happen i IE if the following was rendered before it? script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 12:44:20 -0400 Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... asset name=defaultDojoSource path=classpath:/dojo/dojo.js / asset name=defaultDojoPath path=classpath:/dojo/ / asset name=defaultTapestrySource path=classpath:/tapestry/core.js / asset name=defaultTapestryPath path=classpath:/tapestry/ / for this... @Asset(/js/dojo/dojo.js) public abstract IAsset getDefaultDojoSource(); @Asset(/dojo/) public abstract IAsset getDefaultDojoPath(); @Asset(/tapestry/core.js) public abstract IAsset getDefaultTapestrySource(); @Asset(/tapestry/) public abstract IAsset getDefaultTapestryPath(); here is the output... but I still get DOJO UNDEFINED message box in IE. Jesse can you validate this markup for me? Why is dojo still undefined for IE? !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 12:39:16 EDT 2007 -- html renderContentType=false doctype= head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script script type=text/javascript dojo.require(dojo.logging.Logger); dojo.log.setLevel(dojo.log.getLevel(WARNING)); /script script type=text/javascript dojo.registerModulePath(tapestry, /assets/static/tapestry); /script script type=text/javascript src=/assets/static/tapestry/core.js/script script type=text/javascript dojo.require(tapestry.namespace); tapestry.requestEncoding='UTF-8'; /script /head Best regards Ken in nashua _ Need a brain boost? Recharge with a stimulating game. Play now! http://club.live.com/home.aspx?icid=club_hotmailtextlink1 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Hey... whats the quickest way to Burma by Bicycle? Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 13:19:46 -0400 In firefox the folliowing line:121 produces NPE after clicking link in application after bootstrap of webapp ... this line... .append(_tapestryPath.buildURL()).append(\);\n); str.append(\nscript type=\text/javascript\\n) .append(dojo.registerModulePath(\tapestry\, \) .append(_tapestryPath.buildURL()).append(\);\n); str.append(/script\n); ??? Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 13:02:22 -0400 dojo undefined occurs at dojo.require(dojo.logging.Logger); in the markup below. Why would this happen i IE if the following was rendered before it? script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script Best regards Ken in nashua Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 12:44:20 -0400 Ok, I mader some ground... I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to replace this... asset name=defaultDojoSource path=classpath:/dojo/dojo.js / asset name=defaultDojoPath path=classpath:/dojo/ / asset name=defaultTapestrySource path=classpath:/tapestry/core.js / asset name=defaultTapestryPath path=classpath:/tapestry/ / for this... @Asset(/js/dojo/dojo.js) public abstract IAsset getDefaultDojoSource(); @Asset(/dojo/) public abstract IAsset getDefaultDojoPath(); @Asset(/tapestry/core.js) public abstract IAsset getDefaultTapestrySource(); @Asset(/tapestry/) public abstract IAsset getDefaultTapestryPath(); here is the output... but I still get DOJO UNDEFINED message box in IE. Jesse can you validate this markup for me? Why is dojo still undefined for IE? !-- Application: trails -- !-- Page: Home -- !-- Generated: Fri Jul 20 12:39:16 EDT 2007 -- html renderContentType=false doctype= head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascriptdjConfig = {isDebug:true,debugContainerId:debug,baseRelativePath:/dojo/,parseWidgets:false,locale:en} /script script type=text/javascript src=/js/dojo/dojo.js/script script type=text/javascript dojo.require(dojo.logging.Logger); dojo.log.setLevel(dojo.log.getLevel(WARNING)); /script script type=text/javascript dojo.registerModulePath(tapestry, /assets/static/tapestry); /script script type=text/javascript src=/assets/static/tapestry/core.js/script script type=text/javascript dojo.require(tapestry.namespace); tapestry.requestEncoding='UTF-8'; /script /head Best regards Ken in nashua _ Need a brain boost? Recharge with a stimulating game. Play now! http://club.live.com/home.aspx?icid=club_hotmailtextlink1 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69FORM=MGAC01 _ http://newlivehotmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Open the highest level .html template you have (such as a Border.html for some kind of border component) and stick this in it: span jwcid=@ScriptIncludes / Done. On 7/20/07, Ken nashua [EMAIL PROTECTED] wrote: Is this a bug? snipped -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
Ok Jesse, thanks... that did it... although being picky I would have preferred to bury it in my CustomHead component. I muted out the instrumented stuff... but glad to use your code. You might want to take note of that NPE... very strange. But I appreciate you taking the time to straighten me out. - cheers Best regards Ken in nashua Markup follows... script type=text/javascriptdjConfig = {isDebug:false,baseRelativePath:/assets/static/dojo-0.4.3/,preventBackButtonFix:false,parseWidgets:false,locale:en} /script script type=text/javascript src=/assets/static/dojo-0.4.3/dojo.js/scriptscript type=text/javascript src=/assets/static/dojo-0.4.3/dojo2.js/script script type=text/javascript dojo.registerModulePath(tapestry, /assets/static/tapestry); /script script type=text/javascript src=/assets/static/tapestry/core.js/script script type=text/javascript dojo.require(tapestry.namespace); tapestry.requestEncoding='UTF-8'; /script !-- Application: trails -- !-- Page: Login -- !-- Generated: Fri Jul 20 16:21:59 EDT 2007 -- html doctype= head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / /head !-- renderContentType=false -- body id=Body Original Message Follows From: Ken nashua [EMAIL PROTECTED] To: [EMAIL PROTECTED], users@tapestry.apache.org Subject: Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT Date: Fri, 20 Jul 2007 15:38:31 -0400 Is this a bug? NPE java.lang.NullPointerException Stack Trace: org.apache.tapestry.dojo.AjaxShellDelegate.render(AjaxShellDelegate.java:121) org.trails.demo.components.CustomHead.renderComponent(CustomHead.java:150) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:180) org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:180) org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:107) org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725) org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:178) org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:249) org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397) org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:152) org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33) $ResponseRenderer_113e520c62b.renderResponse($ResponseRenderer_113e520c62b.java) org.apache.tapestry.engine.PageService.service(PageService.java:68) $IEngineService_113e520c69d.service($IEngineService_113e520c69d.java) org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:237) org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) $WebRequestServicer_113e520c677.service($WebRequestServicer_113e520c677.java) org.trails.i18n.LocaleFilter.service(LocaleFilter.java:26) $WebRequestServicerFilter_113e520c675.service($WebRequestServicerFilter_113e520c675.java) $WebRequestServicer_113e520c679.service($WebRequestServicer_113e520c679.java) $WebRequestServicer_113e520c671.service($WebRequestServicer_113e520c671.java) org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61) $ServletRequestServicer_113e520c657.service($ServletRequestServicer_113e520c657.java) org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) $ServletRequestServicerFilter_113e520c653.service($ServletRequestServicerFilter_113e520c653.java) $ServletRequestServicer_113e520c659.service($ServletRequestServicer_113e520c659.java) org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) $ServletRequestServicerFilter_113e520c651.service($ServletRequestServicerFilter_113e520c651.java) $ServletRequestServicer_113e520c659.service($ServletRequestServicer_113e520c659.java) org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) $ServletRequestServicerFilter_113e520c655.service($ServletRequestServicerFilter_113e520c655.java) $ServletRequestServicer_113e520c659.service($ServletRequestServicer_113e520c659.java) $ServletRequestServicer_113e520c64b.service($ServletRequestServicer_113e520c64b.java) org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126) org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103
dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
I am unable to operate DOJO within my custom head component. !-- Application: trails -- !-- Page: Home -- !-- Generated: Thu Jul 19 18:28:58 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascript dojo.require('dojo.widget.*'); Tha above markup is generated by my own CustomHead.JAVA IE fails on the last line dojo.require('dojo.widget.*'); with messagebox dojo undefined Can this be fixed? Is there a workaround? I just built ognl-2.7.1-SNAPSHOT and tapestry-4.2.1-SNAPSHOT and ran with those... ? Help is much appreciated. Best regards Ken in nashua _ http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT
You have to include dojo first before calling any of its functions. Like the current @Shell component does. You can also delegate this work to the AjaxShellDelegate (as the @Shell component does), but you'll still need to provide it with path information to include the js correctly. See: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/html/Shell.jwc?view=markup http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/AjaxShellDelegate.java?view=markup OR You can just use the @ScriptIncludes component which does the same exact thing without writing out any of the html head stuff: http://tapestry.apache.org/tapestry4.1/components/general/scriptincludes.html On 7/19/07, Ken nashua [EMAIL PROTECTED] wrote: I am unable to operate DOJO within my custom head component. !-- Application: trails -- !-- Page: Home -- !-- Generated: Thu Jul 19 18:28:58 EDT 2007 -- html doctype= renderContentType=false head meta name=generator content=Tapestry Application Framework, version 4.1.2 / titleBest WEB Application on the planet!/title link rel=stylesheet type=text/css title=don't select href=/styles/tapestryskin/theme.css / script type=text/javascript dojo.require('dojo.widget.*'); Tha above markup is generated by my own CustomHead.JAVA IE fails on the last line dojo.require('dojo.widget.*'); with messagebox dojo undefined Can this be fixed? Is there a workaround? I just built ognl-2.7.1-SNAPSHOT and tapestry-4.2.1-SNAPSHOT and ran with those... ? Help is much appreciated. Best regards Ken in nashua _ http://imagine-windowslive.com/hotmail/?locale=en-usocid=TXT_TAGHM_migration_HM_mini_2G_0507 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?
Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error: Error reading property items from base component class : class tapestryproba.HomePage and stack trace: java.lang.NoClassDefFoundError * org.apache.tapestry.enhance.EnhanceUtils.canProxyPropertyType(EnhanceUtils.java:338) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.canProxyType(ComponentPropertyProxyWorker.java:146) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.extractPropertyType(ComponentPropertyProxyWorker.java:91) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.checkProxy(ComponentPropertyProxyWorker.java:165) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.performEnhancement(ComponentPropertyProxyWorker.java:51) * $EnhancementWorker_11260eb73a5.performEnhancement($EnhancementWorker_11260eb73a5.java) * $EnhancementWorker_11260eb73a9.performEnhancement($EnhancementWorker_11260eb73a9.java) * $EnhancementWorker_11260eb7379.performEnhancement($EnhancementWorker_11260eb7379.java) * org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor(ComponentConstructorFactoryImpl.java:103) * $ComponentConstructorFactory_11260eb7364.getComponentConstructor($ComponentConstructorFactory_11260eb7364.java) * org.apache.tapestry.pageload.PageLoader.instantiatePage(PageLoader.java:553) * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:579) * $IPageLoader_11260eb7357.loadPage($IPageLoader_11260eb7357.java) * $IPageLoader_11260eb7358.loadPage($IPageLoader_11260eb7358.java) * org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:119) * $IPageSource_11260eb72b5.getPage($IPageSource_11260eb72b5.java) However the same code fine works with tapestry-4.1.1. What is needed to run my code properly? Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: {SPAM?} What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?
http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html On 5/6/07, Denis Burlaka [EMAIL PROTECTED] wrote: Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error: Error reading property items from base component class : class tapestryproba.HomePage and stack trace: java.lang.NoClassDefFoundError * org.apache.tapestry.enhance.EnhanceUtils.canProxyPropertyType( EnhanceUtils.java:338) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.canProxyType( ComponentPropertyProxyWorker.java:146) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.extractPropertyType (ComponentPropertyProxyWorker.java:91) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.checkProxy( ComponentPropertyProxyWorker.java:165) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.performEnhancement (ComponentPropertyProxyWorker.java:51) * $EnhancementWorker_11260eb73a5.performEnhancement($EnhancementWorker_11260eb73a5.java) * $EnhancementWorker_11260eb73a9.performEnhancement($EnhancementWorker_11260eb73a9.java) * $EnhancementWorker_11260eb7379.performEnhancement($EnhancementWorker_11260eb7379.java) * org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor (ComponentConstructorFactoryImpl.java:103) * $ComponentConstructorFactory_11260eb7364.getComponentConstructor($ComponentConstructorFactory_11260eb7364.java) * org.apache.tapestry.pageload.PageLoader.instantiatePage( PageLoader.java:553) * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java :579) * $IPageLoader_11260eb7357.loadPage($IPageLoader_11260eb7357.java) * $IPageLoader_11260eb7358.loadPage($IPageLoader_11260eb7358.java) * org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:119) * $IPageSource_11260eb72b5.getPage($IPageSource_11260eb72b5.java) However the same code fine works with tapestry-4.1.1. What is needed to run my code properly? Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: What are dependencies needed to run tapestry-4.1.2-SNAPSHOT?
http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html On 5/6/07, Denis Burlaka [EMAIL PROTECTED] wrote: Hello. What are dependencies needed to run tapestry-4.1.2-SNAPSHOT? I have already downloaded ognl-2.7-SNAPSHOT, but my code still does't work. I have the next error: Error reading property items from base component class : class tapestryproba.HomePage and stack trace: java.lang.NoClassDefFoundError * org.apache.tapestry.enhance.EnhanceUtils.canProxyPropertyType( EnhanceUtils.java:338) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.canProxyType( ComponentPropertyProxyWorker.java:146) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.extractPropertyType (ComponentPropertyProxyWorker.java:91) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.checkProxy( ComponentPropertyProxyWorker.java:165) * org.apache.tapestry.annotations.ComponentPropertyProxyWorker.performEnhancement (ComponentPropertyProxyWorker.java:51) * $EnhancementWorker_11260eb73a5.performEnhancement($EnhancementWorker_11260eb73a5.java) * $EnhancementWorker_11260eb73a9.performEnhancement($EnhancementWorker_11260eb73a9.java) * $EnhancementWorker_11260eb7379.performEnhancement($EnhancementWorker_11260eb7379.java) * org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl.getComponentConstructor (ComponentConstructorFactoryImpl.java:103) * $ComponentConstructorFactory_11260eb7364.getComponentConstructor($ComponentConstructorFactory_11260eb7364.java) * org.apache.tapestry.pageload.PageLoader.instantiatePage( PageLoader.java:553) * org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java :579) * $IPageLoader_11260eb7357.loadPage($IPageLoader_11260eb7357.java) * $IPageLoader_11260eb7358.loadPage($IPageLoader_11260eb7358.java) * org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:119) * $IPageSource_11260eb72b5.getPage($IPageSource_11260eb72b5.java) However the same code fine works with tapestry-4.1.1. What is needed to run my code properly? Thanks a lot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
Re: Tapestry 4.1.2-SNAPSHOT + Tacos 4.1.0-SNAPSHOT syntax error
Alright! It works again, thanks to all for quick response. 2007/4/24, Andreas Andreou [EMAIL PROTECTED]: Well, this has resulted in a few (perhaps known?) ognl issues - i'm filling some bug reports now. Anyway, try grabbing the new tacos snapshot and retrying... it now works.
Tapestry 4.1.2-SNAPSHOT + Tacos 4.1.0-SNAPSHOT syntax error
Any hints? Tacos 4.1.0-SNAPSHOT Tree is giving me trouble. org.apache.hivemind.ApplicationRuntimeException: Unable to add method java.lang.Object get(ognl.OgnlContext, java.lang.Object) to class ognl.ASTAdd28176527Accessor: [source error] syntax error near ) 1) + (.getTreeIter at org.apache.tapestry.enhance.ClassFabImpl.addMethod( ClassFabImpl.java:278) at org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression (HiveMindExpressionCompiler.java:162) at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:387) at ognl.Ognl.compileExpression(Ognl.java:123) at org.apache.tapestry.services.impl.ExpressionCacheImpl.parse( ExpressionCacheImpl.java:129) at org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression( ExpressionCacheImpl.java:91) at $ExpressionCache_1122267770f.getCompiledExpression($ExpressionCache_1122267770f.java) at org.apache.tapestry.binding.ExpressionBinding.resolveExpression( ExpressionBinding.java:122) at org.apache.tapestry.binding.ExpressionBinding.getObject( ExpressionBinding.java:113) at org.apache.tapestry.AbstractComponent.renderInformalParameters( AbstractComponent.java:278) at org.apache.tapestry.components.Any.renderComponent(Any.java:42) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at net.sf.tacos.components.tree.TreeHelper.normalRenderComponent( TreeHelper.java:81) at net.sf.tacos.components.tree.TreeHelper.renderComponent( TreeHelper.java:56) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at org.apache.tapestry.components.ForBean.renderComponent( ForBean.java:181) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at org.apache.tapestry.components.Any.renderComponent(Any.java:47) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.BaseComponent.renderComponent( BaseComponent.java:92) at net.sf.tacos.components.tree.Tree.renderComponent(Tree.java:85) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at org.apache.tapestry.components.RenderBody.renderComponent( RenderBody.java:41) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at org.apache.tapestry.html.Body.renderComponent(Body.java:38) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.AbstractComponent.renderBody( AbstractComponent.java:525) at org.apache.tapestry.html.Shell.renderComponent(Shell.java:64) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.BaseComponent.renderComponent( BaseComponent.java:92) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:184) at org.apache.tapestry.BaseComponent.renderComponent( BaseComponent.java:92) at org.apache.tapestry.AbstractComponent.render( AbstractComponent.java:712) at org.apache.tapestry.services.impl.DefaultResponseBuilder.render( DefaultResponseBuilder.java:182) at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java :237) at org.apache.tapestry.engine.RequestCycle.renderPage( RequestCycle.java:397) at org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse( DefaultResponseBuilder.java:158) at
Tapestry-4.1.2-SNAPSHOT and ognl exp. parser
Hello, I've just upgraded to the latest snapshot: When running the demo I've this message: 23-apr-2007 16.53.47 org.apache.tapestry.error.RequestExceptionReporterImplreportRequestException AVVERTENZA: Unable to process client request: Unable to parse OGNL expression 'value': value org.apache.tapestry.BindingException: Unable to parse OGNL expression 'value': value [classpath:/org/jfly/web/components/edittable/EdtTextField.jwc, line 33, column 57] The jwc part is : parameter name=value required=yes description The text string to be read and updated. /description /parameter property name=revValue initial-value=ognl:value/ What's happening ?
SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser
org/apache/tapestry/html/Relation.java line 113: public abstract boolean getUseBody(); must be public abstract boolean isUseBody(); line 51: if (getUseBody() getHref() == null) must be if (isUseBody() getHref() == null) do you want a jira with diff attached, or you can directly do the change ?
Re: SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser
jira ... a later ognl version may render this unneeded On 4/23/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: org/apache/tapestry/html/Relation.java line 113: public abstract boolean getUseBody(); must be public abstract boolean isUseBody(); line 51: if (getUseBody() getHref() == null) must be if (isUseBody() getHref() == null) do you want a jira with diff attached, or you can directly do the change ? -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: SOLUTION to BLOCKING: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser
done On 4/23/07, Andreas Andreou [EMAIL PROTECTED] wrote: jira ... a later ognl version may render this unneeded On 4/23/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: org/apache/tapestry/html/Relation.java line 113: public abstract boolean getUseBody(); must be public abstract boolean isUseBody(); line 51: if (getUseBody() getHref() == null) must be if (isUseBody() getHref() == null) do you want a jira with diff attached, or you can directly do the change ? -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting
Re: AW: Tapestry 4.1.2-SNAPSHOT
I had the same problem a few days ago. I added all m2-repos from the Tapestry pom.xml to my project's pom.xml and then everything worked again... Andy Paulo Ramos wrote: I am using javassist 3.0 Peter Schröder escreveu: does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tapestry 4.1.2-SNAPSHOT
I believe you only need to add dependency groupIdjboss/groupId artifactIdjavassist/artifactId version3.4.ga/version /dependency in your own pom Andy wrote: I had the same problem a few days ago. I added all m2-repos from the Tapestry pom.xml to my project's pom.xml and then everything worked again... Andy Paulo Ramos wrote: I am using javassist 3.0 Peter Schröder escreveu: does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tapestry 4.1.2-SNAPSHOT
Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Tapestry 4.1.2-SNAPSHOT
does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Tapestry 4.1.2-SNAPSHOT
I am using javassist 3.0 Peter Schröder escreveu: does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Jasse:--- Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)
Jasse, well sorry again, the 4.1.2-SNAPSHOT didn't fixed the problem. I'm developing edit grid for Tapestry 4.1.x, and the component is in final status so in a couple of days I'll make an official announcement. Sadly the component will not work with Autocompleter and other tapestry/dojo components until the bug will be fixed. I've to release the component because I hope someone will help me to fix and enhance it, and because I have to release other smart components, like IOC menu and chron job component. If you are so kind to have a look at the component and give me some hints, I'll appreciate very much. You can download it by svn: svn co https://tapestry-jfly.svn.sourceforge.net/svnroot/tapestry-jfly/trunkjfly I hope you'll enjoy my effort. Regards, kiuma
Re: Jasse:--- Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)
I'm happy to help but I'll need you to do just a ~little~ more work for me to maintain a certain level of bug fixing efficiency. If you can create a tiny self contained maven2 based application with one simple page that'll allow me to run mvn jetty:run on the app and see the bug first hand you're much more likely to get help .I can always download this from your svn repo and piece it together in an app I create but I can't make any promises on when such a thing would happen...(likely a very very long time from now) On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Jasse, well sorry again, the 4.1.2-SNAPSHOT didn't fixed the problem. I'm developing edit grid for Tapestry 4.1.x, and the component is in final status so in a couple of days I'll make an official announcement. Sadly the component will not work with Autocompleter and other tapestry/dojo components until the bug will be fixed. I've to release the component because I hope someone will help me to fix and enhance it, and because I have to release other smart components, like IOC menu and chron job component. If you are so kind to have a look at the component and give me some hints, I'll appreciate very much. You can download it by svn: svn co https://tapestry-jfly.svn.sourceforge.net/svnroot/tapestry-jfly/trunkjfly I hope you'll enjoy my effort. Regards, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jasse:--- Ajax request and init script (Tapestry 4.1.2-SNAPSHOT)
Ok Jasse, I'll do this tomorow morning, and I hope to have the new web site up and running :) In the meanwhile you can checkout the svn and run 'mvn jetty:run' from JFlyDemo just for today ;-P Thanks for help, kiuma On 3/5/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: I'm happy to help but I'll need you to do just a ~little~ more work for me to maintain a certain level of bug fixing efficiency. If you can create a tiny self contained maven2 based application with one simple page that'll allow me to run mvn jetty:run on the app and see the bug first hand you're much more likely to get help .I can always download this from your svn repo and piece it together in an app I create but I can't make any promises on when such a thing would happen...(likely a very very long time from now) On 3/5/07, Andrea Chiumenti [EMAIL PROTECTED] wrote: Jasse, well sorry again, the 4.1.2-SNAPSHOT didn't fixed the problem. I'm developing edit grid for Tapestry 4.1.x, and the component is in final status so in a couple of days I'll make an official announcement. Sadly the component will not work with Autocompleter and other tapestry/dojo components until the bug will be fixed. I've to release the component because I hope someone will help me to fix and enhance it, and because I have to release other smart components, like IOC menu and chron job component. If you are so kind to have a look at the component and give me some hints, I'll appreciate very much. You can download it by svn: svn co https://tapestry-jfly.svn.sourceforge.net/svnroot/tapestry-jfly/trunkjfly I hope you'll enjoy my effort. Regards, kiuma -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot
Hi! This was a jira issue fixed recently. I'm not sure I understand what the expected-actual results are that are questionable. I check the source-code and realized that it is standard for the NumberTranslater to default to Double(0) if the field is empty. I found the old version (empty field defaults to null-value) more convenient and internally extended the NumberTanslater to this old (as in Tapestry 4.0.x) behavior as some of our validators rely heavily on that circumstance. Really strange for the user is that even if the field is shown as empty by taperstry's NumberTranslator (4.1.x, omitZero=true) the RequiredValidator lets the field pass as valid as the underlying value is not empty... Regards, Patrick On 1/8/07, Patrick Klein [EMAIL PROTECTED] wrote: Hi! After a little testing: The behaviour of the NumberTranslater is persistent in version 4.1.1. Switching back to 4.0.2 for now, which is nothing i want to do as i'd like to use the ajax functionality of tap 4.1.x ... Regards, Patrick Hi! I just recognized that the NumberTranslator does not seem to work correctly. OmitZero=true results in no value shown in the form-field after a rewind but the value 0 is stored inside the corresponding Long- (or Integer / BigDecimal / ...) variable. OmitZero=false shows the stored 0 in the form-field. Has anyone recognized this behaviour, too and if yes is there a workaround (except writing your own NumberTranslator)? Or is this Problem maybe allready known and fixed...? I'm using this mornings (GMT+1) Tapestry 4.1.2 Snapshot from mvn-snapshot. Regards, Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot
Hi! After a little testing: The behaviour of the NumberTranslater is persistent in version 4.1.1. Switching back to 4.0.2 for now, which is nothing i want to do as i'd like to use the ajax functionality of tap 4.1.x ... Regards, Patrick Hi! I just recognized that the NumberTranslator does not seem to work correctly. OmitZero=true results in no value shown in the form-field after a rewind but the value 0 is stored inside the corresponding Long- (or Integer / BigDecimal / ...) variable. OmitZero=false shows the stored 0 in the form-field. Has anyone recognized this behaviour, too and if yes is there a workaround (except writing your own NumberTranslator)? Or is this Problem maybe allready known and fixed...? I'm using this mornings (GMT+1) Tapestry 4.1.2 Snapshot from mvn-snapshot. Regards, Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Number Translator in Tapestry 4.1.2 Snapshot
Hi! I just recognized that the NumberTranslator does not seem to work correctly. OmitZero=true results in no value shown in the form-field after a rewind but the value 0 is stored inside the corresponding Long- (or Integer / BigDecimal / ...) variable. OmitZero=false shows the stored 0 in the form-field. Has anyone recognized this behaviour, too and if yes is there a workaround (except writing your own NumberTranslator)? Or is this Problem maybe allready known and fixed...? I'm using this mornings (GMT+1) Tapestry 4.1.2 Snapshot from mvn-snapshot. Regards, Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]