Re: T5: Best way to break for paragraphs

2008-02-05 Thread Dapeng
the(two space in between) is important to my display i am using fixed width font so that user can actually using SPACE to do some simple formatting it seems that tapestry is handling the and ... not confirmed ... Renat Zubairov wrote: Hi Dapeng, Are you sure you need to replace all

Re: T5: best practice for a multiple module app

2008-02-05 Thread Anton Gavazuk
Hi, I don't see any complexity of EJBs (in EJB 2) in case if you are using just JMS/Session beans - Entity beans are really awful 2008/2/5, Renat Zubairov [EMAIL PROTECTED]: Hi Angelo, I was just thinking how can you organize your application in case you would use the EJBs: You will most

Re: T5.0.8 client side validation bubble display on IE6 windows xp

2008-02-05 Thread Dapeng
is there any way to alter the default behavior ? i get the bubble from follow code t:textfield value=myValue validate=required/ so how to fix the bubble display in a non-intrusive way? Chris Lewis wrote: This is a fairly seasoned 'hack', and is the basis of the JS version I posted. It

Re: T5: best practice for a multiple module app

2008-02-05 Thread Renat Zubairov
Hi Angelo, I was just thinking how can you organize your application in case you would use the EJBs: You will most probably use the Session Facade design pattern ( http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html) to provide the backend for your web apps that will be

Re: T5: Best way to break for paragraphs

2008-02-05 Thread Renat Zubairov
Hi Dapeng, Are you sure you need to replace all with nbsp;, they have different semanitcs. Also you might need to replace quotes with quote; and and with gt; and lt; Renat On 05/02/2008, Dapeng [EMAIL PROTECTED] wrote: here is what i doing ... t:outputraw value=escapedBody/

Re: frequent out of perm size

2008-02-05 Thread Dapeng
learner wrote: i very frequent get this error after using tomcat for sometime. i know increasing memory will temporary delay the problem. but is anyone of you experience this when using tapestry? coz i get it too frequent and very curious...

Re: tapestry and tomcat

2008-02-05 Thread Dapeng
nasirmunir wrote: Tools I am using are: Tapestry 4.x Tomcat 5.5.x Eclipse java europa Situation: I can see tomcat up and running Problem: Now when I am trying to use Tapestry to run Hello World application, I am running into problems. It is perhaps not recognizing the file, as it is showing me

Re: T5 tapestry5-acegi salt source not overridable

2008-02-05 Thread Robin Helgelin
On Feb 4, 2008 10:55 PM, Franz Amador [EMAIL PROTECTED] wrote: Yup, that works for me, too. Thanks. I didn't know I could do that. According to the JavaDoc for the Alias class, however, it looks like I should instead be contributing to the AliasOverrides service, and that does seem to

Calling javascript after asynchronous update

2008-02-05 Thread Richard Hoberman
Hi I'm using Tapestry 4.1.3. I'm trying unsuccessfully to invoke some javascript after an asyncrhonous update. I'll post code if needed, but here is the summary: 1. Simple page with a list. 2. Initialization javascript makes list sortable using script.aculo.us:

Re: T5: Custom components are not statefull

2008-02-05 Thread Alexander Lamb
Actually, the component itself now generates a new id correctly (using the solution that was suggested). As you can see in the HTML generated: divimg id=toto_1 onclick=window.open('./ statistics.dashboardview.enrollmentbenchmarkchart.toto:chart/ 920/560','_blank','width=944, height=584')

Re: Calling javascript after asynchronous update

2008-02-05 Thread Andreas Andreou
Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone mentioned that something like this now should work. A workaround is to have the script you want to execute already in the template and

Re: Calling javascript after asynchronous update

2008-02-05 Thread Richard Hoberman
Thanks, Andreas. The workaround works for me. I'll let you know how the snapshot turns out. Richard Andreas Andreou wrote: Can you try it with a recent snapshot? http://people.apache.org/maven-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.5-SNAPSHOT/ I think someone

JumpStart 3.2 - for Tapestry 5.0.9

2008-02-05 Thread Geoff Callender
Hi all, JumpStart 3.2 is now available for Tapestry 5.0.9. New features since 3.0 include: * Basic Ajax example * Joda Time example * Custom exception page example * Examples and discussion of render requests vs action requests * Best practice use of

[T4] Modifying RadioGroup

2008-02-05 Thread Andrew Ingram
I'm trying to use radio options in the following way: pseudo-html: tr tdradiogroup1 option 1 //td tdradiogroup2 option 1 //td /tr tr tdradiogroup1 option 2 //td tdradiogroup2 option 2 //td /tr This doesn't work with Tapestry's RadioGroup component because there's no way of wrapping a

Re: JumpStart 3.2 - for Tapestry 5.0.9

2008-02-05 Thread Massimo Lusetti
On Feb 5, 2008 2:54 PM, Geoff Callender [EMAIL PROTECTED] wrote: Comments and suggestions are always welcome. Be brutal or helpful - I don't care which, because it all helps to make this stuff more useful. Very very nice. There's a problem with absolute path for jboss.dir properties, you

Re: [T4] Modifying RadioGroup

2008-02-05 Thread Andrew Ingram
Hi Dario, That only works if there's only one RadioGroup, the problem is that the first RadioGroup needs to refer only to the first column of Radios in the table, whilst the second needs to refer only to the second column. Since Radios have to be inside RadioGroups and RadioGroups can't be

Re: Tapestry 5 - Display message from beaneditForm validation outside of form

2008-02-05 Thread DavidWei
Has anybody an idea on this? THANKS!!! DavidWei wrote: This is what I want to do. Use beaneditForm to create a form from a object (for example User) with some required fields. When the beaneditForm validation finds errors, I do not want to use default feature to display the error

Re: [T4] Modifying RadioGroup

2008-02-05 Thread Darío Vasconcelos
Hi Andrew, if you start the RadioGroup in an invisible spot, it will render correctly, as in span jwcid=@RadioGroup tr tdradiogroup1 option 1 //td tdradiogroup2 option 1 //td /tr tr tdradiogroup1 option 2 //td tdradiogroup2 option 2 //td /tr /span or at least that's the

Re: Tapestry[5] - Overriding the form error messages

2008-02-05 Thread DavidWei
Here is the stock trace: Stack trace org.apache.tapestry.ioc.internal.services.TypeCoercerImpl.findOrCreateCoercion(TypeCoercerImpl.java:248) org.apache.tapestry.ioc.internal.services.TypeCoercerImpl.findCoercion(TypeCoercerImpl.java:168)

Improving Component Reference

2008-02-05 Thread Howard Lewis Ship
I've extended the component reference to allow images as part of the documentation ... so far, its all screen shots. http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/index.html Feedback still encouraged! -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind

T5 : How to get a Page in a Dispatcher ?

2008-02-05 Thread Steph
Hi all, I have implemented a Dispatcher based on the wiki solution provided by Chris Lewis in order to check the authentication of the users on several pages of my application. But instead of check the access rights of a user based on the URL, i would like to check it against the Page

Re: Tapestry[5] - Overriding the form error messages

2008-02-05 Thread Anteneh Alemayehu
Yes I am using beaneditform, ON T5-version 5.0.7 Thank you, Anteneh Adam Zimowski wrote: what version of T5 are you on? are you using beanedit form? I was using just a regular form and Tapestry didn't display errors if there was no t:errors/ On Feb 5, 2008 10:58 AM, Anteneh Alemayehu

Re: T5 : How to get a Page in a Dispatcher ?

2008-02-05 Thread Howard Lewis Ship
The ComponentSource service allows you to get a page (as a org.apache.tapestry.runtime.Component) or a component with in a page. From the Component you can get the ComponentResources and from there, meta data about the component. I've often added a ComponentClassTransformWorker that look sfor a

Re: T5.0.9 bug? Session in actionlink URL kills context

2008-02-05 Thread Howard Lewis Ship
What version are you using? Yes, add an issue with as much detail as you can provide. On Feb 3, 2008 4:55 PM, Chuck Kring [EMAIL PROTECTED] wrote: Should I file a bug? What version and component should I file it under? Howard Lewis Ship wrote: That looks like a bug ... as if it were

Re: T5: How do I configure logging for a service?

2008-02-05 Thread Howard Lewis Ship
Logging is based on the class name of the module that defined the service, then the service id, i.e. log4j.category.org.example.myapp.services.AppModule.MyService=info On Feb 5, 2008 11:24 AM, Filip S. Adamsen [EMAIL PROTECTED] wrote: Hi, I'm having trouble configuring logging for my

RE: T5: How do I configure logging for a service?

2008-02-05 Thread Jonathan Barker
Filip, Recent versions of T5 have used slf4j, not log4j. Having said that, the underlying logger is often log4j. What app server? JBoss, for example, has all logging configured through a log4j.xml file in the server conf directory. Jonathan -Original Message- From: Filip S.

T5: Returning JSON from an event method

2008-02-05 Thread Michael Lake
According to the docs (scroll down to the bottom) http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/ajax.html I should be able to return a JSONObject from an event method, but it throws an exception telling me all the possible return types..none of them appear to be

Re: JumpStart 3.2 - for Tapestry 5.0.9

2008-02-05 Thread Michael Courcy
Yes it's a change from the previous release do we have to put the project in a directory of JBoss ? Massimo Lusetti a écrit : On Feb 5, 2008 2:54 PM, Geoff Callender [EMAIL PROTECTED] wrote: Comments and suggestions are always welcome. Be brutal or helpful - I don't care which, because

T5: How do I configure logging for a service?

2008-02-05 Thread Filip S. Adamsen
Hi, I'm having trouble configuring logging for my services. What exactly is the name of the logger handed to my service? I thought log4j.logger.com.myapp=debug in log4j.properties would turn on logging for all my services, but this doesn't seem to work. log4j.category.com.myapp=debug

directlink without a page refresh

2008-02-05 Thread Marcel Schepers
Hello, Is there a way to submit data from a Tapestry (T4) page to the server without a page refresh? I have a long list of clickable items. Using a directlinks with standard listener method works perfectly on the server side except that the same page is regenerated (which is not so bad) but it

Re: directlink without a page refresh

2008-02-05 Thread Jesse Kuhnert
Use T4.1.X ? (updateComponents parameter forces it to be async as well as just setting async=true if you don't need to refresh any portion of the existing rendered page) http://tapestry.apache.org/tapestry4.1/components/link/directlink.html On Feb 5, 2008 2:39 PM, Marcel Schepers [EMAIL

Using Tapestry-ioc Separately

2008-02-05 Thread Hilco Wijbenga
I was wondering about using T5's IOC separately, i.e. in a non-T5 app (in fact, not even a web app). The tapestry-ioc JAR is available separately, it's quite small, and has very few dependencies. Do people think this is a good idea? Or is tapestry-ioc too oriented towards a web app? Should I use

T5.0.10: Integer as null

2008-02-05 Thread Joel Wiegman
I have a text box bound to a non-primitive Integer value and I keep getting the following error when I submit the form: The input value '' is not parseable as an integer value. The default NullFieldStrategy is to keep nulls as null, so I don't think I have to include that new attribute. My TML

Re: Using Tapestry-ioc Separately

2008-02-05 Thread Jan Vissers
Indeed T5's IoC can be used without T5 core, although IMHO you're better of using Google Guice. If you're already familiar with T5 IoC, using Guice isn't that hard. Just my 0.02ct -J. It's purposely separated out for use in non-web applications, for that exact intention. On Feb 5, 2008

RE: T5: How do I configure logging for a service?

2008-02-05 Thread Jonathan Barker
Filip, I use JettyLauncher (using JettyPlus) in Eclipse for development, and I have a log4j.properties (that is being respected) located at the base of my resources directory (so effectively /WEB-INF/classes/). Actually, I spoke too soon. It is respected for some parts of my app (like Hibernate

Hidden input controls losing their position

2008-02-05 Thread Richard Hoberman
Hi All I want to track the order of list items that are re-ordered via javascript. My proposed solution is to do something like this: html jwcid=@Shell title=literal:Reordering Test Page body jwcid=@Body form jwcid=@Form ul li jwcid=@For

Re: Using Tapestry-ioc Separately

2008-02-05 Thread Howard Lewis Ship
It's purposely separated out for use in non-web applications, for that exact intention. On Feb 5, 2008 2:00 PM, Hilco Wijbenga [EMAIL PROTECTED] wrote: I was wondering about using T5's IOC separately, i.e. in a non-T5 app (in fact, not even a web app). The tapestry-ioc JAR is available

Re: T5.0.10: Integer as null

2008-02-05 Thread Howard Lewis Ship
Try adding nulls=zero to your textfield. There may still be a bug in there. I have closed TAPESTRY-2085 because I don't think the current fix is just right yet. Add your comments there (https://issues.apache.org/jira/browse/TAPESTRY-2085). Thanks! On Feb 5, 2008 2:15 PM, Joel Wiegman [EMAIL

Re: T5: How do I configure logging for a service?

2008-02-05 Thread Filip S. Adamsen
Hey, I actually solved my problem. I'm running the maven-jetty-plugin through IntelliJ IDEA and hadn't noticed that Maven's output level was set to INFO - hence I didn't see my debug messages. So it's all good now. Thank you for your help. :) -Filip Jonathan Barker skrev: Filip, I use

RE: Improving Component Reference

2008-02-05 Thread Adam Ayres
I think the component reference guide is great! In the past I would use the component reference guide and then would go looking for examples in the example sites, so for me it is nice that they are now combined. The component reference guide is something that we (the company I work for) would

Re: Using Tapestry-ioc Separately

2008-02-05 Thread Davor Hrg
http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate Davor Hrg On Feb 5, 2008 11:00 PM, Hilco Wijbenga [EMAIL PROTECTED] wrote: I was wondering about using T5's IOC separately, i.e. in a non-T5 app (in fact, not even a web app).

Re: Improving Component Reference

2008-02-05 Thread Davor Hrg
It's getting better and better :) looking forward to the tutorial on how to do it for own components :) Davor Hrg On Feb 6, 2008 7:35 AM, Adam Ayres [EMAIL PROTECTED] wrote: I think the component reference guide is great! In the past I would use the component reference guide and then would

Re: Improving Component Reference

2008-02-05 Thread Howard Lewis Ship
It's a bit tied to Maven right now, and the code is quick-and-dirty, not my usual standard, not created for easy reuse in Ant. The underlying xdoc format, aka Doxia, can be used independently, and a XSLT transformation could take the place of a lot of the Maven site-building infrastructure. I