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

2008-01-31 Thread Davor Hrg
if you already distinct Firefox and IE than you can easily use png for IE too... and for css backgrounds just replace url(test.png) with filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='test.png', sizingMethod='scale') Davor Hrg On Jan 31, 2008 5:13 PM, Howard Lewis Ship <[EMA

T5: Inserting a component into a message format

2008-01-31 Thread rbolkey
Hi, Ok. This one has me stumped as far as a good way to implement. I want to place a form field inline into a localized sentence. e.g. "I like [text field] pizza." or "Me gusta pizza [text field]." I don't think there's a way to place the rendered output of a component into a message formatte

Re: [ANN] t5components - release 0.5.5

2008-01-31 Thread Sven Homburg
shit, ... i have read the name realy carefully, i think it was too late at night thanks for hint 2008/2/1, Ted Steen <[EMAIL PROTECTED]>: > > Nice! > But it´s FreeMarker not FreeMaker ;) > > 2008/1/31, Sven Homburg <[EMAIL PROTECTED]>: > > > > Hi there, > > > > the t5components release 0.5.5 is ou

Re: [ANN] t5components - release 0.5.5

2008-01-31 Thread Ted Steen
Nice! But it´s FreeMarker not FreeMaker ;) 2008/1/31, Sven Homburg <[EMAIL PROTECTED]>: > > Hi there, > > the t5components release 0.5.5 is out now. > new template service based on FreeMaker > look at change log > > project page with demo click here http://213.160.23.119:8080/t5components/ > > --

Re: Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
Jonathan, Thanks. Good idea. I ended up using to conditionally layout the grid or output an error message. Chuck Jonathan Barker wrote: Chuck, Build and pass your own BeanModel rather than relying on auto-creation from the

Re: Exception in grid component if source returns an empty list

2008-01-31 Thread Howard Lewis Ship
I just cleaned up this exception. The problem here is that with an empty list, the Grid component doesn't have the BeanModel it needs to render. I think, in this case, it should be smart about not needing the BeanModel because there are no rows to render. The workaround is to provide the BeanMod

RE: Exception in grid component if source returns an empty list

2008-01-31 Thread Jonathan Barker
Chuck, Build and pass your own BeanModel rather than relying on auto-creation from the source. I hit the same issue. Jonathan > -Original Message- > From: Chuck Kring [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 31, 2008 6:55 PM > To: Tapestry users > Subject: Exception in grid

RE: Tap 5.0.9 : Namespace prefix for URI http://tapestry.apache.. not defined

2008-01-31 Thread Jonathan Barker
No guarantees that this is the same thing, but I had a strange issue once when my html tag was split across two lines. I couldn't reproduce it now, so this may not be relevant, but try making the whole tag with namespace declaration on the same line. Jonathan > -Original Message- > Fro

Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
I have an application that pulls data from a remote database and presents it in a Grid component. Sometimes the database is not available and my access method returns an empty arraylist. This triggers a bad-looking exception in tapestry 5: org.apache.tapestry.ioc.internal.util.TapestryExcept

Re: Will there be $content$ and $remove$ functionality in T5?

2008-01-31 Thread Andreas Andreou
i think i've also seen commits for server-side comments which would be the equivalent of $remove$ On Feb 1, 2008 1:36 AM, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > IIRC someone posted a T5 equivalent of one of these for T5 to this list > some time ago. You might want to search the archives. > > Ul

Re: Will there be $content$ and $remove$ functionality in T5?

2008-01-31 Thread Ulrich Stärk
IIRC someone posted a T5 equivalent of one of these for T5 to this list some time ago. You might want to search the archives. Uli Jan Vissers schrieb: We use this quite often in T4, for web design/prototyping purposes. - To

Re: Will there be $content$ and $remove$ functionality in T5?

2008-01-31 Thread Sven Homburg
have a look for the mixin DiscardBody 2008/1/31, Jan Vissers <[EMAIL PROTECTED]>: > > We use this quite often in T4, for web design/prototyping purposes. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional command

Re: [T5] best practice to cancel edit page

2008-01-31 Thread Geoff Callender
I had to tweak it a bit for IE. Try this example as a starting point... [Save] [Password...][Refresh][Cancel] t:context="user.id" title="Change Password" href="#">Password...td> t:context="user.id" title="Refresh">Refresh Cancel /* Button styling based on htt

Re: dom quiz question...

2008-01-31 Thread Kevin Menard
It's hard to answer because it's not really clear what you're doing. Now that you've mentioned it's an @Image derivative, I think I have a better handle. Your Tapestry is going to translate into HTML. I can't tell if transparentText is a formal or informal parameter. If the former, then your co

Will there be $content$ and $remove$ functionality in T5?

2008-01-31 Thread Jan Vissers
We use this quite often in T4, for web design/prototyping purposes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry 5 - Custom Component Validation

2008-01-31 Thread Michael Courcy
I'm really not sure that I grasp your need but given that you declare the component in the template @Component(id="myAttLabel") private AttLabel myAttLabel; public void onValidate(){ if(...whatever that could be an error...){ myAttLabel.setErrorFlag(true); } } should do the job But I t

RE: dom quiz question...

2008-01-31 Thread Ken in nashua
Ok, All I'm trying to do is plop transparent text on a @Image derivative So I tried this... (btw, the JSEclipse plugin is frickin fab) var divBlock = document.createElement("div"); var imageDom = document.getElementById("Image_" + i); imageDom.style.background = 'none transparent'; var tr

Re: Improved Tapestry Component Reference

2008-01-31 Thread Michael Courcy
The explaination you give on the loop within a form and the use of encoder are really helpful I was looking for that for a while. I understand now that when the submit is processed 1) The Loop Component update the model thanks to the encoder 2) Then the textfield update the model Howard Lew

Re: Tapestry 5 - Custom Component Validation

2008-01-31 Thread Josh Canfield
Hi, I believe you can achieve what you want by grabbing the ValidationTracker from the Environment. The Form component pushes it to the environment during beginRender and pops it in cleanupRender, your component will beginRender after the form. you would do something like: @Inject Environment _en

Tap 5.0.9 : Namespace prefix for URI http://tapestry.apache.. not defined

2008-01-31 Thread Shing Hing Man
I have just upgraded to Tap 5.0.9 from 5.0.7. There is a RuntimeException when rendering the .tml page given below. Strangely, I do not have the exception for other similar .tml pages. It would be appreciated if someone could show me a fix. Shing java.lang.RuntimeException Namespace pref

Re: Maven Support

2008-01-31 Thread Andreas Andreou
On Jan 31, 2008 8:42 PM, Michael Lake <[EMAIL PROTECTED]> wrote: > > The plugins appear to be from different teams. Perhaps Sun is lining > someone's pockets better than JetBrains? :) AFAIK, that's not the case! NB's plugin is just a 'spare-time' project, and it's amazing that it works so well...

Re: Tapestry 5 - Custom Component Validation

2008-01-31 Thread Xinhua
This is what I am trying to do. But I could not pass the error flag from page to component(AttLabel). I do not want to use @Persist to do this, but like to add it to something like request object. So what annotation can I use? Can you show me the way (some codes) to do this? Xinhua Michael Co

Re: scary error messages

2008-01-31 Thread Jesse Kuhnert
Hmm...Javassist does have a couple static methods for things but I hope that doesn't have anything to do with this. For now, I would recommend trying out the new 3.6ga release of javassist to see if that doesn't resolve the problem. I may try and sneak that version in as a dependency for the 4.

Re: scary error messages

2008-01-31 Thread Marcel Schepers
well, yes and no. Both Tapestry applications are deployed in a separate war file and they both contain javaassist version 3.4.GA. The Spring Web Services application is also deployed in a separate war file containing version 3.3. So yes, Jetty has loaded different versions of javassist. And no, th

Re: Improved Tapestry Component Reference

2008-01-31 Thread Howard Lewis Ship
Layout is a pattern, not a particular component. I may add a Layout page to the User Guide to explain this. Seems to trip up a lot of people. On Jan 31, 2008 11:07 AM, Franz Amador <[EMAIL PROTECTED]> wrote: > Is there a doc on Layout? It looks like a component, but since it isn't in > the com

Re: Improved Tapestry Component Reference

2008-01-31 Thread Howard Lewis Ship
I agree on the visual and am going to take a crack at that shortly. First, finish off the basic docs. On Jan 31, 2008 11:05 AM, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Huge improvement. =) > > some feedback for possible future revisions: > > -) If it's possible to do, you may want some sort of

Re: dom quiz question...

2008-01-31 Thread Josh Canfield
> > var imageDom = >document.forms[0].document.getElementById("Image_" + i); Why are you doing this instead of just using document.getElementByIddirectly? I can't imagine a case where document.forms[0].document != document In general these problems are easier to solve if you just take a look

Re: Improved Tapestry Component Reference

2008-01-31 Thread Kevin Menard
This is a much welcomed improvement. It's definitely a step in the right direction. It'd be nice if the components themselves were further categorized, much like for T4. Forms, links, etc. I'm a big fan of the examples, as well, and look forward to seeing more of them. As a guy coming from T4,

Re: dom quiz question...

2008-01-31 Thread Kevin Menard
I think you probably want to use getAttribute(). I'd also recommend using something like jQuery to simplify your code (and help ensure cross-browser compatibility). -- Kevin On 1/31/08 1:42 PM, in article [EMAIL PROTECTED], "Ken in nashua" <[EMAIL PROTECTED]> wrote: > > Folks, > > I am usi

Re: Improved Tapestry Component Reference

2008-01-31 Thread Michael Courcy
Don't know if it helps, but I propose a small tutorial for a more sophisticated layout http://courcy-en.blogspot.com/2008/01/tapestry-5-create-layout-component.html You have something a bit in the spirit of tiles but much simpler, it's a really easy and short read. Franz Amador a écrit : Is

Re: Improved Tapestry Component Reference

2008-01-31 Thread Michael Courcy
The examples is a real plus. Howard Lewis Ship a écrit : I've been very busy this week improving the Tapestry Component Reference. The Component Reference is now generated as multiple pages: an master index, and one page per component (or mixin, page, base class) that is documented. Documenta

Re: Improved Tapestry Component Reference

2008-01-31 Thread Franz Amador
Is there a doc on Layout? It looks like a component, but since it isn't in the component catalog, apparently it's built into tapestry. I've found only bare-bones tutorial-style mention of layouts here and there, but no comprehensive reference. For example, can I have multiple layouts, and if

Re: Improved Tapestry Component Reference

2008-01-31 Thread Jesse Kuhnert
Huge improvement. =) some feedback for possible future revisions: -) If it's possible to do, you may want some sort of brief package -like paragraph for each section listed in the index to give a basic idea of what kind of stuff is in there -) When I first started using Tapestry 3 a long time ag

Re: dom quiz question...

2008-01-31 Thread Jesse Kuhnert
You've been warned previously to try and not ~always~ post multiple messages for the same subject in a very short time span. I can appreciate you wanting help but it may be at the expense of everyone else reading this list. Please stop posting multple messages on the same subject within a short

Improved Tapestry Component Reference

2008-01-31 Thread Howard Lewis Ship
I've been very busy this week improving the Tapestry Component Reference. The Component Reference is now generated as multiple pages: an master index, and one page per component (or mixin, page, base class) that is documented. Documentation partly comes from the JavaDoc for the component, and par

Re: Maven Support

2008-01-31 Thread Michael Lake
oh wow, you're right, there are fixes! thanks for setting the record straight! -mike On Jan 31, 2008, at 1:45 PM, Jesse Kuhnert wrote: I've been using all of the 7.0.3 eap releases and can confirm that they have actually been fixing the bugs - even if they don't close them in JIRA. Every r

Re: Maven Support

2008-01-31 Thread Christian Edward Gruber
We should probably take this all offline, or to the maven users lists, as this isn't really directly relevant to T{3..5}. Christian On 31-Jan-08, at 13:42 , Michael Lake wrote: For those of you IDEA users, i did a little roundup of information regarding maven2 integration: I was thinkin

Re: Maven Support

2008-01-31 Thread Jesse Kuhnert
I've been using all of the 7.0.3 eap releases and can confirm that they have actually been fixing the bugs - even if they don't close them in JIRA. Every release since the first introduction of it has had a bug fixed that I've noticed. On Thu, Jan 31, 2008 at 1:42 PM, Michael Lake <[EMAIL PROTEC

RE: dom quiz question...

2008-01-31 Thread Ken in nashua
Still blue in the face... imageDom.childNodes[0] Object produces the correct object But I am unable to find transparentText anywhere within the dom structure.Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: dom quiz question...Date: Thu, 31 Jan 2008 13:42:24 -0500

Re: Maven Support

2008-01-31 Thread Michael Lake
For those of you IDEA users, i did a little roundup of information regarding maven2 integration: I was thinking of trying out IDEA's EAP release of 7.0.3 found here: http://www.jetbrains.net/confluence/display/IDEADEV/Selena+EAP But then I dug into the Jetbrains' JIRA for maven integration:

dom quiz question...

2008-01-31 Thread Ken in nashua
Folks, I am using tapestry as follows... In my @Script I have... var imageDom = document.forms[0].document.getElementById("Image_" + i); all this works... But How do I access transparentText within the DOM? 3 *** stars for perso who gets this right imageDom.transparen

Re: scary error messages

2008-01-31 Thread Jesse Kuhnert
You may also want to try out whatever is in this new 3.6 javassist release. Sounds like a bug in hibernate or javassist to me but it's hard to tell for sure. http://mirrors.ibiblio.org/pub/mirrors/maven2/jboss/javassist/3.6.ga/ On Thu, Jan 31, 2008 at 12:55 PM, Jesse Kuhnert <[EMAIL PROTECTED]>

Re: scary error messages

2008-01-31 Thread Jesse Kuhnert
Thanks for the in depth analysis. The EntityManager requiring javassist does provide some hope. Just to confirm things - is your app running with both javassist 3.3 and 3.4 on the classpath? On Thu, Jan 31, 2008 at 11:21 AM, Marcel Schepers <[EMAIL PROTECTED]> wrote: > The problem occured on a

Re: Maven Support

2008-01-31 Thread Christian Edward Gruber
Heh. I've been following the maven dev list, and some of the re- thinking done for 2.1 seems to clean things out substantially, including resolving this whole issue of repeatability and making things cleaner for stamping a build environment (sets of plugins, etc.) I'm not saying this to

Re: scary error messages

2008-01-31 Thread Marcel Schepers
The problem occured on a dedicated production server, it never ever occured on a development server. The server runs 4 websites: a "normal" customer website, two redirection websites whose only goal is to redirected the user to the normal website and a webservices website. All these websites are

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

2008-01-31 Thread Howard Lewis Ship
For 5.0.9, I use GIF files for IE. It looks almost as good as Firefox. It's a stylesheet trick, so Firefox still gets the full PNG version. On Jan 30, 2008 9:49 PM, Dapeng <[EMAIL PROTECTED]> wrote: > the new bubble looks very cool > > but ... it works not that ok under windows xp, IE6 > > see m

Re: Need help with pom.xml for my tapestry 5 project

2008-01-31 Thread Christian Köberl
Hi Sven! Sven Homburg wrote: > > short hint how to configure this ? > If your library uses another library (e.g. t5components use tapestry-core) and you support with your version X a range of versions Y1-Y5 of the other library then you can tell maven that with version ranges. Here you can

Re: Maven Support

2008-01-31 Thread Howard Lewis Ship
It's quite possible to use Ant to build, but to generate Maven artifacts. The dependencies are the good part of Maven, it's just the build system layered on those dependencies that is atrocious. On Jan 31, 2008 6:59 AM, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > I'd like to second that,

Re: T5: BeanEditForm doesn't pick up .properties

2008-01-31 Thread Massimo Lusetti
On Jan 31, 2008 12:55 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I see you point, and it just highlights the fact that .tml files are > allowed at the webapp root level which, itself, is an exception to the > rule. For components, the .tml and .properties file must be bundled > in the sam

Re: [T5] best practice to cancel edit page

2008-01-31 Thread Kevin Menard
IIRC, when I did this in the past, I had to add an onclick handler to the button for IE. Also watch any hover effects you have for anchors, because in IE, it'll render through the button (it won't in Firefox, Safari, or Opera). -- Kevin On 1/31/08 10:00 AM, in article [EMAIL PROTECTED], "Mark

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

2008-01-31 Thread Adam Zimowski
I'm also interested to know if individual error messages are completely customisable in a way that a particular error message can be styled (bubble or not) and placed *anywhere* on the page irrespective of where other error messages and form components are. Without a clear answer so far, does it m

[T5] best practice to cancel edit page

2008-01-31 Thread Mark Horn
Geoff, or others :) I found the posting below suggesting making links/buttons/submits look the same as described at http://particletree.com/features/rediscovering-the-button-element/ and used by Jumpstart (http://files.doublenegative.com.au/jumpstart/) I tried this out and all looks/works great i

Re: Maven Support

2008-01-31 Thread Christian Edward Gruber
I'd like to second that, and at the very least, releasing maven artifacts for those wanting to build T5 apps using M2 is critical. This can be done regardless of whether T5 itself is using maven, but it would be critical to easy use in most environments in which I have worked or foresee wo

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

2008-01-31 Thread Chris Lewis
You could try this for 'magic' filtering: http://homepage.ntlworld.com/bobosola/ Dapeng wrote: the new bubble looks very cool but ... it works not that ok under windows xp, IE6 see my screen shothttp://dapeng.spiralcomms.com/temp/ie6.png is this a known bug ??? ---

Maven Support

2008-01-31 Thread Mark W. Shead
http://tapestryjava.blogspot.com/2007/11/maven-wont-get-fooled-again.html After reading Howard's thoughts on using Maven for a large project, I'm concerned that Tapestry might drop Maven support entirely and I wanted to offer an end user perspective. As far as what is used to build T5 for

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

2008-01-31 Thread Geoff Callender
I agree. I do like the bubbles and I do like the previous style, but to maximise uptake of T5 it may be best to make the choice of message display configurable in AppModule and overridable at the page level. A third display type could also be offered - message alongside/below/ above the fi

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

2008-01-31 Thread Joel Wiegman
Not sure how stringent your requirements are, but I know with 5.0.7 the bubbles go away by setting clientValidation="false" on the form component. Of course, this means that the page submits to validate... -Original Message- From: Maximilian Weißböck [mailto:[EMAIL PROTECTED] Sent: Thur

Re: Need help with pom.xml for my tapestry 5 project

2008-01-31 Thread Sven Homburg
short hint how to configure this ? 2008/1/31, Christian Köberl <[EMAIL PROTECTED]>: > > > Hi Jacob! > > The Problem is that you: > * include tapestry-core version 5.0.5 > * include t5components, which includes tapestry-ioc in 5.0.9 > * include tapestry-spring version 5.0.7 > > You should always in

Re: Need help with pom.xml for my tapestry 5 project

2008-01-31 Thread Christian Köberl
Hi Jacob! The Problem is that you: * include tapestry-core version 5.0.5 * include t5components, which includes tapestry-ioc in 5.0.9 * include tapestry-spring version 5.0.7 You should always include compatible versions! One solution is to include the dependency to tapestry-ioc in 5.0.5 and set

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

2008-01-31 Thread Maximilian Weißböck
There shold be an easy way to use "normal text" as replacement for the popup bubbles, as we have the need to build our WebApps conforming to WAI (Web Accessibility Initiative). Any change to get this? We have WAI conformant Apps running with T3 and T4 and would very much preferr to build the ne

[T5] - phone book app with Tapestry 5.0.9 . replace LinkImpl with responce.sendRedirect.

2008-01-31 Thread Mohammad Shamsi
hi all, if you want to use http://code.google.com/p/shams/ projects with tapestry 5.0.9 you most use response.sendRedirect instead of Link object. here are classes that most change : Login.java @OnEvent(value = "submit") public void login() throws IOException { StringBuffer pa

Re: T5: checkbox questions

2008-01-31 Thread Michael Courcy
a dummy text that would be replaced by the actual value of the label attribute of the checkbox Angelo Chen a écrit : Hi, Got two questions about my checkbox in a form, template at end of this email: 1. Why the 'check here to approve' was not shown in the

Re: Tapestry 5 - Custom Component Validation

2008-01-31 Thread Michael Courcy
I you have control on the validation why not putting a flag in your component when a validation error happen. Your render process would depend of this flag. does it help ? Xinhua a écrit : I create a custom component (AttrLable) which extends AbstractField. In the BeginRender(MarkupWriter wri

Re: [ANN] t5components - release 0.5.4

2008-01-31 Thread Sven Homburg
sorry, sorry, sorry ... here with the right group id de.hsofttec.t5components t5components 0.5.5 de.hsofttec.t5components t5components-app 0.5.5 2008/1/31, Peter Stavrinides <[EMAIL PROTECTED]>: > > I can back Michael on this, I tried this as well yester

Re: [ANN] t5components - release 0.5.4

2008-01-31 Thread Peter Stavrinides
I can back Michael on this, I tried this as well yesterday no difference between the two modes. Peter Chris Lewis wrote: That sounds off. I'm using snapshot from svn and it works ok. I did word it wrong, you enable it like this: configuration.add(TapestryConstants.PRODUCTION_MODE_SYMBOL, "fa

Re: Tapestry[5] - Overriding the CSS Class for the GridColumns Header

2008-01-31 Thread Peter Stavrinides
I haven't had time to test it, but it appears to work the same way as the bean form, so using a message catalog (properties file) and appending a myHeaderProperty-label ="New Header Name", will change the heading label , the CSS I assume is also handled the same way as the bean form. Look at th