Re: T5: CMS based on T5

2008-12-24 Thread Bouiaw
We have started to implement a Tapestry 5 frontend on Igenko (
http://code.google.com/p/igenko/) CMS/eCommerce solution.
I think I will commit the first Tapestry 5 prototype module in a few weeks.

The core of the CMS is based on Java Content Repository and Spring. The
backoffice is developped in Flex
Front website will be created dynamically from the backoffice, and there
will be 2 kind of websites : Tapestry 5 or Flex
You can see more details on our architecture on
http://code.google.com/p/igenko/wiki/IgenkoArchitecture

For the Tapestry 5 websites, templates will be created in Backoffice and
will be saved and loaded dynamically from the Java Content Repository. Page
layout will also be designed in the Backoffice. We plan to play with Groovy
to allow to customize the Page classes

Maybe we can base website implementation on ChenilleKit (
http://www.chenillekit.org/chenillekit-template/index.html) or Trails (
http://www.trailsframework.org/) frameworks.

It is not in our roadmap but Igenko Java core could also be used to
implement a Tapestry 5 bakcoffice in order to have a full Tapestry 5
solution without Flex GUI.

The Igenko Tapestry 5 integration just begin, feel free to join !

On Wed, Dec 24, 2008 at 8:28 AM, Angelo Chen angelochen...@yahoo.com.hkwrote:


 Hi,

 Is there a CMS based on T5? or actually we don't need a CMS when using T5?

 Angelo
 --
 View this message in context:
 http://www.nabble.com/T5%3A-CMS-based-on-T5-tp21156268p21156268.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




BeanEditForm Screencast

2008-12-24 Thread hemen

Hi,
I am new to Tapestry. I have made two or more demo application for
tapestry5. in Tomcat5.5 and eclipse plugin splindle and the greatest help of
the ScreenCast of Howard
(http://tapestry.apache.org/tapestry5/screencast.html)...

But in the 4th screencast for  the beaneditForm it will not display any
thing on the page..
i.e. there is no component display on the form page...  as i have
written 
form t:type=beaneditform Object=registration / in Home.html 
actually i cant found, what is missing ?

CODE: Home.html
   html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
xmlns:p=tapestry:parameter
   head
/head
body
 form t:type=beaneditform Object=registration /
/body
   /html


  CODE:Home.java
  package com.hemen.page;

import org.apache.tapestry.html.BasePage;
import org.apache.tapestry5.annotations.ApplicationState;

import com.semaphore.data.Registration;

public abstract class Home extends BasePage {
@ApplicationState
private Registration registration;

public Registration getRegistration(){
return registration;
}

public void setRegistration(Registration registration) {
this.registration = registration;
}

}

CODE Home.page
?xml version=1.0 encoding=UTF-8?
!DOCTYPE page-specification PUBLIC
  -//Apache Software Foundation//Tapestry Specification 3.0//EN
  http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd;
!-- generated by Spindle, http://spindle.sourceforge.net --

page-specification class=com.hemen.page.Home
/page-specification


So suggest me...
And also suggest about some useful tutorial with example
As all the books are paid (No Free ebooks are available for tapestry though
its opensource)
-- 
View this message in context: 
http://www.nabble.com/BeanEditForm-Screencast-tp21156843p21156843.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: BeanEditForm Screencast

2008-12-24 Thread SergeEby

Hi,

You are mixing Tapestry 5 and Tapestry 4. From the snippet below, here are a
few problems:
- The templates in T5 have a .tml as extension 
- There is no spec file.
- Your packages are incorrect (should be .pages)
-  Pages are not abstract
- The BasePage you are extending doesn't exist in T5

BTW, Spindle doesn't work for T5.
 
I would suggest you go through the tapestry 5 notes first and tutorial #1. 
Then, focus on the BeanEditForm component. 
For Tapestry 5, There is a dedicated guide here: 
http://tapestry.apache.org/tapestry5/guide/beaneditform.html

And there is an example in the component reference:

http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.html


/Serge


hemen wrote:
 
 Hi,
 I am new to Tapestry. I have made two or more demo application for
 tapestry5. in Tomcat5.5 and eclipse plugin splindle and the greatest help
 of the ScreenCast of Howard
 (http://tapestry.apache.org/tapestry5/screencast.html)...
 
 But in the 4th screencast for  the beaneditForm it will not display
 any thing on the page..
 i.e. there is no component display on the form page...  as i have
 written 
 form t:type=beaneditform Object=registration / in
 Home.html 
 actually i cant found, what is missing ?
 
 CODE: Home.html
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 xmlns:p=tapestry:parameter
head
 /head
 body
  form t:type=beaneditform Object=registration /
 /body
/html
 
 
   CODE:Home.java
   package com.hemen.page;
 
 import org.apache.tapestry.html.BasePage;
 import org.apache.tapestry5.annotations.ApplicationState;
 
 import com.hemen.data.Registration;
 
 public abstract class Home extends BasePage {
   @ApplicationState
   private Registration registration;
   
   public Registration getRegistration(){
   return registration;
   }
 
   public void setRegistration(Registration registration) {
   this.registration = registration;
   }
 
 }
 
 CODE Home.page
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE page-specification PUBLIC
   -//Apache Software Foundation//Tapestry Specification 3.0//EN
   http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd;
 !-- generated by Spindle, http://spindle.sourceforge.net --
 
 page-specification class=com.hemen.page.Home
 /page-specification
 
 
 So suggest me...
 And also suggest about some useful tutorial with example
 As all the books are paid (No Free ebooks are available for tapestry
 though its opensource)
 

-- 
View this message in context: 
http://www.nabble.com/BeanEditForm-Screencast-tp21156843p21156850.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: BeanEditForm Screencast

2008-12-24 Thread hemen

Thanks SergeEby,

 Please suggest me the eclipse plugins for the tapestry-5. 
 Actually right now i m using context... for run the project in tomcat
-5...
 And Any other tutorial which will guide from the begining for
tapestry-5.

Hemen.
  

SergeEby wrote:
 
 Hi,
 
 You are mixing Tapestry 5 and Tapestry 4. From the snippet below, here are
 a few problems:
 - The templates in T5 have a .tml as extension 
 - There is no spec file.
 - Your packages are incorrect (should be .pages)
 -  Pages are not abstract
 - The BasePage you are extending doesn't exist in T5
 
 BTW, Spindle doesn't work for T5.
  
 I would suggest you go through the tapestry 5 notes first and tutorial #1. 
 Then, focus on the BeanEditForm component. 
 For Tapestry 5, There is a dedicated guide here: 
 http://tapestry.apache.org/tapestry5/guide/beaneditform.html
 
 And there is an example in the component reference:
 
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.html
 
 
 /Serge
 
 
 hemen wrote:
 
 Hi,
 I am new to Tapestry. I have made two or more demo application for
 tapestry5. in Tomcat5.5 and eclipse plugin splindle and the greatest help
 of the ScreenCast of Howard
 (http://tapestry.apache.org/tapestry5/screencast.html)...
 
 But in the 4th screencast for  the beaneditForm it will not display
 any thing on the page..
 i.e. there is no component display on the form page...  as i have
 written 
 form t:type=beaneditform Object=registration / in
 Home.html 
 actually i cant found, what is missing ?
 
 CODE: Home.html
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
 xmlns:p=tapestry:parameter
head
 /head
 body
  form t:type=beaneditform Object=registration /
 /body
/html
 
 
   CODE:Home.java
   package com.hemen.page;
 
 import org.apache.tapestry.html.BasePage;
 import org.apache.tapestry5.annotations.ApplicationState;
 
 import com.hemen.data.Registration;
 
 public abstract class Home extends BasePage {
  @ApplicationState
  private Registration registration;
  
  public Registration getRegistration(){
  return registration;
  }
 
  public void setRegistration(Registration registration) {
  this.registration = registration;
  }
 
 }
 
 CODE Home.page
 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE page-specification PUBLIC
   -//Apache Software Foundation//Tapestry Specification 3.0//EN
   http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd;
 !-- generated by Spindle, http://spindle.sourceforge.net --
 
 page-specification class=com.hemen.page.Home
 /page-specification
 
 
 So suggest me...
 And also suggest about some useful tutorial with example
 As all the books are paid (No Free ebooks are available for tapestry
 though its opensource)
 
 
 

-- 
View this message in context: 
http://www.nabble.com/BeanEditForm-Screencast-tp21156843p21156853.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: BeanEditForm Screencast

2008-12-24 Thread Borut BolĨina
The only eclipse plugin for T5 is http://code.google.com/p/loom-t5/

Check this blog http://bbwebcraft.blogspot.com/ for first steps.

-bob

2008/12/24 hemen hemen.punj...@googlemail.com


 Thanks SergeEby,

 Please suggest me the eclipse plugins for the tapestry-5.
 Actually right now i m using context... for run the project in tomcat
 -5...
 And Any other tutorial which will guide from the begining for
 tapestry-5.

 Hemen.


 SergeEby wrote:
 
  Hi,
 
  You are mixing Tapestry 5 and Tapestry 4. From the snippet below, here
 are
  a few problems:
  - The templates in T5 have a .tml as extension
  - There is no spec file.
  - Your packages are incorrect (should be .pages)
  -  Pages are not abstract
  - The BasePage you are extending doesn't exist in T5
 
  BTW, Spindle doesn't work for T5.
 
  I would suggest you go through the tapestry 5 notes first and tutorial
 #1.
  Then, focus on the BeanEditForm component.
  For Tapestry 5, There is a dedicated guide here:
  http://tapestry.apache.org/tapestry5/guide/beaneditform.html
 
  And there is an example in the component reference:
 
 
 http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.html
 
 
  /Serge
 
 
  hemen wrote:
 
  Hi,
  I am new to Tapestry. I have made two or more demo application for
  tapestry5. in Tomcat5.5 and eclipse plugin splindle and the greatest
 help
  of the ScreenCast of Howard
  (http://tapestry.apache.org/tapestry5/screencast.html).http://tapestry.apache.org/tapestry5/screencast.html%29.
 ..
 
  But in the 4th screencast for  the beaneditForm it will not display
  any thing on the page..
  i.e. there is no component display on the form page...  as i have
  written
  form t:type=beaneditform Object=registration / in
  Home.html
  actually i cant found, what is missing ?
 
  CODE: Home.html
 html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
  xmlns:p=tapestry:parameter
 head
  /head
  body
   form t:type=beaneditform Object=registration /
  /body
 /html
 
 
CODE:Home.java
package com.hemen.page;
 
  import org.apache.tapestry.html.BasePage;
  import org.apache.tapestry5.annotations.ApplicationState;
 
  import com.hemen.data.Registration;
 
  public abstract class Home extends BasePage {
   @ApplicationState
   private Registration registration;
 
   public Registration getRegistration(){
   return registration;
   }
 
   public void setRegistration(Registration registration) {
   this.registration = registration;
   }
 
  }
 
  CODE Home.page
  ?xml version=1.0 encoding=UTF-8?
  !DOCTYPE page-specification PUBLIC
-//Apache Software Foundation//Tapestry Specification 3.0//EN
http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd;
  !-- generated by Spindle, http://spindle.sourceforge.net --
 
  page-specification class=com.hemen.page.Home
  /page-specification
 
 
  So suggest me...
  And also suggest about some useful tutorial with example
  As all the books are paid (No Free ebooks are available for tapestry
  though its opensource)
 
 
 

 --
 View this message in context:
 http://www.nabble.com/BeanEditForm-Screencast-tp21156843p21156853.html
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org




Does the onActivate method can't return a Page?

2008-12-24 Thread d0ng
Hi,
I have a page that's used to redirect request to other page in some
case,but I don't make it work well.
For example,in the test code the Index page can't be render and there is
nothing to output.

public class Test {
@InjectPage
private Index index;

public Object onActivate() {
return index;
}
}

Does anyone know why?

Thanks.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



RE: Tapestry Upgrade problem

2008-12-24 Thread Mike Wasserman
I've tried with JDK 1.5.0_10 and JDK 1.5.0_17 and I am experiencing the
same problem with both.
The Selenium tests are hitting the app pretty hard and I'm wondering if
it's causing a threading problem within Tapestry.
Isn't the component creation multi-threaded?
 

-Original Message-
From: Howard Lewis Ship [mailto:hls...@gmail.com] 
Sent: Tuesday, December 23, 2008 2:00 PM
To: Tapestry users
Subject: Re: Tapestry Upgrade problem

What JDK are you running on?

On Tue, Dec 23, 2008 at 10:50 AM, Mike Wasserman
mike.wasser...@intelliware.ca wrote:
 I am upgrading from Tapestry 4.1.2 to Tapestry 4.1.6.
 When I run my integration tests (using Selenium) I am get a error
randomly.
 I receive a org.apache.hivemind.ApplicationRuntimeException that
indicates that given component (page) does not contain a component
shell.
 All of the affected pages have html jwcid=shell which leads me to
believe that I have specified a shell component.
 I have tracked the problem into the PageLoader class, but since the
problem is random it is very difficult to debug.
 Is it possible that this is a threading problem?

 Can anyone help?

 Mike




--
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Tapestry Upgrade problem

2008-12-24 Thread Andreas Andreou
So, you weren't seeing this problem with 4.1.2 ?

I'd be interesting if you could try with a 1.6 VM, but apart from that
and since you're getting this consistently, i'm wondering if you can try this
(which is based on some old reports I remember reading here):
- Start your app and before running the tests, try to visit all the affected
pages by hand (making sure they load fine) and only then fire the tests.
Do you see problems after that?

On Wed, Dec 24, 2008 at 8:16 PM, Mike Wasserman
mike.wasser...@intelliware.ca wrote:
 I've tried with JDK 1.5.0_10 and JDK 1.5.0_17 and I am experiencing the
 same problem with both.
 The Selenium tests are hitting the app pretty hard and I'm wondering if
 it's causing a threading problem within Tapestry.
 Isn't the component creation multi-threaded?


 -Original Message-
 From: Howard Lewis Ship [mailto:hls...@gmail.com]
 Sent: Tuesday, December 23, 2008 2:00 PM
 To: Tapestry users
 Subject: Re: Tapestry Upgrade problem

 What JDK are you running on?

 On Tue, Dec 23, 2008 at 10:50 AM, Mike Wasserman
 mike.wasser...@intelliware.ca wrote:
 I am upgrading from Tapestry 4.1.2 to Tapestry 4.1.6.
 When I run my integration tests (using Selenium) I am get a error
 randomly.
 I receive a org.apache.hivemind.ApplicationRuntimeException that
 indicates that given component (page) does not contain a component
 shell.
 All of the affected pages have html jwcid=shell which leads me to
 believe that I have specified a shell component.
 I have tracked the problem into the PageLoader class, but since the
 problem is random it is very difficult to debug.
 Is it possible that this is a threading problem?

 Can anyone help?

 Mike




 --
 Howard M. Lewis Ship

 Creator Apache Tapestry and Apache HiveMind

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org





-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



tapestry jruby integration.

2008-12-24 Thread hari ks
Hi,

  Is there tapestry integration with jruby for  a backing .rb file(instead of 
.java). (Like jsf/glassfish+jruby integration)

Thanks  Cegards,
Hari Sujathan.




  

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org