Re: I'd like to generate valid XHTML

2008-09-01 Thread Thiago H. de Paula Figueiredo
Em Mon, 01 Sep 2008 20:02:42 -0300, Craig St. Jean <[EMAIL PROTECTED]> escreveu: Hmm... that's interesting because Xerces, LIBXML, MSXML.NET, and Intel XML Software Suite all complain about it...I have a feeling they aren't all wrong with the same error (not including verbiage) Syntax li

Re: I'd like to generate valid XHTML

2008-09-01 Thread Craig St. Jean
Hmm... that's interesting because Xerces, LIBXML, MSXML.NET, and Intel XML Software Suite all complain about it...I have a feeling they aren't all wrong with the same error (not including verbiage) On Mon, Sep 1, 2008 at 1:26 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > That is actually XML

T5: Block property evaluation issue

2008-09-01 Thread Bill Holloway
I have three domain classes. B and C both subclass A. A is abstract. B has some properties that C doesn't have and vice versa. I'm putting together a page to display all the properties. I've defined two different blocks for the different sets of properties. BlockB tries to render the properti

Re: T4.1.5 possible ognl cache problem

2008-09-01 Thread Marcus Schulte
are you sure, you have org.apache.tapestry.disable-caching set to false? You can easily check this by looking at Tapestry's exception page. 2008/9/1 denis queffeulou <[EMAIL PROTECTED]> > h, > > actually my WAR is a big application and I can't put it in Jira. > Don't you already have pages wi

Re: I'd like to generate valid XHTML

2008-09-01 Thread Filip S. Adamsen
That is actually XML compliant - oXygen is wrong if it says otherwise. -Filip On 2008-09-01 18:01, Craig St. Jean wrote: Similarly, does anyone know a way to get the original to be even XML compliant? The way we have to do it (shown below) is not valid due to the Tapestry namespace. oXygen giv

Re: I'd like to generate valid XHTML

2008-09-01 Thread Filip S. Adamsen
That's not all. Tapestry doesn't include a space before closing an empty element, so becomes instead of . It's valid XHTML but some browsers choke on it. It's easy to fix, though - just add a space in org.apache.tapestry.dom.Element. Also, Form emits a name attribute that isn't valid in XHTM

Re: t5: Hibernate resultset with pagination

2008-09-01 Thread Bill Holloway
Hi Angelo, I achieve custom paging for anything that uses a tapestry loop (or anything that needs a list per page) starting with this abstract class: public abstract class PagingResults { protected int _page; protected int _resultsPerPage; public PagingResults (int resultsPerPage)

Re: T4.1.5 possible ognl cache problem

2008-09-01 Thread denis queffeulou
h, actually my WAR is a big application and I can't put it in Jira. Don't you already have pages with some OGNL expression in test case ? I look at the source code and see that a WeakHashMap but even with half memory used, the cache hits are not numerous. Is there any configuration to twea

Re: Context and Multiple Components

2008-09-01 Thread Carl Crowder
Sorry, I should have mentioned that the date-control and filter-control things etc all submit their changes via forms. It's just occurred to me that I could get the parent page using ComponentResources during the onSuccess method, and pass in the new values relevant to the control and get the pare

Re: I'd like to generate valid XHTML

2008-09-01 Thread Craig St. Jean
Similarly, does anyone know a way to get the original to be even XML compliant? The way we have to do it (shown below) is not valid due to the Tapestry namespace. oXygen gives me this: E [Xerces] Attribute "xmlns:t" must be declared for element type "html". Thanks! On Sun, Aug 31, 2008 at 7:32

Context and Multiple Components

2008-09-01 Thread Carl Crowder
Hi all, I'm writing a stats system where graphs have various abilities to be filtered, changed and so on. To control the date range, I've got a date range component, and to change the filtering, I have a filter control component and so on. Some graphs don't use all of these components, which is wh

Re: LinkedIn and Facebook

2008-09-01 Thread Hugo Palma
Yep, it's definitely working :o) I know Luís from the Portuguese JUG, never worked with him though. Good job with the LinkedIn group. There's already a good discussion going on there. Thiago H. de Paula Figueiredo wrote: Em Mon, 01 Sep 2008 10:25:20 -0300, Hugo Palma <[EMAIL PROTECTED]> escre

Re: Invalid requests - best practice?

2008-09-01 Thread Geoff Callender
Kalle, thanks for the suggestion. I'll add it in to the mix. Geoff On 29/08/2008, at 6:07 AM, Kalle Korhonen wrote: JMHO, but I think it depends on the case. In your product example, I'd let the page itself handle the error since it's relatively clear the user tried to access a non-existen

Re: LinkedIn and Facebook

2008-09-01 Thread kace
the six degrees of seperation has been revised lately, http://news.bbc.co.uk/2/hi/technology/7539329.stm "A US study of instant messaging suggests the theory that it takes only six steps to link everyone may be right - though seven seems more accurate." ..kace Thiago H. de Paula Figueiredo wr

Re: LinkedIn and Facebook

2008-09-01 Thread Thiago H. de Paula Figueiredo
Em Mon, 01 Sep 2008 10:25:20 -0300, Hugo Palma <[EMAIL PROTECTED]> escreveu: While you're at it you could also add a logo to the LinkedIn group :o) Hi, Hugo! I had tried to set the LinkedIn group pictures, but a "unknown error" message always popped-up. But, with your logo, it worked. I

Re: I'd like to generate valid XHTML

2008-09-01 Thread Christian Gorbach
yep - the description was written for 5.0.13. for 5.0.14 the approach is the same, but needs some adaption i'll also update the page when i get the time. c)hristian Hi, That page is not quite going to get you there. I'm actually working on converting my site to XHTML, and so far I've had to mo

Re: T4.1.5 possible ognl cache problem

2008-09-01 Thread Marcus Schulte
Can you attach a War-File to a an issue in Jira? If so, I promise to have a look at it :). 2008/9/1 denis queffeulou <[EMAIL PROTECTED]> > I've made another test with 4.1.5 which gives: > > 34,2% 90528 invocations on ExpressionCache.getCompiledExpression > 25,4% 90300 invocations on Ognl.compileE

Re: I'd like to generate valid XHTML

2008-09-01 Thread Filip S. Adamsen
Hi, That page is not quite going to get you there. I'm actually working on converting my site to XHTML, and so far I've had to modify a few things here and there to make it work. But it's possible. I'll post my findings to the wiki when I get the time. -Filip On 2008-09-01 15:28, Luther Bak

Re: LinkedIn and Facebook

2008-09-01 Thread Hugo Palma
While you're at it you could also add a logo to the LinkedIn group :o) Thiago H. de Paula Figueiredo wrote: Em Mon, 01 Sep 2008 06:39:33 -0300, Filip S. Adamsen <[EMAIL PROTECTED]> escreveu: Yup, it was indeed the .gif from the Tapestry 5 homepage. I've created a resized version of the logo

Re: LinkedIn and Facebook

2008-09-01 Thread Thiago H. de Paula Figueiredo
Em Mon, 01 Sep 2008 06:39:33 -0300, Filip S. Adamsen <[EMAIL PROTECTED]> escreveu: Yup, it was indeed the .gif from the Tapestry 5 homepage. I've created a resized version of the logo on a white background that should look better on Facebook: http://fsadev.com/tmp/tapestry-facebook-log

Re: I'd like to generate valid XHTML

2008-09-01 Thread Luther Baker
I have not! If that's what I think it is - that is great! That's just what I was looking for. -Luther On Mon, Sep 1, 2008 at 1:03 AM, Carl Crowder <[EMAIL PROTECTED]> wrote: > Have you already looked at > http://wiki.apache.org/tapestry/Tapestry5HowToXhtml ? (apologies if you > have :) ) > > L

Re: T4.1.5 possible ognl cache problem

2008-09-01 Thread denis queffeulou
I've made another test with 4.1.5 which gives: 34,2% 90528 invocations on ExpressionCache.getCompiledExpression 25,4% 90300 invocations on Ognl.compileExpression The test is made of 5 pages which returns XML and has run for about 2 hours. I'm not sure to be able to test with 4.1.6 in the next d

Debug using maven from IntelliJ IDEA on Mac

2008-09-01 Thread moritzgilsdorf
Hi, I have troubles starting and debugging my apps using IntelliJ and maven. It looks like maven is trying to resolve environment variables with "env", which is installed in /usr/bin . I get the following exception: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -Dclass

Re: LinkedIn and Facebook

2008-09-01 Thread Filip S. Adamsen
Yup, it was indeed the .gif from the Tapestry 5 homepage. I've created a resized version of the logo on a white background that should look better on Facebook: http://fsadev.com/tmp/tapestry-facebook-logo.jpg -Filip On 2008-09-01 11:24, Davor Hrg wrote: it seems like it wa a png/gif with

Re: t5: Hibernate resultset with pagination

2008-09-01 Thread Davor Hrg
not sure what you are trying achieve exactly paging, table, all can be simply generated even without grid but you'll need to print each column manualy, or dig deeper and use beanModel your self Davor Hrg On Mon, Sep 1, 2008 at 3:32 AM, Angelo Chen <[EMAIL PROTECTED]>wrote: > > Hi, > > I have a

Re: LinkedIn and Facebook

2008-09-01 Thread Davor Hrg
it seems like it wa a png/gif with transparency and server resized it or converted to jpg using black as bg On Mon, Sep 1, 2008 at 12:09 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Hi, > > It's nice to have a Tapestry group on Facebook. Is there any reason I'm > only seeing 10 members? > >

Re: Circular dependencies in Tap5 IOC raise StackOverflow Error - Concrete classes

2008-09-01 Thread Christian Edward Gruber
Might be good to do an on-registration circular dependency check to ensure that services cannot be defined if they would cause a cycle. I'd open a JIRA but I'm lazy. (Ok, I'll open one tomorrow. I'm going to sleep now) Christian. On 1-Sep-08, at 03:35 , Kristian Marinkovic wrote: U

Re: Circular dependencies in Tap5 IOC raise StackOverflow Error - Concrete classes

2008-09-01 Thread Kristian Marinkovic
Unlike Hivemind, T5 IOC creates proxies only for interfaces... this is intended behaviour Michel Jeanson <[EMAIL PROTECTED]> Gesendet von: news <[EMAIL PROTECTED]> 01.09.2008 00:07 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema Circular dependencies in Tap5