Re: How to use custom onSubmit handler in form tag?

2012-02-02 Thread Michael Gerzabek
gt; using Prototype's Element.observe() or the similar function in jQuery? > Anyway, adding onXXX attributes to attach listeners to HTML elements > isn't recommended at all. > > On Tue, 31 Jan 2012 15:51:30 -0200, Christian Köberl > wrote: > >> 2012-01-29, Mic

How to use custom onSubmit handler in form tag?

2012-01-29 Thread Michael Gerzabek
The form tag automagically renders a javascript handler for the onSubmit event [1, line 388]. It uses the same snippet that's declared for onclick handler in MarkupConstants.WAIT_FOR_PAGE [2] described in [3]. H

Re: [T5] and PayPal

2010-08-26 Thread Michael Gerzabek
Am 25/08/2010 22:33, schrieb badluck13: Sorry, but for now I must also hack it, because I'm out of time and deadline is really close... But in near future I'm interested to work with you to create module for paypal, even components and other stuff, but right now I need solution, and I need it fa

Re: [T5] and PayPal

2010-08-25 Thread Michael Gerzabek
I did, with 5.0.18 an axis 1.3. It's a kind of a hack, so not really proper. no bells and whistles. But if you're interested we could combine our efforts an produce a cleaner module together. Am 25/08/2010 17:49, schrieb badluck13: Did anyone integrated paypal with tapestry? And if you did c

Re: Tapestry Spring Security - BadCredentialsException

2010-05-27 Thread Michael Gerzabek
e dependencies: public static UserDetailsService buildUserDetailsService(Dao dao, @Inject PasswordEncoder encoder, @Inject SaltSource salt) { return new UserDetailsServiceImpl(dao, encoder, salt); } On Thu, May 27, 2010 at 1:53 PM, Michael Gerzabek wrote: Just for the records. What did you change now?

Re: Tapestry Spring Security - BadCredentialsException

2010-05-27 Thread Michael Gerzabek
Just for the records. What did you change now? Am 27/05/2010 19:48, schrieb Todd Orr: I changed the code so that these are injected and now it works. I cannot describe how angry this makes me. Days wasted. Thanks for you help though!!! ---

Re: Tapestry Spring Security - BadCredentialsException

2010-05-27 Thread Michael Gerzabek
w User(user); } On Thu, May 27, 2010 at 1:29 PM, Michael Gerzabek wrote: What about the salt. Did you change it? You have to 'save' password with your PasswordEncoder prior to using it. Which Am 27/05/2010 19:20, schrieb Todd Orr: I've tried that way as well. It does

Re: Tapestry Spring Security - BadCredentialsException

2010-05-27 Thread Michael Gerzabek
What about the salt. Did you change it? You have to 'save' password with your PasswordEncoder prior to using it. Which Am 27/05/2010 19:20, schrieb Todd Orr: I've tried that way as well. It doesn't work either and I assume it's for the same reason, though I cannot tell in that case because the

Re: Tapestry Spring Security - BadCredentialsException

2010-05-27 Thread Michael Gerzabek
Why do you try to do the work of Spring Security? Please follow the sample in [1]. There's no need to check the credentials on your own. You just need to provide your implementation of UserDetails. [1] http://www.localhost.nu/svn/public/tapestry-spring-security-sample/ Am 27/05/2010 16:53, sch

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-07 Thread Michael Gerzabek
n't work. On Thu, 06 May 2010 13:21:18 +0200, Michael Gerzabek wrote: I'm not 100% sure here but think you have to override the SSS. In your AppModule write something like public static void contributeServiceOverride(MappedConfiguration configuration) {

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-07 Thread Michael Gerzabek
Set method : public void afterPropertiesSet() throws Exception { if ((this.systemWideSalt == null) || "".equals(this.systemWideSalt)) { throw new IllegalArgumentException("A systemWideSalt must be set"); } } Le 06/05/2010 21:36, Michael

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-06 Thread Michael Gerzabek
ails (thrown exception from Spring SystemWideSaltSource). The problem is, if i override the SaltSource as explained in http://www.localhost.nu/java/tapestry-spring-security/conf.html # Alias Contributions : sometimes the override works, sometime not. Seems to depends of initialization order. Le 06/05/2

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-06 Thread Michael Gerzabek
Which TSS version do you use? Is it 2.1.0? Which T5 version? T 5.1.0.5? Which error do you get? Am 06.05.2010 17:39, schrieb Nicolas Bouillon: Unfortunately, it doesn't work. On Thu, 06 May 2010 13:21:18 +0200, Michael Gerzabek wrote: I'm not 100% sure here but think y

Re: [T5.1] tapestry-spring-security : overriding saltsource probleme

2010-05-06 Thread Michael Gerzabek
I'm not 100% sure here but think you have to override the SSS. In your AppModule write something like public static void contributeServiceOverride(MappedConfiguration configuration) { configuration.add(SaltSourceService.class, new new SaltSourceService() { public Obje

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-07 Thread Michael Gerzabek
tive guide! +1 Michael Gerzabek jose luis sanchez wrote: Book ! Book ! Book ! El 07/11/2009, a las 19:11, Howard escribió: I've been consciously letting Tapestry 5.1 sit and stabilize for a while ... a time that's stretched a few months longer than I initially intended. This is due to

Re: Tapestry upgrading to prototype.js version 1.6.1 for IE8 compliance

2009-10-02 Thread Michael Gerzabek
But a very good one: I do all customizations that way! I ever thought that's the proposed way to do things with T5 Howard Lewis Ship schrieb: If that works, it's a bug! On Thu, Oct 1, 2009 at 4:45 PM, Daniel Jones wrote: No idea when it will be included, probably in the next release. If it i

Re: Non-java External configuration in T5 -- can it be done?

2009-09-30 Thread Michael Gerzabek
You could implement your own SymbolProvider [1] that reads a properties file with all your runtime-stuff. You can implement a reloadable mechanism so that the values can be altered at runtime (or not). In your Module you contribute this provider to the SymbolSource service. You can even decide

Re: New Tapestry Website - Final review

2009-09-21 Thread Michael Gerzabek
Howard Lewis Ship schrieb: Tapestry used to use Forrest, but it was a lot of work to get it functioning correctly and predictably. That was true for older versions. With 0.8, which is the same release for two years right now, it's really simple. 1. unpack the zip into some arbitrary directo

Re: New Tapestry Website - Final review

2009-09-21 Thread Michael Gerzabek
Howard Lewis Ship schrieb: On another front ... the organization (outside of my above thoughts) appears pretty nice (I still haven't had a chance to look at it in more detail) but this documentation reboot is also a chance to move away from using Maven to generate the documentation. I've had goo

Re: Website concept

2009-09-10 Thread Michael Gerzabek
Sebastian Hennebrueder schrieb: I setup a quick web page to visualize the information groups and pointers http://www.laliluna.de/tapestry/tapestry.html Very nice. A lot of time on your side :) It uses the current design but just edit jquery accordion functionality and related css. The purpo

Re: Website concept

2009-09-10 Thread Michael Gerzabek
://tapestry.apache.org/tapestry5.1/guide/rendering.html is working. Michael Uli On 10.09.2009 12:00 schrieb Michael Gerzabek: Sebastian, great job! The main point is your thesis of missing 50 to 80 percent of potential new customers. What a waste of time and brainpower!!! I completely agree in

Re: Website concept

2009-09-10 Thread Michael Gerzabek
Sebastian, great job! The main point is your thesis of missing 50 to 80 percent of potential new customers. What a waste of time and brainpower!!! I completely agree in selling the stuff to new users. This could as you pointed out very elegantly with rather small changes in the structure and g

Re: New Tapestry tutorial -> documentation structure

2009-09-09 Thread Michael Gerzabek
Sebastian Hennebrueder schrieb: Furthermore, do you agree that we only translate the tutorial into languages where at least 2 persons are ready to keep the translation up to date. I propose this backup for two reason. Firstly, I experienced this for my own tutorial where I had people willing

Re: Securing files on the classpath/webapp context (was: Re: Running Tapestry 5.0.18 on Google App Engine)

2009-08-27 Thread Michael Gerzabek
I must say I was a little bit shocked when I heard about this security hole and found an easy way within httpd (mod_rewrite) to circumvene this problem at first. Thinking about how it should be I would prefer the 'blacklist everything'-approach. This way a dev never has to worry about what's

Re: tapestry-spring-security-2.1.0 logout issue

2009-08-12 Thread Michael Gerzabek
estry exception. Ok. That means you get the exception when the page already is redirected. Can you confirm that? /M Norman Franke Answering Service for Directors, Inc. www.myasd.com On Aug 12, 2009, at 11:51 AM, Michael Gerzabek wrote: So. What does this mean? Did the sample work for you - I

Re: tapestry-spring-security-2.1.0 logout issue

2009-08-12 Thread Michael Gerzabek
: I didn't when I ran the demo. Maybe one needs a layout component? Norman Franke Answering Service for Directors, Inc. www.myasd.com On Aug 12, 2009, at 4:07 AM, Michael Gerzabek wrote: Why do I not get the exception? I'm testing with tapestry-spring-security-sample applica

Re: tapestry-spring-security-2.1.0 logout issue

2009-08-12 Thread Michael Gerzabek
Why do I not get the exception? I'm testing with tapestry-spring-security-sample application at [1]. Michael [1] http://www.localhost.nu/svn/public/tapestry-spring-security-sample Norman Franke schrieb: On Aug 11, 2009, at 5:20 PM, Robin Helgelin wrote: On Tue, Aug 11, 2009 at 17:46, Norman

Re: @Secured annotation handling

2009-07-23 Thread Michael Gerzabek
Don't get the point here. You secured a page? And if you want to access it, you get the AccessDeniedEx? This seems to be a valid case. The [WARN] intercept.AbstractSecurityInterceptor Could not validate configuration attributes as the ObjectDefinitionSource did not return a ConfigAttributeDefini

Re: t5: protecting data from public access

2009-06-10 Thread Michael Gerzabek
Hi Angelo, you might investigate tapestry-spring-security [1]. It has everything you need and there is a snapshot [2] that works with T5.1. You can secure resources and if someone requests a secured resource authentication is required from the framework. So, no hacking possible. Michael [1

Re: T5.1 Question regarding BeanModel and BeanModelSource

2009-06-09 Thread Michael Gerzabek
;exclude", "add", and "reorder" parameters, so you can decide what belongs in your model in a declarative fashion: Robert On Jun 8, 2009, at 6/811:39 PM , Michael Gerzabek wrote: Thank you Robert! To give you a way of looking at my problem. Bean Customizing has

Re: T5.1 Question regarding BeanModel and BeanModelSource

2009-06-08 Thread Michael Gerzabek
e you have the model, you can manipulate it anyway you want. For example: BeanModel getModel() { BeanModel model = beanModelSource.createDisplayModel(MyBean.class,messages); model.exclude("someProp"); return model; } Robert On Jun 8, 2009, at 6/810:3

T5.1 Question regarding BeanModel and BeanModelSource

2009-06-08 Thread Michael Gerzabek
Hi, BeanModelSource now has deprecated create(..) in favor of createDisplayModel(..) and createEditModel(..). This is a nice feature leaving me with one question: I want to edit a bean that has some properties that should not be displayed at all (@NonVisual), some properties that should be d

T5.1 Component X does not contain an embedded component with id Y

2009-06-02 Thread Michael Gerzabek
Hi, I've created a template component that is able to load a .tml file from outside the context. Had to slightly change the ComponentTemplateSource to get this working. I know, I'm breaking with the Tapestry philosophy of 1 Class = 1 Template. So if this is a no! never! road, just tell me. N

Re: tapestry-spring-security update

2009-05-30 Thread Michael Gerzabek
Hi Thiago, yes it should. Anyway more feedback is wanted. Thiago H. de Paula Figueiredo schrieb: On Fri, May 29, 2009 at 3:34 PM, Robin Helgelin wrote: Hi, Hi! I've just uploaded a 2.1.0-SNAPSHOT release of tapestry-spring-security with support for Tapestry 5.1. We're releasin

Re: tapestry-spring-security dynamic failure url

2009-05-27 Thread Michael Gerzabek
Borut Bolčina schrieb: The solution is a three-liner: @Inject private AuthenticationProcessingFilter apf; and apf.setAuthenticationFailureUrl("acme/login/failed"); in method void onActivate(EventContext eventContext) Should have tried that before asking :-| Thanks, Borut

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
09 [2] http://forum.springsource.org/showthread.php?t=59581&highlight=dynamic+failure Bolčina schrieb: Hi Michael, 2009/5/26 Michael Gerzabek Borut Bolčina schrieb: I need to configure AuthenticationProcessingFilter "on the fly". Are you sure? Or do you

Re: tapestry-spring-security dynamic failure url

2009-05-26 Thread Michael Gerzabek
Borut Bolčina schrieb: I need to configure AuthenticationProcessingFilter "on the fly". Are you sure? Or do you just want different failureURLs? Can I inject the filter and call the setAuthenticationFailureUrl(failureUrl) in my page class? I want to have different failureUrl based on some condi

Re: tapestry-spring-security logout

2009-04-10 Thread Michael Gerzabek
Hi Borut, sounds good. On my tasklist is upgrading to newest T5.1. Don't know when I've the time to. This will presumably be at the end of next week. To achieve the logoutService.logout( myURL) I'll have to take a look at the interface. Not sure if this signature originates in SS or in TSS.

Re: problem tapestry-spring-security plugin: UserDetailsService implementation not found

2009-03-09 Thread Michael Gerzabek
As the name says, the sample application does declare the UserDetailsService. Look at nu.localhost.tapestry5.springsecuritytest.services.TestsecurityModule there you'll find the build method public static UserDetailsService buildUserDetailsService( @Inject PasswordEncoder encoder, @Inject

Re: DZone's 40th Refcardz, Apache Tapestry 5.0

2009-02-05 Thread Michael Gerzabek
Awesome! Thank you Howard! Lewis Ship schrieb: DZone Refcardz are a series of free cheat sheets for developers, written by book authors and industry experts on a wide range of technical topics including: Spring, Windows PowerShell, EJB 3, Ajax, Design Patterns,

Re: Tapestry 5.0 Final Release - 5.0.18

2008-12-15 Thread Michael Gerzabek
Thank you Howard and Team! This is really a great piece of software. In my humble opinion it's the best web application framework available. Development is straight forward, though you have to learn the Tapestry way of doing things. But that's also true for any other framework out in space.

Re: integrating T5 a login form with Spring Security?

2008-12-15 Thread Michael Gerzabek
You have to provide the login-processing-url to your template file. Look into nu.localhost.tapestry5.springsecuritytest.pages.LoginPage and the respective LoginPage.tml in the webapp of the sample. It's artefact is nu.localhost.tapestry5.springsecurity tapestry-spring-security-sample 1.0.0-

Re: [T5] classes and templates don't reload anymore

2008-12-02 Thread Michael Gerzabek
I recently switched to 5.0.17 and everything works fine, reloading of pages, templates, components (no mixins yet). I use Eclipse with jetty plugin. Stephane Decleire schrieb: My app is built against Tap 5.0.17 I've tried using maven command "mvn jetty:run" or on Tomcat using Netbeans without

Re: [T5] Pick up https/http from request

2008-11-26 Thread Michael Gerzabek
ectService("BaseURLSource") BaseURLSource baseURLSource) { RequestSecurityManager manager = new MyRequestSecurityManager(request, baseURLSource); configuration.add(AliasContribution.create(RequestSecurityManager.class, manager)); } On Wed, Nov 26, 2008 at 12:42 PM, Michael Gerzabek <[EMA

Re: [T5] Pick up https/http from request

2008-11-26 Thread Michael Gerzabek
eturn baseURLSource.getBaseURL( request.isSecure() ); } and get Request injected in your constructor. /Michael As of now, the user gets a fixed protocol in return, not the protocol he requested. On Wed, Nov 26, 2008 at 12:29 PM, Michael Gerzabek <[EMAIL PROTECTED] wrote: Inge, not sur

Re: [T5] Pick up https/http from request

2008-11-26 Thread Michael Gerzabek
endent on service 'Alias'. Inge On Wed, Nov 26, 2008 at 11:28 AM, Michael Gerzabek <[EMAIL PROTECTED] wrote: Inge, I did it successfully for a similar purpose: @SuppressWarnings("unchecked") public static void contributeAlias( @InjectServi

Re: [T5] Pick up https/http from request

2008-11-26 Thread Michael Gerzabek
Inge, I did it successfully for a similar purpose: @SuppressWarnings("unchecked") public static void contributeAlias( @InjectService( "SiteBaseURLSource" ) BaseURLSource baseUrlSource, Configuration configuration ) { configuration.add( AliasContribution.create(

Re: tapestry-spring-security: don't log AccessDeniedException

2008-10-08 Thread Michael Gerzabek
I also realized this annoying thing but couldn't find the root cause fast enough. I put a TODO in the next steps section. ATM try to educate your perfectionalism to live with it ;) /Michael Ulrich Stärk schrieb: Yet another tapestry-spring-security question: How do I turn of the logging of t

Re: [T5] Alias building recursion exception when using tapetry-spring-security

2008-10-07 Thread Michael Gerzabek
Can you post (excerpts of) your Module class where you build your own SaltSource? Thiago H. de Paula Figueiredo schrieb: Hi! Please help me with this exception. I've trying to find any information on how to figure out what's happening but, even after debugging through Tapestry source code, I

Re: tapestry-spring-security and openid

2008-10-07 Thread Michael Gerzabek
Robin Helgelin schrieb: On Tue, Oct 7, 2008 at 10:58 PM, Jonathan Barker <[EMAIL PROTECTED]> wrote: I'm assuming this hasn't changed since tapestry5-acegi. The IfLoggedIn component uses the following test: private boolean test() { Principal principal = requestGlobals.getHTTPServle

Re: tapestry-spring-security and openid

2008-10-07 Thread Michael Gerzabek
Jonathan Barker schrieb: Actually, there are two problems. In the configuration for tapestry5-acegi and presumably spring security, there is an AnonymousAuthenticationProvider. The AnonymousAuthenticationProvider only assures that there is an Authentication at any time. So don't take it away

Re: tapestry-spring-security: injecting UserDetails

2008-10-07 Thread Michael Gerzabek
In your page use Authentication authentication = SecurityContextHolder.getContext() .getAuthentication(); if ( authentication.getPrincipal() instanceof User ) { ... } where User is you specific User object. Hope that helps, Michael Ulrich Stärk schrieb: Hi, are the UserDetai

IoC Question with Alias

2008-09-19 Thread Michael Gerzabek
Hi, I have a problem with the contributions to the alias service. The AppModule is ... public static void bind( ServiceBinder binder ) { binder.bind( SiteDispatcher.class ).withId( "SiteDispatcher" ); binder.bind( SiteServiceImpl.class ).withId( "SiteService" ); binder.bind( HttpdReq

Re: T5: Warning on grid reorder

2008-08-18 Thread Michael Gerzabek
guys, I'm using 5.0.14 and experience the same problem. [WARN] Credential EXCEPTION java.io.IOException: Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch ... [WARN] ResourceCache Alias request of 'file:/C:/Dokumente%20und%20Einstellungen/indi/Eigene%20D

Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
't use Configuration>, but rather Configuration. Otherwise you won't be able to configure multiple alias overrides at once. Apart from that, everything looks fine. -Filip Michael Gerzabek skrev: Usecase: tapestry-spring-security offers integration between Tapestry 5 an Spr

Re: [T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
ration>, but rather Configuration. Otherwise you won't be able to configure multiple alias overrides at once. Apart from that, everything looks fine. -Filip Michael Gerzabek skrev: Usecase: tapestry-spring-security offers integration between Tapestry 5 an Spring Security [1]. It's i

[T5][FAQ] How to configure a service that likely will be overriden by an AliasContribution?

2008-08-11 Thread Michael Gerzabek
Usecase: tapestry-spring-security offers integration between Tapestry 5 an Spring Security [1]. It's implemented as a Tapestry IoC/Core module. This module uses a PasswordEncoder shipped by Spring Security (they ship also a couple of standard implementations of PasswordEncoder). For the modu

Re: [T5] Spring Security 2 Integration

2008-08-08 Thread Michael Gerzabek
Tapestry Acegi (http://www.localhost.nu/java/tapestry5-acegi/) is already Tapestry Spring Security. There's just one issue with how the PasswordEncoder is setup. It's somehow backwards to contribute a bean via its class name as a string when you have a full fledged IoC container. You can check

Re: Problem wuth internacionalization

2008-05-12 Thread Michael Gerzabek
It depends on how your Module is named. If you name it .services.StartModule then it's Start.properties (Start_.properties). The archetype creates an AppModule.java file, so the right name is App.properties. Beginning from 5.0.6 - I suspect - you further have to put your templates into the we

Re: Question about ApplicationInitializerFilter

2008-05-05 Thread Michael Gerzabek
ward Lewis Ship schrieb: You can see that there are a few issues in JIRA to make the IoC stuff (even) more refactoring-safe. On Sun, May 4, 2008 at 11:06 PM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Thank you Howard, It was a typo after a refactoring (DatabaseManager |-> Database

Re: Question about ApplicationInitializerFilter

2008-05-04 Thread Michael Gerzabek
ning the contribution to the service, is not being loaded. Please refer to the docs on how to ensure that modules are loaded. On Tue, Apr 29, 2008 at 2:10 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Hi, I've a Service that extends ApplicationInitializerFilter: public interface Da

Re: Localization of default messages

2008-04-29 Thread Michael Gerzabek
Manuel, you simply put org.apache.tapestry.corelib.components.Errors_es.properties (I suppose) in your resources. If you use the maven archetype this should be PROJECT_HOME/src/main/resources Manuel Corrales schrieb: Hi, i was checking the documentation but was not able to find how can i do

Re: page activation + components

2008-04-29 Thread Michael Gerzabek
@Retain private String param; Salue János Jarecsni schrieb: and how a component can get to know the page in which it is included? I mean, I can't @InjectPage, as the component will be included in many kinds of pages. @Kristian: thx for the many ways :) I'll try these, hope that the @Environmen

Question about ApplicationInitializerFilter

2008-04-29 Thread Michael Gerzabek
Hi, I've a Service that extends ApplicationInitializerFilter: public interface DatabaseUpdateManager extends ApplicationInitializerFilter { public void update() throws SQLException; } I made it a service because I thought then it would be easy to collect contributions from other modules.

Re: page activation + components

2008-04-29 Thread Michael Gerzabek
6) @Retain could do the job. Your String will be available until the end of the request. János Jarecsni schrieb: Hi there, I have an activatable page, in its onActivate(String param) method I save the param to a normal instance variable of the page class (no persistence!). How can any compone

Re: [T5.0.10] Form submission character encoding issues when using ISO-8859-1

2008-04-28 Thread Michael Gerzabek
Hi Thiago, I use 'accept-charset="ISO-8859-1"' as well as 'enctype="application/x-www-form-urlencoded"' on each t:form and t:beaneditform. This does the job for me. Michael Thiago HP schrieb: Hi! I'm working on a project that uses an already existent MySQL database. It's using ISO-8859-1

Re: Tapestry and OSGi

2008-04-22 Thread Michael Gerzabek
Hi Robert, No I've no experience in using T5 with OSGi. Sounds very interesting though. Recently I stepped into this topic and found Sling [1], another Apache incubator project that deals with OSGi. Sling is based on Felix [2] an OSGi implementation of ASF. It further uses Jackrabbit [3] as J

Re: problem with example .TML

2008-04-21 Thread Michael Gerzabek
Hi Janos, take a look at the upgrade notes. Close to the bottom the change of the BeanModel signature is documented. Now you need mode.exlude(..) instead of model.remove(..). Regards, Michael [1] http://tapestry.apache.org/tapestry5/tapestry-core/upgrade.html János Jarecsni schrieb: Hi, I

Re: Page template and class location

2008-04-21 Thread Michael Gerzabek
e? thx janos On 22/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Exactly. Does it work now? /M János Jarecsni schrieb: Hi Michael, I have the following line in the manifest.mf of my T5 component library JAR: Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryM

Re: Page template and class location

2008-04-21 Thread Michael Gerzabek
n Hi Michael, what did you do? I did what I wrote (yes it is a library JAR, I have the LibraryModule class I quoted, the library name is "mylib", and the quoted URLs do NOT work. What URL did you use? thx a lot Janos On 21/04/2008, Michael Gerzabek <[EMAIL

Re: Page template and class location

2008-04-21 Thread michael . gerzabek
Michael, > > what did you do? I did what I wrote (yes it is a library JAR, I have the > LibraryModule class I quoted, the library name is "mylib", and the quoted > URLs do NOT work. What URL did you use? > > thx a lot > Janos > > On 21/04/2008, Michael Gerzabe

Re: Page template and class location

2008-04-21 Thread Michael Gerzabek
Hi Janos, if your library is in a jar file read [1], else add the method you posted in your current Module. Tested it, works like a charm ;) [1] http://www.nabble.com/T5%3A-component-libraries-to12055274.html#a12055580 Infos on Modules: http://tapestry.apache.org/tapestry5/tapestry-ioc/modul

Re: Page template and class location

2008-04-21 Thread Michael Gerzabek
János Jarecsni schrieb: I have a component library, x.jar. I placed a y.tml into its pages package (some.package.pages, where some.package is declared in the library module as the root package). I added the component jar to the web application, still I cannot access the x.tml as a page. When y

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
Sven Homburg schrieb: a velocity service is also implemented but not documented but use the same service interface http://87.193.218.134:8080/t5components/t5c-contrib/ Oh, I will take a look at that. Thank you!

Re: include

2008-04-19 Thread Michael Gerzabek
Hi Janos, List, Wow, you digged into it ;) At the time there was no need for me to go so deep with T5. So I think I cannot help with your conrete approach. Rather I will share what I did, when I needed to load a Component at runtime. I have a checkout flow that has the opportunity to regist

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
nille hammer schrieb: Hi Michael, I have tried your suggestion. In my environment (5.0.11) it does not work. Even with explicit id "Messages" provided, the ioc-container throws a RuntimeException complaining that Messages is not a defined service. You must have done sth. else to make your sug

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
PS: Get more infos on T-IOC here: http://tapestry.apache.org/tapestry5/tapestry-ioc/service.html Michael Gerzabek schrieb: nille, maybe you wanna try adding the InjectService annotation. This at least works for my services. public static ConfirmationMailSender buildConfirmationMailSender

Re: [T5] Sending Email from Tapestry

2008-04-19 Thread Michael Gerzabek
nille, maybe you wanna try adding the InjectService annotation. This at least works for my services. public static ConfirmationMailSender buildConfirmationMailSender( @InjectService("Messages") Messages messages) { return new ConfirmationMailSender(messages); } good morning, Michael hamm

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

2008-04-17 Thread Michael Gerzabek
Chris only pinpointed your former offends and was so kind to translate the type of it with respect. He was AFAICS not digging into what you repeatedly post as facts to list. So, Rob, we got your points [1-4]. Thank You. And now would you just be so kind and leave us so we can happily close th

Re: include

2008-04-16 Thread Michael Gerzabek
Hi János, In your very first mail 2 days ago you say "I'm new to Tapestry technology and to this mailing list". I think though I played around with T5 quite some time I'm also new to it. So please don't take my word to be the final truth. I think there is a simple solution to your problem. Lo

Re: AW: Getting Answers on the User List

2008-04-15 Thread Michael Gerzabek
l the posts are offensive more or less https://gmail.google.com/support/bin/answer.py?answer=29381 Davor Hrg On Tue, Apr 15, 2008 at 1:54 PM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: +1 Chris Lewis schrieb: I think it's about time we report this jackass to google or eve

Re: AW: Getting Answers on the User List

2008-04-15 Thread Michael Gerzabek
+1 Chris Lewis schrieb: I think it's about time we report this jackass to google or even the FTC. Apart from being a bothersome embarrassment to humanity, he's most likely in violation of google's terms of service as well as at least one law. Rob Smeets wrote: Oh, Mr. Lewis Ship, so you're

Re: include

2008-04-14 Thread Michael Gerzabek
Then I was to fast too! ;-) Michael Gerzabek schrieb: Hi Janos, Could you elaborate a little bit more on what you wanna do? Have a look at the basic principles of T5 [1], especially Principle #1 might be of interest for you. Maybe you are just looking on how create dynamic layouts then go

Re: include

2008-04-14 Thread Michael Gerzabek
Hi Janos, Could you elaborate a little bit more on what you wanna do? Have a look at the basic principles of T5 [1], especially Principle #1 might be of interest for you. Maybe you are just looking on how create dynamic layouts then go to the mailing list with keywords dynamic and static [2]

Re: AW: Getting Answers on the User List

2008-04-11 Thread Michael Gerzabek
Howard Lewis Ship schrieb: The reality is that right now I'm sitting in an office at Formos and every single person in the building is deriving their living directly from Tapestry and the effort I've put into it over the last seven years. And that's just the company I work for; Over the last few

Re: Getting Answers on the User List

2008-04-11 Thread Michael Gerzabek
A big hello and thanks to Rob! Reading this post it came to my mind through Rob's playing the devils advocate here he is really improving this user-list's community. And there are one personal experience and one common though to share with you. 1. Personal experience with Wicket Long befor

Re: T5 Apache httpd + T5

2008-04-11 Thread Michael Gerzabek
Michael Gerzabek schrieb: Is there a way to configure access logging like tomcat has for Jetty? Yes, and it's easy. You click the Run > Open Run Dialog then select your Jetty App and select the checkbox Enable NCSA logging in the dialog. There I found that the last rewrite rule h

Re: T5 Apache httpd + T5

2008-04-11 Thread Michael Gerzabek
Kevin, the difference with that is that you pass every request to the servlet container. My config serves static files, like css, pictures etc. straight with httpd and let the fancy stuff do by the servlet container. Thanks anyway! Michael Kevin Menard schrieb: I've always used something ak

Re: T5 Apache httpd + T5

2008-04-11 Thread Michael Gerzabek
Mhm, Robin Helgelin schrieb: ProxyPassReverse / http://localhost:/ I assume your application is running on context root? Yes it is. Also, does tomcat logging show any difference between requests coming from mod_proxy and requests coming directly to tomcat? I use Jetty 5.1.12 wit

Re: T5 Apache httpd + T5

2008-04-11 Thread Michael Gerzabek
eRule "^/(.*)" "http://localhost:/$0"; [L,P] [1] http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104441321803644&w=2 Michael Robin Helgelin schrieb: On Fri, Apr 11, 2008 at 10:49 AM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Hi, I want to

T5 Apache httpd + T5

2008-04-11 Thread Michael Gerzabek
Hi, I want to install T5 behind a httpd with mod_proxy and mod_rewrite. While the configuration on http is straight forward, T5 seems to behave different when it get's queried by httpd. Jetty direct URL: http://localhost:/contact This works fine and as supposed. The contact page get's hos

Re: T5 property file for enum

2008-04-10 Thread Michael Gerzabek
pages and components can override the values defined in this message catalog." Robert On Apr 10, 2008, at 4/104:10 AM , Michael Gerzabek wrote: Hi, I love the new enum support for automagic selects. Thanks for that Howard! I have shifted many constants to enums. The arising question is

Re: T5 property file for enum

2008-04-10 Thread Michael Gerzabek
to be overread) on the following page of Tapestry 5 Manual (http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html) Cheers, nillehammer - original Nachricht Betreff: T5 property file for enum Gesendet: Do, 10. Apr 2008 Von: Michael Gerzabek<[EMAIL PROTEC

T5 property file for enum

2008-04-10 Thread Michael Gerzabek
Hi, I love the new enum support for automagic selects. Thanks for that Howard! I have shifted many constants to enums. The arising question is how to prepare Messages to those enums in most convenient way. At the time I use one property file per Page. When I have an enum display a select on

Re: T5.0.11 beanEditForm

2008-04-08 Thread Michael Gerzabek
Hi Natia, I'm not an expert here but learning on my own. It looks like T5 complains about the constructor of Celebrity. If you only use the default constructor your classes work. I did it that way: public class AddCelebrity { @Persist private Celebrity celebrity; @Inject p

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

2008-04-08 Thread Michael Gerzabek
Natia Gdzelishvili schrieb: > can anyone help.. > Try this: 1. *Use T5.0.11*, it's the latest stable release, also voted beta from dev team. There is not a single reason why you would use 5.0.6. You even can continue using the book. There are only very few things that changed from 5.0.6 to 5.0.

Re: [T5] Tapestry evaluation + questions

2008-03-31 Thread Michael Gerzabek
Hi Rob or however you are! Nice to see you spicing up this list ;) Your comments are always very thoughtful so everybody on this list can feel how you from your deepest heart care about people on this list as well as the evolution of Tapestry. Thank you for your invaluable contribution! Rea

T5 acquire block from separate page [was: Re: Antwort: [T5] Dynamic Layouts]]

2008-03-03 Thread Michael Gerzabek
Hi Robert, You clearly outlined the simple case. I'm interested in the 2nd case: The name of my block/ component is read from the database and I have to acquire the block/ component from another page (where the name could also be in the database). I found Howards repy to an earlier thread [1]. T

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-02 Thread Michael Gerzabek
/-T5--Label-tf4618003.html Michael Gerzabek schrieb: Ok. I packed the sources. But before I sent them I wanted to try it one more time on my own. I generated new .project and .classpath files with maven (2.0.8), created a new project in eclipse (3.2) imported the project built it and

Re: T5: BeanEditForm doesn't pick up .properties

2008-02-02 Thread Michael Gerzabek
ate the problem, I'm sure I can whip up a fix. On Feb 1, 2008 2:26 PM, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Howard Lewis Ship schrieb: Havning trouble following you ... what is the name, location and contents of your .properties file? Does the expansion work or not wo

  1   2   >