properties not persisting across requests

2011-09-12 Thread Ken in Nashua
Hi All, I have page Home and a component Gallery whereby the page contains the component. So I tell the page to house a variable itemsPerPage so I can persist it into the component and I rig the component so accommodate and retain the state of this variable. Nothing get persisted or initial

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Mark
That would work for me. Mark On Mon, Sep 12, 2011 at 5:52 PM, Robert Zeigler wrote: > Hm. So what works for you? > > I might be able to do Monday night, after about 9:00 pm. > > Robert > > On Sep 12, 2011, at 9/125:33 PM , Howard Lewis Ship wrote: > >> I think I'm going to a baseball game that n

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Robert Zeigler
Hm. So what works for you? I might be able to do Monday night, after about 9:00 pm. Robert On Sep 12, 2011, at 9/125:33 PM , Howard Lewis Ship wrote: > I think I'm going to a baseball game that night ... > > On Mon, Sep 12, 2011 at 3:25 PM, Robert Zeigler > wrote: >> I could do Tuesday night

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Howard Lewis Ship
I think I'm going to a baseball game that night ... On Mon, Sep 12, 2011 at 3:25 PM, Robert Zeigler wrote: > I could do Tuesday night? > > Robert > > On Sep 12, 2011, at 9/123:12 PM , Howard Lewis Ship wrote: > >> Terrific ... I fly in late Saturday night and fly out Wednesday morning. >> >> On M

Re: [ANN] JumpStart 5.4.8 gets @EJB and a better PageProtectionFilter

2011-09-12 Thread Geoff Callender
Thanks Francois. Always nice to hear that someone finds it useful. Cheers, Geoff On 13/09/2011, at 2:17 AM, François Facon wrote: > Hi Geoff > > You rock! > > Regards > François > > 2011/9/12 Geoff Callender : >> Hi all, >> >> There's a new JumpStart running at >> >>http://jumpstar

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Robert Zeigler
I could do Tuesday night? Robert On Sep 12, 2011, at 9/123:12 PM , Howard Lewis Ship wrote: > Terrific ... I fly in late Saturday night and fly out Wednesday morning. > > On Mon, Sep 12, 2011 at 12:18 PM, Robert Zeigler > wrote: >> I will be unable to attend the conference due to time constrai

Re: Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Laurent Guerin
The following Jira has been created : https://issues.apache.org/jira/browse/TAP5-1642 Thanks. Laurent. 2011/9/12 Guerin Laurent > Thanks, i'll try to create a simplified project quickly and file a JIRA. > > -Message d'origine- > De : Robert Zeigler [mailto:robert.zeig...@roxanemy.com]

Re: Run javascript after a zone is updated

2011-09-12 Thread Muhammad Gelbana
I solved the situation using a workaround. But I still couldn't efficiently run javascript when the block zone is updated. I tried using the javascriptsupport service but couldn't find a way to use it as it needs to be used in the "afterrender" event of the zone which i couldn't figure out where to

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Howard Lewis Ship
Terrific ... I fly in late Saturday night and fly out Wednesday morning. On Mon, Sep 12, 2011 at 12:18 PM, Robert Zeigler wrote: > I will be unable to attend the conference due to time constraints, but I live > in St. Louis; it would be fun to meet other Tapestry users/devs. > > Robert > > On Se

Re: T5.3 Grid, inPlace Update and expired Sessions

2011-09-12 Thread Lenny Primak
I implemented this in my code and it works wonders. I had to override the Tynamo security login page, which isn't that easy in a good extensible manner, but this now works. I still have to monitor the session for expiration though, because if the session is gone but Shiro's 'remember me' is activa

Re: Implications of putting Tapestry JARs into common ClassLoader

2011-09-12 Thread Lenny Primak
This might be a different problem that I am facing in glassfish. Actually, I don't really need two of the same app in the app server, as its easy to do as many server instances as I want :) Thanks for your help! On Sep 2, 2011, at 10:56 AM, Jonathan Barker wrote: > >"-//JBoss//DTD Web Appli

Re: Request can't identify

2011-09-12 Thread Thiago H. de Paula Figueiredo
On Mon, 12 Sep 2011 16:38:09 -0300, Lenny Primak wrote: Also, tapestry annotations only work in the tapestry module package, i.e. .{components,pages,mixins} etc. Make sure your tapestry filter points to the right package and you have them set up correctly. You can always use constructor

Re: Request can't identify

2011-09-12 Thread Lenny Primak
Also, tapestry annotations only work in the tapestry module package, i.e. .{components,pages,mixins} etc. Make sure your tapestry filter points to the right package and you have them set up correctly. On Sep 12, 2011, at 1:06 PM, Steve Eynon wrote: > You may want to check you imports and check

Re: OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Robert Zeigler
I will be unable to attend the conference due to time constraints, but I live in St. Louis; it would be fun to meet other Tapestry users/devs. Robert On Sep 12, 2011, at 9/122:03 PM , Mark wrote: > The Strange Loop Conference in St. Louis is later this month. I'm > going and I see that Howard i

OT: Strange Loop Conference in St. Louis

2011-09-12 Thread Mark
The Strange Loop Conference in St. Louis is later this month. I'm going and I see that Howard is doing a session. Is anyone else from the Tapestry community going to be there? Mark - To unsubscribe, e-mail: users-unsubscr...@tape

Re: tapestry ready for production?

2011-09-12 Thread Thiago H. de Paula Figueiredo
On Sun, 11 Sep 2011 10:25:35 -0300, Wechsung, Wulf wrote: For one, components are basically singletons so you can never have the same component twice on the page. You can have it render twice with different parameters which can accomplish the same thing but makes it necessary to careful

Re: tapestry ready for production?

2011-09-12 Thread Thiago H. de Paula Figueiredo
On Sun, 11 Sep 2011 08:31:13 -0300, Steve Eynon wrote: 2). The only limit I was ever aware of was not being able to dynamically load templates on the fly (say from the file system). Actually, I guess someone in this mailing list found a way to load template files from a database, so a sim

Re: [T5.x] onException() During Render Phase

2011-09-12 Thread Steve Eynon
Thanks for the pointer - I thought that may be the case but couldn't pin point it in the docs. Cool, and thanks for the onActivate() tip too! Steve. On 13 September 2011 01:48, derkoe wrote: > > Steve Eynon wrote: >> >> ...it doesn't say "Hello!!!"? Is onException() not called during >> RenderP

Re: Getting JS conflicts while upgrading tapestry version.

2011-09-12 Thread derkoe
biswanath@gmail.com wrote: > > I am updating the tapestry version from 5.0.18 to 5.2.6. > > 1. How can I disable loading default tapestry js files like > ...(scriptaculous.js, tapestry-messages.js, tapestry-console.js, > tapestry-beanvalidator.js, tapestry.js, prototype.js). > > 2. How to f

Re: Run javascript after a zone is updated

2011-09-12 Thread derkoe
Muhammad Gelbana wrote: > > I have a table with many cells being updated using ajax calls. In the > block returned by the ajax call, I conditionally run some java script > to style the td and div in which the response is rendered. > > For a reason, this javascript isn't executed well. But I when

Re: [T5.x] onException() During Render Phase

2011-09-12 Thread derkoe
Steve Eynon wrote: > > ...it doesn't say "Hello!!!"? Is onException() not called during > RenderPhase events? And if not, why not!? (It would seem a little > inconsistent.) > > I wish to throw a couple of bespoke exceptions during onActivate() and > setupRender() and have then caught and handled

Re: Localization Problems

2011-09-12 Thread derkoe
Rendy Tapestry wrote: > > Hi Christian, > > Thank you for taking time to help. I try to solve my problem using second > approach from your suggestion. Creating LocalizationDispatcher and > register > it before PageRender. I try to run my application, it seems rendering > wasn't > happened (blank

Re: Request can't identify

2011-09-12 Thread Steve Eynon
You may want to check you imports and check you're using the Tapestry @Inject (assuming you're on T5.2.x) import org.apache.tapestry5.ioc.annotations.Inject; Steve. On 13 September 2011 01:01, Howard Lewis Ship wrote: > A little more source would be helpful, as would the version of > Tapestry

Re: @java.lang.Math@min inside TML files ?

2011-09-12 Thread Howard Lewis Ship
On Sat, Sep 10, 2011 at 7:53 PM, Robert Zeigler wrote: > T3-T4 used ognl for the binding/property expression language.  T5 does not > (although there are third party add-ons that restore ognl use). T5's property > expression language does not allow for static access, so @java.lang.Math@min > wo

Re: Request can't identify

2011-09-12 Thread Howard Lewis Ship
A little more source would be helpful, as would the version of Tapestry you are using. On Mon, Sep 12, 2011 at 8:53 AM, Olga wrote: > Hello, it is my first project, because i have this question. > > I make Login page using Spring+Ibatis. In my service i have >    @Inject >    private Request requ

Re: tapestry ready for production?

2011-09-12 Thread Howard Lewis Ship
On Sun, Sep 11, 2011 at 7:28 AM, Bob Harner wrote: > On Sun, Sep 11, 2011 at 9:25 AM, Wechsung, Wulf wrote: >> Hello Alfonso, >> >> Disclaimer: I'm not very familiar with struts and faces because I refuse to >> use anything that relies on XML for more than initial configuration. >> >> So, t5. I

Request can't identify

2011-09-12 Thread Olga
Hello, it is my first project, because i have this question. I make Login page using Spring+Ibatis. In my service i have @Inject private Request request; but when i call request in function is null. Can you help me and tell me which annotation, properties etc i must to add to my project.

Re: [ANN] JumpStart 5.4.8 gets @EJB and a better PageProtectionFilter

2011-09-12 Thread François Facon
Hi Geoff You rock! Regards François 2011/9/12 Geoff Callender : > Hi all, > > There's a new JumpStart running at > >        http://jumpstart.doublenegative.com.au/jumpstart/ > > Recent additions include... > > - @EJB annotation is now handled and used everywhere (kudos to Lenny Primak > for pus

RE: Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Guerin Laurent
Thanks, i'll try to create a simplified project quickly and file a JIRA. -Message d'origine- De : Robert Zeigler [mailto:robert.zeig...@roxanemy.com] Envoyé : lundi 12 septembre 2011 17:35 À : Tapestry users Objet : Re: Possible bug in 5.3 with Mixin parameters Sounds like a bug. If you

RE: Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Guerin Laurent
-Message d'origine- De : Josh Canfield [mailto:joshcanfi...@gmail.com] Envoyé : lundi 12 septembre 2011 17:34 À : Tapestry users Objet : Re: Possible bug in 5.3 with Mixin parameters On Sep 12, 2011 8:23 AM, "Guerin Laurent" wrote: > > Hi all, > > In our Tapestry 5 library (exanpe-t5-lib

Re: Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Robert Zeigler
Sounds like a bug. If you can create a simplified project (eg: 1 page, 1 mixin) that duplicates the issue, then create a Jira and attach the project. Robert On Sep 12, 2011, at 9/1210:18 AM , Guerin Laurent wrote: > Hi all, > > In our Tapestry 5 library (exanpe-t5-lib), we provide some mixins

Re: Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Josh Canfield
On Sep 12, 2011 8:23 AM, "Guerin Laurent" wrote: > > Hi all, > > In our Tapestry 5 library (exanpe-t5-lib), we provide some mixins containing some parameters declared as "required=true" AND with a default value provided. What do you mean by default value? Are you providing a defaultRenderMode met

Possible bug in 5.3 with Mixin parameters

2011-09-12 Thread Guerin Laurent
Hi all, In our Tapestry 5 library (exanpe-t5-lib), we provide some mixins containing some parameters declared as "required=true" AND with a default value provided. These parameters are required for the operation of the mixin. For example, on Dialog mixin, we have : @Parameter(value = "confi

Re: Should T5 honor Accept-Encoding: gzip

2011-09-12 Thread Borut Bolčina
Thanks, I looked into sources now and I see how it works now. I was under assumption that production mode also controls the compressing, well it is not. I was experimenting a bit with headers and also by looking at the source code of the isGZipSupported() method I can see that some rare cases are

Re: Should T5 honor Accept-Encoding: gzip

2011-09-12 Thread Steve Eynon
>From GZipFilter implements HttpServletRequestFilter { private final ResponseCompressionAnalyzer analyzer; public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException { HttpServletResponse newRespon

Re: tapestry ready for production?

2011-09-12 Thread Michael Gentry
Hi Alfonso, 5.2.6 is actually the latest stable release. mrg On Sun, Sep 11, 2011 at 9:07 PM, Alfonso Quiroga wrote: > Well, I think I'll go ahead with tapestry 5.2.5 (the last archetype > points to that version). - To unsubs

Re: Should T5 honor Accept-Encoding: gzip

2011-09-12 Thread Borut Bolčina
So, the header takes precedence over production mode setting and the tapestry.gzip-compression-enabled? Is this really the case? -borut 2011/9/12 Steve Eynon > > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/ResponseCompressionAnalyzer.html > > Looks like it has been

Re: [ANN] JumpStart 5.4.8 gets @EJB and a better PageProtectionFilter

2011-09-12 Thread Geoff Callender
Something odd happened to that link. Try this: http://jumpstart.doublenegative.com.au/jumpstart/ On 12/09/2011, at 11:32 PM, Geoff Callender wrote: > Hi all, > > There's a new JumpStart running at > > http://jumpstart.doublenegative.com.au/jumpstart/ > > Recent additions inclu

[ANN] JumpStart 5.4.8 gets @EJB and a better PageProtectionFilter

2011-09-12 Thread Geoff Callender
Hi all, There's a new JumpStart running at http://jumpstart.doublenegative.com.au/jumpstart/ Recent additions include... - @EJB annotation is now handled and used everywhere (kudos to Lenny Primak for pushing this along). - The PageProtectionFilter now has hooks to handle the javax @R

Re: Should T5 honor Accept-Encoding: gzip

2011-09-12 Thread Steve Eynon
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/ResponseCompressionAnalyzer.html Looks like it has been doing since T5.1. Steve. On 12 September 2011 21:14, Borut Bolčina wrote: > Hi, > > at the moment the only way to configure T5 response compression is via > tapestry

Should T5 honor Accept-Encoding: gzip

2011-09-12 Thread Borut Bolčina
Hi, at the moment the only way to configure T5 response compression is via tapestry.gzip-compression-enabled. Should the configuration extend to support checking Accept-Encoding request header? -borut

Re: Can Mixins Contribute to Container Parameters?

2011-09-12 Thread Steve Eynon
Wow, that looks to be the ticket, thanks! I can't believe I'm still discovering new nooks and crannies in T5.2! Steve. On 12 September 2011 19:54, Robert Zeigler wrote: > Have you tried the @BindParameter annotation? > > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotation

Re: tapestry ready for production?

2011-09-12 Thread Alfonso Quiroga
François: really thanks for your answer, I'll check right now about the production flag! Thanks again 2011/9/12 François Facon : > 2011/9/12 Alfonso Quiroga : >> Well, I think I'll go ahead with tapestry 5.2.5 (the last archetype >> points to that version). I think developing in tapestry is very f

Re: Can Mixins Contribute to Container Parameters?

2011-09-12 Thread Robert Zeigler
Have you tried the @BindParameter annotation? http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/BindParameter.html eg: public class MyMixin { @BindParameter private Object context; void setupRender() { context = "some new context"; } } Robert

Re: tapestry ready for production?

2011-09-12 Thread François Facon
2011/9/12 Alfonso Quiroga : > Well, I think I'll go ahead with tapestry 5.2.5 (the last archetype > points to that version). I think developing in tapestry is very fast, > only one thing is making me doubt.. javascript. I like jQuery (I know > about http://tapestry5-jquery.com/) but I've tried it a

Re: ajaxformloop inside ajaxformlopp

2011-09-12 Thread LLTYK
You probably need a public List onAddRowFromOuterLoop(). Assuming each element in your outer loop is a list which is used by the inner loop. Then you'd need to store these multiple lists somewhere. -- View this message in context: http://tapestry-users.832.n2.nabble.com/ajaxformloop-inside-ajaxfo

Re: Etiquette for Raising Jiras

2011-09-12 Thread Bob Harner
Yes, please do post on the user mailing list first before creating a bug report or enhancement request in JIRA :-) Bob Harner On Sep 12, 2011 12:49 AM, "Steve Eynon" wrote: > Hi, > > While I'm on a roll, is there an etiquette for raising Jiras? > > Should I post here first and await for confirmat

Re: Tapestry5-jquery error

2011-09-12 Thread Steve Eynon
Oh, you mean my "build.gradle" !!? :) Actually, where I am right now it's the ivy.xml - it looks like: But it needs to be picked up from this URL at Apache staging: https://repository.apache.org/content/groups/staging/ Steve. 2011/9/12 François Facon : > Hello, > > how do you define the tape

Re: ajaxformloop inside ajaxformlopp

2011-09-12 Thread daoudja
I have a dateHolder that holds my objects in the ajaxformloop public DateHolder onAddRowFromdateLoop(){ if (dateList == null){ dateList = new ArrayList(); } DateHolder dateHolder = new DateHolder(); log.trace("add " + dateHolder.getKey());

Re: Tapestry5-jquery error

2011-09-12 Thread François Facon
Hello, how do you define the tapestry version in your pom.xml? Regards François 2011/9/12 Steve Eynon : > Yep, > > Looks like it's the same as this thread: > > [T5.3-alpha-13] Confusing Contributions to > ComponentClassTransformWorker2 / MetaWorker > http://markmail.org/message/e4fiqxhgcb7opor4

Re: ajaxformloop inside ajaxformlopp

2011-09-12 Thread Steve Eynon
Woah! A double loop! I've never tried one of those! I know the ValueEncoder is really important to AjaxFormLoops - could you post the one you're using along with the add and remove methods? Steve. On 12 September 2011 16:56, daoudja wrote: > Hello, > I want to make an ajaxformloop inside an aj

ajaxformloop inside ajaxformlopp

2011-09-12 Thread daoudja
Hello, I want to make an ajaxformloop inside an ajaxformloop But it seems that the one which is insideis the same for all the elements of the big ajaxformloop this is a problem because i can't differentiate beteween elements and i have problems of concurrent access when writing on this ajaxfor