AW: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Peter Schröder
this one was very helpfull to me: http://web.aanet.com.au/websystems/start.html -Ursprüngliche Nachricht- Von: Bruno Mignoni [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 14. März 2007 18:08 An: Tapestry users Betreff: Eclipse + Maven2 + Tapestry 4.0.2 Does Anybody have a Tutorial to st

Re: T5.0.3-Ioc Service Module ID

2007-03-14 Thread Weisu
Sorry , my fault, I didn't delete 5.0.2 from lib directory. Weisu wrote: > > Hi, I had just downloaded the 5.0.3, and coz there is no more @Id, so i > had to comment out @Id("app"), but it produces this error msg: > java.lang.RuntimeException: Module 'app' does not exist. Please ensure > that th

T5.0.3-Ioc Service Module ID

2007-03-14 Thread Weisu
Hi, I had just downloaded the 5.0.3, and coz there is no more @Id, so i had to comment out @Id("app"), but it produces this error msg: java.lang.RuntimeException: Module 'app' does not exist. Please ensure that the JAR file for the module is on the classpath. Thanks. -- View this message in cont

Re: Cant Checkout tapestry-spring project

2007-03-14 Thread James Carman
anonymous/anon On 3/14/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: Hi all, I cant CO tapestry-spring trunk: Authentication realm: Subversion Repository Username: svn: PROPFIND request failed on '/svn/tapestry/tapestry-spring/trunk' svn: PROPFIND of '/sv

Cant Checkout tapestry-spring project

2007-03-14 Thread Miguel Angel Hernández
Hi all, I cant CO tapestry-spring trunk: Authentication realm: Subversion Repository Username: svn: PROPFIND request failed on '/svn/tapestry/tapestry-spring/trunk' svn: PROPFIND of '/svn/tapestry/tapestry-spring/trunk': authorization failed (http://svn.javaforge.co

Re: [T5]Question on ASO configuration

2007-03-14 Thread Weisu
Thanks Howard, it now working. Howard Lewis Ship wrote: > > Sorry, just a typo; the name of the class should be > ApplicationStateContribution (not ApplicationStateConfiguration). > > On 3/13/07, Weisu <[EMAIL PROTECTED]> wrote: >> >> Hi, I am following the User Guide on ASO, what is >> "Applic

Re: T4.1.1 - Getting client Remote Address IP?

2007-03-14 Thread Andrea Chiumenti
Simple: inject the HttpServletRequest into your page then use it into your page code: getRequest().getRemoteAddr(). For more info: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html Ciao, kiuma On 3/14/07, Daniel Anguita O. <[EMAIL PROTECTED]> wrote: Hi

Re: T4.1.1 - Portlet problem

2007-03-14 Thread Borut Bolčina
Hmmm, now what, we were just looking forward to developing T 4.1.x portlets. -Borut 2007/3/14, Jesse Kuhnert <[EMAIL PROTECTED]>: Looks nasty. I wouldn't be surprised if something had run awful for portlets. I've yet to find a suitably easy environment to setup a simple portlet app to test th

Re: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Borut Bolčina
Hello, this is what I posted last summer on Maven list: I configured Eclipse 3.2, WTP 1.5 and Maven 2.0.4 to play in the same band. Here is how I prepared my environment for developing Tapestry web applications: 1. Create new Dynamic Web project with Eclipse. Enter src/main/webapp for Conte

T4.1.1 - Getting client Remote Address IP?

2007-03-14 Thread Daniel Anguita O.
Hi all, well, that's my problem.. i'm trying to get the client IP that is connected to my tapestry app. I have read a lot, but all the help i could find is about tap4.0, and there are a lot of changes since that version. So, anyone knows how to get the client remote addres, the IP? thanks! -

Re: T5 - Context parameters and style sheets links

2007-03-14 Thread Robert Zeigler
Maybe I'm not fully grasping the problem... what's wrong with using a context asset? Instead of saying , why not do: .java: @Inject("context:default.css") private Asset _stylesheet; //note: tapestry will coerce the stylesheet appropriately into the client url string public Asset getStyles

Re: T5 - Context parameters and style sheets links

2007-03-14 Thread Pablo Ruggia
Will be a Shell component that makes possible to add css as assets ? On 3/14/07, Todd Orr <[EMAIL PROTECTED]> wrote: Realistically, the context is not always known during development. Business folk could easily come back after the entire QA cycle and say that it needs to be changed for marketin

Re: T5 - Context parameters and style sheets links

2007-03-14 Thread Todd Orr
Realistically, the context is not always known during development. Business folk could easily come back after the entire QA cycle and say that it needs to be changed for marketing reasons. This would require a code change that may force an entire round of QA again. There should be some way to refe

Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia
Sorry, i forgot to wrote that the forms blows because it doesn't get the parameter values, because it's not prepared to recieve a multipart request. To "prepare" the multipar request so it seems like a regular one, in tap4 has MultipartDecoderFilter. I just want to know what is the best way to rep

Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia
I have a problem building the upload component. Form doesn't have support for setting the enctype, so i have to pass enctype='multipart/form-data' as an informal parameter. Then the forms just blows up whenever i submit it. In Tap4, there was a filter that creates a fake request with the values. H

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread Dan Adams
hmm. i've been quite happy with it, barring a couple small bugs. in any case, team projects sets are a normal eclipse thing and don't have anything to do with mylar. On Wed, 2007-03-14 at 11:49 -0700, Howard Lewis Ship wrote: > I tried using Mylar for a week, but it slowed Eclipse down to a crawl

Hivemind Registry and Spring

2007-03-14 Thread Miguel Angel Hernández
Hi all, How can I expose the Hivemind Registry in a spring bean? thanks Miguel

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread Howard Lewis Ship
I tried using Mylar for a week, but it slowed Eclipse down to a crawl and added a bunch of instability. On 3/14/07, Dan Adams <[EMAIL PROTECTED]> wrote: Hmm. I currently designing a project that will have several sub-projects so I may just move over to this. One of the things I did notice is tha

Re: Injecting hivemind properties into spring beans

2007-03-14 Thread Miguel Angel Hernández
Ben, Its been some time but I'm curious, why a Singleton? cheers, miguel On 12/14/06, Ben Gidley <[EMAIL PROTECTED]> wrote: This is quite easy to do you create Spring factory bean that provides the service To make this work I cheated an chucked the registry onto a Singleton. I suspect other

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread D&J Gredler
Yeah, I've run into this at work as well. The main problem I ran into was that the project depended on the maven-installed versions of the different modules, even if the modules in question were a part of the overall project... so for example tapestry-core's dependency on tapestry-ioc would trigge

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread Dan Adams
Hmm. I currently designing a project that will have several sub-projects so I may just move over to this. One of the things I did notice is that you can't check out a sub-project just by itself or else maven will puke. You have to check out the parent project, install it locally, and then build the

RE: [OT] [T5] tapestry project structure

2007-03-14 Thread Greg.L.Cormier
I definately agree that keeping version numbers in sync would make things easier. For some reason Tap takes a lot of flack on the versioning of it. Could be a compliment if that's the only gripe :P But I agree, the versioning is chaotic. Why not adapt a linux-esque system... even numbers stable

Re: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Hugo Palma
An easier option would be for you to use the Tapestry 4 archetype found and explained here http://www.joshlong.com//jl/entry/20070227 I'm not sure but i think this archetype configures your pom for Tapestry 4.1, but if you want to use 4.0.2 you just have to change the version number in the pom

renderTag

2007-03-14 Thread Robert J. Walker
Another hiccup with 4.1 -> 4.1.1: We have a VXML application that stopped working after the conversion. Turned out the reason was that components like If, For, etc. by default used to not render their tags (renderTag="false") but now the default is true, In HTML this often isn't a big deal, but

Re: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Bruno Mignoni
I would like a pom.xml exemplo to start a Tapestry Developing, do you have? On 3/14/07, Hugo Palma <[EMAIL PROTECTED]> wrote: For the Eclipse + Tapestry part i recommend Kent's book(http://www.agileskills2.org/EWDT/index.html), it's not free not in my opinion very worth the money. As for Maven

Re: Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Hugo Palma
For the Eclipse + Tapestry part i recommend Kent's book(http://www.agileskills2.org/EWDT/index.html), it's not free not in my opinion very worth the money. As for Maven, you should download this free book http://www.mergere.com/m2book_download.jsp. With this you should be up and running very q

Re: [OT] Problem switching from jboss to jetty - Need help!

2007-03-14 Thread jake123
Hi, I have tried to figure this one out, but so far no luck... I have deleted the only jboss specific jar file I had in my project and now I am s close to have my application work in jetty... but this last error... I cant find anything about it in google that makes sens... Here is the entir

Eclipse + Maven2 + Tapestry 4.0.2

2007-03-14 Thread Bruno Mignoni
Does Anybody have a Tutorial to start a developing with Eclipse + Maven2 + Tapestr 4.0.2? I am beginer in Tapestry + Java and I use Eclipse + WTP and is very slow. Tks -- __ Bruno Mignoni [EMAIL PROTECTED]

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread Howard Lewis Ship
Yes, mostly. Eclipse just has the one .classpath/.project file to identify all the source paths and libraries for a module; it doesn't have a concept of a "nested" project with its own .classpath/.project. It'll fight you on this! Meanwhile, the pom.xml for the project doesn't have all the depen

Select/Option not working with Ajax in IE6

2007-03-14 Thread Diego
I want to have a list where I can select muliple values and then update some overview of the selected items by means of Ajax. This works in firefox, but it doesn't work in IE6. I use the EventListener to bind the dojo event and its with Tapestry 4.1.1. Anybody know how this could work in IE6 too?

How to include DOCTYPE?

2007-03-14 Thread Kovács István
Hi, I'm playing with Tapestry 5 (thanks Davor for getting me started!). I need to include a DOCTYPE in my HTML. The t5-tutorial says it's possible ("Templates may even have a DOCTYPE or an XML schema to validate the structure of the template."); however, if I include a DOCTYPE in my template, it'

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread D&J Gredler
I've wondered about this, too. I think there are benefits to the modular design even if the version numbers are kept in sync -- in fact, I think keeping the version numbers in sync makes it easier for users to decide what bits they need, since the decision is based only on required functionality,

Re: How to include DOCTYPE?

2007-03-14 Thread D&J Gredler
https://issues.apache.org/jira/browse/TAPESTRY-1264 On 3/14/07, Kovács István <[EMAIL PROTECTED]> wrote: Hi, I'm playing with Tapestry 5 (thanks Davor for getting me started!). I need to include a DOCTYPE in my HTML. The t5-tutorial says it's possible ("Templates may even have a DOCTYPE or an

Re: Tapestry Wizard Component

2007-03-14 Thread Andrea Chiumenti
Thank you, for the code I'll take a look at it the next few days. You are right that the jfly project doesn't inspire you very much, but the edit table is taking a lot of time and it will be very important for my future projects (it can be used for invoicnig for example). I also have a couple of

Re: How to include DOCTYPE?

2007-03-14 Thread Robert Zeigler
Pretty sure this isn't supported yet. See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.html Under "Dom Classes", Document, there's a "todo" that includes doctype support. Robert On Mar 14, 2007, at 3/1410:46 AM , Kovács István wrote: Hi, I'm playing with Tapestry 5 (thanks

Re: How to include DOCTYPE?

2007-03-14 Thread Kovács István
Thanks for the reply. As it turns out, the problem was with my CSS. On 14/03/07, Robert Zeigler <[EMAIL PROTECTED]> wrote: Pretty sure this isn't supported yet. See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.html Under "Dom Classes", Document, there's a "todo" that includes do

Re: Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Andrea, Additionally... to make this thing commercial grade... It would be nice to have a 100% width header bar at the top of the wizard with the contigious linear layout of all states connected to each other by arrows --> across the top whereby the current state is highlighted in bright gree

Re: [OT] [T5] tapestry project structure

2007-03-14 Thread Howard Lewis Ship
This is more compatible with Eclipse; Eclipse can't handle a nested project structure. In addition, I expect that the release numbers of some of the sub-projects will "decouple". That is, tapestry-spring may become stable at, say, 5.0.4 and we'll leave it alone as we rev tapestry-core up to, say

Re: Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Dude, I attached the java files for a struts prototype. Not to confuse you but to give you a fresh idea of the composition of the interfaces. I am extremely picky about clean understandable functional concise interfaces that model the natural world. But this is a fun task. And if you nail i

Re: [OT] Problem switching from jboss to jetty - Need help!

2007-03-14 Thread Andrea Chiumenti
I think you have to check you project dependency libraries under eclipse. kiuma On 3/14/07, jake123 <[EMAIL PROTECTED]> wrote: Hi, I having a problem when I switching my development environment from running on JBoss 4.0.4.GA to jetty-5.1.12. I am using Eclipse 3.2.2 and the jetty launcher plug

[OT] Problem switching from jboss to jetty - Need help!

2007-03-14 Thread jake123
Hi, I having a problem when I switching my development environment from running on JBoss 4.0.4.GA to jetty-5.1.12. I am using Eclipse 3.2.2 and the jetty launcher plugin. when I try to run my application with jetty launcher everything goes well until the end when jetty is starting up the servlet..

Re: Tapestry Wizard Component

2007-03-14 Thread Andrea Chiumenti
Ken, You have just given to me a very nice idea for the next web component I'll add to jfly as soon as I'll finish the JFlyEditTable. Thx for the idea, kiuma On 3/14/07, Ken nashua <[EMAIL PROTECTED]> wrote: Folks, Does there exist a Wizard component anywhere. I am hoping tapestry can accomo

Tapestry Wizard Component

2007-03-14 Thread Ken nashua
Folks, Does there exist a Wizard component anywhere. I am hoping tapestry can accomodate a better widget model for this kind of component. Struts turned out to be disorderly and sprawled. The wizard I would like is a wizard that can operate it's states off of a database so that in the event

[OT] [T5] tapestry project structure

2007-03-14 Thread Dan Adams
I noticed in the tapestry sources that while it's a multi-module maven project, all of the modules are at the same level in the source tree and each have their own set of branches/tags/trunk folders rather than having each module contained within it's parent module. What have you found to be the ad

T4.1.1: Encoding problem with assets

2007-03-14 Thread Inge Solvoll
I recently upgraded from 4.0 to 4.1.1, and have solved most problems except one: The inclusion of dojo and tapestry javascript libraries from the classpath of tapestry-framework.jar doesn't work. I've narrowed the problem down to encoding. When I try to open the script file in the browser using h

Re: Catch 22 - Tapestry5 vs Maven (vs me)

2007-03-14 Thread Davor Hrg
you should try mvn archetype:create ↵ -DarchetypeGroupId=org.apache.tapestry ↵ -DarchetypeArtifactId=tapestry-simple ↵ -DgroupId=org.example ↵ -DartifactId=hilo ↵ -DpackageName=org.example.hilo ↵ -DarchetypeVersion=5.0.2 it works fine, 5.0.3-SNAPSHOT is curently being changed rapidly after you

Catch 22 - Tapestry5 vs Maven (vs me)

2007-03-14 Thread Kovács István
Hi, I've tried the "hilo" example given in the Tapestry5 tutorial (which is also the first time I used Maven). The build failed: mvn.bat archetype:create -DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository/ -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickst

JFlyEditTable update

2007-03-14 Thread Andrea Chiumenti
Hello everybody, A new demo of JFlyEditTable for Tapestry 4.1.1 is present at http://www.wingstech.com/JFlyDemo The component now can incorporates custom widgets into cells when in edit mode as demonstrated here http://www.wingstech.com/JFlyDemo/BrokenGrid.page The grid still has some bugs: 1) i

Re: Stopping validators if translator fails

2007-03-14 Thread Markus Joschko
Yes it's clientside. I got the message and added it to jira: https://issues.apache.org/jira/browse/TAPESTRY-1351 On 3/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Is this client or server? I'm not certain that I've made the distinction between translators / validators on the client side yet.