Re: is there a doc describing Tapestry built-in services?

2012-11-02 Thread Geoff Callender
A big +1. On 02/11/2012, at 12:57 PM, Rural Hunter wrote: > 于 2012/11/2 1:31, Thiago H de Paula Figueiredo 写道: >> On Thu, 01 Nov 2012 13:38:05 -0200, Rural Hunter >> wrote: >> >>> yes, thanks guys. I know I can get it from service-status or source code. I >>> have already had a rough read of

Re: is there a doc describing Tapestry built-in services?

2012-11-02 Thread Geoff Callender
Nice list. On 02/11/2012, at 4:09 AM, Bob Harner wrote: > I agree with Rural that there is a need for a list of some kind. > > As a partial solution, the Javadoc package summary pages list of most > of them, with brief descriptions for each: > > Core Services: > > http://tapestry.apache.org/c

RE: quarky page injection... late allocation

2012-11-02 Thread Ken in Nashua
Thanks Howard... that just fixed my gallery... and 'it just works' now... : ) fun I made cursor and collectionType persistent using @Persist Everything works now... all my auto paging buttons and links from beginning of resultset to end. I never do anything unless I really need to... so

Re: problem with JTA & EntityManager

2012-11-02 Thread John
Instead of using the runjettyrun I used mvn jetty:run, and there was more log, in fact somewhat different! 2012-11-02 20:49:57.618::INFO: Started SelectChannelConnector@0.0.0.0:8080 [INFO] Started Jetty Server [DEBUG] AppModule.JabberUserDAO Creating proxy for service JabberUserDAO [DEBUG] AppMo

Re: problem with JTA & EntityManager

2012-11-02 Thread Thiago H de Paula Figueiredo
On Fri, 02 Nov 2012 16:48:02 -0200, John wrote: The bottom was already included, it looks like this at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) so that was everything If you're right and that's everything, which I believe it isn't, we can't help yo

Re: Retrieveing what page user is located in?

2012-11-02 Thread Thiago H de Paula Figueiredo
And, if you need that in a service, inject the ComponentEventLinkEncoder service and use its decodePageRenderRequest() method. The returned object has a property which is the name of the requested page. On Fri, 02 Nov 2012 17:14:35 -0200, Bryan Lewis wrote: What I use: @Inject priv

Re: Retrieveing what page user is located in?

2012-11-02 Thread Bryan Lewis
What I use: @Inject private ComponentResources componentResources; /** * @return the containing page. */ public BasePage getPage() { return (BasePage) componentResources.getPage(); } On Fri, Nov 2, 2012 at 3:02 PM, o3005659 wrote: > How can I simply find

Retrieveing what page user is located in?

2012-11-02 Thread o3005659
How can I simply find out in what page page currently user is? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Retrieveing-what-page-user-is-located-in-tp5717615.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: problem with JTA & EntityManager

2012-11-02 Thread John
The bottom was already included, it looks like this at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) so that was everything - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Friday, November 02, 2012 4:53 PM Sub

Re: problem with JTA & EntityManager

2012-11-02 Thread Thiago H de Paula Figueiredo
On Fri, 02 Nov 2012 14:44:44 -0200, John wrote: Hi, Hi! Here's top of the log: It should have been the bottom, not the top. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.or

How to override DatePicker position? (Workaround)

2012-11-02 Thread bigcache1
Hello forum! Today I have problems with my/tapestry datepicker. When it is located inside nested components it has bad positioning like this: In the page source I see that datepicker div has bad style attribute. I could fix t

Re: problem with JTA & EntityManager

2012-11-02 Thread John
Hi, Here's top of the log: Application 'app' (version 1.0-SNAPSHOT) startup time: 469 ms to build IoC Registry, 1,078 ms overall. __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_- getAllUsers() { Query query = entityManager.creat

Re: problem with JTA & EntityManager

2012-11-02 Thread Thiago H de Paula Figueiredo
Hi! On Fri, 02 Nov 2012 14:24:53 -0200, John wrote: [DEBUG] AppModule.JabberUserDAO Invoking constructor public com.audit.manager.dao.impl.JabberUserDAODBUImpl() (for service 'JabberUserDAO') java.lang.IllegalStateException: Failed to create EntityManagerFactory for persistence unit 'Jabb

problem with JTA & EntityManager

2012-11-02 Thread John
I dropped this persistence.xml in WEB-INF, but EntityManager doesn't get injected to my DAO object. The JDBC URL and DB are fine, checked on another app. Dump below, any clues what the issue is please? John from the pom.xml org.apache.tapestry tapestry-jpa

Re: Rename a property globally?

2012-11-02 Thread Thiago H de Paula Figueiredo
On Fri, 02 Nov 2012 13:32:27 -0200, membersound wrote: Yes as stated above I know I can do this. I just wanted to know if there are possibilities for annotations or direct renaming in tml files. The form field components have a label attribute for that. For BeanModel components, there's n

Re: @Inject Service in another Service: Service is null

2012-11-02 Thread sommeralex
thanx for the suggestions. but i already have / at least what I know / "merged" tapestry with spring. I have another service, named messageService, and this messageService is injecting severa

Re: @Inject Service in another Service: Service is null

2012-11-02 Thread Howard Lewis Ship
When you are mixing Spring and Tapestry, you have to be careful. Have you reviewed the documentation: http://tapestry.apache.org/integrating-with-spring-framework.html There's something important there that you are missing. On Fri, Nov 2, 2012 at 9:02 AM, sommeralex wrote: > service A instance

Re: @Inject Service in another Service: Service is null

2012-11-02 Thread sommeralex
service A instance is injected from everywhere i am using it.. in this case, InitDB is injecting @GroupService groupService. And within groupService, i am injecting FeatureService / which is null. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Inject-Service-in-anothe

Re: @Inject Service in another Service: Service is null

2012-11-02 Thread bigcache1
How do you get your ServiceA instance? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Inject-Service-in-another-Service-Service-is-null-tp5717598p5717600.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

@Inject Service in another Service: Service is null

2012-11-02 Thread sommeralex
Hello! I am using a Service A, which is using the services from another service B, but the Service B is null if i am calling a method from my Service B within the class of Service A. public class ServiceA { @Inject ServiceB serviceB; public void someMethod(){ serviceB.doSomething(); } }

Re: Rename a property globally?

2012-11-02 Thread membersound
Yes as stated above I know I can do this. I just wanted to know if there are possibilities for annotations or direct renaming in tml files. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Rename-a-property-globally-tp5717595p5717597.html Sent from the Tapestry - User mail

Re: Rename a property globally?

2012-11-02 Thread Thiago H de Paula Figueiredo
On Fri, 02 Nov 2012 13:02:54 -0200, membersound wrote: Hi, Hi! is there an option to rename a Entity property globally? Similar to the @NonVisual annotation? Or else: could renaming be specified within the tml file, without having to create a backing model in the page java class? Add a

Rename a property globally?

2012-11-02 Thread membersound
Hi, is there an option to rename a Entity property globally? Similar to the @NonVisual annotation? Or else: could renaming be specified within the tml file, without having to create a backing model in the page java class? Thanks -- View this message in context: http://tapestry.1045711.n5.nab

PersistentLocale with images behavior

2012-11-02 Thread o3005659
Hi, I have implemented my application to have languages, and if I switch my app to lets say Romanian, all my images that don't have _ro(image_ro.img) will dissapear. Is there some service that forbids this behavior of PersistenLocale on images in full or partial mode( ie. I want some images to hold

Re: quarky page injection... late allocation

2012-11-02 Thread Howard Lewis Ship
The fields are null because the values are often stored elsewhere; this is part of the logic that allows a single page instance to be actively shared across threads. Its much more likely that your application is at fault. For example, that "cursor" parameter may be bound to a property that is non-