T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua

Folks,

I am receiving bootstrap problems with my webapp using T-4.1

tapestry.version4.1/tapestry.version
ognl.version2.6.7/ognl.version
spring.version2.0.6/spring.version

All I am trying to do is operate dojo with T-4.1 as it comes bundled with 
T-4.1 right?


I receive this stack dump...

0:8080
[INFO] Started Jetty Server
2007-08-13 12:53:30,745 [btpool0-2] WARN  
tapestry.error.RequestExceptionReporter - Failure to

export classpath resource /dojo/src/html/style.js.
org.apache.hivemind.ApplicationRuntimeException: Classpath resource 
'/dojo/src/html/style.js'

does not exist.
   at 
org.apache.tapestry.asset.AssetService.service(AssetService.java:248)
   at 
$IEngineService_11460249fbf.service($IEngineService_11460249fbf.java)
   at 
org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOute

rProxy.java:72)
   at 
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241)
   at 
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTermin


Am I operatiing dojo the right way in my custom component below with the 
asset annotations?


Thanks in advance

Best regards
Ken in nashua

@ComponentClass(allowBody = true, allowInformalParameters = true)
public abstract class CustomHead extends Shell
{
@InjectState(adminLayout)
public abstract AdminLayout getLayout();

public abstract void setLayout(AdminLayout layout);

	private static final String generatorContent = Tapestry Application 
Framework, version  + Tapestry.VERSION;


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

@Asset(/styles/tapestryskin/theme.css)
public abstract IAsset getTheme();

public abstract IApplicationSpecification getApplicationSpecification();

@Parameter(required = true, cache = true)
public abstract IAsset getStylesheet();

public abstract void setStylesheet(IAsset stylesheet);

@Parameter(required = true, cache = true)
public abstract String getTitle();

public abstract void setTitle(String title);

_
See what you’re getting into…before you go there 
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread andyhot

You really should use 4.1.2, from
http://tapestry.apache.org/download.html

For the dojo path use @Asset(/dojo-0.4.3/)


Ken nashua wrote:

Folks,

I am receiving bootstrap problems with my webapp using T-4.1

tapestry.version4.1/tapestry.version
ognl.version2.6.7/ognl.version
spring.version2.0.6/spring.version

All I am trying to do is operate dojo with T-4.1 as it comes bundled 
with T-4.1 right?


I receive this stack dump...

0:8080
[INFO] Started Jetty Server
2007-08-13 12:53:30,745 [btpool0-2] WARN 
tapestry.error.RequestExceptionReporter - Failure to

export classpath resource /dojo/src/html/style.js.
org.apache.hivemind.ApplicationRuntimeException: Classpath resource 
'/dojo/src/html/style.js'

does not exist.
at org.apache.tapestry.asset.AssetService.service(AssetService.java:248)
at $IEngineService_11460249fbf.service($IEngineService_11460249fbf.java)
at 
org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOute 


rProxy.java:72)
at 
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241) 

at 
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTermin 



Am I operatiing dojo the right way in my custom component below with 
the asset annotations?


Thanks in advance

Best regards
Ken in nashua

@ComponentClass(allowBody = true, allowInformalParameters = true)
public abstract class CustomHead extends Shell
{
@InjectState(adminLayout)
public abstract AdminLayout getLayout();

public abstract void setLayout(AdminLayout layout);

private static final String generatorContent = Tapestry Application 
Framework, version  + Tapestry.VERSION;


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

@Asset(/styles/tapestryskin/theme.css)
public abstract IAsset getTheme();

public abstract IApplicationSpecification getApplicationSpecification();

@Parameter(required = true, cache = true)
public abstract IAsset getStylesheet();

public abstract void setStylesheet(IAsset stylesheet);

@Parameter(required = true, cache = true)
public abstract String getTitle();

public abstract void setTitle(String title);

_
See what you’re getting into…before you go there 
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507



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



T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua

Does t-4.1.2 depend on ognl-2.7

I am anchored to ognl-2.6.7 due to an ognl-2.7 bug that wipes out my whole 
app.


t-4.1.2 is built against ognl... which one though?

What do I provide for dojo source?

Thank You

_
Learn.Laugh.Share. Reallivemoms is right place! 
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua

Ok, t-4.1.2 and ognl-2.7 works better.. for dojo

But I still cannot get past the ognl bug 111. Thats why I backed down to 
t-4.1 ognl-2.6.7 (which worked my ognl code fine)


   [
http://jira.opensymphony.com/browse/OGNL-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31191
]

111 is getting 0 attention. All the ognl is failing in multiple various 
intermittent forms due to the object graph being mauled internally.


I am still unable to find any usable version of tapestry and ognl for my 
code now.


Best regards
Ken in nashua

An exception has occurred.

You may continue by restarting the session.
[ +/- ] Exception: Unable to parse OGNL expression 'byteArrayAsset': 
byteArrayAsset

org.apache.tapestry.BindingException
Unable to parse OGNL expression 'byteArrayAsset': byteArrayAsset
binding: 	ExpressionBinding[DefaultList/$ObjectTable.$TrailsDownload 
byteArrayAsset] 	location: 
	classpath:/org/trails/component/blob/TrailsDownload.html, line 3

1   span jwcid=$content$
2	span jwcid=@If 
condition=ognl:blobDescriptorExtension.renderType.image
3	a jwcid=@ServiceLink service=BlobService 
parameters=ognl:byteArrayAsset

4   img jwcid=@MimedImage
5   propertyDescriptor=ognl:propertyDescriptor
6   model=ognl:model
7   image=ognl:byteArrayAsset
8   bytes=ognl:model[propertyDescriptor.name]

[ +/- ] Exception: Unable to parse OGNL expression 'byteArrayAsset': 
byteArrayAsset

org.apache.hivemind.ApplicationRuntimeException
Unable to parse OGNL expression 'byteArrayAsset': byteArrayAsset

[ +/- ] Exception: byteArrayAsset
ognl.OgnlException
byteArrayAsset

[ +/- ] Exception: org.trails.demo.AdminLayout
java.lang.ClassCastException
org.trails.demo.AdminLayout
Stack Trace:

 
org.trails.component.blob.TrailsDownload.getByteArrayAsset(TrailsDownload.java:79) 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
java.lang.reflect.Method.invoke(Method.java:585) 
ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:743) 
ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1167) 
ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)


_
Messenger Café — open for fun 24/7. Hot games, cool activities served daily. 
Visit now. http://cafemessenger.com?ocid=TXT_TAGHM_AugHMtagline



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua
Do I dare build T-4.1.2 against ognl-2.6.7 ? It seems like my only logical 
solution.


Best regards
Ken in nashua

_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
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: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua

Any ideas what I can do?

Why can't I use 4.1 ? Does dojo work on that rev?

Best regards
Ken in nashua

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[18,20] package ognl.enhance does 
not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[59,31] cannot find symbol
symbol  : class ExpressionAccessor
location: interface org.apache.tapestry.services.ExpressionEvaluator

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[59,11] 
read(java.lang.Object,java.lang.String) is alr

eady defined in org.apache.tapestry.services.ExpressionEvaluator

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[91,30] cannot find symbol
symbol  : class ExpressionAccessor
location: interface org.apache.tapestry.services.ExpressionEvaluator

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\ExpressionEvaluator.java:[91,9] 
write(java.lang.Object,java.lang.String,java.la
ng.Object) is already defined in 
org.apache.tapestry.services.ExpressionEvaluator


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\listener\ListenerMapPropertyAccessor.java:[24,20] package ognl.enhance 
does not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\listener\ListenerMapPropertyAccessor.java:[25,20] package ognl.enhance 
does not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\HiveMindExpressionCompiler.java:[19,0] package 
ognl.enhance does not exist



C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\HiveMindExpressionCompiler.java:[36,48] cannot find 
symbol

symbol: class ExpressionCompiler
public class HiveMindExpressionCompiler extends ExpressionCompiler 
implements OgnlExpressionCo

mpiler {

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\HiveMindExpressionCompiler.java:[36,78] cannot find 
symbol

symbol: class OgnlExpressionCompiler
public class HiveMindExpressionCompiler extends ExpressionCompiler 
implements OgnlExpressionCo

mpiler {

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\binding\ExpressionBinding.java:[18,20] package ognl.enhance does not 
exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\binding\ExpressionBinding.java:[60,12] cannot find symbol
symbol  : class ExpressionAccessor
location: class org.apache.tapestry.binding.ExpressionBinding

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\bean\BeanProviderPropertyAccessor.java:[24,20] package ognl.enhance 
does not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\bean\BeanProviderPropertyAccessor.java:[25,20] package ognl.enhance 
does not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionCacheImpl.java:[18,12] cannot find symbol
symbol  : class ClassCacheInspector
location: package ognl

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionCacheImpl.java:[39,103] cannot find symbol
symbol: class ClassCacheInspector
public class ExpressionCacheImpl implements ExpressionCache, 
ResetEventListener, ReportStatusL

istener, ClassCacheInspector {

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionEvaluatorImpl.java:[18,20] package 
ognl.enhance does not exist


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionEvaluatorImpl.java:[135,38] cannot find symbol
symbol  : class ExpressionAccessor
location: class org.apache.tapestry.services.impl.ExpressionEvaluatorImpl

C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionEvaluatorImpl.java:[135,18] 
read(java.lang.Object,java.lang.Stri
ng) is already defined in 
org.apache.tapestry.services.impl.ExpressionEvaluatorImpl


C:\Prototype\Mavenized\Product\tapestry-4.1.1\trunk\tapestry-framework\src\java\org\apache\tap
estry\services\impl\ExpressionEvaluatorImpl.java:[168,37] cannot find symbol
symbol  : class ExpressionAccessor
location: class org.apache.tapestry.services.impl.ExpressionEvaluatorImpl


Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua


I cannot even use tapestry-4.1.1 and ognl-2.6.9

[INFO] Started Jetty Server
2007-08-13 17:58:23,090 [btpool0-2] WARN  tapestry.services.Asset - 
Classpath resource '/dojo/

tapestry/namespace.js' does not exist.
2007-08-13 17:58:23,105 [btpool0-2] WARN  tapestry.services.Asset - 
Classpath resource '/dojo/

tapestry.js' does not exist.
2007-08-13 17:58:23,121 [btpool0-2] WARN  tapestry.services.Asset - 
Classpath resource '/dojo/

__package__.js' does not exist.

_
Learn.Laugh.Share. Reallivemoms is right place! 
http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T-4.1 Asset Usage - proper for dojo ?

2007-08-13 Thread Ken nashua

An exception has occurred.

You may continue by restarting the session.
[ +/- ] Exception: Missing classpath resource '/js/dojo/dojo.js'.
org.apache.hivemind.ApplicationRuntimeException
Missing classpath resource '/js/dojo/dojo.js'.
location: 	Annotation 
@org.apache.tapestry.annotations.Asset(value=/js/dojo/dojo.js) of public 
abstract org.apache.tapestry.IAsset 
org.trails.demo.components.CustomHead.getDefaultDojoSource()

Stack Trace:

 
org.apache.tapestry.asset.ClasspathAssetFactory.createAbsoluteAsset(ClasspathAssetFactory.java:61)


_
Puzzles, trivia teasers, word scrambles and more. Play for your chance to 
win! http://club.live.com/home.aspx?icid=CLUB_hotmailtextlink



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]