4.1.1 (or 4.1.2) Dojo Dialog escaping pageBeginRender

2007-07-03 Thread Paul Stanton
Hi all, Currently I've got a couple of dialogs within a page. Each time a dialog is shown or hidden (via @EventLister annotation) the page's pageBeginRender method is called and this is more work than is necessary just do display a simple dialog. Is there a way to detect that the call is bei

Re: T5: Generic page classes with beaneditform

2007-07-03 Thread Jun Tsai
wish Jesse to fix the bug in T5. Jun Tsai 2007/6/26, Jesse Kuhnert <[EMAIL PROTECTED]>: I don't know if this helps or not, but I got generics working in a very limited way with 4.1.x in that I do all the type lookup work manually...(this probably won't work for this use case but thought I'd th

Re: 4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-03 Thread Paul Stanton
Should I log this in Jira Jesse? Paul Stanton wrote: Thanks Jesse, I've changed it to @EventListener(targets = {"myButton"}, events = "onclick", async = true, autoSubmit = false) public void showMyDialog() and the same exception is thrown. Any more info? Paul. Jesse Kuhnert wrote: Co

Re: [T5] service override, more apps per context

2007-07-03 Thread Nick Westgate
Norbert Sándor wrote: Hello, 1. Is it possible to run more than one T5 applications per servlet context? Search for the thread "T5: web.xml - multiple applications?" 2. Is it possible to override a service (like in Hivemind)? Search for the thread "T5 IOC questions" mid June. "You overrid

Re: [T5] How create sub component

2007-07-03 Thread Nick Westgate
All components declared in a template or class for a component/page are "embedded components". They all share the same parent component/page which is returned by getContainer() as you've seen. This is completely separate from the DOM hierarchy that T5 builds as it renders. In that case you can na

Problem in mvn package (can not include all the required jars)

2007-07-03 Thread Eko S.W.
Dear community, I use jetty as the mean to achieve hot development in Maven. And it works very fine. But, when I try to package it into WAR and have it deployed to Tomcat, it doesn't works. And when I try to understand what happen, I realize that in the WAR there are required JAR missing. Such a

Re: T5 tutorial

2007-07-03 Thread [EMAIL PROTECTED]
There is T5 tutorial (HTML) on the T5 site, you didn't found it? http://tapestry.apache.org/tapestry5/tutorial1/ 在 Tue, 03 Jul 2007 16:01:09 +0800,Olasoji Ajayi <[EMAIL PROTECTED]> 写道: Hello Everybody, I am new to T5, can anyone point me to some tutorial on T5 that I can download, I know

Re: T5 tutorial

2007-07-03 Thread Nick Westgate
The tutorial is now online: http://tapestry.apache.org/tapestry5/tutorial1/ Cheers, Nick. Olasoji Ajayi wrote: Hello Everybody, I am new to T5, can anyone point me to some tutorial on T5 that I can download, I know there is documentation online but I don't have regular internet access

Re: Need Quick Help on else statement

2007-07-03 Thread Eko S.W.
Yess!!! That was very helpful crowd! Thank you very much! 2007/7/3, Nick Westgate <[EMAIL PROTECTED]>: Another option is to use the negate parameter. Then you only need the one logic method, and you can have the if's wherever you want: ... ... ... Cheers, Nick. Erik Vullings wro

Re: Tapestry make me feel happy !

2007-07-03 Thread Eko S.W.
I just want to ask one question, but why not T5? I just try Tap too, and I do straight coding in T5 (to my opinion, because it is the latest, and it should be the only choice) Is the current T5 can not do the same ? Thank you in advance! 2007/7/4, #Cyrille37# <[EMAIL PROTECTED]>: Hi, I spent

Re: [T5] Is there a working Acegi example available?

2007-07-03 Thread Daniel Jue
Thanks Petros, your example is one of a few I've been working with. My main issue now is where to assign the principal to an ASO, so I don't have to look it up in the security context all the time. This is a normal/proper thing to do, right? In my previous non-Acegi applications where a user log

Tapestry make me feel happy !

2007-07-03 Thread #Cyrille37#
Hi, I spent a lot of time for discovering the Java World. After used Php, C++ and C# for years, this new learning adventure need a lot of energy. But today Tapestry make my feel really Happy ! Yesterday I started a fresh project with Tapestry 4.1.2, Acegi, Hibernate3, Spring2, Tomcat6, Eclips

Q : Tapestry 5 and EJB 3

2007-07-03 Thread Dwi Ardi Irawan
does anyone can give me a little example of using tapestry 5 and EJB 3 ? thnx u dwi ardi irawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Q : Tapestry 5 and EJB 3

2007-07-03 Thread Dwi Ardi Irawan
does anyone can give me a little example of using tapestry 5 and EJB 3 ? thnx u dwi ardi irawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Q : Tapestry 5 and EJB 3

2007-07-03 Thread Dwi Ardi Irawan
does anyone can give me a little example of using tapestry 5 and EJB 3 ? thnx u dwi ardi irawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[T5] How create sub component

2007-07-03 Thread David Avenante
Hi, I try to create sub compponent in T5 (5.0.5). My template is : Content In myComponent2 class when i try to access to the Container : @Inject private ComponentResources componentResources; componentResources.getContainer(), tapestry return to me my page and no

Re: T5 Templates In src/main/resources Might Interfere With Resource Filtering

2007-07-03 Thread Howard Lewis Ship
Can't you set up multiple resource folders, some filtered, some not? On 7/2/07, Steven Coco <[EMAIL PROTECTED]> wrote: Hi. Has there been discussion about the fact that Maven can filter resources, located in src/main/resources, and if templates are placed there, then Maven may munge expansions

Re: [T5] Acegi integration

2007-07-03 Thread #Cyrille37#
Sébastien, Perhaps it would not help (Im' so beginer) : perhaps pages are loaded before a HttpRequest exists, just the time for Tapestry to add some code decoration. cyrille Deleuze Sébastien a écrit : Hi again, During our login process, in org.apache.tapestry.internal.services.Intern

RE: [T5] Acegi integration

2007-07-03 Thread Deleuze Sébastien
Hi again, During our login process, in org.apache.tapestry.internal.services.InternalModule,buildCookieSource(), the first time we load our page, _requestGlobals.getHTTPServletRequest() return null, so _requestGlobals.getHTTPServletRequest().getCookies(); throw a NPE. The second time eve

Re: OGNL 2.7 Must use #this

2007-07-03 Thread Kalle Korhonen
Yeap, you are absolutely right Jesse, the unit test succeeds. Must have had the wrong snapshot version in the classpath. However, a more complex case still fails in latest 2.7.1, opened http://jira.opensymphony.com/browse/OGNL-105 for it with a unit test to show the problem (sorry for the trouble!

[T5] service override, more apps per context

2007-07-03 Thread Norbert Sándor
Hello, 1. Is it possible to run more than one T5 applications per servlet context? 2. Is it possible to override a service (like in Hivemind)? Thanks: Norbi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread #Cyrille37#
Alejandro Scandroli a écrit : Salut Cyrille This trick has two parts: 1) the acegi configuration: class="org.acegisecurity.ui.webapp.AuthenticationProcessingFilter"> ref="authenticationManager"/> value="/Login.page?login_error=1"/> value="/j_aceg

Re: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread Alejandro Scandroli
Salut Cyrille This trick has two parts: 1) the acegi configuration: The important property here is "authenticationFailureUrl", pay attention to the added parameter "?login_error=1" after the login page name.

Re: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread #Cyrille37#
Ken nashua a écrit : Here is a sample working login... Best I can provide at this point. public abstract class LoginPage extends BasePage { private static final Log LOG = LogFactory.getLog(LoginPage.class); public abstract String getUsername(); public abstract String getPassword(

[T5] Acegi integration

2007-07-03 Thread Deleuze Sébastien
Hi, We would like to use Acegi with tapestry 5, but we see a NPE (we put Acegi filter before Tapestry 5 filter (for security reason). If someone has successfully integrated Aceji with T5, can he send us his web.xml ? We would like to see how filters are defined. You will find bellow t

Re: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread Ken nashua
Here is a sample working login... Best I can provide at this point. public abstract class LoginPage extends BasePage { private static final Log LOG = LogFactory.getLog(LoginPage.class); public abstract String getUsername(); public abstract String getPassword();

[T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread #Cyrille37#
Hello, After many mails on that list and many read on the web I get something running (Tap4.1.2, Spring2, Hibernate3, Acegi, Json-Rpc). Ouf ! I would like to make only one page for Login and LoginFailed but I could not find how the Login page can know that it is coming back from the ACEGI ur

Re: how to reference property value ? quiz question please.

2007-07-03 Thread Ken nashua
Yes, I tried all of these and also applied @Persist to try on other properties too. ognl:session.title ognl:page.title ognl:page.components.title ognl:headComponent.title I am stuck... ? _ http://imagine-windowslive.com/hotmail/?l

Re: how to tile/stretch a header image in css

2007-07-03 Thread Daniel Jue
Ken, At this point, you would benefit more by going through some CSS tutorials. (I don't know of any useful CSS forums). There, you will probably be exposed to even more neat things you can do. You can search Digg for CSS and you should be able to find some good tutorial sites. Good luck!! O

Re: how to reference property value ? quiz question please.

2007-07-03 Thread #Cyrille37#
Ken nashua a écrit : I declared an id to a widget and trying to reference a property of that widget further below in html. Here is the code.. title="ognl:page.components.headComponent.title" stylesheet="ognl:assets.stylesheet">

how to tile/stretch a header image in css

2007-07-03 Thread Ken nashua
Sorry folks if this does not belong in this group but I think it might. I have the following: div#header { color: black; clear: both; padding: 0; height: 94px; margin: 5px 5px 5px 5px; background: #fff url( images/header.jpg ) top left no-repeat;

how to reference property value ? quiz question please.

2007-07-03 Thread Ken nashua
Thanks... I just have a little question... I declared an id to a widget and trying to reference a property of that widget further below in html. Here is the code.. title="ognl:page.components.headComponent.title" stylesheet="ognl:assets.stylesheet">

T5 tutorial

2007-07-03 Thread Olasoji Ajayi
Hello Everybody, I am new to T5, can anyone point me to some tutorial on T5 that I can download, I know there is documentation online but I don't have regular internet access for the moment. I downloaded a PDF file sometime ago (t5-tutorial.pdf) but its incomplete, chapter 3 is missing.

Re: [T5] how to use Meta annotation?

2007-07-03 Thread Jun Tsai
I find use ComponentResource to get the meta value; @Inject private ComponentResources componentResources; componentResources.getComponentModel().getMeta("key"); 2007/7/3, Jun Tsai <[EMAIL PROTECTED]>: I find a meta annotation in tapestry5.but i didn't to inject the meta. thanks jun tsai -

[T5] how to use Meta annotation?

2007-07-03 Thread Jun Tsai
I find a meta annotation in tapestry5.but i didn't to inject the meta. thanks jun tsai -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net

Re: Selenium problem with T4.1.2

2007-07-03 Thread Geoff Callender
Jesse, Thanks, but I'm sad to say that there are no other error messages to go on. However, dojo was patched in April for an almost identical problem: http://trac.dojotoolkit.org/ticket/2723 - PopupContainer load error within a cross-domain IFRAME Would you be able to have a quick loo

Re: T4.1.2 - css background images not working - bug?

2007-07-03 Thread Jan Vissers
The actual images are defined within .css files that are incorporated (at runtime) into the HTML files like so: Jesse Kuhnert wrote: Tapestry doesn't process your css files or the images it referencesunless for some reason your relative context image path is somehow setup to match an as

Re: a servlet with a tapestry servlet in one web.xml

2007-07-03 Thread Lutz Hühnken
Which servlet/filter handles which request is configured in web.xml. Apparently, yours is set up in a way that a request which should go to the WingS-Servlet is handled by the Tapestry filter, although it shouldn't be. Check the filter-mapping for the TapestryFilter, does it include /application/

Re: 4.1.1 upgrade to 4.1.2 async listener no longer works

2007-07-03 Thread Paul Stanton
Thanks Jesse, I've changed it to @EventListener(targets = {"myButton"}, events = "onclick", async = true, autoSubmit = false) public void showMyDialog() and the same exception is thrown. Any more info? Paul. Jesse Kuhnert wrote: Components implementing IFormComponent that are targeted

a servlet with a tapestry servlet in one web.xml

2007-07-03 Thread Tina Umlandt
Hello, I have the following problem. I have a servlet which should be in the same context as the tapestry application but it is built with a different framework named wings. Wings is using another framework named dwr. dwr is sending request like "GET /application/dwr/engine.js". Now I get the

Re: T5 How to Override the default banner message (Errors component)

2007-07-03 Thread Ulrich Stärk
AFAICS that would be: Errors.properties: default-banner=You must correct the following errors before you may continue. ValidationMessages.properties: required=You must provide a value for %s. minimum-string-length=You must provide at least %d characters for %s. maximum-string-length=You may provi