creating a component event link for another page...

2009-06-25 Thread Tom Zurkan
i have an admin page that creates a link that would reside on another 
page and refer to a component on that other page.  i implemented it by 
injecting the page loader and the link source and creating the link that 
way.  however, both the page loader and link source are internal 
services  which we are advised against using.  my question is, what is 
the proper way to do this?


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: partial markup renderer replaces double quotes with single quotes and encodes any enclosed single quotes...

2009-06-17 Thread Tom Zurkan

so, is this this just for performance purposes or are there other reasons?

Howard Lewis Ship wrote:

This is part of the normal markup writer behavior for 5.1; otherwise every
double quote in the markup to be escaped. JSON requires that strings always
be in double quotes but HTML/XML does not (you can use single quotes
interchangably).

Use RenderSupport to add a $('id').observe(click, someFunction); and avoid
inline JavaScript.

On Tue, Jun 16, 2009 at 3:58 PM, Tom Zurkan tzur...@citizensportsinc.comwrote:

  

i can't find who the culprit is yet.  but, by the time i am out of
AjaxPartialResponseRendererImpl, the content has been changed so that double
quotes are replaced.  this seems to cause some problem with enclosed
javascript such as onclick=somefunction('var');  becomes
onclick='somefunction(apos;varapos;);' which i think is causing problems
on IE.  anyone know who is doing this transformation?

thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org






  




partial markup renderer replaces double quotes with single quotes and encodes any enclosed single quotes...

2009-06-16 Thread Tom Zurkan
i can't find who the culprit is yet.  but, by the time i am out of 
AjaxPartialResponseRendererImpl, the content has been changed so that 
double quotes are replaced.  this seems to cause some problem with 
enclosed javascript such as onclick=somefunction('var');  becomes 
onclick='somefunction(apos;varapos;);' which i think is causing 
problems on IE.  anyone know who is doing this transformation?


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



IE rendering the any component informal parameters on a XHR encoded....

2009-06-15 Thread Tom Zurkan
I have a form tied to a zone.  On FF everything works fine.  On initial 
render in IE everything renders fine.  However, after a form submit, the 
returned block which contains some anchors of type any, renders its 
informal parameters encoded.


so, it looks like this before submission:

a id=any-121e55b4424_0 onclick=initializeZone('79547656');CS.showHide('79547656');return 
false; href=#Comment/a


and looks like this after submission:

a id=any-121e55b4424_0 onclick=initializeZone(apos;79547656apos;);CS.showHide(apos;79547656apos;);return 
false; href=#Comment/a


it replaces my single quotes with apos;.  I assume it is in the partial 
render that this is happening.  I am just asking if anyone has seen 
anything like this before.  Or has any idea how to solve the problem.


IE complains that there are syntax errors

Thanks!

Tom Zurkan

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



IE javascript errors...

2009-06-10 Thread Tom Zurkan
so, i have a page that has many components with zones and blocks.  the 
page loads fine, but, when i try and submit on a form that uses a zone i 
get javascript errors while rendering the block.  these are probably my 
own javascript problems, but, the ie script debugger is not finding the 
right line number to tell me where the syntax error is.


has anyone seen anything similar to this?

everything works fine in firefox.

thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Loop.restoreStateFromStoredClientValue.... in 5.1.0.5

2009-06-01 Thread Tom Zurkan

Fantastic idea!  Worked like a charm.

Thanks,

Tom

Robert Zeigler wrote:

Sure... contribute a custom ValueEncoder for your data type? :)

Robert

On May 29, 2009, at 5/293:44 PM , Tom Zurkan wrote:

ah, knew it was something like that... thank you!  gotta change all 
my loops to use formState=literal:NONE unless there is another way.


thanks again!

tom

Robert Zeigler wrote:
It used to use the PkEncoder; now it uses the ValueEncoder (which 
defaults to using TypeCoercer).


Robert

On May 29, 2009, at 5/291:06 PM , Tom Zurkan wrote:

Yep.  I stumbled on that in the component docs and that did the 
trick.  I was wondering what had changed?

Siddhartha Argollo wrote:
Have you tried to set the property formState of the Loop component 
to LoopFormState.NONE? That worked for me.


Tom Zurkan wrote:
it appears that the encoder/decoder now uses the type coercer.  
did it use that before?  i thought it used serialization or 
simply toString as the default.  anyway, when decoding the 
object, it fails because it does find JDO-Id-Long-String to 
encode.  but, it does not have String-JDO decoder.  now, i am 
just curious if that is a change between 5.0.1.8 and 5.1.0.5?
there seems to be a default encoder being set which i'm not sure 
happened before.  i tried setting the loop to volatile but it 
fails because source is null.  this means i would either have to 
reload the source list or the individual element from the db 
which i don't want to do.


thanks,

tom

- 


To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Loop.restoreStateFromStoredClientValue.... in 5.1.0.5

2009-05-29 Thread Tom Zurkan
Yep.  I stumbled on that in the component docs and that did the trick.  
I was wondering what had changed?

Siddhartha Argollo wrote:
Have you tried to set the property formState of the Loop component to 
LoopFormState.NONE? That worked for me.


Tom Zurkan wrote:
it appears that the encoder/decoder now uses the type coercer.  did 
it use that before?  i thought it used serialization or simply 
toString as the default.  anyway, when decoding the object, it fails 
because it does find JDO-Id-Long-String to encode.  but, it does 
not have String-JDO decoder.  now, i am just curious if that is a 
change between 5.0.1.8 and 5.1.0.5?
there seems to be a default encoder being set which i'm not sure 
happened before.  i tried setting the loop to volatile but it fails 
because source is null.  this means i would either have to reload the 
source list or the individual element from the db which i don't want 
to do.


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Loop.restoreStateFromStoredClientValue.... in 5.1.0.5

2009-05-29 Thread Tom Zurkan
ah, knew it was something like that... thank you!  gotta change all my 
loops to use formState=literal:NONE unless there is another way.


thanks again!

tom

Robert Zeigler wrote:
It used to use the PkEncoder; now it uses the ValueEncoder (which 
defaults to using TypeCoercer).


Robert

On May 29, 2009, at 5/291:06 PM , Tom Zurkan wrote:

Yep.  I stumbled on that in the component docs and that did the 
trick.  I was wondering what had changed?

Siddhartha Argollo wrote:
Have you tried to set the property formState of the Loop component 
to LoopFormState.NONE? That worked for me.


Tom Zurkan wrote:
it appears that the encoder/decoder now uses the type coercer.  did 
it use that before?  i thought it used serialization or simply 
toString as the default.  anyway, when decoding the object, it 
fails because it does find JDO-Id-Long-String to encode.  but, 
it does not have String-JDO decoder.  now, i am just curious if 
that is a change between 5.0.1.8 and 5.1.0.5?
there seems to be a default encoder being set which i'm not sure 
happened before.  i tried setting the loop to volatile but it fails 
because source is null.  this means i would either have to reload 
the source list or the individual element from the db which i don't 
want to do.


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: 5.0.1.8 to 5.1.0.5... still getting Resource service not available....

2009-05-29 Thread Tom Zurkan
nevermind... my bad... we are decorating the asset source and i didn't 
implement the new getResource method... works now... that had me stumped 
for a while... :)


thanks for the great learning experience!

tom

Tom Zurkan wrote:
deleted my repository and rebuilt it to make sure that only 5.1.0.5 
was available.  still got the same problem.  i have the following in 
my classpath for tapestry:


develop/m2repo/repository/org/apache/tapestry/tapestry-core/5.1.0.5/tapestry-core-5.1.0.5.jar 

:/develop/m2repo/repository/org/apache/tapestry/tapestry-ioc/5.1.0.5/tapestry-ioc-5.1.0.5.jar 

:/develop/m2repo/repository/org/apache/tapestry/tapestry-spring/5.1.0.5/tapestry-spring-5.1.0.5.jar 

:/develop/m2repo/repository/org/apache/tapestry/tapestry-upload/5.1.0.5/tapestry-upload-5.1.0.5.jar 

:/develop/m2repo/repository/org/apache/tapestry/tapestry5-annotations/5.1.0.5/tapestry5-annotations-5.1.0.5.jar 



do i need to include tapestry-test?  weird.  i created a dummy builder 
for resource that returns a context resource which works but can't be 
right.


here is the error from the logs:

2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - No service implements the 
interface org.apache.tapestry5.ioc.Resource.
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - Operations trace:
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 1] Realizing service PagePool
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 2] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, 
InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:188)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 3] Realizing service 
ComponentMessagesInvalidationEventHub
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 4] Invoking 
org.apache.tapestry5.services.TapestryModule.buildComponentMessagesInvalidationEventHub(ComponentMessagesSource) 
(at TapestryModule.java:2246)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 5] Realizing service 
ComponentMessagesSource
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 6] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129)
2009-05-29 13:52:45,247 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 7] Determining injection value 
for parameter #1 
(org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl)
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 8] Resolving object of type 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl 
using MasterObjectProvider
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 9] Autobuilding instance of 
class org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [10] Determining injection value 
for parameter #1 (org.apache.tapestry5.ioc.Resource)
2009-05-29 13:52:45,248 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [11] Resolving object of type 
org.apache.tapestry5.ioc.Resource using MasterObjectProvider
2009-05-29 13:52:45,249 [btpool0-1] ERROR 
org.apache.tapestry5.internal.services.InternalModule.ComponentMessagesSource 
- Construction of service ComponentMessagesSource failed: Error 
invoking service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the 
interface org.apache.tapestry5.ioc.Resource.
java.lang.RuntimeException: Error invoking service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the 
interface org.apache.tapestry5.ioc.Resource.
   at 
org.apache.tapestry5.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:76) 



-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Loop.restoreStateFromStoredClientValue.... in 5.1.0.5

2009-05-28 Thread Tom Zurkan
it appears that the encoder/decoder now uses the type coercer.  did it 
use that before?  i thought it used serialization or simply toString as 
the default.  anyway, when decoding the object, it fails because it does 
find JDO-Id-Long-String to encode.  but, it does not have String-JDO 
decoder.  now, i am just curious if that is a change between 5.0.1.8 and 
5.1.0.5? 

there seems to be a default encoder being set which i'm not sure 
happened before.  i tried setting the loop to volatile but it fails 
because source is null.  this means i would either have to reload the 
source list or the individual element from the db which i don't want to do.


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



coercion chaining in 5.1.0.5...

2009-05-27 Thread Tom Zurkan
updating from 5.0.1.8 to 5.1.0.5 String-Long-Id used to work but 
now it does not.  i am putting in the String-Id coercer but am 
wondering why this stopped working?


thanks,

tom

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: coercion chaining in 5.1.0.5...

2009-05-27 Thread Tom Zurkan

basically, a jdoid...

Thiago H. de Paula Figueiredo wrote:
Em Wed, 27 May 2009 17:13:49 -0300, Tom Zurkan 
tzur...@citizensportsinc.com escreveu:


updating from 5.0.1.8 to 5.1.0.5 String-Long-Id used to work 
but now it does not.  i am putting in the String-Id coercer but am 
wondering why this stopped working?


What is Id?

Suggestion: instead of answering an unrelated message, send a message 
to the mailing list directly. This disturbs e-mail readers and mailing 
list archives that use threaded views. Example: your message in Nabble 
(http://www.nabble.com/reporting-issues-to23749911s302.html).





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: coercion chaining in 5.1.0.5...

2009-05-27 Thread Tom Zurkan
more info.. this is apparently coming from a form submit... and it was 
going...


String-Long-Id but, it is failing going from String (which is the 
id (i.e. long)) to a JDO.


Thiago H. de Paula Figueiredo wrote:
Em Wed, 27 May 2009 17:34:15 -0300, Tom Zurkan 
tzur...@citizensportsinc.com escreveu:



basically, a jdoid...


I can't recall any changes in the type coercing logic from 5.0.18 to 
5.1.0.5.
You can try to figure out what's happening debugging the 
TypeCoercer.coerce() method.





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: coercion chaining in 5.1.0.5...

2009-05-27 Thread Tom Zurkan
thanks!  here is what i have found out so far... it is actually 
happening on restore state of a loop within a form.  it appears that the 
encoder now uses the type coercer.  did it use that before?  i thought 
it used serialization as the default.  anyway, when decoding the object, 
it fails because it does find JDO-String.  but, it does not have 
String-JDO.  now, i am just curious if that is a change between 5.0.1.8 
and 5.1.0.5?  if so, i have a lot of new coercers to write.


thanks so much for your advise!

tom

Howard Lewis Ship wrote:

Actually TypeCoercer includes an explain() method that is useful for
getting it to explain what set of coercions will be used.

On Wed, May 27, 2009 at 2:17 PM, Tom Zurkan
tzur...@citizensportsinc.com wrote:
  

more info.. this is apparently coming from a form submit... and it was
going...

String-Long-Id but, it is failing going from String (which is the id
(i.e. long)) to a JDO.

Thiago H. de Paula Figueiredo wrote:


Em Wed, 27 May 2009 17:34:15 -0300, Tom Zurkan
tzur...@citizensportsinc.com escreveu:

  

basically, a jdoid...


I can't recall any changes in the type coercing logic from 5.0.18 to
5.1.0.5.
You can try to figure out what's happening debugging the
TypeCoercer.coerce() method.

  

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org







  




tapestry 5.1.0.5 - no service for interface Resource ... help!

2009-05-26 Thread Tom Zurkan
i keep getting an exception when trying to create the 
ComponentMessagesSource

/   public ComponentMessagesSourceImpl(
   @Symbol(SymbolConstants.APPLICATION_CATALOG)
   Resource appCatalogResource,

   ClasspathURLConverter classpathURLConverter)
   {
   this(appCatalogResource, new 
URLChangeTracker(classpathURLConverter));

   }

/The symbol is attempted to be resolved.  But, the Resource interface is 
not implemented as a service.  It is available through ContextResource 
but again not as a registered service.  Am I missing something?  Should 
I be using a different release?  I am porting from 5.0.1.8.  I added a 
factory default to my app module that overrides the default file.  
Anyone have any


Re: any ideas why the APPCATALOG resource being injected would not be getting resolved?..

2009-05-26 Thread Tom Zurkan

Looked through the classpath and everything is using 5.1.0.5

Thiago H. de Paula Figueiredo wrote:
Em Fri, 22 May 2009 22:59:16 -0300, Tom Zurkan 
tzur...@citizensportsinc.com escreveu:



i am upgrading from 5.0.18 to 5.1.05.  any ideas would be appreciated.


Make sure you only have 5.0.1.5 JARs in your classpath. A mix of 
versions can cause problemas similitar to the one you're having.




thanks,

tom

2009-05-22 18:51:34,709 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - No service implements the 
interface org.apache.tapestry5.ioc.Resource.
2009-05-22 18:51:34,709 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - Operations trace:
2009-05-22 18:51:34,709 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 1] Realizing service PagePool
2009-05-22 18:51:34,709 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 2] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildPagePool(PagePoolImpl, 
InvalidationEventHub, InvalidationEventHub) (at InternalModule.java:188)
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 3] Realizing service 
ComponentMessagesInvalidationEventHub
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 4] Invoking 
org.apache.tapestry5.services.TapestryModule.buildComponentMessagesInvalidationEventHub(ComponentMessagesSource) 
(at TapestryModule.java:2246)
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 5] Realizing service 
ComponentMessagesSource
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 6] Invoking 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129)
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 7] Determining injection value 
for parameter #1 
(org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl)
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 8] Resolving object of type 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl 
using MasterObjectProvider
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [ 9] Autobuilding instance of 
class org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [10] Determining injection value 
for parameter #1 (org.apache.tapestry5.ioc.Resource)
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.ioc.Registry - [11] Resolving object of type 
org.apache.tapestry5.ioc.Resource using MasterObjectProvider
2009-05-22 18:51:34,710 [btpool0-1] ERROR 
org.apache.tapestry5.internal.services.InternalModule.ComponentMessagesSource 
- Construction of service ComponentMessagesSource failed: Error 
invoking service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the 
interface org.apache.tapestry5.ioc.Resource.
java.lang.RuntimeException: Error invoking service builder method 
org.apache.tapestry5.internal.services.InternalModule.buildComponentMessagesSource(ComponentMessagesSourceImpl) 
(at InternalModule.java:129) (for service 'ComponentMessagesSource'): 
Error invoking constructor 
org.apache.tapestry5.internal.services.ComponentMessagesSourceImpl(Resource, 
ClasspathURLConverter) (at ComponentMessagesSourceImpl.java:73) (for 
service 'ComponentMessagesSource'): No service implements the 
interface org.apache.tapestry5.ioc.Resource.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



contributeComponentClassResolver

2008-10-21 Thread Tom Zurkan
How can I guarantee that my LibraryMapping is going to override the 
Tapestry Module LibraryMapping since the contribution's ordering is 
random? 

I am contributing a componentClassResolver LibraryMapping with the path 
prefix of core so that my library will be searched first for a 
component.  This worked in Tapestry 5.11 but doesn't in 5.16.  Was it 
just by chance that it worked before?


Any help would be greatly appreciated. 


Thanks,

Tom Zurkan

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



Re: contributeComponentClassResolver

2008-10-21 Thread Tom Zurkan

Just used a decorator on ComponentClassResolver

Thanks,

Tom Zurkan

Tom Zurkan wrote:
How can I guarantee that my LibraryMapping is going to override the 
Tapestry Module LibraryMapping since the contribution's ordering is 
random?
I am contributing a componentClassResolver LibraryMapping with the 
path prefix of core so that my library will be searched first for a 
component.  This worked in Tapestry 5.11 but doesn't in 5.16.  Was it 
just by chance that it worked before?


Any help would be greatly appreciated.
Thanks,

Tom Zurkan

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



having default meta definitions...

2008-10-21 Thread Tom Zurkan
Since contributeMetaDataLocator defines meta that cannot be overridden 
with anything other than a @Meta tag, is there a way to define defaults 
that can be overridden by contributeMetaDataLocator or equivalent?


Thanks,

Tom Zurkan

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



Re: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

2008-10-03 Thread Tom Zurkan
I've been adding log statements to the tapestry.js and everything is set 
up correctly.  However, the event comes in as undefined which I think 
causes the submission to go through (not sure about this because the xhr 
call is not happening).  But, the event cannot be stopped via 
Event.stop(domevent).  I have seen this work intermittently on firefox 
2.0.  Works fine on ie.  Help!

thanks,

tom


Tom Zurkan wrote:
I am calling form.onsubmit through javascript.  I am having problems 
with forms and zones on firefox 2.  I get event has no properties in 
prototype.js(line 3801).  The thing is, it works on IE 7 with no 
javascript errors.  Anyone else aware of this problem?  This also 
worked on tapestry5.11.  When I took the javascript out and use a 
submit button it bypasses Ajax all together.


Thanks,

Tom

-
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: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

2008-10-03 Thread Tom Zurkan

By the way this is in handleSubmit

   if (this.preventSubmission)
   {
   // Prevent the normal submission.

   Event.stop(domevent);

   // Instead ...

   this.form.fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

   return false;
   }

preventSubmission is equal to true.
Tom Zurkan wrote:
I've been adding log statements to the tapestry.js and everything is 
set up correctly.  However, the event comes in as undefined which I 
think causes the submission to go through (not sure about this because 
the xhr call is not happening).  But, the event cannot be stopped via 
Event.stop(domevent).  I have seen this work intermittently on firefox 
2.0.  Works fine on ie.  Help!

thanks,

tom


Tom Zurkan wrote:
I am calling form.onsubmit through javascript.  I am having problems 
with forms and zones on firefox 2.  I get event has no properties 
in prototype.js(line 3801).  The thing is, it works on IE 7 with no 
javascript errors.  Anyone else aware of this problem?  This also 
worked on tapestry5.11.  When I took the javascript out and use a 
submit button it bypasses Ajax all together.


Thanks,

Tom

-
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: tapestry5.16-SNAPSHOT error with forms and zones on firefox....

2008-10-03 Thread Tom Zurkan

FYI:
Event.stop(domevent) is throwing an exception in firefox 2.  It works in 
IE as the comment in the code suggests and it might work if it was 
domevent.stop().  But, the exception is what I'm seeing right now.

Hope this makes sense.
Thanks,

Tom

Tom Zurkan wrote:

By the way this is in handleSubmit

   if (this.preventSubmission)
   {
   // Prevent the normal submission.

   Event.stop(domevent);

   // Instead ...

   this.form.fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);

   return false;
   }

preventSubmission is equal to true.
Tom Zurkan wrote:
I've been adding log statements to the tapestry.js and everything is 
set up correctly.  However, the event comes in as undefined which I 
think causes the submission to go through (not sure about this 
because the xhr call is not happening).  But, the event cannot be 
stopped via Event.stop(domevent).  I have seen this work 
intermittently on firefox 2.0.  Works fine on ie.  Help!

thanks,

tom


Tom Zurkan wrote:
I am calling form.onsubmit through javascript.  I am having problems 
with forms and zones on firefox 2.  I get event has no properties 
in prototype.js(line 3801).  The thing is, it works on IE 7 with no 
javascript errors.  Anyone else aware of this problem?  This also 
worked on tapestry5.11.  When I took the javascript out and use a 
submit button it bypasses Ajax all together.


Thanks,

Tom

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




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



tapestry5.16-SNAPSHOT error with forms and zones on firefox....

2008-10-02 Thread Tom Zurkan
I am calling form.onsubmit through javascript.  I am having problems 
with forms and zones on firefox 2.  I get event has no properties in 
prototype.js(line 3801).  The thing is, it works on IE 7 with no 
javascript errors.  Anyone else aware of this problem?  This also worked 
on tapestry5.11.  When I took the javascript out and use a submit button 
it bypasses Ajax all together.


Thanks,

Tom

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



contributeMetaDataLocator ordering....

2008-10-02 Thread Tom Zurkan
I am including the annotation SubModule In one of the sub modules  I 
call contributeMetaDataLocator and set up default values for my meta 
data.  In my AppModule, I also call contributeMetaDataLocator to 
override the default.  The problem is that my AppModule contribute is 
being called first and then the submodule.  Is there a way around this?  
It worked in Tapestry5.11.


Thanks,

Tom

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