Re: T5 UTF encoding

2008-06-09 Thread maxthesecond
point 1 and 2 did not work but point 3 I don't know if everybody can update the howtos on the tapestry wiki but someone has to add a short comment like "when using foreing languages ensure eclipse saves your documents using UTF-8 encoding." Bless you! Thanks -- View this message in co

Re: T5 UTF encoding

2008-06-09 Thread Donyee
*1*.add this in your tml file. http://www.w3.org/TR/html4/strict.dtd";> *2*.in the AppModule.java, add public static void contributeApplicationDefaults( MappedConfiguration configuration) { configuration.add("tapestry.supported-locales", "zh_CN"); ...others... } of course you should ch

Re: T5 UTF encoding

2008-06-09 Thread maxthesecond
Thanks for the answer, finally I noticed that I was using a FileUpload component, after changing the utf8encoding filter everything turned right. But still if in my template a label or any text contains an extra character tapestry will not render the page I will get "Invalid byte 2 of 4-byte UTF

T5 : Set dynamic default value for component at pageLoaded but been changed somewhere between beforeRender and afterRender

2008-06-09 Thread CG
hi, I am new to Tapestry , no T4 experience at all. I am facing a problem , I need to set a default value for some components during loading. Since the default value is not a static value , I cannot hard coded it in the .java file. Instead, I assign the value in pageLoaded , however, it does not

Re: [T5] How to get actionlink clientId in onAction?

2008-06-09 Thread Jun Tsai
2008/6/7 Josh Canfield <[EMAIL PROTECTED]>: > using the context attribute? > :) good idea! > > On Thu, Jun 5, 2008 at 8:39 PM, Jun Tsai <[EMAIL PROTECTED]> wrote: > > I want to get ActionLink clientId.How to get ? thanks > > > > -- > > regards, > > Jun Tsai > > > > > > -- > -- > TheDailyTube.c

Re: Tapestry 4.1 Numeric Validation

2008-06-09 Thread Andreas Andreou
Are you defining a translator? (like NumberTranslator) On Mon, Jun 9, 2008 at 11:28 PM, <[EMAIL PROTECTED]> wrote: > > Greetings, > > I have a TextField bound to an Integer property. I want to add > validation to my TextField such that it will not overflow or cause > errors when converting to my

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Lance Java
I realise the differences... thanks marcus. I was hoping for a hybrid where the struts action / jsp context acts as (or delegates to) a tapestry page. Thus keeping my existing application as is but adding new functionality as tapestry components. 2008/6/9 Marcus <[EMAIL PROTECTED]>: > Hi lance, >

Re: tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version in poms

2008-06-09 Thread Igor Drobiazko
Maven Release Plugin makes a great job. Rolling the version numbers by hand is a nightmare. http://maven.apache.org/plugins/maven-release-plugin/ On Mon, Jun 9, 2008 at 10:33 PM, Sven Homburg <[EMAIL PROTECTED]> wrote: > a checklist would helps ;-) > http://tapestry.apache.org/tapestry5/dev/chec

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Marcus
Hi lance, http://tapestry.apache.org/tapestry5/struts.html Marcus

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Lance Java
I'm not sure how the struts action code would fit in with this model. 2008/6/9 Christian Edward Gruber <[EMAIL PROTECTED]>: > Well Howard's other suggestion, with having jsps live within a T5 app might > be a way to do it. You build a shell around your current app, move some of > your boilerplat

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Christian Edward Gruber
Well Howard's other suggestion, with having jsps live within a T5 app might be a way to do it. You build a shell around your current app, move some of your boilerplate inclusions (header/footer stuff) into a layout component, and then make a custom component to drive your jsps. That would

Re: tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version in poms

2008-06-09 Thread Sven Homburg
a checklist would helps ;-) http://tapestry.apache.org/tapestry5/dev/checklist.html 2008/6/9 Howard Lewis Ship <[EMAIL PROTECTED]>: > That's a mistake on my part. I forgot to check in the version number > change before tagging the release. > > On Mon, Jun 9, 2008 at 11:25 AM, Sven Homburg <[EMAI

Tapestry 4.1 Numeric Validation

2008-06-09 Thread Jason.Yankus
Greetings, I have a TextField bound to an Integer property. I want to add validation to my TextField such that it will not overflow or cause errors when converting to my Integer property. I've tried: I get a class cast exception at line 60 of org.apache.tapestry.form.validator.Max when I ent

Re: T5 UTF encoding

2008-06-09 Thread Marcus
Hi Max, We deal with especial characters like this: - UTF8Filter on AppModule - equals() and hashCode() for beans used on Select component. Marcus

Re: tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version in poms

2008-06-09 Thread Howard Lewis Ship
That's a mistake on my part. I forgot to check in the version number change before tagging the release. On Mon, Jun 9, 2008 at 11:25 AM, Sven Homburg <[EMAIL PROTECTED]> wrote: > the poms in repository tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version > is that right? > > -- > with regards >

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Lance Java
Bummer... I thought this might be the case. If this was possible it would be an easy peasy way for people to slowly migrate to a superior platform. Thanks for your response. 2008/6/9 Howard Lewis Ship <[EMAIL PROTECTED]>: > This would be a daunting task. > > Tapestry 5 components live within a s

T5 UTF encoding

2008-06-09 Thread maxthesecond
Dealing with special characters like ñ ó ç and so one i found out that I must install the following patch http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding wich I did with hope & pleasure For a while problems seamed solved but few days later working on another page I get the same troubles a

DateField component: extra links are missing

2008-06-09 Thread David Oranchak
Hi, everyone! I am using the DateFieldDemo.tml example located here: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/DateField.html But, it renders differently in my local build: http://oranchak.com/date-field-screenshot.jpg

Re: Exception when using a grid in a form

2008-06-09 Thread zack1403
On #tapestry, y informed me to try volatile="true", but this didnt fix the issue for me. Jose, maybe that might work for you? Does it matter that my grid is within a formfragment? Zack zack1403 wrote: > > Anyone have any ideas on this? I am stuck on this exact same issue and > have not been

tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version in poms

2008-06-09 Thread Sven Homburg
the poms in repository tags/releases/5.0.13 contains 5.0.13-SNAPSHOT version is that right? -- with regards Sven Homburg http://tapestry5-components.googlecode.com http://chenillekit.googlecode.com

Re: Exception when using a grid in a form

2008-06-09 Thread zack1403
Anyone have any ideas on this? I am stuck on this exact same issue and have not been able to find a workaround. Zack José Paumard wrote: > > Hello all, > > I put a grid in a form, and added a column in that grid, to hold special > options about the item on the given row. > > I wrote somethi

T5: Groovy help?

2008-06-09 Thread Bill Holloway
In IntelliJ, I quickstart-mavened a new Tapestry 5 project, added the Groovy facet, made sure I had the download (groovy 1.5.6), and wrote a simple Groovy homepage: Home.groovy: class Home { def getWelcome () { "Welcome, Bro!" } } In the resources package, I mirrored the page

Re: T5 invisible t:block component

2008-06-09 Thread Howard Lewis Ship
There is an existing Issue about this. You could "simulate" an initially visible block today: .. .. The Delegate component can go anywhere in the page. The Delegate component "delegates" its rendering to a Block, a Component or an arbitrary Renderable object. On Mon, Jun 9, 2008 at 3:27 A

Re: T5: Using tapestry components in a JSP

2008-06-09 Thread Howard Lewis Ship
This would be a daunting task. Tapestry 5 components live within a specialized, managed infrastructure. It was never the intent to allow them to be used as JSP tags. I've thought about going the other direction (mapping a JSP tag as a Tapestry component automagically). Tapestry components expec

Re: T5.0.11 deadlock

2008-06-09 Thread Josh Canfield
Hey Jens, The stacktrace attachment didn't make it through. Josh On Mon, Jun 9, 2008 at 4:52 AM, <[EMAIL PROTECTED]> wrote: > Hi All! > > We encountered a deadlock situation using T5.0.11 under heavy load. > Unfortunately we do not have the detailed knowledge about all > T5/javassist-secrets

Re: T5 Questions

2008-06-09 Thread Robert Zeigler
Hi Tim, 1) The framework version corresponds to the quickstart archetype version. So if you use the quickstart archetype version 5.0.6, you get the framework version 5.0.6. You can always check to see what version of tapestry you're using. Edit your pom.xml, and look for the definition

T5: Using tapestry components in a JSP

2008-06-09 Thread Lance Java
Hi, I'm a tapestry newbie and want to use tapestry5 for a new set of pages. There is a requirement that some of the new components can be re-used on some existing struts/JSP based pages. I was hoping that I could write a jsp tag library which would initialize t5 components, include their javascript

T5 Questions

2008-06-09 Thread Tim de jager
Hi, I have a few questions regarding some issues i've been having working with the T5 framework. I used the maven archteype supplied in the new Tapestry 5: Building Web Applications book to build the skeleton project. And i believe the archetype doesn't specify which tapestry framework version t

T5.0.11 deadlock

2008-06-09 Thread mailinglist
Hi All! We encountered a deadlock situation using T5.0.11 under heavy load. Unfortunately we do not have the detailed knowledge about all T5/javassist-secrets to solve this on our own. It seems there are two different execution paths resulting in a call to "ClassPool.toClass". In both cases the

Re: T5 invisible t:block component

2008-06-09 Thread Janko Muzykant
thanks Robert, that it what i needed. jm. Robert Zeigler wrote: > > > > .java: > > @Inject > private Block b1; > > @Inject > private Block b2; > > public Bock getBlock() { >if(true) { > return b1; >} else { > return b2; >} > } > > Robert > > On Jun 9, 2008, at 6/95

Re: T5 invisible t:block component

2008-06-09 Thread Robert Zeigler
.java: @Inject private Block b1; @Inject private Block b2; public Bock getBlock() { if(true) { return b1; } else { return b2; } } Robert On Jun 9, 2008, at 6/95:51 AM , Janko Muzykant wrote: hiding the blocks would be easy (excatly as you wrote - it's just html :), but i

Re: T5 invisible t:block component

2008-06-09 Thread Janko Muzykant
hiding the blocks would be easy (excatly as you wrote - it's just html :), but i would like one of the blocks to be _visible_ at the beginning. unfortunately as for now they are even not rendered so there is no option to change their styles. sorry for a little bit missleading topic. jm. nicho

Re: T5 invisible t:block component

2008-06-09 Thread nicholas Krul
style="display:none" its just html / css On Mon, Jun 9, 2008 at 11:27 AM, Janko Muzykant <[EMAIL PROTECTED]> wrote: > > hi, i have a couple of t:block components on my page: > > .. > .. > > and i would like initially block "b1" to be visible. how may I do it? > > thanks, > jm. > > -- > View

T5 invisible t:block component

2008-06-09 Thread Janko Muzykant
hi, i have a couple of t:block components on my page: .. .. and i would like initially block "b1" to be visible. how may I do it? thanks, jm. -- View this message in context: http://www.nabble.com/T5-invisible-t%3Ablock-component-tp17730085p17730085.html Sent from the Tapestry - User mai

Re: Contributing to BeanBlockSource and HibernateEntityValueEncoder

2008-06-09 Thread Massimo Lusetti
On Fri, Jun 6, 2008 at 10:58 PM, Alejandro Scandroli <[EMAIL PROTECTED]> wrote: > Hi Massimo > > I'm experiencing the same thing. I'm trying to create an editor for > properties annotated with "@ManyToOne" > The BeanBlockContribution renders ok, but when I submit the form I get > an exception: > >