Re: I'd like to generate valid XHTML

2008-09-12 Thread Luther Baker
To help me output XHTML ... here are 3 classes. Most of the code below came from the wiki. I updated a few generic class references. You'll want to put these in the (root)**.services package. -Luther import java.io.IOException; import org.apache.tapestry5.*; import

[T 4.1.6] maven warning: tapestry-annotations pom invalid

2008-09-12 Thread Andy Pahne
When I tried to a project with the 4.1.6 release, maven gives me this error: [WARNING] POM for 'org.apache.tapestry:tapestry-annotations:pom:4.1.6:compile' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for project org.apache.tapestry:tapestry-annotations

html code complete for eclipse??

2008-09-12 Thread jimmy6
how to add code complete for html in eclipse?? i am using tapestry5 -- View this message in context: http://www.nabble.com/html-code-complete-for-eclipse---tp19452190p19452190.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: html code complete for eclipse??

2008-09-12 Thread Carl Crowder
Aptana does code completion for HTML and CSS etc. http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration You just have to make sure the tapestry .tml files are associated with its editor - go to General - Editor - File Associations in preferences to set that.

Re: html code complete for eclipse??

2008-09-12 Thread jimmy6
Carl Crowder wrote: Aptana does code completion for HTML and CSS etc. http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration You just have to make sure the tapestry .tml files are associated with its editor - go to General - Editor - File

RE: tapestry-4.1.6-final

2008-09-12 Thread Ken in nashua
Sounds like the poms need to be edited. Nice features and improvements and fixes Marcus. Looking forward to 4.1.7.Best regards Ken in nashua From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: tapestry-4.1.6-finalDate: Thu, 11 Sep 2008 18:14:23 -0400 Folks, Can someone explain why

Re: T5: Access control dispatcher not working

2008-09-12 Thread Hugo Palma
Actually it's the other way around. You should return true from the dispatch method when you want to redirect. The javadoc for the dispatch method states: @return true if a response was delivered, false if the servlet container should be allowed to handle the request Inge Solvoll wrote: Hi!

http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Which servers do I need to add so that maven runs through? Missing: -- 1) org.apache.tapestry:tapestry-upload:jar:5.0.15-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Hugo Palma
Add this to your pom: repositories !-- Tapestry Snapshots -- repository idtapestry-snapshots/id urlhttp://tapestry.formos.com/maven-snapshot-repository//url /repository /repositories [EMAIL PROTECTED] wrote: Which servers do I need to add so that

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Ulrich Stärk
Or add -DremoteRepositories=http://tapestry.formos.com/maven-snapshot-repository/ to your command line call. Uli Hugo Palma schrieb: Add this to your pom: repositories !-- Tapestry Snapshots -- repository idtapestry-snapshots/id

Re: [T 4.1.6] maven warning: tapestry-annotations pom invalid

2008-09-12 Thread Marcus Schulte
Oops, the POM is missing in the repo. Never trust maven when it tells you build successful ... I will upload the missing POM this evening. Marcus 2008/9/12 Andy Pahne [EMAIL PROTECTED] When I tried to a project with the 4.1.6 release, maven gives me this error: [WARNING] POM for

Re: T5: Access control dispatcher not working

2008-09-12 Thread Inge Solvoll
Ahh! RTFM. Thank you for not yelling :) On Fri, Sep 12, 2008 at 11:55 AM, Hugo Palma [EMAIL PROTECTED] wrote: Actually it's the other way around. You should return true from the dispatch method when you want to redirect. The javadoc for the dispatch method states: @return true if a response

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
mvn install and mvn clean mvn install mvn eclipse:eclipse works, but somehow Eclipse does not recognize is when I want to import it...athough there is a project file: projectDescription nametapestry/name commentA Component Approach to WEB development/comment projects/ buildSpec

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Sven Homburg
sorry, but i dont know anything about eclipse 2008/9/12 [EMAIL PROTECTED] mvn install and mvn clean mvn install mvn eclipse:eclipse works, but somehow Eclipse does not recognize is when I want to import it...athough there is a project file: projectDescription nametapestry/name

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
but mvn install from the command line should work Original-Nachricht Datum: Fri, 12 Sep 2008 14:34:36 +0200 Von: Sven Homburg [EMAIL PROTECTED] An: Tapestry users users@tapestry.apache.org Betreff: Re: http://tapestry.apache.org/tapestry5/tutorial1/ sorry, but i dont

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Thanks, now I am only stuck here: Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-s erver-coreless/1.0-beta-1/selenium-server-coreless-1.0-beta-1.pom [INFO] [compiler:compile] [INFO] Compiling 17 source files to H:\java\t5\tutorials\tapestry5-training-shar

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Sven Homburg
how do you call maven (commandline options) 2008/9/12 [EMAIL PROTECTED] Thanks, now I am only stuck here: Downloading: http://repo1.maven.org/maven2/org/openqa/selenium/server/selenium-s

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Sven Homburg
yes, and it does, with fresh downloaded archive on an never touched workstation D:\usr\homburg\java\tapestry5-training-sharedmvn clean package [INFO] Scanning for projects... [INFO] [INFO] Building Tapestry 5 - Training

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread superoverdrive
Ok, it worked now... However the WebContent Folder is only contained in the zip file I have copied it to the maven project - and when I start it using the WebContent as the webapps Folder, then I only see a directory Whats the webapp directory it is supposed to use? richt

Re: T5: Why does the Form component ouputs its own Zone ?

2008-09-12 Thread Howard Lewis Ship
On Thu, Sep 11, 2008 at 2:18 PM, Stephane Decleire [EMAIL PROTECTED] wrote: When the Form is successfully submitted, i want to return my component but with a different view of the data where there is no Form so my success event handler returns the component itself (by returning 'this') but with

Re: textfield error Parameter(s) 'translate' are required when displaying foreign field.

2008-09-12 Thread Howard Lewis Ship
Customer looks like an entity object. How would you present that as a single TextField? Tapestry doesn't know, either. On Thu, Sep 11, 2008 at 6:05 PM, Tan [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm newbie in tapestry, i have a problem when i want to show a foreign field value in

Re: http://tapestry.apache.org/tapestry5/tutorial1/

2008-09-12 Thread Sven Homburg
i am not sure if i understand your problem. if you call from commandline mvn clean package your target dir should resists a tapestry-1.0.0.war if you call mvn jetty:run you can point your favourite browser to http://localhost:8080/tapestry/login; the tutorial application is not running

Re: [T5 5.0.14] RenderSupportImpl does not add core script on #addScript(String script)

2008-09-12 Thread Howard Lewis Ship
Added as https://issues.apache.org/jira/browse/TAPESTRY-2664 On Fri, Sep 12, 2008 at 8:05 AM, Howard Lewis Ship [EMAIL PROTECTED] wrote: Good catch; please add a bug in JIRA. On Fri, Sep 12, 2008 at 7:21 AM, Kristian Marinkovic [EMAIL PROTECTED] wrote: to all Tapestry Devs :)

Re: namespace

2008-09-12 Thread Luther Baker
Ahhh ... now that does make perfect sense. Thanks Uli. On Thu, Sep 11, 2008 at 4:55 PM, Ulrich Stärk [EMAIL PROTECTED] wrote: You always have to tell the xml parser the namespace of an attribute if two attributes with the same name collide. In this case Tapestrys id attribute would collide

Re: I'd like to generate valid XHTML

2008-09-12 Thread ProAdmin Dariusz Dwornikowski
Great thx. Im now wondering why my form with FCKEditor component stopped working and the page is not rendered after the fck field. It worked before changes... t:form t:id=event t:label t:for=title/br/ input type=text t:id=title t:type=TextField t:value=title size=100/ br/br/br/

NullPointerException after update to 5.0.15-SNAPSHOT

2008-09-12 Thread Martijn Brinkers
I get a NullPointerException after update to 5.0.15 snapshot for code that worked fine with 5.0.14 Any idea what's causing the exception? Martijn Brinkers Exception info page: Failure reading parameter 'source' of component

[T4.1.5/6] Direct listener executing multiple times off single request

2008-09-12 Thread Jim
I upgraded to 4.1.6, and I still have a listener that's consistently being invoked twice off a single click. The browser is not submitting multiple requests; at this point I am pasting http://**context-path**/**page-name**,$DirectLink.sdirect?sp=1; into the address bar and the listener is

Re: NullPointerException after update to 5.0.15-SNAPSHOT

2008-09-12 Thread Martijn Brinkers
Forgot to add that I only get the exception after a form submit Martijn On Fri, 2008-09-12 at 19:13 +0200, Martijn Brinkers wrote: I get a NullPointerException after update to 5.0.15 snapshot for code that worked fine with 5.0.14 Any idea what's causing the exception? Martijn

Re: [T4.1.5/6] Direct listener executing multiple times off single request

2008-09-12 Thread Jim
When I disable caching, I get three invocations rather than two. When I disable JavaScript, I don't get any extra invocations. I've been watching net traffic in Firebug and didn't see anything that looked like it would be doing this, but at this point I'm assuming it's some unintended side

problems/warnings at maven site call

2008-09-12 Thread Sven Homburg
Hi there, since a few days i have problems to generate the project site for the core module, following warnings and errors are the result: [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for org/apache/tapestry/tapestry5-annotations/5.0.15-SNAPSHOT/maven-m etadata.xml - IGNORING

Re: problems/warnings at maven site call

2008-09-12 Thread Howard Lewis Ship
When in doubt, wipe out ~/.m2/repository and start again. On Fri, Sep 12, 2008 at 11:35 AM, Sven Homburg [EMAIL PROTECTED] wrote: Hi there, since a few days i have problems to generate the project site for the core module, following warnings and errors are the result: [WARNING] ***

Re: problems/warnings at maven site call

2008-09-12 Thread Sven Homburg
same result on two different workstations, with two different internet connections using both maven 2.0.9 2008/9/12 Howard Lewis Ship [EMAIL PROTECTED] When in doubt, wipe out ~/.m2/repository and start again. On Fri, Sep 12, 2008 at 11:35 AM, Sven Homburg [EMAIL PROTECTED] wrote: Hi

Re: problems/warnings at maven site call

2008-09-12 Thread Sven Homburg
even same result after i change back to maven 2.0.8 2008/9/12 Sven Homburg [EMAIL PROTECTED] same result on two different workstations, with two different internet connections using both maven 2.0.9 2008/9/12 Howard Lewis Ship [EMAIL PROTECTED] When in doubt, wipe out ~/.m2/repository and

Re: problems/warnings at maven site call

2008-09-12 Thread Howard Lewis Ship
Get a Mac! :-) On Fri, Sep 12, 2008 at 2:36 PM, Sven Homburg [EMAIL PROTECTED] wrote: i locate the problem: if you working with path names like C:\Dokumente und Einstellungen\shomburg\.m2\repository\ you need to surround the path with the character (sorry, forget the english word for this

Re: problems/warnings at maven site call

2008-09-12 Thread Sven Homburg
i locate the problem: if you working with path names like C:\Dokumente und Einstellungen\shomburg\.m2\repository\ you need to surround the path with the character (sorry, forget the english word for this character) i add an issue to JIRA 2008/9/12 Sven Homburg [EMAIL PROTECTED] even same

Re: problems/warnings at maven site call

2008-09-12 Thread Sven Homburg
dont smile, is on my todo list ! 2008/9/12 Howard Lewis Ship [EMAIL PROTECTED] Get a Mac! :-) On Fri, Sep 12, 2008 at 2:36 PM, Sven Homburg [EMAIL PROTECTED] wrote: i locate the problem: if you working with path names like C:\Dokumente und Einstellungen\shomburg\.m2\repository\ you

Re: problems/warnings at maven site call

2008-09-12 Thread Christian Edward Gruber
You can set your ~/.m2/settings.xml file to include localRepositoryc:/Dokume~1/shomburg/.m2/repository//localRepository This is a pretty standard issue with windows and Maven (and often windows and Java in general) Christian. On 12-Sep-08, at 17:44 , Sven Homburg wrote: dont smile, is

Re: textfield error Parameter(s) 'translate' are required when displaying foreign field.

2008-09-12 Thread Alex Kotchnev
Tan, you need to register a translator for your own class in your tapestry module. Look at the javadocs for FieldTranslator ( http://tapestry.apache.org/tapestry5/apidocs/index.html), extend the FieldTranslatorImpl and you'll be in good shape. I think there was also a way to set up a