Re: simple case for checkboxes & T5

2010-04-13 Thread jaques robert
ring clientValue) {                 DocumentField field = _dnToField.get(clientValue);                 if (field != null) {                     return field;                 }                 throw new RuntimeException("Need to handle posts of fieldDNs that no longer exist");             }         };     }

Re: simple case for checkboxes & T5

2010-04-12 Thread jaques robert
*** ** CheckboxTest.tml http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Checkbox test                         ${processType.name}                                                 ${documentType.name}                                                                                                                                         $

simple case for checkboxes & T5

2010-04-09 Thread jaques robert
Hello, I've got some problemes with checkbox & T5 for a while. I'd just like to display a page which could contains some checkbox, then submit this page in order to treat the various item corresponding to the ticked checkbox then redirect to the same page with the same checkbox ticked. It is s

Re: Exception with T5 & checkbox

2010-04-09 Thread jaques robert
Another question is how to traduce : to tapestry component ? --- En date de : Ven 9.4.10, jaques robert a écrit : De: jaques robert Objet: Re: Exception with T5 & checkbox À: "Tapestry users" Date: Vendredi 9 avril 2010, 9h34 I've already tried that but IE & FF whe

Re: Exception with T5 & checkbox

2010-04-09 Thread jaques robert
stry users" Date: Jeudi 8 avril 2010, 19h00 On Thu, 08 Apr 2010 13:42:28 -0300, jaques robert wrote: > value="${documentField.documentFieldDN}" ${documentField.checked}/> The ${documentField.checked} part is valid HTML but not valid XML, and Tapestry templates must be va

Exception with T5 & checkbox

2010-04-08 Thread jaques robert
Hi, I'm using the following html code inside my tml file : << >> And got the following exception : << Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character "$" (code 34) (expected a name start character)  at [row,col {unknown-source}]: [37,120]     at com.ctc.wstx.s

Re: Persist value of checkbox ?

2010-04-08 Thread jaques robert
ribute("selectedDocumentFields", selectedDocumentFields.toArray());     } However the checkbox are not checked :( ... Do you know a way to do that ? Regards, Mondes_engloutis. --- En date de : Mer 7.4.10, jaques robert a écrit : De: jaques robert Objet: Re: Persist value of checkbox ? À: "

Re: Persist value of checkbox ?

2010-04-07 Thread jaques robert
Ship Objet: Re: Persist value of checkbox ? À: "Tapestry users" Date: Lundi 29 mars 2010, 18h45 On Mon, Mar 29, 2010 at 9:14 AM, Thiago H. de Paula Figueiredo wrote: > On Mon, 29 Mar 2010 13:10:15 -0300, jaques robert > wrote: > >> Hello, > > Hi! > >> I&

Persist value of checkbox ?

2010-03-29 Thread jaques robert
Hello, I've tried this code which present 10 checkbox which I submit. Then I go back to this page so I'd like those checkbox to be ticked if they were ticked before.                          So in my class I've coded :     @Persist     @Property     private boolean _pute; private Object

Re : No classdeffound org.apache.tapestry.components.Block

2010-03-25 Thread jaques robert
Oups it was due to the fact that I still had the tapestry 3.0 jar in my global classpath of jboss :) Remove them and changing the import to the real T5 Block interface resolve it... Regards, Mondes_engloutis. --- En date de : Jeu 25.3.10, jaques robert a écrit : De: jaques robert Objet: No

No classdeffound org.apache.tapestry.components.Block

2010-03-25 Thread jaques robert
Hi, I'm trying the tutorial inside http://wiki.apache.org/tapestry/Tapestry5Training?action=AttachFile&do=view&target=Tapestry5TrainingFiles.zip. However the exercise 14 about customizing Grid leads me to the following error : << java.lang.NoClassDefFoundErrorcom/repository/wizard/tapestry/page

Re: Could not find a coercion (T5)

2010-03-24 Thread jaques robert
not find a coercion (T5) À: "Tapestry users" Date: Mercredi 24 mars 2010, 14h22 On Wed, 24 Mar 2010 10:16:10 -0300, jaques robert wrote: > Have you got some samples about using ValueEncoder ? It's quite easy. toClient() should return the id of the received object. toValue()

Re: Could not find a coercion (T5)

2010-03-24 Thread jaques robert
gards, Mondes_engloutis. --- En date de : Mer 24.3.10, Thiago H. de Paula Figueiredo a écrit : De: Thiago H. de Paula Figueiredo Objet: Re: Could not find a coercion (T5) À: "Tapestry users" Date: Mercredi 24 mars 2010, 13h40 On Wed, 24 Mar 2010 09:20:43 -0300, jaques robert

Could not find a coercion (T5)

2010-03-24 Thread jaques robert
Hi, I've got a simple T5 file with the following loop : <<                                           ${processType.processType} (${processType.processTypeDN})                                                                                                                                     

Use of eclipse plugin for T5 ?

2010-03-18 Thread jaques robert
Hi, Do you use any plugin inside eclipse for T5 ? I've tried loom with 3.4.1 however only the devel version seems to work (but do nothing visible. No completion. No actions) Regards, Mondes_engloutis.

Use of hibernate in tapestry tutorial & JBoss 5.1

2010-03-17 Thread jaques robert
Hi, In this tutorial there is facility for using hibernate in tapestry using the package entities of the project : << But what entities? Normally, the available entities are listed inside hibernate.cfg.xml, but that's not necessary with Tapestry; in another example of convention over configurat

Re : Strange error page with T5 on JBoss 5.1

2010-03-16 Thread jaques robert
/guide/conf.html <http://tapestry.apache.org/tapestry5.1/guide/conf.html>Regards, Robin On Tue, Mar 16, 2010 at 4:05 PM, jaques robert wrote: > Hello, > > The error page of T5 appears only with one red line, one black line & no > other description when using T5 o

Strange error page with T5 on JBoss 5.1

2010-03-16 Thread jaques robert
Hello, The error page of T5 appears only with one red line, one black line & no other description when using T5 on JBoss5.1. Sample : << [RED]An unexpected application exception has occurred.[/RED] Request event 'action' (on component Index:actionlink) was not handled; you must provide a match

Re : Run Tapestry 5.1 with JBoss 5.1

2010-03-16 Thread jaques robert
JBoss 5.1, ie. -Djboss.vfs.forceCopy=false Please let us know how it goes! Geoff On 16/03/2010, at 10:36 PM, jaques robert wrote: > Hello, > > I'm trying to run Tapestry 5.1 with JBoss 5.1. However, I'm still having this > error : > << > 09:58:56,329 ERROR

Run Tapestry 5.1 with JBoss 5.1

2010-03-16 Thread jaques robert
Hello, I'm trying to run Tapestry 5.1 with JBoss 5.1. However, I'm still having this error : << 09:58:56,329 ERROR [RequestExceptionHandler] Processing of request failed with uncaught exception: Unable to resolve 'pagelink' to a component class name. Available component types: (none). org.apac