Re: live class reloading for custom package

2014-06-13 Thread Juan E. Maya
You could also try spring -loaded. https://github.com/spring-projects/spring-loaded Notice you don't need to be using spring to get advantage of it On Fri, Jun 13, 2014 at 7:39 AM, Ilya Obshadko wrote: > Thanks Lance! > > I was supposing something like this. > > JRebel looks very promising, but

Re: Tapestry 5.3 + java 8

2014-06-12 Thread Juan E. Maya
Thanks a lot thiago! Good luck on the match today, although i don't think you need any look ;) On Thu, Jun 12, 2014 at 2:14 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 12 Jun 2014 06:48:19 -0300, Juan E. Maya > wrote: > > Hello All, >&g

Re: Multi-Language Concept in Tapestry5

2014-06-12 Thread Juan E. Maya
Hello, if i understood correctly, what you need to do is get the translation from an external resource, probably a database. You shoulndt be changing the property files on runtime, that will introduce some problems ex: if your app is clustered. (you would need to replicate a change in all the serv

Tapestry 5.3 + java 8

2014-06-12 Thread Juan E. Maya
Hello All, I have been following: https://issues.apache.org/jira/browse/TAP5-2321 https://issues.apache.org/jira/browse/TAP5-2214 do you know is there is any plan to release a new 5.3 version that would make it compatible with java8 ? Thanks for the help Juan

Re: PerThread Scope and Assets

2012-07-27 Thread Juan E. Maya
application to be regurlarily saturated. > Otherwise, keep your eyes on your database queries and let the rest > shake out. > > On Fri, Jul 27, 2012 at 1:13 PM, Juan E. Maya wrote: >> Hello, >> >> first of all i am very glad to go back to work with T5 :) I was >

PerThread Scope and Assets

2012-07-27 Thread Juan E. Maya
Hello, first of all i am very glad to go back to work with T5 :) I was missing the mailing list. :) I know the PerThread scope service are created per request, but i don't want the object to be created for every asset that is loaded, i only needed for the PageRender cycle. Is there a way to avoid

Re: [ANN] Tapestry 5 in Action MEAP started

2011-03-24 Thread Juan E. Maya
Nice! Congratulations! Buying my copy right now! On Wed, Mar 23, 2011 at 8:10 PM, Igor Drobiazko wrote: > Dear all, > > I'm pleased to announce that the long awaited Tapestry 5 in Action book is > available through MEAP now. > > For more details read here: > > http://blog.tapestry5.de/index.php/2

Re: tapestry-upload and zones?

2011-03-11 Thread Juan E. Maya
Hi Rich, u might try this Project. https://github.com/valums/file-uploader Demo: http://valums.com/files/2010/file-uploader/demo.htm I have used it successfully in a few Tap5 projects and was not that hard to integrated. Sadly i haven't had the time to release it as a standalone tap module. It eve

Re: Differences between Tapestry IoC and J2EE 6 CDI

2011-03-07 Thread Juan E. Maya
Another great feature from Tapestry IOC is how easy is to write well designed applications using Design Patterns like Chains of responsibilities, Strategies or Pipelines. U will be able to write truly modular applications using them together with the Distributed Configuration mentioned by Thiago.

Re: Own persistence strategy

2011-02-15 Thread Juan E. Maya
Check this out Pablo: http://wiki.apache.org/tapestry/Tapestry5HowToUsePersistentFieldStrategy It might be a bit old so some things might be slightly different. I hope it helps On Tue, Feb 15, 2011 at 2:50 PM, Pablo dos Reis wrote: > Is there a way I create my own persistence strategy of the fie

Re: Adding a user-defined function to onclick of t:actionlink

2010-12-08 Thread Juan E. Maya
Richard, u could observe the Tapestry.ZONE_UPDATED_EVENT event that tapestry raises whenever a zone is updated as explained on http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html On Wed, Dec 8, 2010 at 3:30 PM, Richard Hill wrote: > Hi All,

Re: First Tapestry app with Hibernate

2010-12-02 Thread Juan E. Maya
Rob, the problem u have is because tomcat is not finding those classes in the classpath. How do u launch ur tomcat? if u want to work with tomcat u might want to follow Kalle's guide so u r sure that there r no problems in ur development environment. Here is the guide: http://tynamo.org/Developing+

Re: Displaying inline validation messages

2010-11-29 Thread Juan E. Maya
Hi Josh! :) Not sure in wicket but in tapestry is possible. ;) Checkout this example from Jumpstart: http://jumpstart.doublenegative.com.au/jumpstart/examples/input/novalidationbubbles1 On Mon, Nov 29, 2010 at 2:45 PM, Josh Kamau wrote: > Hi there; > > I would like to display the validation fee

Re: Tapestry Web Site Updated

2010-11-27 Thread Juan E. Maya
Katia, 'm a native spanish speaker and very interested in your idea. I would really like to give back something to the Tapestry Community. On Sat, Nov 27, 2010 at 12:54 AM, Katia Aresti wrote: > 2010/11/26 françois facon > >> Hi Katia, >> >> I would like to speak Spanish or English as well as yo

Re: Tapestry Web Site Updated

2010-11-20 Thread Juan E. Maya
Very nice ! Congratulations to the tapestry team and thank you for making java web development fun again! On 20 Nov 2010 10:51, "Joost Schouten (mailing lists)" < joost...@jsportal.com> wrote: > Quick comment: the link to wooki on the homepage is broken. The URL > should be http://wookicentral.com/

Re: Multiple tml files per page/component

2010-11-20 Thread Juan E. Maya
Timo, css should be used to modify the appearance of the content rendered by pages or components and because the nature of css you can always override parts defined in your component. Doesn't css fulfill your requirements ? On 20 Nov 2010 11:14, "Timo Nentwig" wrote: > > On Nov 19, 2010, at 18:24

Re: Multiple tml files per page/component

2010-11-20 Thread Juan E. Maya
Timo On 20 Nov 2010 11:14, "Timo Nentwig" wrote: > > On Nov 19, 2010, at 18:24, Thiago H. de Paula Figueiredo wrote: > >>> Btw, what's your scenario and why is the multiple templates per page a >>> requirement for you? Maybe you could achieve what you need with >>> Components... >> >> I'm also cur

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
:) great ! :) On Wed, Nov 17, 2010 at 1:50 PM, Stephan Windmüller wrote: > On 17.11.2010 13:29, Juan E. Maya wrote: > >> Does ur component extend another one? > > Finally, this was the hint I needed. My component had an (obsolete) > inheritance from BeanDisplay which alre

Re: Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
i guess we r missing something in ur code. Does ur component extend another one? do u have more than one setupRender in ur component (or parent classes)? could u post the component code? (please not pieces, it's hard to see the big picture) On Wed, Nov 17, 2010 at 1:01 PM, Stephan Windmüller wro

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
Stephan, r u sure the component is being render at all? could please post the code where u use the component? On Wed, Nov 17, 2010 at 10:34 AM, Stephan Windmüller wrote: > On 17.11.2010 10:29, niksami wrote: > >> That's strange... > > Yep. :) > >> TML code inside t:container, > > Container is a d

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
The PREPARE event is executed when the form is render and when is submitted as explained here: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/EventConstants.html#PREPARE On Wed, Nov 10, 2010 at 4:59 PM, Juan E. Maya wrote: > SetupRender is only executed when the page is be

Re: form submit doesnt work when using an encoder

2010-11-10 Thread Juan E. Maya
SetupRender is only executed when the page is being render. Encoders are used during render and during submit so you should use the PREPARE event of your form. On Wed, Nov 10, 2010 at 4:49 PM, hese <1024h...@gmail.com> wrote: > > > sorry, not sure I understand what you mean ... but I am initiali

Re: Redirecting to page on load

2010-11-08 Thread Juan E. Maya
Yes :) I am aware of it :) I thought he wanted to do it outside a page :) Thanks! :) On Mon, Nov 8, 2010 at 1:32 PM, Thiago H. de Paula Figueiredo wrote: > On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya > wrote: > >> Hi Hugo, > > Hi, Juan! > >> what u could d

Re: Redirecting to page on load

2010-11-08 Thread Juan E. Maya
Hi Hugo, what u could do is to create the Link to the page u want to send redirect and then use the response. It would be something like: Link redirectTo = pageRenderLinkSource.createPageRenderLinkWithContext(pageClass, context); response.sendRedirect(link); I hope it helps! :) On Mon, Nov 8, 20

Re: Page Links showing path in brackets

2010-11-07 Thread Juan E. Maya
Well josh, it's hard to say. If u say it's a CSS problem then there's not much tapestry could do. U might include a new CSS asset that overrides the css causing the problem. On Mon, Nov 8, 2010 at 8:45 AM, Josh Kamau wrote: > I realized this is being caused by css. I am using blueprint CSS for la

Re: [Tapestry Central] Tapestry 5.2.2

2010-11-01 Thread Juan E. Maya
This is the link: http://people.apache.org/~uli/tapestry-site/release-notes-522.html On Mon, Nov 1, 2010 at 10:19 PM, Muhammad Mohsen wrote: > That's great ! > > But where should I find the link for the release notes ? it's not on > tapestry.apache.com isn't it ? > > On Mon, Nov 1, 2010 at 10:01

Re: [T5.2] Grid component manipulation

2010-11-01 Thread Juan E. Maya
Muhammad, as the article points out, tableless design is: "...a philosophy eschewing the use of HTML tables for page layout control purposes." Tables have a very good purpose in HTML they should be used to display tabular data (A grid is exactly that). The problem is that 10 years ago tables were

Re: Overriding BeanBlockSource

2010-11-01 Thread Juan E. Maya
Hello Taha, what you can do is to contribute a new DataTypeAnalyzer and then contribute its bean block source. The DataTypeAnalyzer is a orderedlist so you can control their order. For example if you would like to override the date selector used by tapestry u should have something like this in yo

Re: Trigger a client-side event AFTER Zone update?

2010-10-20 Thread Juan E. Maya
Hi Stefan, The zone rises an Event when it's updated. You can check it on the documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html You just have to listen for the JS Tapestry.ZONE_UPDATED_EVENT and add any JS you want. This is p

Re: [T5.2] What security framework do you recommend ?

2010-10-18 Thread Juan E. Maya
I agree with Mark. I have tried both Spring Security and Shiro and I have found the integration with Tapestry is more transparent with Shiro using tynamo. It might be because a Tynamo commiter is also is part of the Shiro team! :) One big disadvantage of Spring-security is that u r force Spring al

Re: GSOC 2010 project is finishing

2010-08-17 Thread Juan E. Maya
Nice :) Thank you Pablo On Tue, Aug 17, 2010 at 5:32 AM, Pablo dos Reis wrote: > Hi everyone, > > My GSOC 2010 project is finishing > Then I uploaded the code example in my tapestry wiki page [0] > There are a link called "App Example"[1] to code > > In this project I created > >   - Drag and Dr

Re: Unable to load an Asset which contains a folder destination in Tapestry 5.1.0.5 using PageTester

2010-08-02 Thread Juan E. Maya
Sorry, but do u really think this is the right why to ask for help? On Mon, Aug 2, 2010 at 4:50 PM, Smita wrote: > > java.lang.RuntimeException: Exception assembling root component of page > ExceptionReport: Exception assembling embedded > > component 'pagelayoutbasic' (of type > com.proquest.ap

Re: Obtain values from the ValidationTracker

2010-07-27 Thread Juan E. Maya
your help On 27 Jul 2010 03:03, "Thiago H. de Paula Figueiredo" wrote: On Mon, 26 Jul 2010 21:20:42 -0300, Juan E. Maya wrote: Hi, :) > Hi! > is there any way to obtain values from the ValidationTracker when a > form is submitted? We... AFAIK, unless you use an onValidat

Obtain values from the ValidationTracker

2010-07-26 Thread Juan E. Maya
Hi, :) is there any way to obtain values from the ValidationTracker when a form is submitted? We need to know the values that were set into the form field when is submitted even when the validation fails. My understanding is that those values are only available in the validationTracker, but i hav

Re: Where do I get Tapestry 5.2 from?

2010-07-15 Thread Juan E. Maya
Hi, the snapshots are available in the maven repository: http://repository.apache.org/snapshots You can get everything there. On Thu, Jul 15, 2010 at 4:25 PM, Christian Edward Gruber wrote: > An alpha has not yet been released.  I believe Howard has said that an alpha > or beta is close, but no

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-14 Thread Juan E. Maya
Hi, It seems to me like you are missing the tapestry-spring integration jar or you have the old one still somewhere. On Wed, Jul 14, 2010 at 11:36 AM, Sha Aith wrote: > > Hi, > > I'm trying to upgrade from Tapestry 5.0.18 to 5.1.0.5. My projects works > fine with 5.0.18, but when I use 5.1.0.5, I

Re: [T5] How to "skin" .properties files? Localization almost good...

2010-07-07 Thread Juan E. Maya
we had to do something similar and at the end we decided to create a new binder prefix "branding" and use the brand associated to the request to retrieve a label from a property file, appending the property label to the key. So for example: if we want to print the title in english for client 1. w

Re: own BindingFactory value with tags

2010-07-07 Thread Juan E. Maya
Hi Chris, you could use the OutputRaw componente (http://goo.gl/K4Bo) similarly than when u use message that contain html tags. It would be something like: On Wed, Jul 7, 2010 at 12:10 PM, Christian Koller wrote: > Hi guys I have written an own BindingFactory with the newBinding method like

Re: [T5] Best practices for customer-specific code in pages

2010-07-06 Thread Juan E. Maya
I recommend you to check the way the BeanEditForm Works. U might dynamically use a strategy to create the beanModels for a specific form. Even if this doesn't apply directly u can get very good ideas from the source code of the BeanEditForm On Tue, Jul 6, 2010 at 11:27 AM, t5_lothar wrote: > > Hi

Re: [ANN] JumpStart 4.12 released

2010-06-26 Thread Juan E. Maya
Thanks a lot Geoff! On Sat, Jun 26, 2010 at 6:36 AM, Geoff Callender wrote: > Hi all, > > JumpStart 4.12 is up and running. The big feature in this release is AJAX > Validators - they have the outward appearance of client-side validators but > the validation is done by the server asynchronously

Re: How to run JS function after zone update?

2010-06-22 Thread Juan E. Maya
This is described in the component's documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html On Tue, Jun 22, 2010 at 2:26 PM, matt22 wrote: > > i have this solution: > $('formZone').observe("tapestry:zoneupdated", function(){alert('

Re: Problem Securing Multiple Pages

2010-06-15 Thread Juan E. Maya
ing at the annotation and not the defaults... Josh On Mon, Jun 14, 2010 at 10:37 AM, Juan E. Maya wrote: > Hi Josh, > > Josh, wh...

Re: Problem Securing Multiple Pages

2010-06-14 Thread Juan E. Maya
osh Canfield wrote: > Can you give more detail about what you are doing? What did you put in > your AppModule, what are the paths that you are trying to secure? > > Thanks. > > On Mon, Jun 14, 2010 at 10:18 AM, Juan E. Maya wrote: >> Hi, >> i am trying to secure multiple

Problem Securing Multiple Pages

2010-06-14 Thread Juan E. Maya
Hi, i am trying to secure multiple pages by contributing to the MetaDataLocator as explained here: http://tapestry.apache.org/tapestry5.1/guide/secure.html but the app always uses the default value. Checking the source code of MetaDataLocatorImpl it seems that the value would always use the defaul

Re: Help with divs with rounded corners

2010-05-06 Thread Juan E. Maya
Hi Santiago, you just need to include the Chinellikit-tapestry dependency in ur pom. It would be something like: org.chenillekit chenillekit-tapestry 1.2.0 -- Forwarded message -- From: Santiago W. Fernandez Lorenzo Date: Thu, May 6, 2010 at 8:58 AM Subject: Help with divs wi

Re: T5: develop t5 app in Snow Leopard

2010-04-18 Thread Juan E. Maya
Hello Angelo Yes, I use 1.6 64 bits for development in SL, however I normally let CI servers generate the artifacts that are deployed and they have do have the same virtual machine as the target servers. In theory running something in a different Virtual Machine should work (at least that's one

Re: T5: develop t5 app in Snow Leopard

2010-04-13 Thread Juan E. Maya
Angelo, i have been working with Snow Leopard and Tapestry since SL came out and never have i ever encounter a compatibility problem. I think as u pointed out the problem might be related with JAI not with tapestry. On Tue, Apr 13, 2010 at 9:08 AM, Angelo Chen wrote: > > Hi, > > I moved recently

Re: Coercion from String to ArrayList in Loop

2010-04-08 Thread Juan E. Maya
Hi, if you're not editing the objects just set the formState="none" in the Loop components. On Thu, Apr 8, 2010 at 10:11 PM, Mite wrote: > > Hi > > I have this method and need to display the strings in the .tml. When the > page is opened the first time it works fine. But when I submit from the

Re: @Activation

2010-03-29 Thread Juan E. Maya
There is already a @pageActivationContext that does this. It only works for simple properties though http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html On Mon, Mar 29, 2010 at 10:50 PM, Michael Prescott < michael.r.presc...@gmail.com> wrote: > Hey, it would be really nice if I

Re: DateTimePicker?

2010-03-26 Thread Juan E. Maya
Hi Michael, Chennille Kit has a component that allows u to ask for date and time. U can check it here: http://www.chenillekit.org/demo/tapcomp/datetimefielddemo On Fri, Mar 26, 2010 at 3:36 PM, Michael Prescott < michael.r.presc...@gmail.com> wrote: > Has anyone done anything with a date picker

Re: Query regarding Tapestry Grid

2010-03-11 Thread Juan E. Maya
Mar 11, 2010 at 9:49 AM, Jagadesh Paladugula < jagadeshpaladug...@gmail.com> wrote: > Hi Juan, > > I tried doing this, but getting some wierd exceptions. Can you please > provide me with an example implementation. > > Regards & Thanks, > Jagadesh > > > On Thu, M

Re: [T5.1] t:hidden + id

2010-03-11 Thread Juan E. Maya
Hi, Chenillekit has a Hidden component that renders the id. I had the same problem just yesterday :) On Thu, Mar 11, 2010 at 2:03 AM, Josh Canfield wrote: > > Should the Hidden component preserve the id? In my TML I have: > > Probably, but it doesn't. You can look at the source for Hidden and >

Re: Query regarding Tapestry Grid

2010-03-11 Thread Juan E. Maya
U can extend the Grid component. In the tml of the new component u create the empty block and pass it as a parameter. On Thu, Mar 11, 2010 at 9:08 AM, Jagadesh Paladugula < jagadeshpaladug...@gmail.com> wrote: > Hi Chris, > > If I have 100 grids in my whole application, every where I have to do t

Re: T5: replace prototype.js with latest version

2010-03-04 Thread Juan E. Maya
U can simply include the tapx-prototype in ur classpath http://tapestry.formos.com/nightly/tapx/tapx-prototype/ This has been said several times in the Mailing list. On Thu, Mar 4, 2010 at 4:53 PM, Alexander Rosemann < alexander.rosem...@gmail.com> wrote: > Hi, > > I was wondering whether there

Re: [T5.1] Log4j and Application Development/Production Mode

2010-02-18 Thread Juan E. Maya
Hi Everton, I usually do this kind of things (Properties that change between environments) using maven profiles + and maven resource filtering as explained here: http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html It's not a Tapestry way but u could find it useful. On Thu

Re: Ajax FormSubmit onChange

2010-02-12 Thread Juan E. Maya
:) Thanks Thiago. My intention was to say that once the method is executed, if available, the properties are set. Sorry for the misunderstanding :) On Fri, Feb 12, 2010 at 1:40 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 12 Feb 2010 10:05:56 -0200, Jua

Re: Ajax FormSubmit onChange

2010-02-12 Thread Juan E. Maya
he selected data > (from the select Component) to the request-handling-method? > > -----Ursprüngliche Nachricht- > Von: Juan E. Maya [mailto:maya.j...@gmail.com] > Gesendet: Freitag, 12. Februar 2010 10:09 > An: Tapestry users > Betreff: Re: Ajax FormSubmit onChange > &g

Re: Ajax FormSubmit onChange

2010-02-12 Thread Juan E. Maya
Good Morning :) The TapestryExt.js in this page: http://tinybits.blogspot.com/2009/10/missing-javascript.html has a method that allows to submit a form using AJAX easily. U just need to call that method from ur Select. On Fri, Feb 12, 2010 at 10:00 AM, Dominik Gätjens < dominik.gaetj...@leomedia.

Re: How to flush cached pages for a user when locale is changed

2010-02-09 Thread Juan E. Maya
What r u trying to accomplish? If u want the pages to see the new locale u can use LocalizationSetter service. Normally what i do is to add a PageRenderRequestFilter that obtains the user locale (from database or cookie) and then u just need to call localizationSetter.setLocaleFromLocaleName(loca

Re: Tapestry Templates + Scripting Language (CMS)

2010-01-16 Thread Juan E. Maya
Thanks Thiago! U r the man!!! :) I will try the first approach it looks a lot easier to maintain. On Sat, Jan 16, 2010 at 11:20 AM, Thiago H. de Paula Figueiredo wrote: > On Sat, 16 Jan 2010 14:11:22 -0200, Juan E. Maya > wrote: > >> Hi all, > > Hi! > >> I am in

Tapestry Templates + Scripting Language (CMS)

2010-01-16 Thread Juan E. Maya
Hi all, I am in a kind of a big dilema now. I am trying to implement a basic CMS using Tapestry. One of the requirements is that the user will be able to modify their own templates. I have already seen some approaches in the mailing list to read the tmls files from different locations what gives m

Re: T5 with Spring $ecurity - dynamic roles on pages

2010-01-16 Thread Juan E. Maya
I think this a Spring-Security issue, not a Tapestry one. I never did that but i think u may want to look at AccessDecisionVoter interface and implement one that checks its value agains the database. This may help u: http://blog.springsource.com/2009/01/02/spring-security-customization-part-2-adju

Re: Java class reloading and Tomcat

2010-01-12 Thread Juan E. Maya
I use tomcat with tapestry and class reloading works without problems. I don't have any special configuration. I launch tomcat from inside eclipse using the following config file: I hope it helps. On Tue, Jan 12, 2010 at 3:52 AM, Baptiste Autin - Linkeo RD wrote: > Hello, >

Re: Advice on Tapestry5 best practise for user session data

2010-01-10 Thread Juan E. Maya
I would also use a @SessionState pojo. The approach of the service having a map wouldn't work in a clustered environment. On Sun, Jan 10, 2010 at 11:34 AM, Erick Erickson wrote: > POJOs can be stored as @SessionState variables *if* they're > serializable (as I understand it), would that work? > >

Re: Res: How to disable column sorting on a Grid component?

2010-01-09 Thread Juan E. Maya
u can override the header using propertyHeader It would be something like this: Last Name This will override the generated markup removing the ordering. On Sat, Jan 9, 2010 at 12:25 PM, Everton Agner wrote: > Oh, I still have the problem, because the TH's is still there. > > > > > __

Re: File Upload example

2010-01-07 Thread Juan E. Maya
Hi, u just need to include the reference of the module inside the pom of ur application. It would be something like this: org.apache.tapestry tapestry-upload ${tapestry-release-version} Maven will download

Re: Accessing Tapestry Services from Spring Beans

2010-01-07 Thread Juan E. Maya
nother possibly relevant factor I raised in the initial email was that the > XFire services live at a url that is an ignored path for Tapestry - could > this be why Tapestry is not kicking in?  If so, how stop Tapestry not ignore > the path, but stop it thinking the path is invalid and retur

Re: Accessing Tapestry Services from Spring Beans

2010-01-06 Thread Juan E. Maya
Jim I have injected spring beans using: @Inject @Autowired private Service MyService; I had problems when i wanted to inject services using @InjectService for some reason the services were not injected. I had to use Annotation markers and then the injection worked. Be sure u r NOT using tapestr

Re: Workflow Engine for tapestry

2010-01-04 Thread Juan E. Maya
I have used Jboss on tomcat and jetty without any problems. It should run fine with any other app server. U just need to put the jar inside ur classpath and start playing with it. To integrate with tapestry i guess u could have a tapestry service to control the movement of the token between the wo

Tapestry-Spring problem: ApplicationContext files from jar can't be found.

2009-12-10 Thread Juan E. Maya
Hello! i am having some issues with the integration with Spring and Tapestry. We have one web application that has several modules packed as jars in the web-inf/lib. Each of those modules has its own application context. In the web.xml we have the following configuration to load the beans from spr

Re: What about the EWDT book?

2009-12-10 Thread Juan E. Maya
Alessandro although t4 and t5 are based on the same concepts i think that u do things in quiet a different way and it's not worthy to buy if u are planning to develop an application using t5. There have been rumors of 2 other new tapestry 5 books that could go out. One would be an english translat

Re: forward to page after delay

2009-12-06 Thread Juan E. Maya
yes, obviously the meta-tag is the best option. It just didnt' come to my mind. Thank you Ulrich for pointing this out. On Sun, Dec 6, 2009 at 10:24 AM, Stephan Windmüller wrote: > Juan E. Maya wrote: > >>> I m new in tapestry and try to create confirmation page A which >

Re: forward to page after delay

2009-12-05 Thread Juan E. Maya
I think the best way simpler way is to have a javascript that opens page B after X seconds. On Sat, Dec 5, 2009 at 2:54 PM, oskar_a wrote: > > Hi, > I m new in tapestry and try to create confirmation page A which redirects to > page B after 5 seconds. Something like: "Your login was successful. N

Re: Help with ZoneUpdate

2009-12-05 Thread Juan E. Maya
The Zone raises a JS event when is updated. This is explained in the Zone documentation: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html "After the client-side content is updated, a client-side event is fired on the zone's element. The cons

Re: Spring Security for T5 : Different target urls for different user roles

2009-12-04 Thread Juan E. Maya
hi, i did something like this for one of my past projects. Specifically what i did was to create my own AuthenticationProcessingFilter that overrides getDefaultTargetUrl() The methods looks like this: @override public String getDefaultTargetUrl() { String url = this.afterLoginRed

Re: Eclipse plug-in for adding tml+java+properties files?

2009-12-02 Thread Juan E. Maya
ohh sorry for that :( I was actually thinking about loom: http://code.google.com/p/loom-t5/ On Wed, Dec 2, 2009 at 6:52 PM, Alessandro Bottoni wrote: > Juan E. Maya ha scritto: >> i think does what u want. I haven't use it, but u may give it a try. > > Many thanks Juan but.

Re: Eclipse plug-in for adding tml+java+properties files?

2009-12-02 Thread Juan E. Maya
i think does what u want. I haven't use it, but u may give it a try. On Wed, Dec 2, 2009 at 6:20 PM, Alessandro Bottoni wrote: > Hi All, > I'm wondering if there is any Eclipse plug-in able to add to an existing > project all of the three main components of a Tapestry 5 page (that is: > a .tml te

Re: [T5.1]: How to use MultiZoneUpate?

2009-11-29 Thread Juan E. Maya
U can see here how is done: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/ajaxmultizoneupdate On Sun, Nov 29, 2009 at 8:18 PM, wesleywj2 wrote: > > hi, > > I'm confuse as how do i use MultiZoneUpdate component, let's say i have 2 > zone with predefined zone id shown b

Re: tapestry 5 intercepting ajax call

2009-11-28 Thread Juan E. Maya
Hi, when a Zone is update it raises a javascript event that u could listen to using prototype. check: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Zone.html "After the client-side content is updated, a client-side event is fired on the zone's ele

Re: Login Filter,

2009-11-26 Thread Juan E. Maya
U coud also use the Chennilekit Access Module: http://www.chenillekit.org/chenillekit-access/index.html or Tapestry-Spring-Security Integration Or if u want to do everything by yourself u can check their source code. http://www.localhost.nu/java/tapestry-spring-security/ On Thu, Nov 26, 2009 a

Re: Spindle for Tapestry 5?

2009-11-25 Thread Juan E. Maya
U can check this: http://code.google.com/p/loom-t5/ I've personally never used it but i know of some colleagues who use it. There are also some eclipse code templates on the wiki: http://wiki.apache.org/tapestry/Tapestry5HowToEclipseCodeTemplates On Wed, Nov 25, 2009 at 3:24 PM, Alessandro Botto

Re: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-11-23 Thread Juan E. Maya
U could create a new "URIAssetFactory" to obtain assets from a external resource or u could use the one provided by chenillekit. On Mon, Nov 23, 2009 at 2:36 PM, Borut Bolčina wrote: > Hello, > > I am also looking for a way to serve all T5 application's JavaScript, CSS > and images from our own C

Re: ognl question

2009-11-23 Thread Juan E. Maya
This may be useful http://tapestry.apache.org/tapestry5/guide/propexp.html On Mon, Nov 23, 2009 at 3:09 PM, Ken in nashua wrote: > > Thanks folks for offers. > > Still wondering... how do we do object graph notation in T5. Is there an > improvised construct/framework to take the place of OGNL? >

Re: Best server for development and for production?

2009-11-18 Thread Juan E. Maya
I use tomcat with the sysdeo plugin (http://www.eclipsetotale.com/tomcatPlugin.html), although as pointed out by Tiago tapestry reduces the need of deploy-on-change, still the code in the business layer of the application requires a redeploy. Sysdeo although not perfect, reduces the deploys to chan

Re: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Juan E. Maya
:) u r right tiago! It should a RequestFilter :) My memory betrayed me :) On Wed, Nov 18, 2009 at 7:06 PM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 18 Nov 2009 15:53:32 -0200, Juan E. Maya > escreveu: > >> U can store the locale of the user in a cookie or in db (if u al

Re: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Juan E. Maya
Hi Everton, U can store the locale of the user in a cookie or in db (if u already have a session) and then set the desired locale in a ComponentRequestFilter. It would be something like this: public class LocaleComponentRenderRequestFilter implements ComponentRequestFilter { private fina

Re: Dynamic Locale changing

2009-11-17 Thread Juan E. Maya
Sorry to interrupt :) U can inject the supported languages by injecting the symbol in your layout. Something like: @Inject @Symbol(SymbolConstants.SUPPORTED_LOCALES) private String supportedLanguages; Remember the languages are comma separated so just split them. String[] languages = this.supp

Re: Hibernate question

2009-11-16 Thread Juan E. Maya
Tapestry-hibernates contributes a new strategy "entity". This way only the id of hibernate entities are saved on the session and the module takes care of recreating the object during the next request. Check: http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html look for Using @Per

Re: Tapestry-Spring in standalone mode

2009-11-15 Thread Juan E. Maya
they should perform. > > I prefer doing it this way and use Tapetsry for all web tier related > issues. This allows me to port all my low level code to any application > which might not know anything about the web or tapestry. > > Hope it helps, > Joost > > Juan E. Maya wro

Re: Tapestry-Spring in standalone mode

2009-11-14 Thread Juan E. Maya
gt; What "Chains of Responsibilities" are you refering to? > > Juan E. Maya wrote: >> Joost i am aware of Spring Integration with Quartz and we are using >> it. The problem is that we are using some Chains of Responsibilities >> defined in tapestry in our Spring beans (u

Re: Tapestry-Spring in standalone mode

2009-11-14 Thread Juan E. Maya
java jobs (java equivalent of cron jobs)? If so, >> since you are already working with Spring, have a look at: >> http://static.springsource.org/spring/docs/2.5.x/reference/scheduling.html >> >> >> >> Not tapestry, but very simple too ;-) >> >>

Re: Switching between Stage & Production DB with Tapestry5 & Hibernate3

2009-11-13 Thread Juan E. Maya
U could also use maven for this using maven profiles and resource filtering. src/main/resources true This would allow to create variables i

Re: Hibernate question

2009-11-13 Thread Juan E. Maya
u can also let Tapestry-Hibernate take care of that for u. On Fri, Nov 13, 2009 at 3:18 PM, Szemere Szemere wrote: > Afaik any Hibernate object stored in the HTTPSession will be > Hibernate-detached between HTTP requests. It is not refreshed/merged > automatically on a new HTTP request, so it wil

Tapestry-Spring in standalone mode

2009-11-13 Thread Juan E. Maya
Hi, We are using Tapestry-Spring integration in our web tear without problems but we require to have a standalone application that will take care of the job executions. Has anybody successfully created such integration ? I was checking the code of the Spring SpringModuleDef and it's highly tied to

Re: Getting I18n messages from another page

2009-11-13 Thread Juan E. Maya
I don't think that's possible. If u want to have a common message u should use the Application Catalog. On Fri, Nov 13, 2009 at 1:26 PM, Stephan Windmüller wrote: > Hello! > > One quick question: Is it possible to retrieve the I18n messages from > another page? I tried this: > > --- > > class Som

Re: [ANNOUNCEMENT] New Tapestry 5 book

2009-11-11 Thread Juan E. Maya
awesome !!! On Thu, Nov 12, 2009 at 12:33 AM, Francisco Manzano wrote: > +1  ;) > > 2009/11/11 Antonio Fernández > >> >> +1 >> >> >> Alfonso Quiroga escribió: >> >>  +1 >>> >>> On Wed, Nov 11, 2009 at 6:24 PM, keykubat wrote: >>> >>> :) +1 Igor Drobiazko wrote: > Go

Re: "Object expected error" with prototype.js and IE 8

2009-11-10 Thread Juan E. Maya
The current versions of prototype used by tapestry doesn't work very well with IE8, u can replace it by yourself (search the list, for sure is there somewher) or even use http://tapestry.formos.com/nightly/tapx/tapx-prototype/ 2009/11/10 Ignacio González Arboleya : >  I am using renderSupport.addS

Re: Underscore rule(s)?

2009-11-05 Thread Juan E. Maya
Hi Melidramo, as far as i know the _ is a shortcut to avoid the use of "this." inside a java class. So u can still clearly see that you r accessing a property from the class and not a local variable. When tapestry uses @Property to generate the get and set of a property it ingores the _ Therefore

Re: tapestry 5.1.0.5 and AJAX project/example?

2009-10-28 Thread Juan E. Maya
r My favorite is: http://www.chenillekit.org/demo/tapcomp/datetimefielddemo > input type autocomplete Jumpstart: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/autocompletemixin > > > > Argo > > > 2009/10/28 Juan E. Maya > >> Argo maybe

Re: Injecting Tapestry services into Spring beans

2009-10-28 Thread Juan E. Maya
Ok, i found the problem. To inject the service u have to use: @Inject @Autowired private Service MyService; As always the problem was between the screen and chair :) On Wed, Oct 28, 2009 at 1:06 AM, Juan E. Maya wrote: > Hi Hennig, did u manage to resolve this problem? > > i am having

  1   2   3   >