about ognl and class changes detection

2007-12-13 Thread #Cyrille37#
Hello OGNL is very nice but I would like to know how to manage classes changes without testing every pages. Exemple : In pages we have some ognl expression like value="ognl:user.lastname" and we change the class's property getLastname() to getName(). Every page are broken, And I could not fin

[T4] Removing Html comments at render time

2007-11-23 Thread #Cyrille37#
Hello, Do you know a way to remove Html comments at render time ? I use to put many many comments in html templates, and I would like to not see them in the source code. For exemple, with the Php Smarty template engine you got 'smarty comment' like {* bla bla *} or you can add render_filter w

Re: [T4] howto re-use component definition

2007-11-20 Thread #Cyrille37#
Martino Piccinato a écrit : Great. I did not this copy-of attribute. Sorry, I've to read more carefully the documentation. Thanks a lot Cyrille. On Nov 20, 2007 3:17 PM, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello again, I could not find how to re-use component definiti

[T4] howto re-use component definition

2007-11-20 Thread #Cyrille37#
Hello again, I could not find how to re-use component definition. How can I do if I want to put a link at several places in the page ? For example there is a PageLink definition : But I can't use it several times in the template : Home ... Home Because Tapestry is sho

[T4] component Image has no alt parameter

2007-11-20 Thread #Cyrille37#
Hello Why the component Image has no 'alt' parameter, but only the 'image'. It should be nice if it got one. It'll avoid the use of ognl expression in html template. Cheers Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [T4] How to get the right DOCTYPE ...

2007-11-20 Thread #Cyrille37#
late. Cyrille. On Nov 20, 2007 12:16 PM, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, I could not find how to set the DocType ? My Border component's HTML start like this : http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml&quo

Re: [T4] How to get the right DOCTYPE ...

2007-11-20 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : Hello, I could not find how to set the DocType ? Sorry for the noise. It's in the @Shell component. If the designer set a Doctype in the template, and the programmer set the doctype in @Shell, in the rendered page there is 2 doctypes ... is

Re: [T4] How to get the right DOCTYPE ...

2007-11-20 Thread #Cyrille37#
#Cyrille37# a écrit : Hello, I could not find how to set the DocType ? Sorry for the noise. It's in the @Shell component. Cheers Cyrille. My Border component's HTML start like this : "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.or

[T4] How to get the right DOCTYPE ...

2007-11-20 Thread #Cyrille37#
Hello, I could not find how to set the DocType ? My Border component's HTML start like this : "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; title="TestApp" stylesheet="asset:generalCss" jwcid="@Shell" disableCaching="true" consoleEnabled="f

[T4] about cookie and page cycle

2007-11-16 Thread #Cyrille37#
Hello, I've found howto set a cookie. I come to you to know more about why setting the cookie in renderPage() works, but not in beginPageRender() ?? Thanks Cyrille = I put my little code here, to archive it in Internet ;-) public abstract class Home extends BasePage { @Ov

Re: 3 new French Tapestry5 tutorials

2007-11-06 Thread #Cyrille37#
Spring et hibernate (ainsi que wtp) ça ne devrait pas poser de souci. If you allow me I would translate it and post on the wiki. As I 'm a newbie in tapestry 5 but already used to Spring and hibernate it should not be a problem. Michael. #Cyrille37# a écrit : Howard Lewis Ship

Re: source code for Screencast #5

2007-11-05 Thread #Cyrille37#
#Cyrille37# a écrit : Hello Is someone know where are source code from Screencast #5 ? Ok, I've found it in source tree : tapestry-core\src\test\java\org\apache\tapestry\integration\app1\components Perhaps those test app could be referenced somewhere like examples ;-) Cheers cy

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
ry5-spring-hibernate/ [fr] Sécurisation d'une application Web avec Acegi Security: [en] Securising a web application with ACEGI http://baptiste-meurant.developpez.com/tutoriaux/acegi-dwr-tapestry5-spring-hibernate/ All of those 3 tutorials have Tapestry5 as Front view On Nov 5, 2007 3:48 AM, #Cyr

source code for Screencast #5

2007-11-05 Thread #Cyrille37#
Hello Is someone know where are source code from Screencast #5 ? Thanks cyrille - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: 3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
y hard for me to translate in english when I have a native langage message. I'm so lazy ;-) Le 05/11/07, Michael Courcy <[EMAIL PROTECTED]> a écrit : Bravo et merci. #Cyrille37# a écrit : Hello, Bonjour, There are 3 new tutorials for Tapestry5 in French. Il y a 3 nouveaux

3 new French Tapestry5 tutorials

2007-11-05 Thread #Cyrille37#
Hello, Bonjour, There are 3 new tutorials for Tapestry5 in French. Il y a 3 nouveaux tutoriels en français pour Tapestry5. Thanks to Baptiste Meurant ! Merci à Baptiste Meurant ! Premier projet avec Tapestry5, Spring et Hibernate : http://baptiste-meurant.developpez.com/tutoriaux/tapestry5-spri

Re: Thread continuation after client disconnection

2007-09-25 Thread #Cyrille37#
Thanks to you two for those ligths. cheers cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Thread continuation after client disconnection

2007-09-24 Thread #Cyrille37#
#Cyrille37# a écrit : Hello, I would like to know if there is a option, in the ServletServer or in Tapestry for managing client disconnection. I call "client disconnection" when the client press stop or back or ... while the page is loading. If there is no option, how should we

Thread continuation after client disconnection

2007-09-24 Thread #Cyrille37#
Hello, I would like to know if there is a option, in the ServletServer or in Tapestry for managing client disconnection. I call "client disconnection" when the client press stop or back or ... while the page is loading. If there is no option, how should we handle the cas ? Thanks a lot Cyril

Re: HandyTapestry 1.2.1 with Flash demos

2007-09-05 Thread #Cyrille37#
Alexei Orishchenko a écrit : The Flash demos are available: - create component with HandyTapestry (create and edit its class and template) - HandyTapestry configuration The plugin update includes fixes in the configuration and page specification handling. Some links please ? thanks cyrille

[Tap4.1.2-Ognl2.7]OGNL error

2007-09-05 Thread #Cyrille37#
Hello I come on a strange stuff. An ognl expression is well working but I see a Hivemind exception in log. In a html file I affect a value to a property : value="ognl:currentlocaleCode=page.engine.locale.language"/> The property is defined in the specification page : The result works: if I

Re: Help out Matt Raible: Looking for Web Framework Stories

2007-08-31 Thread #Cyrille37#
Howard Lewis Ship a écrit : Matt Raible is looking for stories of how people chose a JVM Web Framework and how it worked out for them. I'd encourage all Tapestry users to drop in with a story or two. http://raibledesigns.com/rd/entry/choosing_a_jvm_web_framework1 2007/08/31 : only one comme

T5 is production ready ?

2007-08-24 Thread #Cyrille37#
Hello, This subject is often present in the list... I'm working on a project which has to be in production in 1 month. The business layer is done, and the web part is nearly done with T4.1.2. I've some time left, and every day I'm thinking about changing to T5 ... The only T5 missing part seems

Re: [T4.1.2] Hivemind / OGNL error

2007-08-23 Thread #Cyrille37#
[EMAIL PROTECTED] a écrit : The OGNL Expression-Compiler falls back from the new, byte-code generating mode to the old, interpreting mode when an error occurs. That why I get a well rendered page. Are you using the very latest and greatest OGNL-version? At least, try version 2.7. If the err

[T4.1.2] Hivemind / OGNL error

2007-08-23 Thread #Cyrille37#
Hello I come on a strange stuff. An ognl expression is well working but I see a Hivemind exception in log. In a html file I affect a value to a property : value="ognl:currentlocaleCode=page.engine.locale.language"/> The property is defined in the specification page : The result works: if I

[T4] Changing Locale

2007-08-23 Thread #Cyrille37#
Hello, I've started a page on the Tapestry wiki which present a component that offer to the visitor to change the site Locale by clicking on a flag. http://wiki.apache.org/tapestry/ChangeLocale There is no explanations, I'll add some next hours and days ... Comments and changes are welcome !

Re: [T4] compputing url relative to the context

2007-08-23 Thread #Cyrille37#
mplify your expression to ognl:computeUrl. It's a question of style but I find it more readable that way. Uli #Cyrille37# schrieb: Ulrich Stärk a écrit : Well, rename computeUrl() to getYouNameIt() and access it using ognl:youNameIt from your template or page specification. I compute the url in

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
r your time and this nice proposition. I'll use your way. Cheers, cyrille Uli #Cyrille37# schrieb: Ulrich Stärk a écrit : Well, rename computeUrl() to getYouNameIt() and access it using ognl:youNameIt from your template or page specification. I compute the url in the html in a for loop. So the

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
I did this ognl:page.engine.infrastructure.contextPath+'/Public/flags/'+localeItem.language+'.gif' and it's working ! Great. cyrille Uli #Cyrille37# schrieb: Ulrich Stärk a écrit : Let Tapestry inject the infrastructure:contextPath object like @InjectObject("infrastruct

Re: [T4] compputing url relative to the context

2007-08-22 Thread #Cyrille37#
Uli On Mi, 22.08.2007, 01:53, #Cyrille37# sagte: Hello, I could not find how to compute a url ... It is for a component which give the user the possibility to change his locale by clicking on a image (country flags). Urls should be like : /theApp/Public/flags/fr.gif There is 2 dynamics part

[T4] compputing url relative to the context

2007-08-21 Thread #Cyrille37#
Hello, I could not find how to compute a url ... It is for a component which give the user the possibility to change his locale by clicking on a image (country flags). Urls should be like : /theApp/Public/flags/fr.gif There is 2 dynamics parts : * the application context : /theApp * the availa

Re: [T4.1.2] Multi Fields validation: How to handle decoration ?

2007-07-28 Thread #Cyrille37#
5064 I'll have a look. Thanks a lot for your coaching ! ;-) Cheers, Cyrille. Shing --- #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, For days I looking how to handle multi-fields validation on a form submit on the server-side. The validation needs to know all form's

[T4.1.2] Multi Fields validation: How to handle decoration ?

2007-07-28 Thread #Cyrille37#
Hello, For days I looking how to handle multi-fields validation on a form submit on the server-side. The validation needs to know all form's field state. So I can plug my rules in the submit listener but know I could not find how to decorate fields that are not matching rules. Can you give

Re: [T4.1.2] add an include-script element throw a SAX exception

2007-07-28 Thread #Cyrille37#
#Cyrille37# a écrit : Hello I don't understand why I get the SAXParseException : The content of element type "script" must match "(include-script*,input-symbol*,(let|set)*,body?,initialization?)". The exception arrived when **I add a include-script element**

[T4.1.2] add an include-script element throw a SAX exception

2007-07-28 Thread #Cyrille37#
Hello I don't understand why I get the SAXParseException : The content of element type "script" must match "(include-script*,input-symbol*,(let|set)*,body?,initialization?)". The exception arrived when **I add a include-script element**. The script is : http://jakarta.apache.org/tapestry/dt

Re: about T4.1.2 sources in SVN

2007-07-26 Thread #Cyrille37#
version (which has a Tah) we create a Branche and leave the Trunk for the next version, isn'it ? Cheers cyrille. On 7/26/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Jesse Kuhnert a écrit : > If you want to look at 4.1.2 source use the tag - if you want to look at > whate

Re: about T4.1.2 sources in SVN

2007-07-26 Thread #Cyrille37#
is static and all changes comes to the 4.1.3, isn't it ?? Cheers Cyrille On 7/22/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello If I want to have a look at T4.1.2 source code, should I use http://svn.apache.org/repos/asf/tapestry/tapestry4/tags/4.1.2 or http://svn.apache.or

[T4] FieldLabel does not works with Radio

2007-07-26 Thread #Cyrille37#
Hi, FieldLabel does not works with Radio because it does not descend from IFormComponent, and a search on the [EMAIL PROTECTED] confirm this fact: http://www.nabble.com/Radio-button-labels-tf3083795.html#a8569717 I've done this for a Labeled Radio button: JWC: value="ognl:'vl'+curr

Re: [T4] variable in component specification

2007-07-26 Thread #Cyrille37#
Igor Drobiazko a écrit : Hi, use 'copy-of' attribute: Using 'copy-of' it is also possible to override some of the bindings of the original component. Thanks a lot Igor. Cheers Cyrille. Igor On 7/26/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, What&#

[T4] variable in component specification

2007-07-26 Thread #Cyrille37#
Hi, What's the way to have something like a variable in component specification ? In those 2 components there is the same ognl expresion in the value attribute. value="ognl::'L'+currentList.id+'C'+currentCandidat.id" /> value="ognl:'L'+currentList.id+'C'+currentCa

Re: [T4] need help on multi-checkbox validation

2007-07-26 Thread #Cyrille37#
o make the validation ? Have you got an idea ? thanks cyrille. #Cyrille37# a écrit : Hello, This days I'm trying to find a way for managing validation between severals checkbox. The need is: there are several checkboxes in a form and each checkbox needs to match rules which exprims depen

Re: [T4] about component id

2007-07-26 Thread #Cyrille37#
Jesse Kuhnert a écrit : Look at the "How client ids are generated" section here: http://tapestry.apache.org/tapestry4.1/ajax/basics.html It's all covered in excruciating detail. The gist of it is that you do this: public void renderSomething(){ super.renderIdAttribute(writer, cycle); } an

Re: j_security_check in tapestry

2007-07-25 Thread #Cyrille37#
Alexa22 a écrit : Hi, I have a problem, I'm developing a Tapestry's aplication and I need to active the security in there, but the page is autenticated by WAS (WebShere Application Server) and LDAP, When the user is already authenticate, Is Tapestry running on the WAS ? If yes, have a look at

[T4] need help on multi-checkbox validation

2007-07-25 Thread #Cyrille37#
Hello, This days I'm trying to find a way for managing validation between severals checkbox. The need is: there are several checkboxes in a form and each checkbox needs to match rules which exprims dependencies between those checkboxes. For example : you can check this one if you have checked t

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
So why do you expect id="ckL1"? Because it will do something soon ... :-) Perhaps it is not a good practice to force the clientId for a component. Thanks for your time ! cyrille On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Igor Drobiazko a écrit : > It is inpossible

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
Igor Drobiazko a écrit : It is inpossible to help you without having a look into your GroupableCheckbox.java and GroupableCheckbox.html Please post it. Ha! That's another story, a more complex problem ;-) After relearned Ids concept, I can talk to you about the component GroupableCheckbox which

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
definition right ? Before kiuma's answer I tought : where Id should be used as clientId. but it's wrong, ins't it ? thanks cyrille On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Andrea Chiumenti a écrit : > ciao, > the fact is that tapestry uses the form

Re: [T4] about component id

2007-07-25 Thread #Cyrille37#
eate a html element with a id="myCompId" ? Perhaps there are not same ids : clientId <> tapestryId ? Is that right ? cyrille Hope this helps. kiuma On 7/25/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello I'm writing my first "complex" component : Groupa

[T4] about component id

2007-07-25 Thread #Cyrille37#
Hello I'm writing my first "complex" component : GroupableCheckbox (not same behaviors as CheckboxGroup). The question is about the component id. To define the id of the component I think to use the text before the @ in the jwcid but it does work, I had to add an id attribute : does not wri

[T4.1.2] Checkbox group and validation

2007-07-24 Thread #Cyrille37#
Hello, I need to make a component for validating several checkbox on server-side and client-side. I'm looking at the source of contrib:CheckboxGroup and friends. In this compoent I've found the client-side behavior and some server-side stuff (sub components managment). Do you know another s

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread #Cyrille37#
[EMAIL PROTECTED] a écrit : Looks like a bug to me. If you file a JIRA-issue for it, I'll have a closer look Thanks a lot. Here is the newly created Jira : https://issues.apache.org/jira/browse/TAPESTRY-1663 Cyrille. -Original Message- From: #Cyrille37# [mailto:[

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-23 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
#Cyrille37# a écrit : #Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can

Re: [T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
#Cyrille37# a écrit : For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. For precision here is following the code at the end of the generated html page. In that code we can see that there is some

[T4.1.2] Is there Client side validation for @RadioGroup ?

2007-07-22 Thread #Cyrille37#
Hello, it looks like that there is no client-side validation for @RadioGroup. For the TextField the client-side validation works, but for @RadioGroup only the server-side validation is called, no client-side event occured. Is it normal ? Have I to look some where for more information ? thanks

Re: [T4] Shell and Border ok but ...

2007-07-22 Thread #Cyrille37#
invalid bit you currently have: Border.html: consoleEnabled="true" debugEnabled="true" browserLogLevel="DEBUG"> ** This is the page content. Page.html: ... ** ... #Cyrille37# wrote: Hello I got a @Border with a @Shell to get all stuff comm

about T4.1.2 sources in SVN

2007-07-22 Thread #Cyrille37#
Hello If I want to have a look at T4.1.2 source code, should I use http://svn.apache.org/repos/asf/tapestry/tapestry4/tags/4.1.2 or http://svn.apache.org/repos/asf/tapestry/tapestry4/trunk or somewhere else ? Thanks cyrille -

Re: [T4] attributes namescape like T5 has

2007-07-21 Thread #Cyrille37#
Jesse Kuhnert a écrit : I don't know.. You are welcome to give it a try if you like. =) Have you got some tips to help me starting an investigation ? thanks cyrille. On 7/20/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, Should it be a hard work to add namescape for tap

Re: [Fwd: Re: T5 Border Component]

2007-07-21 Thread #Cyrille37#
Jordan Howarth a écrit : My apologies but my last sentence is actually incorrect: "In this case, the 'Border' ... ". Probably a mixture of sleep deprivation and wishful thinking. The behaviour is exactly as described in the documentation. To that end, I would like to know if their is an equivale

Re: IRC

2007-07-21 Thread #Cyrille37#
Evan Rawson - Work a écrit : wow IRC, looks like i got another reason to download mIRC again. ill definatly be on that channel. If you use Firefox there is the ChatZilla plugin. Easy to use and it handle irc:// links - Original Message - From: "Chris Lewis" <[EMAIL PROTECTED]> To: "T

Re: [T4] Shell and Border ok but ...

2007-07-20 Thread #Cyrille37#
ion of tag (div). I will try with DreamWeaver... cheers, cyrille -Original Message----- From: #Cyrille37# [mailto:[EMAIL PROTECTED] Sent: 20 July 2007 17:14 To: Tapestry users Subject: [T4] Shell and Border ok but ... Hello I got a @Border with a @Shell to get all stuff common for

[T4] Shell and Border ok but ...

2007-07-20 Thread #Cyrille37#
Hello I got a @Border with a @Shell to get all stuff common for all pages. It's working but ... All that around the are not compatible with HTML, so wysiwyg editor are not happy. Perhaps I've miss some knwoledge ? The Boder.html : ... consoleEnabled="true" debugEnabled="true" browserLo

Re: IRC

2007-07-20 Thread #Cyrille37#
Chris Lewis a écrit : Dear mailing list, I'm sure you've probably received messages like this before, but I wanted to reiterate that there is an IRC channel for tapestry: #tapestry @ irc.freenode.net. There's usually 5 ~ 8 of us in there, and we work/talk about Tapestry. I know some people ju

[T4] sharing date between @Border and pages

2007-07-20 Thread #Cyrille37#
Hello, My Pages extends MyBasePage which has the method getUser() which return an User object which has a login property. What the best way (design/efficiency) to display in the @Border the property user.login ? Should Pages set a @Border's property or @Border should ask to Pages for the use

[T4] attributes namescape like T5 has

2007-07-20 Thread #Cyrille37#
Hello, Should it be a hard work to add namescape for tapestry 4.1.x attributes, like with T5. My question comes because of Eclipse warnings about invalid HTML : Undefined attribute name (jwcid). Thanks cyrille. - To

Re: Tapestry5HowTos new snippet

2007-07-06 Thread #Cyrille37#
Davor Hrg a écrit : Fidel Chavarria asked for a solution to inline dynamic image he needed for a chart component... I tried doing it, and added the snippet to Tapestry5HowTos: http://wiki.apache.org/tapestry/Tapestry5HowTos the example is placed at: http://wiki.apache.org/tapestry/Tapestry5How

[T5] T4 $content$ equivalent for T5 ?

2007-07-06 Thread #Cyrille37#
Hello, In a old post I asked a question about the T5's component html (subject was: [T5] about component's html). Now I now the T4 equivalent : the $content$ attribute define which part of the component will be rendered in the parent component/page. Howard answered to me that there is a JIRA

Re: T5 tutorial

2007-07-04 Thread #Cyrille37#
Read again Olasoji Ajayi's mail : 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. He need some Off-Line doc. Perhaps he can make a book with "htmldoc" tool. cyrille

Re: Tapestry make me feel happy !

2007-07-04 Thread #Cyrille37#
e try T5.0.5 and it was great. But some of my needs were not implemented, some bugs persists and documentation is on the road. Shure if I was more experimented with Java, I choice T5. May be in few months. Cheers cyrille Thank you in advance! 2007/7/4, #Cyrille37# <[EMAIL PROTECTED]>: H

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

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: [T4] Login.html as the Login and Failed page for Acegi

2007-07-03 Thread #Cyrille37#
nside" Tapestry ... It will be a good way for learning more about Tapestry. Cheers cyrille I hope this helps. Alejandro. On 7/3/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Ken nashua a écrit : > Here is a sample working login... > > Best I can provide at this poin

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(

[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 #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">

Re: [T4.1.2] Honeycomb or Tapernate ?

2007-07-02 Thread #Cyrille37#
#Cyrille37# a écrit : Hi, After hard work and neuronal sport, I come to the moment where I to implement a real database access and replace my fake data objects. So I can see there is 2 Hibernate/Tapestry4 integration project. Have you got some comments to help me make the choice ? Sorry to

[T4.1.2] Honeycomb or Tapernate ?

2007-07-02 Thread #Cyrille37#
Hi, After hard work and neuronal sport, I come to the moment where I to implement a real database access and replace my fake data objects. So I can see there is 2 Hibernate/Tapestry4 integration project. Have you got some comments to help me make the choice ? Thanks Cyrille. -

Re: [T4] documentation about @Radio and @FieldLabel in a @For loop

2007-07-02 Thread #Cyrille37#
#Cyrille37# a écrit : Hi, I think it miss some documentation about @Radio and @FieldLabel in a @For loop. While reading the T4 documentation I could not make working those component together. I've finally found the solution here : "Radio button labels" http://www.n

[T4] documentation about @Radio and @FieldLabel in a @For loop

2007-07-02 Thread #Cyrille37#
Hi, I think it miss some documentation about @Radio and @FieldLabel in a @For loop. While reading the T4 documentation I could not make working those component together. I've finally found the solution here : "Radio button labels" http://www.nabble.com/forum/ViewPost.jtp?post=8570558&fr

Re: [T4] about JSON in Tapestry

2007-07-02 Thread #Cyrille37#
have a look at: http://tapestry.apache.org/tapestry4.1/ajax/json.html Thanks, I'll try to make a page/component which live like those ajax enabled components. cyrille. br, Igor On 7/2/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, I can see that JSon is implemented

[T4] about JSON in Tapestry

2007-07-01 Thread #Cyrille37#
Hi, I can see that JSon is implemented in Tapestry4.1.x (IJSONRender,ResponseBuilder) Today I use JSon for communicate between Java Applet and WebApp, I've go a Servlet that make the bridge from JSon call to the WebApp via some Spring Beans. Perhaps I can stop to use this Servlet and manage

[T4] ognl: inner component refer container component

2007-07-01 Thread #Cyrille37#
Hi, There is a component which contains an inner component. In the inner component I try to refer a property defined in the container component. It works in the inner component html : but it doesn't works in the inner component jwc specification file : initial-value="ognl:container.cur

Thanks Erik for updates on T5 Wiki !

2007-06-29 Thread #Cyrille37#
Thanks a lot Erik for your work on Tapestry5 's wiki. http://wiki.apache.org/tapestry/?action=fullsearch&value=Tapestry5&titlesearch=Titles Cyrille. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[T4] a component select its template dynamicly (one class, several html)

2007-06-29 Thread #Cyrille37#
Hi, I would like a component which can select its template. In another way, one component class with several html templates. The component has to look at his state and then select which template will be used. I could solution the problem with some @If in a single template but it will result

Re: [T5] class transformation to override an annotated method

2007-06-29 Thread #Cyrille37#
Dan Adams a écrit : @Once public List getFoos() { // do some expensive operation like reading foos from the db } Could you please give us the your @Once annotation source code ? My 2 reasons are : - I'm learning Java so I'll like to see how to write such annotation - It is a really gr

[T4.1.2] and Spring: works with Tomcat, fail with Jetty

2007-06-29 Thread #Cyrille37#
Hi, I'm just doing some very simples tests with - Tapestry 4.1.2 - Spring 2.0.5 - Tapestry-spring-1.0.0 and - Tomcat 5.5.23 - Jetty 5.1.12 I've got a simple session bean defined in SpringContext and I inject it in a page. spring: class="tapandspring.beans.NanoBean" scope="se

Re: [T5] tapestry-spring and WebApplicationContext

2007-06-29 Thread #Cyrille37#
ing session bean but we have to retreive the WebApplicationContext and use it. But I don't know howto retreive this so famous WebApplicationContext when I'm in a tapestry code page or component. cyrille. cyrille37 wrote: Hi, In the T5 tapestry-spring documentation it is writed to

[T5] tapestry-spring and WebApplicationContext

2007-06-28 Thread #Cyrille37#
Hi, In the T5 tapestry-spring documentation it is writed to don't use other Spring beans than Singleton ones. Inject the WebApplicationContext instead. http://tapestry.apache.org/tapestry5/tapestry-spring/ But howto inject the WebApplicationContext ? thanks cyrille --

Re: T5 : potential feature - JSON component

2007-06-28 Thread #Cyrille37#
m and host say a Web based 3d rendering program such as Maya or something. The possibilities are endless. ~evan - Original Message - From: "#Cyrille37#" <[EMAIL PROTECTED]> To: "Tapestry users" Sent: Thursday, June 28, 2007 1:28 PM Subject: Re: T5 : pot

Re: T5 : potential feature - JSON component

2007-06-28 Thread #Cyrille37#
Hello, I'm interesting by the subject. How to integrate JSON with Tap5 in a nice way. For the moment I'm using http://oss.metaparadigm.com/jsonrpc/ to communicate between Java Applets and WebApps. But I didn't integrate it in Tapestry ; I'm using the JSonRpc Servlet and share objects with We

Re: [T5] missing some listener to bind component/page events ?

2007-06-28 Thread #Cyrille37#
Francois Armand a écrit : #Cyrille37# wrote: In another way to explain, I would like to make "by hand" the same work than a t:actionLink in a t:loop the code : ${guess} create several links like : /do.guess/4 /do.guess/6 /do.guess/7 So, howto do the same "by h

[T4.1.2] about jwcid and xml validator

2007-06-27 Thread #Cyrille37#
Hello, It Tap4.1.2 will accept a namespace for its xml attributes like jwcid ? Like Tap5 as its schema: xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; It would be nice because of Eclipse Xml Validator which shoot because of jwcid attributes. any idea ? cyrille

Re: [T5] missing some listener to bind component/page events ?

2007-06-27 Thread #Cyrille37#
In another way to explain, I would like to make "by hand" the same work than a t:actionLink in a t:loop the code : ${guess} create several links like : /do.guess/4 /do.guess/6 /do.guess/7 So, howto do the same "by hand" (without a loop) ??? cyrille #Cyri

[T5] missing some listener to bind component/page events ?

2007-06-27 Thread #Cyrille37#
Hi (again and again ;-) Is it possible to create event for a component ?? After read guide "Component Events" and done some tests I could not figure howto manage differents events for a component. For exemple I would like to bind 2 links to the onActionA() method and 2 other link to the onAct

Re: One class for differents templates ?

2007-06-27 Thread #Cyrille37#
will inherit the base classes's template. Yep, that the right answer. Thanks for you clear perspicacity. Cyrille. On 6/27/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, Perhaps it is a stupid question, but in this case it should demonstrate that I do not understand anything ;-) I

Re: [T5] about component's html

2007-06-27 Thread #Cyrille37#
ncere thanks cyrille On 6/27/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hi, I could not find with T5 how to use only a part of a component html. I would like that only the body's component is rendering in the page, but all the html's component is rendered The component HTML : http:

[T5] about component's html

2007-06-27 Thread #Cyrille37#
Hi, I could not find with T5 how to use only a part of a component html. I would like that only the body's component is rendering in the page, but all the html's component is rendered The component HTML : http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> TheComponent Hello ! The

One class for differents templates ?

2007-06-27 Thread #Cyrille37#
Hi, Perhaps it is a stupid question, but in this case it should demonstrate that I do not understand anything ;-) Is it possible to use differents templates with the same page/component class ? like : MyPage.java and MyPage01.html, MyPage02.html, ... I think that with Tap4 we could do that

Re: about JSON-RPC

2007-06-27 Thread #Cyrille37#
lass a bit to generate JSON in response. Thank you. Do you know some places (links) on the web which talk about that ? Cheers, Cyrille Renat On 27/06/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: Hello, I'm using JSON-RPC for talking beetwen a Java Applet and the WebApplication. To

Re: about JSON-RPC

2007-06-27 Thread #Cyrille37#
nd a BasePage class a bit to generate JSON in response. Renat On 27/06/07, #Cyrille37# <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using JSON-RPC for talking beetwen a Java Applet and the WebApplication. > To manage JsonRpc calls I've done a Servlet. > > I come

  1   2   3   >