Re: [T5.2] Is there a reason why T5.2 is not using the latest version of scriptaculous?
scriptaculous V1.8.3 (October 8, 2009) * Update to Prototype 1.6.1 * Effect.toggle to return effect (to be able to do Effect.toggle(element, 'appear', {sync: true});) [RStankov] * Use element.identify() for fetching element.id in Sortable.create [RStankov] * Fix deprecated usage of Position.cumulativeOffset. [#182 state:resolved] [James Wheare] * Make loader work for application/xhtml+xml served documents. Closes #95. [Pavel Sedek] * Check for Windows Media plugin and RealPlayer plugin in Firefox on Windows to allow sound playback. Closes #36, #86. [Alexander Gavazov et al.] * Remove dead code in effects.js. Closes #125. [Confusioner] http://github.com/madrobby/scriptaculous/blob/v1.8.3/CHANGELOG Am 30.09.2010 18:41, schrieb Howard Lewis Ship: No real reason; what's new in 1.8.3? I could see upgrading to 1.8.3 in the next beta release (5.2.2). On Thu, Sep 30, 2010 at 4:28 AM, Blower, Andy andy.blo...@proquest.co.uk wrote: It's still using 1.8.2, when 1.8.3 has been out for a year - is there a reason for this? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Dynamically setting tabindex for input elements in a component
Perfect, thanks On Mon, Sep 27, 2010 at 6:44 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 27 Sep 2010 14:09:18 -0300, Denis McCarthy dmccar...@annadaletech.com wrote: t:select t:id=country t:model=dummyModel t:value=country t:label=message:COUNTRY tabindex=${tabIndexStart + 1} / t:select t:id=country t:model=dummyModel t:value=country t:label=message:COUNTRY tabindex=${getTabIndex(1)} / public int getTabIndex() { } public int getTabIndex(int skip) { getTabIndex() + skip; } -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Annadale Technologies Limited
Re: Early steps getting Tapestry and Hibernate working via DAO
You do have if you have the tapestry-hibernate project open in eclipse and enabled maven workspace resolution. Then the tapestry-hibernate project is added to the classpath, not the jar and thus the META-INF entry to load the hibernate module isn't available. On 01.10.2010 18:55, Howard Lewis Ship wrote: That seems odd, you shouldn't need to use @SubModule; the necessary modules are automatically loaded if on the classpath. On Fri, Oct 1, 2010 at 6:31 AM, Michal Grucamichalgr...@gmail.com wrote: I gave presentation about Tapestry yesterday. In it I included hibernate integration example, I will share that after weekend. From my observation: make sure that You have both hibernate libraries in Your classpath. Double check did You annotated AppModule with @Submodule(HibernateModule.class). That are two related points that gave me a lot of trouble. Mainly because of eclipse weakest side: maven integration. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Early-steps-getting-Tapestry-and-Hibernate-working-via-DAO-tp5591178p5591360.html Sent from the Tapestry Users mailing list archive at Nabble.com. - 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
Injecting Spring ApplicationContext into Service method
Hello Everyone, I haven't used T5 for very long but I think I'm missing something fairly obvious here. I'm trying to inject the Spring ApplicationContext into a service method. But I only get a NPE. However, when I inject a bean configured in Spring's applicaitonContext.xml, it gets injected fine. I need the application context to inject a bean which is not a singleton. Here is what I tr...@inject@Service(ApplicationContext)private org.springframework.context.ApplicationContext ctxt; Here is how I'm setup.Tapestry-core, tapestry-spring 5.1.05 stable Here is the tapestry services listAccessDecisionManager: DEFINED ActionRenderResponseGenerator: DEFINED AjaxComponentEventRequestHandler: DEFINED AjaxComponentEventResultProcessor: DEFINED AjaxPartialResponseRenderer: DEFINED Alias: REAL AliasOverrides: REAL AnonymousAuthenticationProvider: DEFINED AnonymousProcessingFilter: DEFINED ApplicationContext: REAL ApplicationContextCustomizer: REAL ApplicationDefaults: REAL ApplicationGlobals: REAL ApplicationInitializer: REAL ApplicationStateManager: DEFINED ApplicationStatePersistenceStrategySource: DEFINED AspectDecorator: VIRTUAL AssetBindingFactory: DEFINED AssetObjectProvider: REAL AssetPathConverter: DEFINED AssetResourceLocator: DEFINED AssetSource: VIRTUAL AuthenticationEntryPoint: DEFINED AuthenticationProcessingFilter: DEFINED AuthenticationTrustResolver: DEFINED BaseURLSource: DEFINED BeanBlockOverrideSource: DEFINED BeanBlockSource: DEFINED BeanModelSource: DEFINED BindingSource: DEFINED ChainBuilder: REAL ClassFactory: BUILTIN ClassNameLocator: REAL ClasspathAssetAliasManager: DEFINED ClasspathAssetFactory: DEFINED ClasspathURLConverter: REAL ClientBehaviorSupport: DEFINED ClientDataEncoder: DEFINED ClientInfrastructure: DEFINED ClientPersistentFieldStorage: DEFINED ClientPersistentFieldStrategy: DEFINED ComponentClassCache: DEFINED ComponentClassFactory: DEFINED ComponentClassResolver: REAL ComponentClassTransformWorker: DEFINED ComponentClassTransformer: VIRTUAL ComponentClassesInvalidationEventHub: REAL ComponentDefaultProvider: DEFINED ComponentEventLinkEncoder: DEFINED ComponentEventRequestHandler: DEFINED ComponentEventResultProcessor: DEFINED ComponentInstanceResultProcessor: DEFINED ComponentInstantiatorSource: REAL ComponentMessagesInvalidationEventHub: DEFINED ComponentMessagesSource: DEFINED ComponentModelSource: DEFINED ComponentPageElementResourcesSource: DEFINED ComponentRequestHandler: DEFINED ComponentSource: DEFINED ComponentTemplateSource: DEFINED ComponentTemplatesInvalidationEventHub: DEFINED Context: DEFINED ContextAssetFactory: DEFINED ContextBindingFactory: DEFINED ContextPathEncoder: DEFINED ContextValueEncoder: DEFINED CookieSink: DEFINED CookieSource: DEFINED Cookies: DEFINED CtClassSource: DEFINED DaoAuthenticationProvider: DEFINED DataTypeAnalyzer: DEFINED DefaultDataTypeAnalyzer: DEFINED DefaultFileItemFactory: DEFINED DefaultImplementationBuilder: VIRTUAL DeferredExecution: DEFINED EndOfRequestEventHub: REAL Environment: VIRTUAL EnvironmentalShadowBuilder: VIRTUAL ExceptionAnalyzer: DEFINED ExceptionTracker: DEFINED FactoryDefaults: REAL FckEditorService: DEFINED FieldTranslatorSource: DEFINED FieldValidationSupport: DEFINED FieldValidatorDefaultSource:
Re: Early steps getting Tapestry and Hibernate working via DAO
This was the most useful complete tutorial I used at the beginning what I started to learn Tapestry and needed to figure out how to include Hibernate. http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate So, now we use the standard source layout with the additions from the tutorial (so definitely read it first). Later after seeing that we don't need Spring at all, I removed it and did everything that Spring was doing myself and used what was already available in Tapestry for the rest. If you like inspect our source code here: http://develop.ii.edu.mk/projects/isii/browser/trunk The main package is mk.edu.ii.isii.upisi Most simple pages are DegreeList and DegreeEdit, there is also some transactional service code behind it in services. and some dao code behind the service code. Also inspect the AppModule to see how the wireing between the services is done. On 10/01/2010 02:40 PM, Alex W. Croton wrote: Hi, I am a real newbie when it comes to Tapestry and even worse than that when it comes to Hibernate. I am using Tapestry 5.1.0 and Hibernate 3.3.1 - talking to a MySQL database. I've got the code from the Tapestry5HowToUseTapestryHibernate working fine, but in the application that I am putting together I want/need to be able to use DAO to interface between the various components of the application. After 3 days of various Googling, I'm far more confused than when I started - it seems that the examples that I have been able to find are either for a different version of Tapestry - or appear to be using some form of magic that my environment is lacking :-) Can anyone offer any pointers to get me going on what 'bits' I need where please? Regards, Alex C smime.p7s Description: S/MIME Cryptographic Signature