Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua
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...

djConfig = 
</tt><tt>{"isDebug":false,"baseRelativePath":"/assets/static/dojo-0.4.3/","preventBackButtonFix":false,"parseWidgets":false,"locale":"en"} 
</tt><tt>


<tt>src="/assets/static/dojo-0.4.3/dojo.js"><tt>type="text/javascript" src="/assets/static/dojo-0.4.3/dojo2.js">


dojo.registerModulePath("tapestry", "/assets/static/tapestry");

<tt>src="/assets/static/tapestry/core.js">


dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';











Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />




>






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) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
org.mortbay.jetty.servlet.ServletHolder.hand

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Jesse Kuhnert

Open the highest level .html template you have (such as a Border.html for
some kind of border component) and stick this in it:



Done.

On 7/20/07, Ken nashua <[EMAIL PROTECTED]> wrote:


Is this a bug?






--
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

2007-07-20 Thread Ken nashua
(FilterChainProxy.java:275) 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229) 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286) 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065) 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185) 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689) 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391) 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146) 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) 
org.mortbay.jetty.Server.handle(Server.java:285) 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457) 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751) 
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500) 
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) 
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357) 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329) 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)



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 14:07:23 -0400

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("\n\n")
   .append("dojo.registerModulePath(\"tapestry\", \"")
   .append(_tapestryPath.buildURL()).append("\");\n");
   str.append("\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?
djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>






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...





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?









Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>




dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLev

Re: dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT

2007-07-20 Thread Ken nashua

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("\n\n")
   .append("dojo.registerModulePath(\"tapestry\", \"")
   .append(_tapestryPath.buildURL()).append("\");\n");
   str.append("\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?
djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>






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...





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?









Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>




dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));


dojo.registerModulePath("tapestry", "/assets/static/tapestry");

<tt>src="/assets/static/tapestry/core.js">


dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';





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=69&FORM=MGAC01


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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

2007-07-20 Thread Ken nashua
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("\n\n")
   .append("dojo.registerModulePath(\"tapestry\", \"")
   .append(_tapestryPath.buildURL()).append("\");\n");
   str.append("\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?
djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>






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...





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?









Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>




dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));


dojo.registerModulePath("tapestry", "/assets/static/tapestry");

<tt>src="/assets/static/tapestry/core.js">


dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';





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=69&FORM=MGAC01


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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

2007-07-20 Thread Ken nashua

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?
djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>






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...





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?









Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


djConfig = 
</tt><tt>{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 
</tt><tt>




dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));


dojo.registerModulePath("tapestry", "/assets/static/tapestry");

<tt>src="/assets/static/tapestry/core.js">


dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';





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=69&FORM=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

2007-07-20 Thread Ken nashua

Ok, I mader some ground...

I made my CustomHead.JAVA look/act like ScriptIncludes.JAVA but had to 
replace this...





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?









Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


djConfig = 
{"isDebug":true,"debugContainerId":"debug","baseRelativePath":"/dojo/","parseWidgets":false,"locale":"en"} 





dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("WARNING"));


dojo.registerModulePath("tapestry", "/assets/static/tapestry");

src="/assets/static/tapestry/core.js">


dojo.require("tapestry.namespace");
tapestry.requestEncoding='UTF-8';





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

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 
92 
93 
94
95 
96 
97 
98 
99
100 


[ +/- ] Exception:
Missing classpath resource '/dojo/'. 
org.apache.hivemind.ApplicationRuntimeException

Missing classpath resource '/dojo/'.
location: context:/WEB-INF/CustomHead.jwc, line 96, column 58
91 
92 
93 
94
95 
96 
97 
98 
99
100 

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=69&FORM=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 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:


 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("");

   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

Foundation//Tapestry Specification 4.0//EN" 
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>








		


		
		
		
		



Here is the markup output:







Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


http://localhost:8080/"; />




Best regards
Ken in nashua

_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=MGAC01


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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

ScriptIncludes is not usable as-is within a CustomHead.JAVA component. It 
just gets written out with the markup as follows:


 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("");

   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

Foundation//Tapestry Specification 4.0//EN" 
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>








		


		
		
		
		



Here is the markup output:







Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


http://localhost:8080/"; />




Best regards
Ken in nashua

_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=MGAC01


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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


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("");

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

http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>















Here is the markup output:






Best WEB Application on the planet!


http://localhost:8080/"; />




Best regards
Ken in nashua

_
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01

_
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=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


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("");

   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

Foundation//Tapestry Specification 4.0//EN" 
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>








		


		
		
		
		



Here is the markup output:







Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


http://localhost:8080/"; />




Best regards
Ken in nashua

_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=MGAC01


_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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

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

Foundation//Tapestry Specification 4.0//EN" 
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>








		


		
		
		
		



Here is the markup output:







Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />


http://localhost:8080/"; />




Best regards
Ken in nashua

_
Local listings, incredible imagery, and driving directions - all in one 
place! http://maps.live.com/?wip=69&FORM=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


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.







Best WEB Application on the planet!



dojo undefined in IE.6 for tapestry-4.1.2-SNAPSHOT


I am unable to operate DOJO within my custom head component.








Best WEB Application on the planet!
href="/styles/tapestryskin/theme.css" />



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: {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


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: 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.



Re: Tapestry 4.1.2-SNAPSHOT + Tacos 4.1.0-SNAPSHOT syntax error


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
org.apache.tapestry.services.impl.ResponseRendererImpl.renderRespo

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: 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


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: Tapestry-4.1.2-SNAPSHOT and ognl exp. parser


when displaying the page this is the output:

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException:
org.apache.tapestry.services.impl.HiveMindExpressionCompiler.getRootExpression(Lognl/Node;Ljava/lang/Object;Lognl/OgnlContext;)Ljava/lang/String;

org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:65)

$ServletRequestServicer_1121f0d0c2a.service($ServletRequestServicer_1121f0d0c2a.java)

$ServletRequestServicer_1121f0d0c29.service($ServletRequestServicer_1121f0d0c29.java)

org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)

$ServletRequestServicerFilter_1121f0d0c26.service($ServletRequestServicerFilter_1121f0d0c26.java)

$ServletRequestServicerFilter_1121f0d0c25.service($ServletRequestServicerFilter_1121f0d0c25.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)

$ServletRequestServicerFilter_1121f0d0c24.service($ServletRequestServicerFilter_1121f0d0c24.java)

$ServletRequestServicerFilter_1121f0d0c23.service($ServletRequestServicerFilter_1121f0d0c23.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)

$ServletRequestServicerFilter_1121f0d0c28.service($ServletRequestServicerFilter_1121f0d0c28.java)

$ServletRequestServicerFilter_1121f0d0c27.service($ServletRequestServicerFilter_1121f0d0c27.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

org.jfly.webcommons.filters.SynchronizerFilter.service(SynchronizerFilter.java:43)

$ServletRequestServicerFilter_1121f0d0c22.service($ServletRequestServicerFilter_1121f0d0c22.java)

$ServletRequestServicerFilter_1121f0d0c21.service($ServletRequestServicerFilter_1121f0d0c21.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

org.jfly.webcommons.filters.DisableUrlSessionFilter.service(DisableUrlSessionFilter.java:79)

$ServletRequestServicerFilter_1121f0d0c20.service($ServletRequestServicerFilter_1121f0d0c20.java)

$ServletRequestServicerFilter_1121f0d0c1f.service($ServletRequestServicerFilter_1121f0d0c1f.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

org.jfly.webcommons.filters.TimeTrackerFilter.service(TimeTrackerFilter.java:40)

$ServletRequestServicerFilter_1121f0d0c1e.service($ServletRequestServicerFilter_1121f0d0c1e.java)

$ServletRequestServicerFilter_1121f0d0c1d.service($ServletRequestServicerFilter_1121f0d0c1d.java)

$ServletRequestServicer_1121f0d0c2b.service($ServletRequestServicer_1121f0d0c2b.java)

$ServletRequestServicer_1121f0d0c18.service($ServletRequestServicer_1121f0d0c18.java)

$ServletRequestServicer_1121f0d0c17.service($ServletRequestServicer_1121f0d0c17.java)

org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)

org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:104)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

*root cause*

org.apache.hivemind.ApplicationRuntimeException:
org.apache.tapestry.services.impl.HiveMindExpressionCompiler.getRootExpression(Lognl/Node;Ljava/lang/Object;Lognl/OgnlContext;)Ljava/lang/String;
[classpath:/org/apache/tapestry/html/Style.jwc, line 56, column 55]

org.apache.tapestry.error.ExceptionPresenterImpl.presentException(ExceptionPresenterImpl.java:66)

$ExceptionPresenter_1121f0d0be6.presentException($ExceptionPresenter_1121f0d0be6.java)

$ExceptionPresenter_1121f0d0be5.presentException($ExceptionPresenter_1121f0d0be5.java)

org.apache.tapestry.engine.AbstractEngine.activateExceptionPage(AbstractEngine.java:126)

org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:276)

org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54)

$WebRequestServicer_1121f0d0c48.service($WebRequestServicer_1121f0d0c48.java)

$WebRequestServicer_1121f0d0c47.service($WebRequestServicer_1121f0d0c47.java)

$WebRequestServicer_1121f0d0c44.service($WebRequestServicer_1121f0d0c44.java)

$WebRequestServicer_1121f0d0c43.service($WebRequestServicer_1121f0d0c43.java)

org.apache.tapestry.services.impl.WebReque

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 :


   
 The text string to be read and updated.
   
 
 

What's happening ?


Re: AW: Tapestry 4.1.2-SNAPSHOT


I believe you only need to add
   
   jboss
   javassist
   3.4.ga
   
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]



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 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


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]



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]



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: 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]



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: Problem with Number Translator in Tapestry 4.1.2 Snapshot

I've just updated an app from 4.0.2 to 4.1.2-SNAPSHOT, current as of  
Feb 23rd, and can confirm that this is still a problem.


Previously (in 4.0.2) if you left a text field (say it was a score)  
empty, the field would take on the value of 0 (can't imagine why you  
would ever want this, but that's what it does).
If you set the omitZero parameter on the NumberTranslator on this  
field to true, then, it would remain null (desired behaviour) when  
empty.


In 4.1.2-SNAPSHOT, it always converts to 0, regardless of the value  
of the omitZero parameter (bad).


J

On 8-Jan-07, at 9:56 AM, Jesse Kuhnert wrote:


This was a jira issue "fixed" recently. I'm not sure I understand what
the expected->actual results are that are questionable.

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


--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca




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


This was a jira issue "fixed" recently. I'm not sure I understand what
the expected->actual results are that are questionable.

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]





--
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!

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]



Autocomplete Issues - Tapestry 4.1.2-SNAPSHOT

Hi ,
 
We are using Tapestry Autocompletes extensively in our application and
have decided to go with 4.1.2-SNAPSHOT since it fixes a few issues with
4.1.1-SNAPSHOT. There seems to be a generic issue which seems to affect
this component. 
 
Synopsis :

1.  A page which creates an object containing an autocomplete list
(of say countries )
2.  A country is selected , the object is saved successfully.
3.  This object is then "edited" by going to the same page with the
object "prefilled" (this time the country value is filled in already
from step 1)
4.  User clicks the country autocomplete field
5.  User clicks something else BEFORE the autocomplete has the
chance to display the list of countries
6.  The country autocomplete field "forgets" / loses the original
value altogether.

This does not seem to affect when the autocomplete field is originally
empty. 
 
Is this a known issue ?
 
regards,
Nalin.
 

 

 

NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.


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]