Antwort: Re: Antwort: RE: T5 Decoupling a Template From its Component Class

2007-07-03 Thread Kristian Marinkovic
just remove the InjectService annotation from your service method and try it again :) Martin Grotzke [EMAIL PROTECTED] 02.07.2007 16:50 Bitte antworten an Tapestry users users@tapestry.apache.org An Tapestry users users@tapestry.apache.org Kopie Thema Re: Antwort: RE: T5 Decoupling a

T4.1.2: problems with async EventListener

2007-07-03 Thread Patrick Klein
Hi! I just tried to switch over to Tapestry 4.1.2 and use the EventListeners and AJAX functionality. However, as soon as i add an EventListener to any page-class file i get the following log output: 02.07.2007 15:46:00 org.apache.tapestry.asset.AssetService service WARNUNG: Classpath resource

Re: Antwort: Re: Antwort: RE: T5 Decoupling a Template From its Component Class

2007-07-03 Thread Martin Grotzke
On Tue, 2007-07-03 at 08:27 +0200, Kristian Marinkovic wrote: just remove the InjectService annotation from your service method and try it again :) Cool, really easy :) Thanx a lot, cheers, Martin Martin Grotzke [EMAIL PROTECTED] 02.07.2007 16:50 Bitte antworten an

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

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

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

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: link rel=stylesheet type=text/css href=/ref/asset.svc?digest=d48075819ceb9ef581572e3ed592649bamp;path=%2Fcss%2Fpage.css link rel=stylesheet type=text/css

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

[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: [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 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: 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.. html jwcid=[EMAIL PROTECTED] title=ognl:page.components.headComponent.title stylesheet=ognl:assets.stylesheet body jwcid=@Body div id=page

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!!

[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

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();

[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

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

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: bean id=authenticationProcessingFilter class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilter property name=authenticationManager ref=authenticationManager/

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: bean id=authenticationProcessingFilter class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilter property name=authenticationManager ref=authenticationManager/

[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,

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

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

[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 : div t:type=myComponent1 div t:type=myCompopnent2 h1Content/h1 /div /div In myComponent2 class when i try to access to the Container : @Inject private ComponentResources componentResources;

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]

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,

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

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 a

Re: Need Quick Help on t:if 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: t:if test=ifSummaryActive ... /t:if ... t:if

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: 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

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

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

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 override

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: