Anybody's developing "object oriented"?

2007-08-27 Thread Marcus Schmidke
Hello all, I'm in the unlucky situation that I have to give up working with my favourite Web Framework - Apple's WebObjects - in favor to something that is more J2EE-homed and more open source (seems that WO will be this too at some time, but even then - no chance) and more portal-ready. Perhap

Re: Anybody's developing "object oriented"?

2007-08-27 Thread Ognen Ivanovski
On 2007-08-27, at 09:58, Marcus Schmidke wrote: Most of my JSF-problems seem to have a Tapestry-solution, that's fine. But, oh no, what is this "ValueEncoder"-thing??? Don't say it is what I'm afraid of it might be ... I am working on a solution that I will post on the Tapestry wiki as

[T5] ComponentClassResolver should expose it's configuration

2007-08-27 Thread Ognen Ivanovski
Hi again, I think that the ComponentClassResolver should expose it's configuration via the service interface; i.e. it should say which packages are library packages. Of course this configuration should be immutable. public List getLibraryMappings(); The need for this can be illustrated b

Re: [T5] Localization and application message catalog

2007-08-27 Thread Nick Westgate
It works fine for me using the following files/code: app_ja.properties app_en.properties AppModule.java: configuration.add("tapestry.supported-locales", "en,ja"); Page.html: Japanese English Page.java: @Inject private PersistentLocale persistentLocaleService; ... voi

Re: Anybody's developing "object oriented"?

2007-08-27 Thread Daniel Jue
I have put up two examples on the wiki for doing this easily, when you are working with objects that need to display themselves. In one, you just specify the name of the field in the value encoder and selection model, like "displayName", and it will call "getDisplayName()" on your objects to displ

T5 DOCTYPE in templates

2007-08-27 Thread Peter Stavrinides
Hi all, I am trying to use some special characters in my templates such as   so I tried to add the DOCTYPE header, but I keep getting the exception: org.xml.sax.SAXParseException The system identifier must begin with either a single or double quote character. No doubt I must be making an e

Re: T5 DOCTYPE in templates

2007-08-27 Thread Allen Guo
You can try http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> instead of "http://www.w3.org/TR/html4/loose.dtd";> Good Luck Guoguo Long Peter Stavrinides 写道: Hi all, I am trying to use some special characters in my templates such as   so I tried to add the DOCTYPE header, but I keep

Re: T5 DOCTYPE in templates

2007-08-27 Thread Peter Stavrinides
brilliant, it seems to work, but how will I include special characters, it still complains about them? thanks so much! Peter Allen Guo wrote: You can try http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> instead of "http://www.w3.org/TR/html4/loose.dtd";> Good Luck Guoguo Long Peter

Re: T5 DOCTYPE in templates

2007-08-27 Thread 蝈蝈龙
If you use the DOCTYPE I give you , I think the special characters should work . So you can use entities like &nbps; & etc. Suppose you want to output "<", you can use ≶ now . 2007/8/27, Peter Stavrinides <[EMAIL PROTECTED]>: > > brilliant, it seems to work, but how will I include special charact

Re: T5 DOCTYPE in templates

2007-08-27 Thread Peter Stavrinides
It doesn't seem to work, maybe I need to include it in the sub component templates as well? and not just in my Layout template. ??? wrote: If you use the DOCTYPE I give you , I think the special characters should work . So you can use entities like &nbps; & etc. Suppose you want to output "<", y

Re: T5 DOCTYPE in templates

2007-08-27 Thread Peter Stavrinides
Yes that's it, thank very much for your help Peter Peter Stavrinides wrote: It doesn't seem to work, maybe I need to include it in the sub component templates as well? and not just in my Layout template. ??? wrote: If you use the DOCTYPE I give you , I think the special characters should wor

T5: does T5.05 supports Chinese(UTF-8) ?

2007-08-27 Thread Angelo Chen
Hi, I read some posting a few months ago that T5 had some problem with Chinese, is this problem already fixed in 5.05? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-does-T5.05-supports-Chinese%28UTF-8%29---tf4335279.html#a12346941 Sent from the Tapestry - User maili

Re: T5: does T5.05 supports Chinese(UTF-8) ?

2007-08-27 Thread Robin Helgelin
On 8/27/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I read some posting a few months ago that T5 had some problem with Chinese, > is this problem already fixed in 5.05? Thanks, http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding -- regards, Robin ---

Re: T5: does T5.05 supports Chinese(UTF-8) ?

2007-08-27 Thread Jun Tsai
2007/8/27, Angelo Chen <[EMAIL PROTECTED]>: > > > Hi, > > I read some posting a few months ago that T5 had some problem with > Chinese, > is this problem already fixed in 5.05? Thanks, > > A.C. please test the application http://www.middleware.cn/lichen ,It supports chinese utf-8.code at http://

Re: T5 DOCTYPE in templates

2007-08-27 Thread Daniel Jue
So the problem wasn't on the completed page (combination of components), it's that Tapestry is parsing each page individually before everything is combined. So every page that uses special characters needs that doctype. On 8/27/07, Peter Stavrinides <[EMAIL PROTECTED]> wrote: > > Yes that's it, th

Re: Memory consumption in T4.1.2 - Hard data

2007-08-27 Thread Jon Oakes
Hi Bryan, I am a relative newbie but I was wondering if  you are running with caching enabled or disabled?  It might make sense to keep things around when caching is disabled whereas I think it would clearly be a bug to keep things around with it disabled. Jon Oakes Jesse Kuhnert wrote:

Re: T5 DOCTYPE in templates

2007-08-27 Thread Peter Stavrinides
Exactly Daniel Jue wrote: So the problem wasn't on the completed page (combination of components), it's that Tapestry is parsing each page individually before everything is combined. So every page that uses special characters needs that doctype. On 8/27/07, Peter Stavrinides <[EMAIL PROTECTED]>

Re: [T5] Restricting Page Access

2007-08-27 Thread Erik Vullings
Hi, Just wondering - when dealing with page authorizations, does this model expand to component authorizations, i.e. you may visit the page, but not certain components (redirect to another component), or you can see a component, but with less privileges (e.g. view but not edit). In other words, ho

Re: [T5] Restricting Page Access

2007-08-27 Thread Robin Helgelin
On 8/27/07, Erik Vullings <[EMAIL PROTECTED]> wrote: > Hi, > > Just wondering - when dealing with page authorizations, does this model > expand to component authorizations, i.e. you may visit the page, but not > certain components (redirect to another component), or you can see a > component, but w

Re: Anybody's developing "object oriented"?

2007-08-27 Thread Kalle Korhonen
On 8/27/07, Marcus Schmidke <[EMAIL PROTECTED]> wrote: > > I'm in the unlucky situation that I have to give up working with my > favourite Web Framework - Apple's WebObjects - in favor to something that is > more > J2EE-homed and more open source (seems that WO will be this too at some > time, but

Re: Validation and CSS with 4.1.3-SNAPSHOT

2007-08-27 Thread mraible
Is there a released version of Tacos that supports 4.1.x? I only see a 4.1.0-SNAPSHOT. Thanks, Matt andyhot wrote: > > Css is supposed to be auto-included only for the exception page > > Regarding toaster - it's really cool... If you get tacos [1] > you use the dojo:Widget component [2] by:

Re: Validation and CSS with 4.1.3-SNAPSHOT

2007-08-27 Thread Andreas Andreou
Just the snapshot - release was scheduled for 15-20 Aug but 1-2 more weeks are still needed. On 8/27/07, mraible <[EMAIL PROTECTED]> wrote: > > > Is there a released version of Tacos that supports 4.1.x? I only see a > 4.1.0-SNAPSHOT. > > Thanks, > > Matt > > > andyhot wrote: > > > > Css is suppos

Re: Anybody's developing "object oriented"?

2007-08-27 Thread Howard Lewis Ship
> Most of my JSF-problems seem to have a Tapestry-solution, that's fine. But, > oh no, what is this "ValueEncoder"-thing??? Don't say it is what I'm > afraid of it might be ... One reason WebObjects wasn't popular is that it was a total resource hog. It made no real attempts at scalabilty; it wo

Help out Matt Raible: Looking for Web Framework Stories

2007-08-27 Thread Howard Lewis Ship
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 -- Howard M. Lewis Ship Partner and Senior Architect at Fe

T5 Access Page / Component Annotations from Other Classes

2007-08-27 Thread Charles Mason
I have a method that needs to be able to redirect the user to another page based on the Application Sate. My problem is this class is part of a separate package from the MyApp.Pages package. To make this work I need to use these injected fields. However Tapestry 5 clearly isn't processing the anno

[T5]Encoding Problem while submiting form with a Upload component.

2007-08-27 Thread Allen Guo
Hi All, I have a form with a 'textfield' and a 'upload' field . The Chinese words I input in textfield will be irrecognizable when I submit the form . Or I use the form without a 'upload' but exactly add the property enctype="multipart/form-data", the same error occurr. And I absolutely use

Re: Memory consumption in T4.1.2 - Hard data

2007-08-27 Thread Peter Stavrinides
Hi Jessie Any progress on this? sorry to bug you, but I have to take a decision soon, I have two production machines that will need to upgrade or downgrade Tapestry. Best wishes, Peter Jon Oakes wrote: Hi Bryan, I am a relative newbie but I was wondering if you are running with cach

[T5] annoying javascript problem

2007-08-27 Thread Allen Guo
Hi All, Due to the project requirement, I often add some javascript to .html like this: sample: var s; for (var i=0;i++;i < productCnt){ s += "palcehoder" + i; } . another sample You know, in T5, the html file must be a strict xml file, So above codes which cotain '>' won't be all

Re: [T5] annoying javascript problem

2007-08-27 Thread Allen Guo
I think T5 must support CDATA in stable release. Allen Guo 写道: Hi All, Due to the project requirement, I often add some javascript to .html like this: sample: var s; for (var i=0;i++;i < productCnt){ s += "palcehoder" + i; } . another sample You know, in T5, the html file must be a s

How do I get a page from a sub-package

2007-08-27 Thread mraible
I have a UserForm class in a "pages" package and a UserList class in an "admin" sub-package. In UserForm, how do I get UserList? The following doesn't seem to work: UserList nextPage = (UserList) cycle.getPage("UserList"); Results in: java.lang.ClassCastException: $UserList_4 If I change it to

Re: [T5] annoying javascript problem

2007-08-27 Thread Nick Westgate
Of course it will. In the meantime you can use the usual workarounds can't you? // Cheers, Nick. Allen Guo wrote: I think T5 must support CDATA in stable release. Allen Guo 写道: Hi All, Due to the project requirement, I often add some javascript to .html