RE: T5: 5.0.8 whitespace

2008-01-13 Thread Jonathan Barker
Chris, This is a job for CSS. You are creating a list, so render your links in an unordered list, and set the class attribute for the last item to "last" and then use a CSS recipe for creating inline lists: ul,li { display:inline; margin: 0; padding 0; } li:after { content: ", ";

RE: [ANN] t5components - release 0.5.4

2008-01-29 Thread Jonathan Barker
Chris, The as listed in the instructions is incorrect. It is listed as: de.hsofttec And it should be: de.hsofttec.t5components I bumped into this too, and once I made the change, everything went fine. I'm looking forward to trying out the library. Jonathan > -Origina

RE: T5 - Need help getting started with Tapestry 5

2008-01-30 Thread Jonathan Barker
I noticed a few specifics: - The hsofttect library 0.5.4 required Tapestry 5.0.9 (I think). Just get your tapestry release up to 5.0.9. There have been lots of changes to justify it anyway. - You have a mix of parameterized (${tapestry-release-version}) and fixed versions (5.0.7 for tapestry-sp

RE: Tap 5.0.9 : Namespace prefix for URI http://tapestry.apache.. not defined

2008-01-31 Thread Jonathan Barker
No guarantees that this is the same thing, but I had a strange issue once when my html tag was split across two lines. I couldn't reproduce it now, so this may not be relevant, but try making the whole tag with namespace declaration on the same line. Jonathan > -Original Message- > Fro

RE: Exception in grid component if source returns an empty list

2008-01-31 Thread Jonathan Barker
Chuck, Build and pass your own BeanModel rather than relying on auto-creation from the source. I hit the same issue. Jonathan > -Original Message- > From: Chuck Kring [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 31, 2008 6:55 PM > To: Tapestry users > Subject: Exception in grid

[T4] -> [T5] Migration Experiences

2008-02-01 Thread Jonathan Barker
Hello all, I thought it might be useful for any users who have upgraded applications from T4 to T5 to share their experiences, techniques and suggestions. Personally, I have upgraded two small applications - the first was still in development, and I had been wavering on whether to use T5

RE: [ANN] t5components - release 0.5.6

2008-02-02 Thread Jonathan Barker
Sven I can hardly wait to try out the ognl binding. It's something I've missed moving from T4->T5. Ditto on Remove. Jonathan > -Original Message- > From: Sven Homburg [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 02, 2008 8:56 AM > To: users@tapestry.apache.org > Subject: [ANN]

RE: [T5] ASO, BeanEditor and Interfaces

2008-02-03 Thread Jonathan Barker
Martin, I'm a bit confused about what you are trying to accomplish, but maybe I can toss out some ideas. If you have loaded a User object via Hibernate: Scenario 1: embedded Address If the embedded address is all null / empty fields, then the Address reference in User will be null. You may want

RE: [T5] ASO, BeanEditor and Interfaces

2008-02-03 Thread Jonathan Barker
ed had an embedded Address with all fields empty ^^. Thank you very > much to both of you :) ! > > I owe you at least a beer :) > > Regards > > Martin > > > > Jonathan Barker wrote: > > > > Martin, > > > > I'm a bit confused about wh

RE: T5: best practice for a multiple module app

2008-02-04 Thread Jonathan Barker
Angelo, Take a look at JBoss .har files. I've never tried it but it might be a way to share a common Hibernate setup among multiple webapps. Jonathan > -Original Message- > From: Angelo Chen [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 03, 2008 8:28 PM > To: users@tapestry.apache.

RE: T5: How do I configure logging for a service?

2008-02-05 Thread Jonathan Barker
Filip, Recent versions of T5 have used slf4j, not log4j. Having said that, the underlying logger is often log4j. What app server? JBoss, for example, has all logging configured through a log4j.xml file in the server conf directory. Jonathan > -Original Message- > From: Filip S. Ada

RE: T5: How do I configure logging for a service?

2008-02-05 Thread Jonathan Barker
but will be deploying to Tomcat in > production - it's not a big application. > > -Filip > > Jonathan Barker skrev: > > Filip, > > > > Recent versions of T5 have used slf4j, not log4j. Having said that, the > > underlying logger is often log4j. > >

RE: Howard deserves praise

2008-02-11 Thread Jonathan Barker
Aw, can't we please keep him? I mean, as trolls go, he's doesn't require much upkeep. I've come to look forward to his occasional rants for their entertainment value. He plays the buffoon so well, and as the offers of fortunes from Nigeria has slowed to a trickle I crave something to fill that

RE: Can a page do something before actions are invoked on it?

2008-02-15 Thread Jonathan Barker
Check out the Acegi integration at: http://www.localhost.nu/java/tapestry5-acegi I find Acegi stops me from re-inventing the wheel. At the very least, the source code should give you an idea how to do what you want. Jonathan > -Original Message- > From: ryanskow [mailto:[EMAIL PROTECT

RE: Tapestry 6

2008-02-18 Thread Jonathan Barker
Geez, did Howard pee in this guy's Corn Flakes back in college or something? > -Original Message- > From: Ted Steen [mailto:[EMAIL PROTECTED] > Sent: Monday, February 18, 2008 5:07 AM > To: Tapestry users > Subject: Re: Tapestry 6 > > Of course it's not true! > > Emmanuel Sowah and Jo

RE: T5 PageTester problem (Spring and Hibernate)

2008-02-29 Thread Jonathan Barker
Jesper, Following up on my earlier response... You might want to look at the work done in the tapestry5-acegi project, where there was a HttpSessionIntegrationFilter rewritten to be used within the Tapestry pipeline rather than from web.xml I think this is a very similar situation. Jonathan

RE: T5 PageTester problem (Spring and Hibernate)

2008-02-29 Thread Jonathan Barker
Jesper, I tried running your test, which gives a lazy-loading exception trying to access the Set from BeanA. If you change your Hibernate mapping to use lazy="false" then the problem goes away. I think you will find that your OpenSessionInView filter is not opening a session. The net result is

RE: IDE Support for Tapestry 5

2008-02-29 Thread Jonathan Barker
John, I agree that such support would be nice, but having worked with T4 and T5, I can say it's much less necessary with T5. The error reporting generated from my inevitable typos gives a very nice listing of available properties, and class reloading makes fixing things much faster. It would hav

RE: T5 PageTester problem (Spring and Hibernate)

2008-03-02 Thread Jonathan Barker
> > I don't have a solution for you, but it's a similar problem to trying to > > use the HibernateTemplate outside of a web-app. I have some command- > line > > tools that look like: > > > > > > this.session = > > SessionFactoryUtils.getSession(sessionFactory, true); > > > > TransactionSynchr

RE: T5: Tapestry and Tomcat

2008-03-03 Thread Jonathan Barker
Moritz, Given that Ubuntu is based on Debian, you are probably running into Tomcat security configuration issues. I run Debian. I hit this myself and kept battering my head against the wall trying to grant all of the necessary permissions. Take a look in /etc/tomcat5.5/policy.d/ and see if you

RE: Question about Grid styles and paging for a simple HTML table

2008-03-03 Thread Jonathan Barker
Take a look at the "lean" parameter in the grid docs: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/ta pestry/corelib/components/Grid.html Does that help? > -Original Message- > From: Ben Tomasini [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2008 3:55

RE: T5: Tapestry and Tomcat

2008-03-04 Thread Jonathan Barker
gMethodAccessorIm > pl.java:25) > java.lang.reflect.Method.invoke(Method.java:585) > org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:24 > 4) > java.security.AccessController.doPrivileged(Native Method) > javax.security.auth.Subject.doAsPrivileged(Subjec

RE: new features in 5.0.11

2008-03-14 Thread Jonathan Barker
The documentation also gives a way to define this by contributions (see the Securing Multiple Pages section) http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/secure.html > -Original Message- > From: kranga [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 9:02

RE: [T5] url asset prefix?

2008-03-18 Thread Jonathan Barker
One of the features of Assets is localization. I don't see how that would work with the url prefix. Is there a reason whey you don't want to use a url right in your template, or perhaps in a message file? Actually, if you used a message file then you could localize the asset. Jonathan >

RE: @Cached and caching in general

2008-03-18 Thread Jonathan Barker
Hibernate makes it easy to do some really interesting things without a great deal of thought. Any time you start working with large data sets you have to think carefully about what Hibernate is doing on your behalf - like the inner loop example. For some reporting tasks, you might want to use Hi

RE: Tapestry at my company

2008-03-18 Thread Jonathan Barker
A toast to fools! But for them, the rest of us would not succeed! > -Original Message- > From: Chris Lewis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 18, 2008 1:39 PM > To: Tapestry users > Subject: Re: Tapestry at my company > > Actually I have a different perspective, arguably

RE: [T5] Detailed error report page disappeared

2008-03-19 Thread Jonathan Barker
Check out the tapestry.production-mode parameter on: http://tapestry.apache.org/tapestry5/tapestry-core/guide/conf.html > -Original Message- > From: Dragan Djuric [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 19, 2008 3:12 PM > To: users@tapestry.apache.org > Subject: [T5] Detailed

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jonathan Barker
The Tapestry5-Acegi project is set up to use Hibernate (hence the Session). Tapestry-ioc is trying to inject the Session, but apparently you don't have a Session service available. Do you want to use a Hibernate-based DAO for authentication? Consider using the tapestry-hibernate package. Jonatha

RE: T5: Problems with Tapestry5-Acegi

2008-03-24 Thread Jonathan Barker
Jacob, It's definitely possible. I'm also using Spring, and Hibernate, but this time around, I'm using an InMemoryDAO and LDAP (Active Directory) for authentication. By comparing the configuration I did on a Spring-driven T4 Acegi integration with the code in tapestry5-acegi, I finally started

RE: [T5] Maven2 or Ivy?

2008-03-25 Thread Jonathan Barker
Peter, Howard's frustration with Maven comes in the development OF Tapestry, as opposed to development WITH Tapestry. Things that once worked suddenly break as Maven plugins get updated. This has come up from time to time in the Dev list. I've hit similar things, but the visibility (I'm not runn

RE: t5: multiple databases with Tapestry-Hibernate

2008-03-25 Thread Jonathan Barker
Angelo, I do this routinely using Hibernate via Spring and tapestry-spring, but I haven't tried it with tapestry-hibernate. Looking at the source: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-hibernate/src /main/java/org/apache/tapestry/hibernate/HibernateModule.java?view=marku

RE: How is T5 tutorial?

2008-03-26 Thread Jonathan Barker
So, Rob Smeets Searching the archives, you have never requested nor offered technical assistance on the Tapestry mailing list. You have reported no success story that would show you have a real stake in Tapestry. Your writing style is strikingly similar to that of Trolls of days gone by.

RE: tapestry-hibernate and MS SQLServer

2008-03-27 Thread Jonathan Barker
I use Hibernate / Spring / JTDS / SQL Server 2000. I've seen no such issues when dealing with problems. What does Enterprise Manager or Management Studio say about Current Activity? Is there a lock being held by one process? If so, then either you or tapestry-hibernate needs to commit or rol

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider

2008-03-27 Thread Jonathan Barker
Here are the relevant portions (with identifying info stripped out) for authentication with Active Directory. With AD, you need to use bind-based authentication. If you are using something like OpenLDAP, you may have access to the password or password hash, so you would change the authenticator.

RE: T5: Problems with Tapestry5-Acegi

2008-03-27 Thread Jonathan Barker
This is currently listed on the TODO list: http://www.localhost.nu/java/tapestry5-acegi/todo.html > -Original Message- > From: Jacob Bergoo [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2008 11:04 AM > To: users@tapestry.apache.org > Subject: Re: T5: Problems with Tapestry5-Aceg

RE: T5: nested loops don't work (can't figure this one out)

2008-03-27 Thread Jonathan Barker
Subtle logic error. outputlist.add(list.subList(counter, Math.min(counter+maxListsize,outputlist.size(; Should be outputlist.add(list.subList(counter, Math.min(counter+maxListsize, list.size(; Gotta love those! > -Original Message- > From: Britske [mailto:[EMAIL PROTECTED] >

RE: T5 (5.0.11) - ready for production deployment

2008-03-28 Thread Jonathan Barker
Rob, I can't resist... Your "over-engineerd" comment was under-engineered. Howard would have surely added in the required number of e's in the word. Then it would be properly-engineered :-) As for volatile... you do know that T5 was just voted BETA last week, right? ALPHA software is generally

RE: T5: How do I get session information?

2008-03-28 Thread Jonathan Barker
That's likely stored in the WebContext that can be directly injected using tapestry-spring. > -Original Message- > From: Joshua Jackson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2008 6:06 AM > To: Tapestry users > Subject: Re: T5: How do I get session information? > > On 3/28

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider

2008-03-28 Thread Jonathan Barker
stry5-acegi/ : If I am to use this, > then it assumes having a UserDetailsServiceImpl. > > Also, when we do > configuration.add("ldapAuthenticationProvider",ldapAuthenticationProvide > r) > How does the Acegi framework get to know abt the LDAP authentication > provider.

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider - other half

2008-03-28 Thread Jonathan Barker
apestry5-acegi/ : If I am to use this, > then it assumes having a UserDetailsServiceImpl. > > Also, when we do > configuration.add("ldapAuthenticationProvider",ldapAuthenticationProvide > r) > How does the Acegi framework get to know abt the LDAP authentication > pro

RE: ACEGI Problem with anonymous

2008-03-28 Thread Jonathan Barker
Thomas, In the SecurityModule in tapestry5-acegi, in the contributeProviderManager() method, there is the line: configuration.add("anonymousAuthenticationProvider", anonymousAuthenticationProvider); So, by default, according to the Acegi docs: # AnonymousProcessingFilter, so that if no

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider

2008-03-28 Thread Jonathan Barker
a > UserDetailsServiceImpl,,, > Is it correct to say that I have to write a UserDetailsServiceImpl class > which uses LDAP in order to retrieve the correct UserDetails Object? > > -Original Message- > From: Jonathan Barker [mailto:[EMAIL PROTECTED] > Sent: 28 March 2008 14:3

RE: Tapestry 5 - Acegi ,, using LDAP authentication provider

2008-03-28 Thread Jonathan Barker
@Inject private AuthenticationManager _authenticationManager; Isn't Tapestry great? :-) > -Original Message- > From: Jacob Bergoo [mailto:[EMAIL PROTECTED] > Sent: Friday, March 28, 2008 4:13 PM > To: users@tapestry.apache.org > Subject: RE: Tapestry 5 - Acegi ,, using L

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jonathan Barker
I should have pasted a little more code before. You need the following line in your onSuccess method: SecurityContextHolder.getContext().setAuthentication(authResult); Acegi expects to do everything through the SecurityContext. > -Original Message- > From: Jacob Bergoo [ma

RE: [T5] Tapestry evaluation + questions

2008-03-29 Thread Jonathan Barker
Other posts have handled your specifics well. Evaluate T5. I started active development on T4.0. I have since migrated a few of the smaller applications from T4 -> T5 and I am doing all new work in T5. In the T4->T5 migrations, I found I was deleting lots of code and cleaning up my templates.

RE: [T5] Tapestry evaluation + questions

2008-03-29 Thread Jonathan Barker
by a html designer, is this what you are doing > too? thanks. > > Angelo > > > Jonathan Barker wrote: > > > > > > HTML, CSS and a browser and focus on appearances. With T5, it's easier > > just > > to run your app and tweak on the fly. >

RE: T5: Problem with login form with Acegi

2008-03-29 Thread Jonathan Barker
ssage- > From: Jacob Bergoo [mailto:[EMAIL PROTECTED] > Sent: 29 March 2008 16:32 > To: users@tapestry.apache.org > Subject: RE: T5: Problem with login form with Acegi > > > Thanks Jonathan, that did the trick! > Cheers, > Jacob > > > Jonathan Bark

RE: T5: Problem with login form with Acegi

2008-04-01 Thread Jonathan Barker
It won't matter. That's why you use the @Secured("ROLE_ADMIN") annotation. At best, an unauthenticated user will have ROLE_ANONYMOUS if the AnonymousAuthenticationProvider is used. They will get an AccessDenied exception. I'm playing with a little older code that coughs up a hairball when it h

RE: T5, newbie: Component parameter passing problems

2008-04-01 Thread Jonathan Barker
This is really sounding like something unrelated to Tapestry, and there isn't enough code presented to tell. Do you have proof that your code works outside of Tapestry? Why, and how, did you EXTEND TreeMap? Do you have a unit test to prove that your MyMap works? If you can present a non-Tap

RE: T5, newbie: Component parameter passing problems (#2)

2008-04-01 Thread Jonathan Barker
Sorry for the delay - meetings all day. Josh Canfield made a suggestion regarding setting a breakpoint. I would echo that, and make sure that you try the same code in the page class. You've shared the component code. Can you share the relevant page code? (Declaration, initialization, getters a

RE: accessing requestglobals inside dispatcher and other data support classes

2008-04-04 Thread Jonathan Barker
Michael, This is not a page class, so Tapestry will not process your injections. You also haven't used either of your injected properties, so why are they there? Jonathan > -Original Message- > From: mnguyen21 [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2008 2:29 PM > To: users

RE: accessing requestglobals inside dispatcher and other data support classes

2008-04-04 Thread Jonathan Barker
ging in. > > The key thing for me is that the remote IP address will be used for IP > authentication. That information is not available through the Request > object. > > Does this make any sense? Am I approaching this the wrong way? > > Thanks, > Michael > > > -

RE: Coercion error in grid

2008-04-04 Thread Jonathan Barker
It sounds like the underlying data (from the page) is in a Set, whereas your component wants a List. Try converting your Set to a List before passing to the component. > -Original Message- > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2008 2:58 PM > To: T

RE: Coercion error in grid

2008-04-05 Thread Jonathan Barker
> To: Tapestry users > Subject: Re: Coercion error in grid > > No, I'm pretty sure there's a built-in coercion from Collection to > GridDataSource. Again, a stack trace would be helpful to figure out > what's really going on here (and the exact version of Tapest

RE: Mixin rendering a component

2008-04-06 Thread Jonathan Barker
Would it be acceptable to keep the list outside of the form, and use ActionLinks with the id's of the items to be deleted? You could then have a conditional on your list component for whether or not the column with the ActionLink is displayed. Jonathan > -Original Message- > From: Ima

RE: Mixin rendering a component

2008-04-06 Thread Jonathan Barker
from the architectural > perspective. You really should not send GET requests > which deletes entities. Any crawler that crawls such a > page would be devastating. > > Quoting Jonathan Barker <[EMAIL PROTECTED]>: > > Would it be acceptable to keep the list outside of >

RE: T5: NoClassDefFoundError while upgrading to 5.0.10

2008-04-07 Thread Jonathan Barker
Just to confirm... you have your template files in: src/main/resources/com/abc/aroer/components ? That should be correct. BTW, you should jump to 5.0.11. It's the official "Beta". > -Original Message- > From: Britske [mailto:[EMAIL PROTECTED] > Sent: Monday, April 07, 2008 2:27 PM > T

RE: 答复: from T5.0.11 to T5.0.6

2008-04-08 Thread Jonathan Barker
Rob, If the world is going to pass you by, you should at least be comfortable. Enjoy that chair! Jonathan > -Original Message- > From: Rob Smeets [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 08, 2008 5:18 AM > To: Tapestry users > Subject: Re: 答复: from T5.0.11 to T5.0.6 > > When I

RE: T5: Using expression language in If component

2008-04-08 Thread Jonathan Barker
There is also a binding for OGNL in tapestry5-components. I did see some odd behavior that may have been caching results that should not be cached, but it has been useful to me. http://213.160.23.119:8080/t5components/t5c-commons/howto_ognlbinding.html It's something I missed from T4. > ---

RE: [T5] Need AppPropertyEditBlocks to reload page-load values

2008-04-08 Thread Jonathan Barker
pageLoaded() is something that may only happen once for many, many requests. You might want to move it to pageAttached which will move it to per-request. Also, check out the @Cached annotation that you could apply to the getAllCategories() function if it is used more than once in a request. > -

RE: T5: beta?

2008-04-10 Thread Jonathan Barker
Rob, You may have a point or two. That what you describe as one of the best Internet applications has beta status suggests that some beta code is as good as / better that other production code. I would have to agree. I've had production apps running on Tapestry alpha code for some time. The

RE: T5: beta?

2008-04-10 Thread Jonathan Barker
t that at each > major release they face the challenge of backward compatibility head on > and > make everyone happy. They don't choose the easy route of starting all over > again. That one even first year computer science students can do. > > Your's friendly, > &g

RE: Getting Answers on the User List

2008-04-11 Thread Jonathan Barker
Rob, You're here! I was getting concerned when you didn't reply to my question on another thread. I feared that some tragedy had befallen you. It would be impolite of you to simply disregard a simple question. So, back to the fundamental and simple question... Given that you have no intention

RE: Problem with page life cycle

2008-04-13 Thread Jonathan Barker
Try using the @Persist("flash") to store your real answer. The flash persistence strategy covers the situation where you only want the value to be stored until the next request. Jonathan > -Original Message- > From: Tomasz Dziurko [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 13, 20

RE: T5 - what happend to the 'state:' binding

2008-04-14 Thread Jonathan Barker
Is it the base page issue you are tripping over? The documentation is pretty clear for the "standard" case. If you are extending base pages, then you will need to create the getters and setters to access the ASO's in derived pages. For access from the component, why not just inject with the @Ap

RE: T5.0.10 DateField component broken ???

2008-04-17 Thread Jonathan Barker
Try using value="fromDate" rather than the expansion. > -Original Message- > From: Petros Petrou [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 17, 2008 9:59 AM > To: users@tapestry.apache.org > Subject: RE: T5.0.10 DateField component broken ??? > > > Mahen, > > Has 5.0.11 solved

RE: AW: AW: Getting Answers on the User List

2008-04-18 Thread Jonathan Barker
You've been too active with technical issues on the list to be labeled a troll... unless Rob has a split personality and you are the side that actually knows something. Hmmm. An interesting email address, BTW, given the topic of conversation :-) And he (Rob) does have a point on backward comp

RE: T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-18 Thread Jonathan Barker
I'll add to this and say that if you want sorting behavior, you can implement Comparable and Comparator (I don't remember which you need - I tend to implement both), and add "location" to your model. IIRC, you will need to build your model in code to say that the "location" column is sortable.

RE: [T5] way to check if the application is entering or exiting from a page

2008-04-18 Thread Jonathan Barker
Luca, Check the Form documentation for prepareForRender() and prepareForSubmit(). They can be better places to do heavy initialization than onActivate(). Also, take a look at @Persist("flash") which is meant to retain information for only one additional cycle (like the render after a form submit)

RE: [T5] way to check if the application is entering or exiting from a page

2008-04-19 Thread Jonathan Barker
it to restore that property. > So I think the old entity value was not discarded from the session > because the application didn't show its data into the page. > > Obviously, this was my code fault ;^) I fixed the problem removing the > @Persist("flash") annotation on the sele

RE: T5: Is there a simple way to display property of embedded instance in Grid?

2008-04-20 Thread Jonathan Barker
will be shown. > > Now I can use exclude and username to get what I need, but that would be > annoying to write so much longer exclude expression. > > So is it a known issue? > > Thanks. > DH > - Original Message - > From: "Jonathan Barker" <[EMAIL P

RE: example doesn't work :(

2008-04-21 Thread Jonathan Barker
T5components pulls in some dependencies that you might not want. For example, if you are not running Hibernate, you want to make sure that you don't have tapestry-hibernate pulled in. You may need to explicitly exclude libraries. Also, beware of mixes of versions being pulled in. Jonathan >

RE: T5: Form in a loop with PropertyEditor and custom type editor

2008-04-22 Thread Jonathan Barker
Bill, If I understand correctly what you are trying to do, you probably want to use the context parameter on your Form element. For example, you might have: You would then have public void onSuccessFromEditForm(Long id){ } Jonathan > -Original Message- > From: Bill H

RE: T5: Forms - Best Practice

2008-04-23 Thread Jonathan Barker
Jim, I have a T4 application that uses domain-object level security implemented using the Acegi framework. I have used custom authorization code more appropriate for my task, rather than the built-in Acegi method. It works beautifully, and I've certainly seen people attempting to access things t

RE: T5: How can I initialize a logged-in user ASO from tapestry5-acegi?

2008-04-25 Thread Jonathan Barker
There was a thread a month or so ago that I participated in that covered doing authentication within a login page class. Take a look at: http://thread.gmane.org/gmane.comp.java.tapestry.user/59931/ There was an important part cut off from the code I posted that wound up in another thread: http

RE: Question about T5 and OpenSessionInViewFilter

2008-04-30 Thread Jonathan Barker
You might want to try reversing the order of your filter and filter-mapping declarations in web.xml to put OpenSessionInViewFilter first. Other than that, I would need to see your applicationContext.xml file. Jonathan > -Original Message- > From: Toby Hobson [mailto:[EMAIL PROTECTED] >

RE: [ANN] JumpStart 3.6: Wizards, Conversations, and more

2008-05-02 Thread Jonathan Barker
Rob, Glad to see you're still alive and well. I'm still waiting for an answer to my question: "Given that you have no intention of using Tapestry for serious work, you do not give assistance to users, nor do you request assistance from other users, why do you post to this list?" I do wonder if y

RE: Why does T5 use filter based bootstrapper

2008-05-02 Thread Jonathan Barker
It's my understanding that the Filter approach makes it much easier to have "friendly" URL's. With T4, everything had to map under /app/. With T5, you just set up exclusions for whatever servlets you want to run. I have had no problem using tapestry5-acegi that uses Acegi 1.0.x Security. I have

[T5] Grid usage when source has different types in a hierarchy

2008-05-02 Thread Jonathan Barker
Has anyone had any success in using the Grid with multiple object types in the source? I'm currently using 5.0.11 To be specific, I am using Quartz in an application and I want to list Triggers. Trigger is an abstract class. Types of triggers include SimpleTrigger and CronTrigger. I am ge

RE: [T4.1.5] - Inherited annotations fail

2008-05-07 Thread Jonathan Barker
Ah, Rob, I'm sure your helpful nature has provided all the technical assistance Henrik needed. I'm still waiting for an answer from you on my inquiries BTW. Henrik provided enough information from someone who hit that exact problem to understand. There was not enough information for someone to

RE: Localization

2008-05-07 Thread Jonathan Barker
Try executing cycle.cleanup() after you set the Locale. > -Original Message- > From: dpark [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 10:14 AM > To: users@tapestry.apache.org > Subject: Localization > > > I understand the following: > * in order to set the locale programm

RE: Localization

2008-05-07 Thread Jonathan Barker
e something with my pool(i haven't done any customizations > around > that...) > > I'll keep poking around > > DP > > > > > Jonathan Barker wrote: > > > > Try executing cycle.cleanup() after you set the Locale. > > > > > >

RE: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Jonathan Barker
Error messages? Linux distro? Tomcat from distro package or straight from Apache? > -Original Message- > From: Michael Böckling [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 07, 2008 11:56 AM > To: users@tapestry.apache.org > Subject: Potential bug in Tapestry 5.0.11 running on Tomcat

RE: Potential bug in Tapestry 5.0.11 running on Tomcat

2008-05-07 Thread Jonathan Barker
al bug in Tapestry 5.0.11 running on Tomcat > > You are probably hitting some case sensitivity. What is the exact > name of your Index page's Java class? And what is the exact name of > the template file? > > On Wed, May 7, 2008 at 12:09 PM, Jonathan Barker > <[E

RE: new user help required

2008-05-08 Thread Jonathan Barker
If you are running using the jetty launcher in Eclipse, your templates and page and component classes should be automatically reloading. I'm not sure if it's the same running through maven. As I understand it, JettyLancher puts everything in your Eclipse project's classpath into your web applic

RE: T5: Urgent Problem. After clearing cookies communication between client and tapestry breaks on first request

2008-05-08 Thread Jonathan Barker
Try removing the snapshots from your local maven repository to be sure you pull down the most recent snapshot. Worst case, go to http://code.google.com/p/tapestry5-components/source/checkout to find out how to get the source. > -Original Message- > From: lebenski [mailto:[EMAIL PROTECTE

RE: T5: Urgent Problem. After clearing cookies communication between client and tapestry breaks on first request

2008-05-08 Thread Jonathan Barker
Also, clear your browser cache to make sure you pick up the new TC5OnEvents.js > -Original Message- > From: lebenski [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 08, 2008 12:26 PM > To: users@tapestry.apache.org > Subject: Re: T5: Urgent Problem. After clearing cookies communication >

RE: new user help required

2008-05-08 Thread Jonathan Barker
The tutorial starts with Jetty run from Maven, but then switches over to JettyLauncher midway through chapter 2. The fact that you were not able to back out the changes suggests that you may have something either missing, or duplicated in your classpath. Watch out for remnants of the earlier Tap

RE: T5: Calling method with parameter in prop

2008-05-09 Thread Jonathan Barker
I missed that functionality as well. I use the ognl binding available in the t5components library. http://87.193.218.134:8080/t5components/index.html I remember trying something complicated once, and I had problems with values being cached that should not have been, but it worked beautifully

RE: T3: Stop back button

2008-06-02 Thread Jonathan Barker
The T5 approach is to generate redirects for everything. I'm not sure how to do that with T3, but you could try. Another option might be to, when you navigate away from a page (like the one with the form) set the class for a div around the form to something like already-submitted and then use CS

RE: Trying to access Tapestry ASO from Spring-configured Hibernate interceptor

2006-06-28 Thread Jonathan Barker
rying to access Tapestry ASO from Spring-configured Hibernate interceptor On 6/26/06, Jonathan Barker <[EMAIL PROTECTED]> wrote: > > I have a Tapestry4 / Tapestry4Spring / Spring / Acegi / Hibernate > application where I need to access an session-scoped Application State > Obje

RE: Wizard...

2006-07-05 Thread Jonathan Barker
James, A simple option would be to turn off client-side validation. I have an application in which multiple people (buyer, seller, realtors) must be associated with a single estimate. I use a pop-up window that has its own workflow for searching for and choosing, or adding a new person (and even

RE: Table with large data set

2006-07-19 Thread Jonathan Barker
+1 for wiki or SVN Jonathan -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 4:38 PM To: 'Tapestry users' Subject: RE: Table with large data set I have a HibernateTableModel (an IBasicTableModel impl) if you're interested. There's only o

RE: Getting started with Tacos

2006-07-21 Thread Jonathan Barker
This may not be your problem, but... When there is a problem with the AJAX functionality, the tacos components tend to fall back to conventional behavior - I found this when I was having problems. Make sure there are no script errors on your page, and make sure you have the necessary dojo script

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
I can't say it's a best practice, but it should be a reasonable strategy. In your pageValidate() method, if your ASO is not set Authentication auth = SecurityContext.getContext().getAuthentication(); If auth is not null

RE: Populating Tapestry ASO after successful Acegi Auth

2006-08-30 Thread Jonathan Barker
d page (which in this example would not be the > default page and would therefore require it's on pageValidate() code) > > Or is there a more clever way to do this? > > Thanks, > Tom > > -Original Message- > From: Jonathan Barker [mailto:[EMAIL PROTECTED] >

RE: tapestry-acegi form based login

2006-09-21 Thread Jonathan Barker
My approach predates tapestry-acegi, but I'm sure it could be adapted. I use a bit of a hybrid approach, where the authentication part is handled as described in the EWDT e-book and all of my protected pages extend a BaseProtectedPage class. My Login page has a UserValidator ASO injected, which i

RE: [T5] Grid component failure with hibernate objects

2007-08-07 Thread Jonathan Barker
I haven't had any problems navigating relationships in T5. But then again, I avoided the issue with the grid by collecting the properties I needed from the related objects and put them into one specifically tailored for the grid. If you don't need that relation, you could manually create the bean

RE: [T5] Grid component failure with hibernate objects

2007-08-08 Thread Jonathan Barker
Andrés, I should clarify. I needed to collect information across three objects, including one property from one element of a collection. In the "central" object for the grid, I was only using a fraction of the available properties. This was a small contained project so it was more expedient for

[T5] Render ExceptionReport for emailing from custom ExceptionReport

2007-08-11 Thread Jonathan Barker
Hi all, I want to email a copy of the default ExceptionReport wile displaying only a friendly message to users. I built up the email manually in T4, but I would rather take advantage of the nice error reporting in T5. I guess this is just a specific case of wanting to use a Tapestry Page a

  1   2   3   4   >