Re: Suggestion: Dispatcher interface should have return values as public constants

2014-06-04 Thread Robert Hailey
On 2014/06/04 (Jun), at 12:51 PM, Thiago H de Paula Figueiredo wrote: > I like this suggestion. :) Could you file a JIRA please? Filed: https://issues.apache.org/jira/browse/TAP5-2347 -- Robert Hailey - To unsubscribe

Re: T5.3 - Localization is only partially implemented?

2014-06-04 Thread Robert Hailey
org/jira/browse/TAP5-2346 -- Robert Hailey

Suggestion: Dispatcher interface should have return values as public constants

2014-06-04 Thread Robert Hailey
t Java inlines final constants anymore, so there could be a trivial performance penalty. Just a thought... very low-impact on my side. -- Robert Hailey

T5.3 - Localization is only partially implemented?

2014-05-20 Thread Robert Hailey
ionSetter.setNonPeristentLocaleFromLocaleName(locale.toString()); If this is a known issue, I would be very interested in any patches that have already been developed for this, or any relevant message thread links/titles (couldn't easily find any). -- Robert Hailey

T5.3 - What's the easiest way to detect the current request type?

2014-05-16 Thread Robert Hailey
oes anyone know how this can be done? -- Robert Hailey

T5.3 - Per-page custom localization axis

2014-05-16 Thread Robert Hailey
to be modified, or even if (3) someone more familiar might want to tackle this? :) -- Robert Hailey smime.p7s Description: S/MIME cryptographic signature

Re: Pro / Contra: Splitting The Project

2013-10-11 Thread Robert Hailey
The way it usually goes is a three-way split... A & B (the logical split), and C (which A & B both depend on). -- Robert Hailey On 2013/10/11 (Oct), at 2:44 PM, Jon Williams wrote: > yes i do that. > pretty standard i think. > > Cheers > Jon > > > On Fri,

[T5.3] Completely Disabling Tapestry Sessions

2013-10-05 Thread Robert Hailey
e way (outside of the containers configuration) that I can disable sessions altogether? I notice, for example, that there is a ClusteredSessionImpl... can I easily swap-in a NullSessionImpl ??? Thanks in advance! -- Robert Hailey smime.p7s Description: S/MIME cryptographic signature

Re: [5.3.6] Services shutdown order

2013-04-04 Thread Robert Hailey
Have you tried something like this (attached)? -- Robert Hailey WARNING: Quick hack, totally untested, absolutely no warranty. OrderedShutdownHubImpl.java Description: Binary data On 2013/04/04 (Apr), at 5:01 PM, Muhammad Gelbana wrote: > I've raised the question before but I'

Re: deployment of images

2013-02-20 Thread Robert Hailey
ere it sits. That's what I do, so I know it's possible. -- Robert Hailey

Re: T5.3: what's the correct usage of PerThreadValue

2012-11-28 Thread Robert Hailey
Unless I'm mistaken (which is possible), tapestry will create two distinct components when building the component trees, and they will not have access to the same variable. So a template like: Would yield three log messages of "rendered 1 time". -

T5.3: what's the correct usage of PerThreadValue

2012-11-28 Thread Robert Hailey
alue(); } int count=widgetRenderCount.get(0); count++; log.debug("{} widgets have now rendered in this request!", count); widgetRenderCount.set(count); } Am I missing something? If so, how is PerThreadValue intended to be used? -- Robert Hailey

T5.1: Construction of service 'Alias' has failed due to recursion

2010-06-23 Thread Robert Hailey
nternal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:68) tapestry-5.1.0.5 The tapestry-hibernate modules are specified via a system preference rather than the standard jar/manifest mechanism, but I don't see how that would effect the ioc initialization, any ideas? -- Robert Hailey

Re: BUG: T5.1/IOC: dropped exception

2010-06-19 Thread Robert Hailey
On Jun 18, 2010, at 5:27 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 18 Jun 2010 19:11:02 -0300, Robert Hailey wrote: org.apache.tapestry5.ioc.RegistryBuilder.java around line #153 author intends to set exception as cause but feeds it into format arguments Please post it in JIRA

BUG: T5.1/IOC: dropped exception

2010-06-18 Thread Robert Hailey
org.apache.tapestry5.ioc.RegistryBuilder.javaaround line #153author intends to set exception as cause but feeds it into format arguments--Robert Hailey dropped_exception.patch Description: Binary data

Re: T5.1: No service implements the interface "HibernateSessionManager"

2010-06-18 Thread Robert Hailey
On Jun 18, 2010, at 3:06 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 18 Jun 2010 16:49:46 -0300, Robert Hailey > wrote: So is it the case that tapestry-hibernate-*.jar presence in the web- app folder is what ultimately prompts it's registration? Yes. The same happens to any JA

Re: T5.1: No service implements the interface "HibernateSessionManager"

2010-06-18 Thread Robert Hailey
I've been reading up a bit on tapestry-ioc... http://tapestry.apache.org/tapestry5/tapestry-ioc/run.html On Jun 18, 2010, at 2:29 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 18 Jun 2010 16:13:49 -0300, Robert Hailey > wrote: From my own experience & reading up on this exce

T5.1: No service implements the interface "HibernateSessionManager"

2010-06-18 Thread Robert Hailey
). If not, what makes HibernateSessionManager different from tapestry's built-in services or those of the web-app? -- Robert Hailey

Re: Strategies for the initial page

2010-05-19 Thread Robert Hailey
el function per page, Tapestry lets you better organize your app. As an aside, a slightly better solution might be to have a "default" user which is in the initial database. Then a freshly setup app is less vulnerable to a random person/bot finding it before it can

T5.1: Using templates to generate html email

2010-04-27 Thread Robert Hailey
;s component, which can then be dumped into an email? -- Robert Hailey - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [Tapestry Central] Git & Svn : Not Always A Match Made In Heaven

2010-04-19 Thread Robert Hailey
are reseting to is not from the branch you expect (or that svn expects). -- Robert Hailey - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to change the clientId for AbstractField parent class

2010-04-14 Thread Robert Hailey
On Apr 14, 2010, at 4:36 PM, Thiago H. de Paula Figueiredo wrote: On Wed, 14 Apr 2010 18:32:39 -0300, Robert Hailey > wrote: I'd like to pragmatically change the super-class's field 'clientId' so that I can get a good string value coming into processSubmission. What

How to change the clientId for AbstractField parent class

2010-04-14 Thread Robert Hailey
o I know that it is possible in theory. -- Robert Hailey tapestry 5.1.0.5 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Modifying the title in a layout component

2010-03-17 Thread Robert Hailey
presence of another component in the tree? Is it possible to write one? It would be a shame to sacrifice the WYSIWYG elegance just for the page title... I suppose this is the way it is normally done: http://code.google.com/p/shams/wiki/Component -- Robert Hailey

Re: Empty body?

2010-03-15 Thread Robert Hailey
On Mar 12, 2010, at 1:20 PM, Manuel Sugawara wrote: Hi I'm working in a menu component, similar to the one in the howtos. The menuItem template looks like: I am not able to find such a menu component in the howtos. Can you provide a link please? -- Robert H

Re: exception page debug

2010-03-15 Thread Robert Hailey
} return successful; } } }; } Ok... having a return or throw statement in a 'finally' clause is bad java. I'm glad you found the issue, though! -- Robert Hailey

Re: exception page debug

2010-03-15 Thread Robert Hailey
log.debug("i just silently broke something", e) //@bug: here, exception caught! } -- Robert Hailey

Re: Cannot create 'form' component / NPE

2010-03-15 Thread Robert Hailey
l, give us information to help you. It is version 5.1.0.5 -- Robert Hailey On 15.03.2010 18:43, Robert Hailey wrote: Ok... I've got another question. I've copied/modified the code & template for the login form to make a "logout" page, but when it tries t

Cannot create 'form' component / NPE

2010-03-15 Thread Robert Hailey
is the same as on the working page): -- Robert Hailey org.apache.tapestry5.ioc.internal.util.TapestryException: Failure creating embedded component 'form' of das.pages.Logout: java.lang.NullPointerException [at context:Logout.tml, line 8] at org .apache

Re: exception page debug

2010-03-15 Thread Robert Hailey
Perhaps you have injected a service before the exception handler/filter? -- Robert Hailey On Mar 15, 2010, at 11:17 AM, Yury Luneff wrote: I have already raised this question some time ago, but we still did not overcome our situation. It is frequent in our project that when a exception

Re: Name of application module class too complicated?

2010-03-11 Thread Robert Hailey
he issue is that the "filter-name" parameter does not logically imply a connection to "module-controller- name" for beginners (-:like me:-). -- Robert Hailey -- Massimo http://meridio.blogspot.com ---

Re: Name of application module class too complicated?

2010-03-10 Thread Robert Hailey
ig file is a bit disconcerting. Thanks again! -- Robert Hailey -- Howard M. Lewis Ship - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Tapestry now silently ignores my AppModule class

2010-03-10 Thread Robert Hailey
ass? It might be really bad if some simple config/programming issue can make all the security filters drop from a webapp. -- Robert Hailey versions: jetty-6.1.22 (2009-12-06) hibernate-3.3.2.GA (2009-06-24) tapestry-5.1.0.5 (2009-04-29) P.S. Also is this too high/low a percent: "84.30%