Re: tapestry-spring-security support for Spring Security 3.0.4.RELEASE?

2010-11-07 Thread Olle Hallin
es in org.springframework.security.web.access Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2010/11/5 Alex Kotchnev > Olle, > I'm not sure what the best way of doing this is . At this time TSS > supports Spring 3.0 (I think I recal 3

tapestry-spring-security support for Spring Security 3.0.4.RELEASE?

2010-11-05 Thread Olle Hallin
.security.web). Is there any plans for lifting tapestry-spring-security to support Spring Security 3.0.4.RELEASE? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin

Re: Static HTML ...

2010-01-20 Thread Olle Hallin
You could place them anywhere you like under the web context, but you must tell Tapestry to ignore them: Add to AppModule.java: public void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("/my-static-stuff/*"); } Olle Hallin Senior Java

Re: Is tapestry coupled with Hibernate API?

2010-01-12 Thread Olle Hallin
the possibility to use e.g., db4o as persistence engine. (IMO there are far too many systems out there that routinely use a RDBMS as persistence engine. In many cases an OODBMS would have done the job with significantly less development effort.) Olle Hallin Senior Java Developer and Architect

Re: Is tapestry coupled with Hibernate API?

2010-01-11 Thread Olle Hallin
Excel, RDBMS:es, db4o, Amazon S3 and Google Big Table). This way, you avoid vendor lock-in. See http://www.datanucleus.org/products/index.html Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2010/1/11 Piero Sartini

Re: Persisting state without HTTP Session

2010-01-07 Thread Olle Hallin
tion scale well. Combine this with sticky sessions, and you get the best of two worlds. Terracotta does only send replicated data to the nodes that actually demands it. See http://www.terracotta.org Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linke

Re: About T5 integration modules

2009-12-28 Thread Olle Hallin
It has been much talk about Tapestry lacking an annotation-based security framework. Don't you guys know about tapestry-security, which is a Tapestry module that uses Spring Security (formerly Acegi) under the covers? Olle Hallin Senior Java Developer and Architect olle.hal...@cri

Re: t5 restarting a t5 app in tomcat

2009-12-20 Thread Olle Hallin
, try to see if deleting the $CATALINA_BASE/work/ folder helps. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/21 Angelo Chen > > hi, > > not sure if this is t5 related, there are times that I have

Re: Passing a value from a page to another

2009-12-18 Thread Olle Hallin
A long-shot in the dark... Try to rename UserId to userId to comply with JavaBean naming conventions. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/18 Alessandro Bottoni > I'm trying to pass a valu

Re: T5 PageRedirectExeption

2009-12-18 Thread Olle Hallin
Or, a java.net.URL if you want to redirect to an arbitrary location outside the own app. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/17 Thiago H. de Paula Figueiredo > Em Thu, 17 Dec 2009 15:11:53 -0

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Olle Hallin
Another alternative is www.slicehost.com. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/18 Olle Hallin > Google App Engine does not work for Tapestry 5.1 > > T5.1 uses an XML parser that is incompat

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-17 Thread Olle Hallin
Google App Engine does not work for Tapestry 5.1 T5.1 uses an XML parser that is incompatible with GAE. T5.0.18 works fine from what I've heard. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/17 Kalle Kor

Re: dynamically switching layouts

2009-12-17 Thread Olle Hallin
s of pages, that many of them don't try to print the page they see on the screen. They simply don't know that a page can have different appearance on different media. (Sadly enough, a majority of web designers seem to be ignorant about this fact too.) Olle Hallin Senior Java Developer an

Re: [newbie] EventListener in Tapestry 5 ?

2009-12-14 Thread Olle Hallin
I forgot to paste in the JavaDocs link: http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/annotations/OnEvent.html Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/14 Olle Hallin > It

Re: [newbie] EventListener in Tapestry 5 ?

2009-12-14 Thread Olle Hallin
It is. Add this to your page/component class: @OnEvent @Log public void onEvent() {} and watch the log file for the stream of events that are fired against this (catch-all) event handler. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http

Re: Lock contention in PerthreadManagerImpl

2009-12-08 Thread Olle Hallin
JIRA https://issues.apache.org/jira/browse/TAP5-945 created Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/8 Thiago H. de Paula Figueiredo > Em Tue, 08 Dec 2009 11:08:38 -0200, Olle Hallin > escreveu: &

Lock contention in PerthreadManagerImpl

2009-12-08 Thread Olle Hallin
issed something? We use T5 5.1.0.5 Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin

Re: Verbose path for combined javascript

2009-10-26 Thread Olle Hallin
BTW, the source and javascript for Tapestry is as always in the Maven repo. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/26 Olle Hallin > Very constructive comment! NOT! > > You don't get better treatment by being rude. > >

Re: Verbose path for combined javascript

2009-10-26 Thread Olle Hallin
Very constructive comment! NOT! You don't get better treatment by being rude. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/26 Argo Vilberg > ok ok, then write your own bugfree tapestry:) > > And by the way, where i get tapestry

Re: UTF-8 vs ISO-8859

2009-10-21 Thread Olle Hallin
EMOVE: räksmörgås PropertiesEncodingTest.java foreach *.properties: assertFirstLineEquals("# DO NOT REMOVE: räksmörgås") This has save our ass many times :) Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 20

T5.1: IllegalStateException when logging out from Tapestry-spring-security

2009-10-14 Thread Olle Hallin
= KA-BOOM s1 == s2!!! 6. assertFalse(s2.isInvalidated()); I did the same using the underlying HttpServletRequest.getSession(), and it works as expected (verified on Jetty 6.1.5). I have logged the JIRA issue TAP5-891 Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-10-13 Thread Olle Hallin
Hint: Use mavensearch.net for finding exactly what to paste into pom.xml It indexes not only central, but also a bunch of other useful repositories. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/13 Borut Bolčina > Roy, > > you do no

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Well, google for "singletons considered harmful" and reserve a couple of hours for reading... Here's one that explains it pretty well: http://tech.puredanger.com/2007/07/03/pattern-hate-singleton Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Hibernate Validator 4 released, any plans for adding support in T5?

2009-10-13 Thread Olle Hallin
Hi, Now when Hibernate Validator 4 and soon also the JSR-303 spec itself is released, it wouldbe great to learn if someone is planning to add support for it in Tapestry 5. Are there any such plans? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Singletons is an anti-pattern that the Java community abandoned years ago! The main reason is that it makes testing much harder. Besides, your example is wrong. The constructor must be private, or else the singleton is broken. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se

Re: [T4] Two users see the same data - problem with ASO objects

2009-10-13 Thread Olle Hallin
Another thing to look for are object references inside the ASO. Perhaps they point to the same mutable object? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/13 Martin Strand > Hmm, it sounds unlikely that different sessions would get mixed

How to write a Testify test for an onActivate() that returns a URL?

2009-10-09 Thread Olle Hallin
(some-string)); return url; } } I have managed to mock urlManager.getExternalUrlFor(), but then Testify throws java.lang.RuntimeException: TestableResponse: Method sendRedirect() not yet implemented. Any ideas? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Re: T5, tapestry-spring-security, slf4j MDC

2009-10-09 Thread Olle Hallin
Do like this: MDC.put("xxx", ...); MDC.put("yyy", ...); try { return handler.service(request, response); } finally { MDC.remove("xxx") MDC.remove("yyy") } or else you will have problems when your request throws an exception Olle Hallin Seni

Re: T5, tapestry-spring-security, slf4j MDC

2009-10-09 Thread Olle Hallin
We do something similar. We have implemented a RequestFilter that pushes the HttpSession ID (if any) onto the Log4j Nested Diagnostics Context (NDC) before the request, and pops it afterwards. I guess that the same approach could be used for pushing usernames in the SLF4J MDC, provided that you can

Re: T5 - Post Form To SSL

2009-10-04 Thread Olle Hallin
Created https://issues.apache.org/jira/browse/TAP5-874 . Olle 2009/10/2 Thiago H. de Paula Figueiredo > Em Thu, 01 Oct 2009 20:11:08 -0300, Daniel Jones > escreveu: > > Hi There, >> > > Hi! > > Is there any way to tell a form to post using https. What I was ideally >> looking for was an ext

Re: PageLink / context / newbie question ...

2009-10-02 Thread Olle Hallin
What happens if you introduce *public Object[] getPagelinkContext() { ... }* and change the template to ... ? Olle Hallin 2009/10/2 Gunnar Eketrapp > Can't find the documentaion on how to pass multiple values in the context. > > I have seen it somewhere > > I need

Re: T5 - Post Form To SSL

2009-10-02 Thread Olle Hallin
+1 on this! We have the same use case in our new app. We have so far solved it with a URLRewrite filter. This is a clumsy way of doing it IMHO. A parameter on the Form component would be much cleaner. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/10/2

Re: How to implement a user tracker in T5 ....

2009-09-30 Thread Olle Hallin
Also good to know is that @SessionStateObjects (was: @ApplicationStateObject) are stored in the HTTP session with the key "sso:" + MySessionStateObject.class.getName() (Tapestry 5.1) Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/9/30

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-09-18 Thread Olle Hallin
all works fine - so I am puzzled you are getting this > error. > > Ben Gidley > > www.gidley.co.uk > b...@gidley.co.uk > > > On Thu, Sep 17, 2009 at 2:15 PM, Olle Hallin wrote: > > > Hi! > > > > I just made an attempt to introduce the Ioko tapestry-

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-09-17 Thread Olle Hallin
Gee, super! Thanx, Olle 2009/9/17 Ulrich Stärk > http://tapestry.apache.org/tapestry5/tapestry-ioc/cookbook/override.html > > On 17.09.2009 15:15 schrieb Olle Hallin: > > Hi! >> >> I just made an attempt to introduce the Ioko tapestry-caching library in >> ou

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-09-17 Thread Olle Hallin
possible to prevent builder methods in other modules from being executed? Any ideas? Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se 2009/8/6 Otho > There are some typos on > http://tapestry.formos.com/projects/ioko-tapestry-commons/ . In all > depende

Re: How to pass message's parameters in template

2009-08-17 Thread Olle Hallin
lass, but it is more > coding, more getters ... > > Thanks. > > > > > --------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > &g

Re: [T5.1] Avoiding "new"

2009-07-28 Thread Olle Hallin
gt; > -- > View this message in context: > http://n2.nabble.com/-T5.1--Avoiding-%22new%22-tp3346190p3346523.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 > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Tapestry 5 and JSR-303 plans?

2009-06-25 Thread Olle Hallin
tPage (from > Tapestry CRUD) subclasses. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > - > To unsubscribe, e-mail:

Re: [Tapestry Central] Why chose Tapestry?

2009-06-17 Thread Olle Hallin
t;> should switch to a diet of fried chicken three meals a day! Likewise, >>>> if you have concerns with code quality from your developers, you should >>>> not switch to a less agile, more code-intensive, less supportive >>>> development model and hope to catch all the bugs in QA. Sweeping >>>> problems under the rug is never a winning strategy. >>>> Coming down off my soap box, I should also add that Tapestry 5.1 works >>>> a little bit differently than 5.0 in this respect, so it does (in fact) >>>> defer more of the page loading and validation until a link is actually >>>> clicked. This is more for performance reasons than to shield developers >>>> from application problems. Even in 5.0, the loading and validation was >>>> the "reach" from page A to pages explicitly referenced (usually via >>>> PageLink during the rendering of page A), so it's a highly unlikely >>>> case that a single error in a 1000 page application will keep the >>>> application from starting up, unless the start page of the application >>>> links to all 999 other pages. >>>> Re-reading the above post I can't emphasize enough: you can't ignore >>>> quality problems. Quality problems lead to development failures, >>>> schedule slips, missing functionality, low morale and high turnover. >>>> Saying "we don't have time to fix the quality problem first" is to >>>> ignore the the second law of Thermodynamics. You are expecting a >>>> miracle, literally writing it into your project plan. >>>> Formos addresses this issue two ways: First, we use Scrum and deliver >>>> on (typically) 4 week cycles. Thus we set real deadlines and have a >>>> constant check on quality (we're providing working code constantly). We >>>> don't even try to predict what we'll be doing six months or two years >>>> from now, we just deliver a steady, manageable stream of software. >>>> Secondly, Formos uses Tapestry because of all the reasons that the >>>> anonymous developer's organization rejected it, and for many, many more >>>> reasons besides. >>>> >>>> -- >>>> Posted By Howard to Tapestry Central at 6/16/2009 03:45:00 PM >>>> >>> >>> >>> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [Tapestry Central] Why chose Tapestry?

2009-06-16 Thread Olle Hallin
t have time to fix the quality problem first" is to > ignore the the second law of Thermodynamics. You are expecting a > miracle, literally writing it into your project plan. > Formos addresses this issue two ways: First, we use Scrum and deliver > on (typically) 4 week cycles. Thus w

Re: Hooks for code on every page request

2009-06-15 Thread Olle Hallin
.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: t5: archetype create for 5.1.0.5

2009-05-13 Thread Olle Hallin
> > > -- > View this message in context: > http://www.nabble.com/t5%3A-archetype-create-for-5.1.0.5-tp23517591p23519676.html > Sent from the Tapestry - User 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 > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [5.1.0.1]How to use multiple zone refresh

2009-03-11 Thread Olle Hallin
nd > > ----- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: IoC question - introducing a time delay in an ASO

2009-02-11 Thread Olle Hallin
r...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Tapestry With Connector

2009-01-15 Thread Olle Hallin
> > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > -- > Gutemberg A. Da Silva > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: need to update pom when uprading to 5.0.18?

2009-01-13 Thread Olle Hallin
------ > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: t5: when running tomcat behind Apache

2009-01-12 Thread Olle Hallin
-- > 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 > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Reloading component templates from Maven's jetty plugin

2008-12-23 Thread Olle Hallin
ference in the first place between the two.. why can't > the template for a component be the same as the template for a page, > which... is after all a component? > > Any help would be appreciated, > > Thanks, > Josh > > > > > On Mon, Dec 22, 2008 at 1:38 PM,

Re: Reloading component templates from Maven's jetty plugin

2008-12-22 Thread Olle Hallin
eloading-component-templates-from-Maven%27s-jetty-plugin-tp21112833p21127419.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.or

Re: Reloading component templates from Maven's jetty plugin

2008-12-22 Thread Olle Hallin
t on possible configuration changes/options woud be > appreciated. > > > > > > Thanks > > > Josh > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > > > > > -- > Joshua Long > http://www.joshlong.com/ > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Reloading component templates from Maven's jetty plugin

2008-12-21 Thread Olle Hallin
ry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Q : Select using value encoder ?

2008-12-20 Thread Olle Hallin
g value) { >// TODO Auto-generated method stub >return Integer.parseInt(value); >} > > } > > > but i got following error when i tried to submit it : > > *Failure writing parameter 'value' of component UserFormPage:statusselect: > Coercion of user to type java.lang.Integer (via String --> Long, Long --> > Integer) failed: For input string: "user"* > > > * > * > > could somebody help me > > > thnx u very much > > -- > http://dwiardiirawan.blogspot.com > "cos everyone could be extraordinary...lighten up !" > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [T5] Testing Pages with injected Spring beans

2008-12-17 Thread Olle Hallin
be, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: a default notification page

2008-12-16 Thread Olle Hallin
.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: a default notification page

2008-12-15 Thread Olle Hallin
.apache.org > > > > > > > > -- > Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr > Tapestry / Tacos developer > Open Source / JEE Consulting > > --------- > 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 > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: How to initialize page members

2008-12-15 Thread Olle Hallin
5 Dec 2008 10:32:00 -0300, Olle Hallin > escreveu: > > You're correct about static final. Didn't think of that [?]. >> > > Sometimes a good solution is so simple that we try the complex ones first. > :P > > Why is it prohibited to initialize rowsPerPage

Re: Custom Errors on Bean Edit Form

2008-12-15 Thread Olle Hallin
--- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: How to initialize page members

2008-12-15 Thread Olle Hallin
fusing and appear > inconsisant? Especially for new users still learning Tapestry, they may get > confused as to why primitives can be initialized but not Objects? > > > - Original Message - > From: "Olle Hallin" > To: "Tapestry users" > Sent: M

Re: [T5]: query regarding streaming data

2008-12-15 Thread Olle Hallin
the data? > > thanks, > p. > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: T5: How to initialize page members

2008-12-15 Thread Olle Hallin
aula Figueiredo > Em Mon, 15 Dec 2008 06:47:18 -0300, Olle Hallin > escreveu: > > Hi, >> > > Hi! > > Beginning with 5.0.17 is is forbidden to have initial values on page >> members, in order to prohibit state leakage between sessions. >> This is fine,

Re: Layout Border component problem

2008-12-15 Thread Olle Hallin
> runtime and no during compilantion neither. > > > > - what is setupRender() method? it will be called automatically ? > > > > thanks again > > > > > > Olle Hallin wrote: > >> > >> What happens is that TeacherMode is muta

T5: How to initialize page members

2008-12-15 Thread Olle Hallin
e is available at the Maven repo (group:net.jcip artifact:jcip-annotations version:1.0), and it's license ( http://creativecommons.org/licenses/by/2.5) is AFAIK compatible with Tapestry's. Regards, Olle -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Layout Border component problem

2008-12-15 Thread Olle Hallin
> View this message in context: > http://www.nabble.com/Layout-Border-component-problem-tp21004400p21009484.html > Sent from the Tapestry - User 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 > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: Tapestry 5.0 Final Release - 5.0.18

2008-12-15 Thread Olle Hallin
ache.org/tapestry5/ >> >> * Download: http://tapestry.apache.org/download.html >> >> * Release Notes: >> http://tapestry.apache.org/tapestry5/release-notes.html >> >> * Upgrade Notes: http://tapestry.apache.org/tapestry5/upgrade.html >> >> * Via Maven: >> >> >>org.apache.tapestry >>tapestry-core >>5.0.18 >> >> >> >> >> >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se

Re: [T5] Strange problems using jetty:run

2008-12-02 Thread Olle Hallin
tomcat:run (or jetty:run) > > And the problem lingers on... > > Still hearing solutions... > > Ariel > > > > Olle Hallin wrote: > > > > Hi, > > > > Try this: > > mvn clean install jetty:run > > > > This should solve your problem

Re: [T5] Strange problems using jetty:run

2008-12-01 Thread Olle Hallin
> - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/-T5--S

Re: @CommitAfter and HibernateExceptions

2008-11-20 Thread Olle Hallin
> > > > > > > -- > View this message in context: > http://www.nabble.com/%40CommitAfter-and-HibernateExceptions-tp20611252p20612890.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Olle Hallin Senior Java Developer and Architect [EMAIL PROTECTED] www.crisp.se

Re: Exception injecting Block

2008-11-20 Thread Olle Hallin
Object mostrarSoTexto() { >contador++; >return soTexto; >} > > } > > Any ideas? > > Thanks in advance. :) > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Olle Hallin Senior Java Developer and Architect [EMAIL PROTECTED] www.crisp.se

Re: [T5] Persistent fields may not be updated until after the page has finished loading

2008-11-20 Thread Olle Hallin
t; > > > > > > > > > > > > > -- > > Howard M. Lewis Ship > > > > Creator Apache Tapestry and Apache HiveMind > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Atenciosamente, > > Marcelo Lotif > Programador Java e Tapestry > FIEC - Federação das Indústrias do Estado do Ceará > (85) 3477-5910 > -- Olle Hallin Senior Java Developer and Architect [EMAIL PROTECTED] www.crisp.se

Re: Tapestry 5, WAR files and deployment

2008-11-07 Thread Olle Hallin
dependencies. > > Though I don't recommend it, he runs all maven with sudo. > > Not sure what the best way to install it is, but I installed maven on my > laptop simply by extracting it into a directory as my user, then adding the > bin directory to my user's path.. > &

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
gin:2.4.2:test > Root error message: Unable to download the artifact from any repository > > p. > > Quoting Olle Hallin <[EMAIL PROTECTED]>: > > Hi, >> >> This is most easily done with mvn package. The resulting WAR is found in >> the >> target folde

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
Everyday one learns something new is a good day :D Olle 2008/11/6 Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> > Em Thu, 06 Nov 2008 12:05:50 -0300, Olle Hallin <[EMAIL PROTECTED]> > escreveu: > > Hi, >> If you insist on doing it from within Eclipse, then &g

Re: Tapestry 5, WAR files and deployment

2008-11-06 Thread Olle Hallin
atabase 3536 (20081019) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > __ Information from ESET Smart Security, version of virus signature > database 3536 (20081019) __ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se

Has anyone integrated tapestry-acegi with CAS?

2008-11-06 Thread Olle Hallin
Hi! I'm looking for examples/code for how to configure tapestry-acegi to use CAS. Anyone out there that have done this? TIA, Olle Hallin

Re: Development Environment

2008-09-27 Thread Olle Hallin
eclipse debugger with mvn jetty:run? >>> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------

Re: Hibernate validator

2008-05-18 Thread Olle Hallin
the validation rules I have > already defined on my model (kinda like JBoss seam). Firstly is anyone else > working on anything like this? Secondly do you think this would be useful to > the Tapestry community? > > Thanks > > Toby > > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se

Re: Ant based T5 application

2008-04-01 Thread Olle Hallin
t; aware. > > Thanks. > > -- > > View this message in context: > http://www.nabble.com/Ant-based-T5-application-tp16396283p16396283.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > > > ------

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-28 Thread Olle Hallin
Hi again, I've made a new version of the SecurityModule.java that follows the usual build + contribute pattern in tapestry-ioc. Sorry for the changed formatting, I hit Ctrl-Shift-F by accident in Eclipse. Regards, Olle 2008/3/28, Olle Hallin <[EMAIL PROTECTED]>: > > Hi, I f

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-28 Thread Olle Hallin
ception to different URLs. I've attached the modified SecurityModule.java, with my changes marked with "// patch" Regards, Olle 2008/3/17, Robin Helgelin <[EMAIL PROTECTED]>: > > On Mon, Mar 17, 2008 at 8:40 AM, Olle Hallin <[EMAIL PROTECTED]> > wrote: > > It p

Re: T5: Problems with Tapestry5-Acegi

2008-03-27 Thread Olle Hallin
ROLE_ADMIN' > 'ROLE_MANAGER' > 'ROLE_USER' > } > } > > That means that The part where I access the database and gets the user > information for the security check is working... but it looks like I get > this exception when I am in the loginSuccess method > > Does anybody have any idears on how to fix this exception? > I have spring-web in my pom.xml... > > thanks in advance for any help, pointers... > > Jacob > > > > > -- > View this message in context: > http://www.nabble.com/T5%3A-Problems-with-Tapestry5-Acegi-tp16266687p16321412.html > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se

Re: [T5] Maven2 or Ivy?

2008-03-25 Thread Olle Hallin
f there > have been any changes to Tapestry5 that make it less maven-centric, or if > there are tutorials on building Tapestry applications without maven. > > Is everyone still using maven2? Ivy? > > Thanks, > > Peter Beshai > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se

Re: T5: Tapestry-Hibernate and Hibernate validator

2008-03-25 Thread Olle Hallin
t; > > > > > > > > > > > > -- > > -- > > TheDailyTube.com. Sign up and get the best new videos on the internet > > delivered fresh to your inbox. > > > > ----- > > > > &

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-17 Thread Olle Hallin
the ProviderManager.applicationEventPublisher is null. I don't know the inner mechanics of Acegi nor tapestry-ioc well enough to inject that dependency myself, so help would be appreciated. Regards, Olle 2008/3/14, Olle Hallin <[EMAIL PROTECTED]>: > > Hi! > > I single-step

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-14 Thread Olle Hallin
, Robin Helgelin <[EMAIL PROTECTED]>: > > On Fri, Mar 14, 2008 at 2:55 PM, Olle Hallin <[EMAIL PROTECTED]> > wrote: > > Hi! > > Hi. > > > > Now the problem is that despite having the symbol " > acegi.accessDenied.url" > > defined to

OutOfMemoryError when missing ".tml" on page template

2008-03-14 Thread Olle Hallin
Hi! Just an observation, I'm not sure if it's worth to create JIRA issue for it. When I created a new LoginRejected page, I named the template file just "LoginRejected", i.e., without the .tml suffix. This lead to a java.lang.OutOfMemoryError when starting the app. Renaming the template to Logi

Re: T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-14 Thread Olle Hallin
Oh, I forgot to mention the versions: Tapestry 5.0.11 tapestry5-acegi 1.0.4 Olle 2008/3/14, Olle Hallin <[EMAIL PROTECTED]>: > > Hi! > > We use tapestry5-acegi for our app, but I'm not sure if this is a Tapestry > or Acegi problem. > > When setting forcePasswordC

T5: Cannot get org.acegisecurity.CredentialsExpiredException to work

2008-03-14 Thread Olle Hallin
Hi! We use tapestry5-acegi for our app, but I'm not sure if this is a Tapestry or Acegi problem. When setting forcePasswordChange=true in the database for a user, Acegi throws org.acegisecurity.CredentialsExpiredException (since our implementation of UserDetails.isCredentialsNonExpired() returns

Re: Does Tapestry5 support Portlets specs JSR168 and 286

2007-12-28 Thread Olle Hallin
we don't have much of that in the current app anyway). Regards, Olle Hallin 2007/12/28, Howard Lewis Ship <[EMAIL PROTECTED]>: > > It's really the other way around; a Portlet is defined in terms of a > T5 application, where the application pages are mapped to different

Re: In T4.1.2 How to LinkTo NonTapestry URIs(link to my jsp page)

2007-10-26 Thread Olle Hallin
do it ?? > > -- > > 得与失都是生活 > > > > > -- > Best regards, > Renat Zubairov > -- Olle Hallin M.Sc. +46 70 6653071 [EMAIL PROTECTED] www.hit.se

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
could just create an instance, and within the class you > can inject spring objects using the @InjectSpring annotation. I use it > in some places, works great, just can't seem to remember the > syntactical sugar.. > > Hope this helps anyway, > > Lutz > > >

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
> Hi Olle, > > Try > > object="instance:CurrentFooEncoder,springContext=spring:springContext" /> > > Basically the instance: allows for properties to be set using comma > separated property=value > > Hope that works for you > > Richard >

[t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
oder to do some useful work, for which it needs my Spring context. How do I achieve that? I have already have a HiveMind service-point called SpringContextFactory. I guess that I shall write something magic in the object attribute, but what? Regards, Olle Hallin