[jira] Created: (TAP5-490) Broken link at Ajax docs

2009-01-31 Thread Borut Bolcina (JIRA)
Broken link at Ajax docs


 Key: TAP5-490
 URL: https://issues.apache.org/jira/browse/TAP5-490
 Project: Tapestry 5
  Issue Type: Bug
  Components: documentation
Affects Versions: 5.0.18
Reporter: Borut Bolcina


At http://tapestry.apache.org/tapestry5/guide/ajax.html there is a broken link 
http://tapestry.apache.org/tapestry5/component-parameters.html for component 
reference in Autocomplete mixin section.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TAP5-486) Switch Tapestry's built-in JavaScript support from Prototype to jQuery

2009-01-31 Thread Joost Schouten (JIRA)

[ 
https://issues.apache.org/jira/browse/TAP5-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12669197#action_12669197
 ] 

Joost Schouten commented on TAP5-486:
-

A switch would mean a lot of work on a few project for me too. So a switch 
would not get my vote. One thing that I would find interesting is to change the 
tapestry.js, and some of the other included *.js files into an thin interface 
like wrapper that does not rely on any framework. Then pull out all javascript 
into a seperate module and contribute the javascript module of your choice.

This way nothing needs to change from the way it currently works with prototype 
(assuming prototype as the default), but it does allow to plug in any other 
framework, like jQuery or MooTools. Martin Reurings actually proposed a 
similair solution back in 2007 

http://mail-archives.apache.org/mod_mbox/tapestry-dev/200710.mbox/%3cof6624565c.dad9ba14-onc1257369.00426459-c1257369.00440...@porsche.co.at%3e

Cheers,
Joost

 Switch Tapestry's built-in JavaScript support from Prototype to jQuery
 --

 Key: TAP5-486
 URL: https://issues.apache.org/jira/browse/TAP5-486
 Project: Tapestry 5
  Issue Type: Improvement
  Components: tapestry-core
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship

 Like rats deserting a sinking ship ...
 This is not a definitive requirement; I've created this issue to promote 
 discussion.
 It's quite likely that a move like this could be accomplished quite smoothly 
 for users who are meerly consumers of JavaScript components; authors of 
 JavaScript components would have to make some changes.
 Possibly we should code the jQuery stack from the get-go to NOT use the $() 
 method, but instead use j$(). That extra character to type could make all the 
 difference is allowing a smooth upgrade, where jQuery becomes the default, 
 but prototype/scriptaculous can still be used.
 Possibly a new annotation, @PrototypeSupport for components to ensure that 
 the Prototype libraries are available for compatibility?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (TAP5-481) Quickstart archetype should include a test scope dependency on tapestry-test

2009-01-31 Thread Howard M. Lewis Ship (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship reassigned TAP5-481:
-

Assignee: Howard M. Lewis Ship

 Quickstart archetype should include a test scope dependency on tapestry-test
 

 Key: TAP5-481
 URL: https://issues.apache.org/jira/browse/TAP5-481
 Project: Tapestry 5
  Issue Type: Improvement
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship
Priority: Minor



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TAP5-491) Quickstart archetype build should generate an archetype-catalog.xml into Tapestry360's maven-repository or maven-snapshot-repository, to faciliate the use of the mvn archety

2009-01-31 Thread Howard M. Lewis Ship (JIRA)
Quickstart archetype build should generate an archetype-catalog.xml into 
Tapestry360's maven-repository or maven-snapshot-repository, to faciliate the 
use of the mvn archetype:generate goal
-

 Key: TAP5-491
 URL: https://issues.apache.org/jira/browse/TAP5-491
 Project: Tapestry 5
  Issue Type: New Feature
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship


mvn archetype:generate uses an archetype-catalog.xml file to identify which 
archetypes can be generated (it then parses for additional properties needed to 
generate the project).  There's an 'internal list (which Tapestry's Quickstart 
is not yet part of) and a way to include additional catalogs on the command 
line.  We need the build to generate that catalog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (TAP5-458) Tapestry quickstart should include a basic, but visually pleasing, Layout component.

2009-01-31 Thread Howard M. Lewis Ship (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship reassigned TAP5-458:
-

Assignee: Howard M. Lewis Ship

 Tapestry quickstart should include a basic, but visually pleasing, Layout 
 component.
 

 Key: TAP5-458
 URL: https://issues.apache.org/jira/browse/TAP5-458
 Project: Tapestry 5
  Issue Type: Improvement
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (TAP5-491) Quickstart archetype build should generate an archetype-catalog.xml into Tapestry360's maven-repository or maven-snapshot-repository, to faciliate the use of the mvn archetyp

2009-01-31 Thread Howard M. Lewis Ship (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAP5-491.
-

Fix Version/s: 5.1.0.0
   Resolution: Fixed

 Quickstart archetype build should generate an archetype-catalog.xml into 
 Tapestry360's maven-repository or maven-snapshot-repository, to faciliate the 
 use of the mvn archetype:generate goal
 -

 Key: TAP5-491
 URL: https://issues.apache.org/jira/browse/TAP5-491
 Project: Tapestry 5
  Issue Type: New Feature
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship
 Fix For: 5.1.0.0


 mvn archetype:generate uses an archetype-catalog.xml file to identify which 
 archetypes can be generated (it then parses for additional properties needed 
 to generate the project).  There's an 'internal list (which Tapestry's 
 Quickstart is not yet part of) and a way to include additional catalogs on 
 the command line.  We need the build to generate that catalog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (TAP5-458) Tapestry quickstart should include a basic, but visually pleasing, Layout component

2009-01-31 Thread Howard M. Lewis Ship (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAP5-458.
-

Fix Version/s: 5.1.0.0
   Resolution: Fixed

 Tapestry quickstart should include a basic, but visually pleasing, Layout 
 component
 ---

 Key: TAP5-458
 URL: https://issues.apache.org/jira/browse/TAP5-458
 Project: Tapestry 5
  Issue Type: Improvement
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship
 Fix For: 5.1.0.0




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (TAP5-479) Quickstart archetype should include a basic site.xml and index.apt

2009-01-31 Thread Howard M. Lewis Ship (JIRA)

 [ 
https://issues.apache.org/jira/browse/TAP5-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Howard M. Lewis Ship closed TAP5-479.
-

Fix Version/s: 5.1.0.0
   Resolution: Fixed

 Quickstart archetype should include a basic site.xml and index.apt
 --

 Key: TAP5-479
 URL: https://issues.apache.org/jira/browse/TAP5-479
 Project: Tapestry 5
  Issue Type: Improvement
  Components: quickstart
Affects Versions: 5.1.0.0
Reporter: Howard M. Lewis Ship
Assignee: Howard M. Lewis Ship
Priority: Minor
 Fix For: 5.1.0.0




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



svn commit: r739646 - in /tapestry/tapestry5/trunk: quickstart/src/site/apt/ tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/ tapestry-core/src/main/java/org/apache/tapestry5/internal

2009-01-31 Thread hlship
Author: hlship
Date: Sat Jan 31 22:40:14 2009
New Revision: 739646

URL: http://svn.apache.org/viewvc?rev=739646view=rev
Log:
TAP5-79: Improve Tapestry's property expression language to include OGNL-like 
features

Added:

tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/antlr/BaseParser.java
Modified:
tapestry/tapestry5/trunk/quickstart/src/site/apt/index.apt

tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionParser.g

tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/antlr/BaseLexer.java

tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImpl.java

tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/PropertyConduitSourceImplTest.java

Modified: tapestry/tapestry5/trunk/quickstart/src/site/apt/index.apt
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/src/site/apt/index.apt?rev=739646r1=739645r2=739646view=diff
==
--- tapestry/tapestry5/trunk/quickstart/src/site/apt/index.apt (original)
+++ tapestry/tapestry5/trunk/quickstart/src/site/apt/index.apt Sat Jan 31 
22:40:14 2009
@@ -11,75 +11,53 @@
   What you end up with is a basic Maven project, ready to build and deploy.
   
   First, you must decide on your group id, artifact id, and version number. 
For example, let's choose org.example for our group id,
-  myapp for the artifactId, and 1.0.0-SNAPSHOT for the version number. 
 We also need a root package name, which we'll create by combining the group id
+  myapp for the artifactId, and 1.0-SNAPSHOT for the version number.  
We also need a root package name, which we'll create by combining the group id
   and the artifact id.
   
-  From the command line, you execute the following command (it's a bit of a 
doozy):
-  
-  mvn archetype:create -DarchetypeGroupId=org.apache.tapestry 
-DarchetypeArtifactId=quickstart -DgroupId=org.example 
-DartifactId=myapp -DpackageName=org.example.myapp 
-Dversion=1.0.0-SNAPSHOT
-  
-  Maven will use the information from that massive command line to locate and 
configure the archetype, and produce the project:
-  
+  From the command line, you execute the following command:
+
+  mvn archetype:generate 
-DarchetypeCatalog=http://tapestry.formos.com/maven-snapshot-repository
+
+  Maven uses the archetypeCatalog to get a list of available archetypes; in 
this case, the only option is the Tapestry Quickstart.
+  It will then ask you to enter the groupId, artifactId, version, and package.
+
 +---+
-$ mvn archetype:create -DarchetypeGroupId=org.apache.tapestry 
-DarchetypeArtifactId=quickstart -DgroupId=org.example -DartifactId=myapp 
-DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT
+$ mvn archetype:generate 
-DarchetypeCatalog=http://tapestry.formos.com/maven-snapshot-repository
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
-[INFO] 

+[INFO] 
 [INFO] Building Maven Default Project
-[INFO]task-segment: [archetype:create] (aggregator-style)
-[INFO] 

+[INFO]task-segment: [archetype:generate] (aggregator-style)
+[INFO] 
+[INFO] Preparing archetype:generate
+[INFO] No goals needed for project - skipping
 [INFO] Setting property: classpath.resource.loader.class = 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
 [INFO] Setting property: velocimacro.messages.on = 'false'.
 [INFO] Setting property: resource.loader = 'classpath'.
 [INFO] Setting property: resource.manager.logwhenfound = 'false'.
-[INFO] ** 
-[INFO] Starting Jakarta Velocity v1.4
-[INFO] RuntimeInstance initializing.
-[INFO] Default Properties File: 
org/apache/velocity/runtime/defaults/velocity.properties
-[INFO] Default ResourceManager initializing. (class 
org.apache.velocity.runtime.resource.ResourceManagerImpl)
-[INFO] Resource Loader Instantiated: 
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
-[INFO] ClasspathResourceLoader : initialization starting.
-[INFO] ClasspathResourceLoader : initialization complete.
-[INFO] ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.ResourceCacheImpl)
-[INFO] Default ResourceManager initialization complete.
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
-[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
-[INFO] Loaded System