Re: T5 - Service injection and ioc

2007-06-01 Thread Blackwings
Try simply @Inject private UserAuthenticator _authenticator; Also use the bind method instead of the buildUserAuthenticator. I did it and explained it in this thread if you read it completely ;) It's not more documented because it's an alpha project, as explained Howard Lewis Ship in his last m

Re: T5 - Service injection and ioc

2007-06-01 Thread Blackwings
ke me ;) 2007/6/1, Howard Lewis Ship <[EMAIL PROTECTED]>: Actually, Howard doesn't have to confirm this as the code confirms this, and the comments, capturing Howard's thoughts, confirm this. On 6/1/07, Blackwings <[EMAIL PROTECTED]> wrote: > > /cry... > Does Howar

Re: T5 - Service injection and ioc

2007-06-01 Thread Blackwings
com.poi.tapestry5.ioc.test.module.AppModule, com.poi.tapestry5.ioc.test.module.MyModule Tapestry-Module-Classes: com.poi.tapestry5.ioc.test.module.AppModule, com.poi.tapestry5.ioc.test.module.MyModule Blac

Re: T5 - Service injection and ioc

2007-06-01 Thread Blackwings
/cry... Does Howard confirm this? 2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>: I think you can only have one Module loaded by Filter (CMIIW). Last time I tried I only can load AppModule, and the other Module entries are ignored. On 6/1/07, Blackwings <[EMAIL PROTECTED]> wr

Re: T5 - Service injection and ioc

2007-06-01 Thread Blackwings
rface papo.ioc.services.UserService." So, how can I declare the Module? :) 2007/6/1, Joshua Jackson <[EMAIL PROTECTED]>: Of course you can create your own Module, but AppModule it the ones automatically loaded because it is configured in your web.xml On 6/1/07, Blackwings <[EMAI

Re: T5 - Service injection and ioc

2007-05-31 Thread Blackwings
Still the same question... Are we force to use only the AppModule? Can we create our own module? This is the question. I think we know how to implement, inject and create a Service. I achieved to make it works only when finally I declared my service builder in AppModule but we still don't know how

Re: T5 - Service injection and ioc

2007-05-30 Thread Blackwings
eImpl(); } } 2007/5/30, Blackwings <[EMAIL PROTECTED]>: The only error I have is : # java.lang.ClassNotFoundException caught an exception while obtaining a class file for papo.pages.Start exception java.lang.RuntimeException: Error obtaining injected value for field papo.pages.Start._user

Re: T5 - Service injection and ioc

2007-05-30 Thread Blackwings
The only error I have is : # java.lang.ClassNotFoundException caught an exception while obtaining a class file for papo.pages.Start exception java.lang.RuntimeException: Error obtaining injected value for field papo.pages.Start._userService: No service implements the interface papo.ioc.servi

Re: T5 - Service injection and ioc

2007-05-30 Thread Blackwings
the naming for that. Also, you should consider letting Tapestry IoC inject the Log ( org.apache.commons.logging.Log) for your service; cleans up a lot of code that way. This will be On 5/29/07, Blackwings <[EMAIL PROTECTED]> wrote: > > So, I'm now on 5.04 and I re-read the d

Re: T5 - Service injection and ioc

2007-05-29 Thread Blackwings
RuntimeException: Error obtaining injected value for field papo.pages.Start._userService: No service implements the interface papo.ioc.services.UserService. What can I try now? 2007/5/29, Blackwings <[EMAIL PROTECTED]>: I was using the 5.03. I just changed for the 5.04 then I tried your p

Re: T5 IoC for WebServices (jax-ws)

2007-05-29 Thread Blackwings
Does it means that today, the best should be to learn Axis if we need WebServices? 2007/5/29, Howard Lewis Ship <[EMAIL PROTECTED]>: Further, the "magic" injection right into private variables is a function of Tapestry's class transformation system; it's limited to Tapestry pages and components

Re: T5 - Service injection and ioc

2007-05-29 Thread Blackwings
older versions Davor Hrg On 5/29/07, Blackwings <[EMAIL PROTECTED]> wrote: > > Hi, > > I think I'm not using correctly the tapestry-ioc since my page call itself > my module to get the service implementation instance (as service): > > UserModule >

T5 - Service injection and ioc

2007-05-29 Thread Blackwings
Hi, I think I'm not using correctly the tapestry-ioc since my page call itself my module to get the service implementation instance (as service): UserModule public class UserModule { public static UserService buildUserService() { return new UserServiceImpl(); } } UserService public inte

T5: How to modify page without having to restart tomcat

2007-05-22 Thread Blackwings
I noticed with jetty it doesn't reload the context when, for example, you modify a template. But it's needed with Tomcat even if I configured Tomcat to not redeploy the context at each modification. How can I do the same with Tomcat than Jetty? Thanks, Michael

Re: Tapestry 5: Default Locale

2007-05-14 Thread Blackwings
Hum, are we forced to encode in UTF-8?? How can we, also, change the default locale? 2007/5/14, Nick Westgate <[EMAIL PROTECTED]>: > org.apache.tapestry.ioc.internal.util.TapestryException Failure parsing > template context:WEB-INF/Start.html: Invalid byte 2 of 3-byte UTF-8 > sequence. This pr

Re: Tapestry 5: Default Locale

2007-05-14 Thread Blackwings
I tried the same (with fr) at the same place, and I was able to get the 'fr' labels as default translation, but I was not able to write such of code in html template : because 'é' is a 'fr' char and Tapestry return an exception, whatever I put as encoding in the HTML description itself : org.apa

Re: [T5] Calling URL without pages

2007-05-09 Thread Blackwings
ter? Robert On May 8, 2007, at 5/89:47 AM , Blackwings wrote: > Hi everybody! > > I'm developping a simple login/registration web site with T5. It works > normally, no problems... but what I want to do is to bypass the use > of the > formular using a url like > http://

[T5] Calling URL without pages

2007-05-08 Thread Blackwings
Hi everybody! I'm developping a simple login/registration web site with T5. It works normally, no problems... but what I want to do is to bypass the use of the formular using a url like http://www.myloginsite.com/start?login=mylogin&password=mypassword&fromoutside=yes. I'd like to call directly

Change value property in @Option

2006-07-26 Thread Blackwings
Hi, I'm looking for the way to change the how the value property of the @Option can be change. By default, it put an index from 0 to n. But I don't want that. I would like to be able to do something like : In this code, when the form is submit, the field searchCriteria.requestershould

Re: Context path

2006-07-25 Thread Blackwings
From the Tapestry main Servlet (ApplicationServlet or directly from GenricServlet) you can call getServletContext().getRealPath("/"); 2006/7/25, Rodnei Couto <[EMAIL PROTECTED]>: Hi list, I'm creating a service. I need to know the context path to get an image used in my service. How can I dis

Form and Select

2006-07-25 Thread Blackwings
Hi, It should be a simple problem but I tried to solve it without success. So, mainly, I have javabean used to fill and store a form. The form consist on 2 Select box and 3 String fields. Home.html Why do I need to create an object to store the current valu

Re: ASO and hivemind.xml

2006-07-20 Thread Blackwings
same name, regardless of module. By contract, the namespace for libraries is rich and nested ... and confusing, and ambiguous, and overkill (just as "The Other Geoff"). Blackwings would always inject @InjectState("serviceLocator"), regardless of what id he gives his module. --

Re: ASO and hivemind.xml

2006-07-20 Thread Blackwings
nd HiveMind will pick up all of them - in addition to its own hivemind.xml. - The package name allows you to abbreviate your class names in the rest of the module, which I didn't do, so I wasted that feature. Can someone else confirm all of this? Cheers, Geoff On 20/07/2006, at 9:33 PM,

Re: ASO and hivemind.xml

2006-07-20 Thread Blackwings
setRequesters(appSettings.getRequesters()); setLanguages(appSettings.getLanguages()); } Thanks for help... BW 2006/7/20, Blackwings <[EMAIL PROTECTED]>: Thanks a lot, but I have a question again: To what, the id in the module tag, refer? Is it the name of my context? is it app? is i

Re: ASO and hivemind.xml

2006-07-20 Thread Blackwings
e.org/tapestry4.1/QuickStart/contributed.html On 20/07/2006, at 7:58 PM, Blackwings wrote: > Hi, > > I found in the document what is the line to add into hivemind.xml > file to > create an ASO since getGlobal is deprecated. But I didn't find a > standard" > hivemind

ASO and hivemind.xml

2006-07-20 Thread Blackwings
Hi, I found in the document what is the line to add into hivemind.xml file to create an ASO since getGlobal is deprecated. But I didn't find a standard" hivemind.xml file and I have no idea what is mandatory to put in. I just want to declare my ASO object to be able to inject it in my page. So,

The best way/component to do this...

2006-07-19 Thread Blackwings
Hi, I followed some tutorials about the contrib:Table and yes, it is very powerful but my needs are a little bit more complex and in the documentation it says if I want to use specific TableRows or TableColumns the best way should be to use TableView instead of Table. Mainly, I have to render a

Re: Re: Administrator of this forum ?

2006-07-18 Thread Blackwings
So, the bot is dead... Try to contact directly the main site. 2006/7/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: I have been trying to unsubscribe for awhile, too. No luck.> Date: Tue, 18 Jul 2006 15:08:06 +0200> From: [EMAIL PROTECTED]> To: users@tapestry.apache.org> Subject: Re: Administrator

Re: Administrator of this forum ?

2006-07-18 Thread Blackwings
It is an automatic process normally. You just have to send an email to [EMAIL PROTECTED] the content is not important I think. The goal is for the bot to receive a mail from an adress and remove the adress from the list BW 2006/7/18, Frank Misa <[EMAIL PROTECTED]>: Hi, Are there any administr

Re: Navigational Menu

2006-07-17 Thread Blackwings
I got it ;-) http://myfaces.apache.org/tomahawk/jscookmenu.html 2006/7/18, Scott Russell <[EMAIL PROTECTED]>: You know, you could always take the jscookmenu source code and modify it to be Tapestry 3 compatible. I doubt it would very difficult to do. -Scott On Tuesday 18 July 2006 09:23, Pet

Re: Navigational Menu

2006-07-17 Thread Blackwings
Where can I find a release of JSCook (Tap4 here ;-) )? I found one at http://forum.mamboserver.com/showthread.php?t=10994 but it seems it's for mambo only? Or it just an ads...? 2006/7/18, Peter Dawn <[EMAIL PROTECTED]>: nay. too risky. its a bit too late in the process for me to upgrade, i mig

Re: Template header DOCTYPE

2006-07-17 Thread Blackwings
<[EMAIL PROTECTED]>: hi, that's true... but it's only the template... it is more important how your generated page looks like. the spans disappear in the generated page. g, kries Blackwings <[EMAIL PROTECTED]

Re: Template header DOCTYPE

2006-07-17 Thread Blackwings
ol use SelectionModel to pass the options to your component. Then you don't need any @For loop in your html. In your table component you could code your Tapestry on the statement. eg Cheers mc On 17 Jul 2006 at 11:13, Blackwings wrote: > Hi, > > I noticed something interresti

Re: Keeping the original url after submit

2006-07-17 Thread Blackwings
I think there is another solution more simple and handle by Tapestry. I think you can declare a page "version" as accessible directly from outside using a static URL and Tapestry serialize the page as a static page. Check this page : http://tapestry.apache.org/tapestry4/tapestry/ComponentReferenc

Template header DOCTYPE

2006-07-17 Thread Blackwings
Hi, I noticed something interresting about DOCTYPE. In fact, if a designer give me a XHTML1.0 transitional compliant html template, when I mark the tag and add some tags the html is not anymore compliant : elem1 elem2 elem3 elem4 The cannot be place after a and

Re: Unsubscribing

2006-07-17 Thread Blackwings
Hello, Look at the end of this email ;o) [quote] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] [/quote] Just send a n empty email at [EMAIL PROTECTED] .apache.org 200

Re: Components inside component

2006-07-16 Thread Blackwings
you add your td like this: ... Christian Am 15.07.2006 um 20:55 schrieb Blackwings: > Hello everybody, > > I'm new in Tapestry and, in fact, my boss asked me to try Tapestry > to be > able to compare with Struts in term of development time, > efficiency, etc > etc..

Components inside component

2006-07-15 Thread Blackwings
Hello everybody, I'm new in Tapestry and, in fact, my boss asked me to try Tapestry to be able to compare with Struts in term of development time, efficiency, etc etc... yes, we are going to replace our old GUI web layer ;-) Anyway, I have a question maybe you will be able to answer : I would l