Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-24 Thread Joshua Jackson
Thiago, I have downloaded HiberTapestry, but I'm still confused where to start. Could you give us a quickstart documentation on the website and a little example with source code to get us going? Also please inform us when the source for HiberTapestry is uploaded. Thanks in advance -- YM!: theja

Re: T5: Best practice for rendering a dynamic component

2007-05-24 Thread Ivan Dubrov
Howard Lewis Ship wrote: > This is very easy in Tapestry; just put the components on another page, > inject the page, and choose the component from that page. And how to deal with actionlink's inside the component/block from another page? All actions will go to the page the component/block belongs

Re: T5 preferred way to make sure response content-type is utf-8?

2007-05-24 Thread Davor Hrg
I tried it but had trouble with getting 5.0.5-SNAPSHOT in my pom... what is correct url for repository with tapestry snapshots now ? Hrg On 5/24/07, Nick Westgate <[EMAIL PROTECTED]> wrote: Hi Chris. Refer to this HowTo I just threw on the wiki: http://wiki.apache.org/tapestry/Utf8EncodingIn

T5 Radio Input

2007-05-24 Thread Daniel Jue
I saw a previous post that said this form component was intended for 5.0.4. I'm now switching over my codebase to to tap 5.0.5 (snapshot). I was about to try and write one myself based on the 5.0.4 checkbox source code, until I noticed formSupport doesn't have the method getParameterValue(Strin

Re: Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-24 Thread Joshua Jackson
Cool. I'm going to check this out since I also need tapestry and hibernate integration. So how is this different with tapestry-hibernate module? On 5/25/07, Thiago H de Paula Figueiredo <[EMAIL PROTECTED]> wrote: Hi! I have just released version 0.1 of HiberTapestry, a Hibernate integration mo

Announcement: HiberTapestry: Hibernate integration for Tapestry-IoC (T5)

2007-05-24 Thread Thiago H de Paula Figueiredo
Hi! I have just released version 0.1 of HiberTapestry, a Hibernate integration module to Tapestry IoC. It's hosted at SourceForge: http://tapestry-mine.sourceforge.net/hibertapestry/ and the license is the same of Tapestry, Apache License 2. I have not uploaded the sources yet, but I plan

Re: Hidden field contains S

2007-05-24 Thread Peter Dawn
thanks. i read the doc but still couldnt figure it out. but the encode=false works. thanks a lot for that. i was trying to save some info in the hidden field, but it actually shows up when the user goes view-source. is there a way to hide the info but at the same time reference it. thanks again

Re: Hidden field contains S

2007-05-24 Thread andyhot
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Hidden.html Peter Dawn wrote: guys, i am using tap3. i have a hidden field component. i have just realised that everytime i store something in it, it pre-fixes my string with a S. i am not sure what i am doing wrong here. if i replace

Re: Hidden field contains S

2007-05-24 Thread Robert Zeigler
add the attribute: encode="false" Robert On May 24, 2007, at 5/2410:54 PM , Peter Dawn wrote: guys, i am using tap3. i have a hidden field component. i have just realised that everytime i store something in it, it pre-fixes my string with a S. i am not sure what i am doing wrong here. if i r

Hidden field contains S

2007-05-24 Thread Peter Dawn
guys, i am using tap3. i have a hidden field component. i have just realised that everytime i store something in it, it pre-fixes my string with a S. i am not sure what i am doing wrong here. if i replace it with a @TextField it displays the exact string. but only if I use @Hidden it prefixes S

Hibernate & Tapestry 5 with tapestry-hibernate module

2007-05-24 Thread Joshua Jackson
Dear all, I'm trying to run Hibernate with tapestry-hibernate module but it seems that Hibernate session factory is not running or bootstrapping, at least I can not see it from the log activity nor my table is created by Hibernate hbm2ddl. What do I need to do in order to bootstrap Hibernate ses

where can I download the taestry 4.1.1's documents

2007-05-24 Thread Heping Zhang
hi, all, could any one tell me where can I download the taestry 4.1.1's documents, includes UsersGuide, api and so on? I have seeked this in its homepage and the download page but not found. Since sometimes I cannot access the net, an offline document is really needed. Thank you! BTW, if someone k

Re: T5 page lifecycle

2007-05-24 Thread Howard Lewis Ship
Need an ls -lR of src/main/webapp I suspect you have a link to a .js file that doesn't exist. If it did exist, the request would be passed off to the servlet container. Since it doesn't, and it looks like a Tapestry page request, it's being passed into Tapestry. On 5/24/07, Martin Grotzke <[EMA

Re: T5 application wide message catalog

2007-05-24 Thread jason lea
Oh cool. In the meantime I have just created a GenericPage.java that my other pages will extend and put all my global messages into GenericPage.properties as the message catalog inheritance seems to be working. On 5/23/07, SergeEby <[EMAIL PROTECTED]> wrote: Hi, I believe this is now availab

Re: t5: Date input component

2007-05-24 Thread Juan Maya
Does any body know the best way to implement this type of component? On 5/23/07, Juan Maya <[EMAIL PROTECTED]> wrote: Hi all, i have been trying to create a new Date component that would help to enter dates using 3 select components. It would be something like this: However i don't know how t

Re: Tapestry 4.1.1 upgrade conflicts with Tacos jar

2007-05-24 Thread Chris Chiappone
I don't believe Tap 4.1.1 and Tacos 4.0.1 are compatible. There is a tacos snapshot for tap 4.1.1 in the works. On 5/24/07, sunilmanu <[EMAIL PROTECTED]> wrote: Hi, I tried the upgrade to Tapestry 4.1.1. I am also using the Tacos 4.0.1 also. But when I bring up the application's home page, I

Re: T5 page lifecycle

2007-05-24 Thread Martin Grotzke
On Thu, 2007-05-24 at 10:42 -0700, Howard Lewis Ship wrote: > I suspect there's a conflict between your page name, and a folder of your > web application. How about an ls -lR of your context folder? Is the context folder what is specified with the context-param "tapestry.app-package"? Then here i

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Daniel Jue
Thanks Andy! Hot stuff! This may be the silver bullet for me.

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread andyhot
Hey, mvn tomcat:run is always an option! Daniel Jue wrote: I have run the Jetty plugin from the t5 simple archetype with great success. I tried it again just now, and it didn't work, because my plugin code was like this: org.mortbay.jetty maven-jetty-plugin

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Daniel Jue
I have run the Jetty plugin from the t5 simple archetype with great success. I tried it again just now, and it didn't work, because my plugin code was like this: org.mortbay.jetty maven-jetty-plugin true I switched it to yo

Tapestry 4.1.1 upgrade conflicts with Tacos jar

2007-05-24 Thread sunilmanu
Hi, I tried the upgrade to Tapestry 4.1.1. I am also using the Tacos 4.0.1 also. But when I bring up the application's home page, I get the following error message. do i need to edit the Hivemodule.xml file in one of the jar file to avoid the duplication ? It does not seems to be right way..Any i

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Howard Lewis Ship
Maven actually works really well, once you get started. The issue here was a perfect storm of minor errors in the quickstart archetype, an apparent Maven bug, and problems with the build (resulting in key artifacts being uploaded to the wrong location). The tapestry-snapshot repository should be

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Martin Strand
If you don't have to run your app in tomcat, there's a maven plugin for jetty. Add this to your pom org.mortbay.jetty maven-jetty-plugin and then start jetty with "mvn jetty:run". On Thu, 24 May 2007 22:29:39 +0200, Daniel Jue <[EMAIL PROTECTED]> wrote: Robert, I agree,

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Daniel Jue
BTW--After using maven for a week or so, I'd love to champion it's use. I'm quite happy with the way it downloads dependencies when everything is going well in your POM. If only I could get it to work smoothly with my IDE/server setup. Can you send me or the list the error message and your POM?

Re: Shipwreck when downloading T5.0.5

2007-05-24 Thread Daniel Jue
Robert, I agree, at first look Maven seems really cool, but overkill (kinda like a tank!) But I read the free maven book that's out there, at least the relevant sections, and I feel I can sort of work with it. The biggest problem i've had is making Maven, Eclipse WTP and Tomcat play nicely. Th

Re: T5 page lifecycle

2007-05-24 Thread Howard Lewis Ship
I suspect there's a conflict between your page name, and a folder of your web application. How about an ls -lR of your context folder? Does main_functions.js exist and if so, where? On 5/24/07, Martin Grotzke <[EMAIL PROTECTED]> wrote: Hello, I have a simple search page with an input field (

T5 page lifecycle

2007-05-24 Thread Martin Grotzke
Hello, I have a simple search page with an input field (query) and a submit button. The submit implementation returns a page link to receive a bookmarkable page (with pagename and query param), and the onActivate(String) then performs a search for the query. Although, the onActivate(String) is c

Re: T4.1.1 Annotation - @InjectComponent lookup issue.

2007-05-24 Thread Jan Vissers
Yep - thanks... This works: @Component(type = "components/Copyright") public abstract Copyright getCopyright(); > http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html > > @Component > > On 5/24/07, Jan Vissers <[EMAIL PROTECTED]> wrote: >> >> Suppose I have a .page file

Re: T4.1.1 Annotation - @InjectComponent lookup issue.

2007-05-24 Thread Andreas Andreou
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html @Component On 5/24/07, Jan Vissers <[EMAIL PROTECTED]> wrote: Suppose I have a .page file containing the following component declaration: The Copyright component (.page/.html) are both located relatively from the con

Re: T5: Best practice for rendering a dynamic component

2007-05-24 Thread Howard Lewis Ship
Or, alternately: HTML: Java: private boolean displayApple; //set this however you want to private boolean displayBanana; //set this however you want to @Component private Apple apple; @Component private B

RE: T5: Best practice for rendering a dynamic component

2007-05-24 Thread Joel Wiegman
Thanks Howard! For the community, the final "code-alization" of this discussion ends up being: HTML: Java: private boolean displayApple; //set this however you want to private bool

Re: Empty SelectionList option not rendered properly according to xhtml

2007-05-24 Thread Jan Vissers
I stand corrected, thanks Serge. My 'Tidy' HTML validator (firefox) complained about this - should have checked the actual specs prior to complaining - sorry. -J. > > Hi, > > This seems valid to me according to this: > http://www.w3.org/TR/xhtml1/#h-4.6 > > /Serge > > > Jan Vissers wrote: >> >> T

Re: Empty SelectionList option not rendered properly according to xhtml

2007-05-24 Thread SergeEby
Hi, This seems valid to me according to this: http://www.w3.org/TR/xhtml1/#h-4.6 /Serge Jan Vissers wrote: > > Tapestry renders: > > > > And it 'should' render: > > > > Is this something we can workaround? > I would have preferred Tapestry rendering the option correctly whenever >

T4.1.1 Annotation - @InjectComponent lookup issue.

2007-05-24 Thread Jan Vissers
Suppose I have a .page file containing the following component declaration: The Copyright component (.page/.html) are both located relatively from the contextroot at 'components'. Now my question. I want to create a superclass that holds various common properties so that they can be easily

Empty SelectionList option not rendered properly according to xhtml

2007-05-24 Thread Jan Vissers
Tapestry renders: And it 'should' render: Is this something we can workaround? I would have preferred Tapestry rendering the option correctly whenever the label is (an) empty (string). Thx, -J. - To unsubscribe, e-ma

Re: What are benefits of pure HTML templates?

2007-05-24 Thread Christian Haselbach
Quoting Igor Lobanov <[EMAIL PROTECTED]>: Anyway, Jonathan's suggestion about ease of CSS use is the most appealing to me, because nowadays CSS finally became the most powerful facility for determining style and position of elements on a page. I've got to say that this is not so important to m

Shipwreck when downloading T5.0.5

2007-05-24 Thread RobertSchreiber
Help! I'm trying to download the latest T5 Snapshot to see what the new release is all about. Up to now I was always fail with some obscure maven error message. What do I do wrong? Is there any description what I have to do to get the software ( including dependent libraries). Why can't somebod

deprecated methods

2007-05-24 Thread Kushan Jayathilake
hi i have two deprecated methods and my Tapestry version is 4.1.1 first is getTapMapScript().execute(cycle,pageRenderSupport, symbols); second is pageRenderSupport.addExternalScript(new ExternalResource(path, null)); "execute" and "addExternalScript" methods are deprecated, but i can use "ex

AW: tapestry-testng

2007-05-24 Thread Peter Schröder
hi jesse, did you manage to put that version to some mirror? maven does not find 1.0.0. do i need to ad a repo-location to my settings? kind regards peter -Ursprüngliche Nachricht- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. Mai 2007 16:04 An: Tapestry users Be