Shell output

2007-03-09 Thread Tomić Mirko
Is it possible to remove:
!-- Application: Components --
!-- Page: layoutlib:Home --
!-- Generated: Fri Mar 09 08:29:30 CET 2007 --
from shell component output?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Library error - component in component

2007-03-09 Thread Tomic Mirko
Ok, I added references in .library file, and everything seems fine. Thank 
you.



Peter Schröder [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
i am doing this too without any problem. did you reference the nested 
library in your library-specification?

i have something like this:

- lib A component A
- lib B referencing lib A
component B using A
- application C referencing A(dont know if this is necessary)  B
component C using B

-Ursprüngliche Nachricht-
Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Tomic Mirko
Gesendet: Donnerstag, 8. März 2007 16:40
An: users@tapestry.apache.org
Betreff: Library error - component in component

I made project and two libraries. I referenced two libraries in
.application. What I tryed now is to use one component from one library in
another (both are referenced in application), and I allways get error:
Library 'xxx' not found in namespace 'yyy'. I put xxx:component and
yyy:component in properties where I use those components. Any help with
this?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 4.1 to send email

2007-03-09 Thread Stephane Decleire

Has anybody already used this solution ?
It's a bit clumsy to me ...
I'm not shure where this code should go ... Is it in a kind of generic 
page which should then be subclassed by pages that need to send mail ?

And what should the EmailResponseBuilder look like ?
Moreover, i've seen a comment from Jesse Kuhnert on this code about 
using a Hivemind ResponseDelegateFactory ...


So, i'm a bit puzzled ..
Any help is welcome

--
Stéphane


Hugo Palma a écrit :
Have you looked at 
http://wiki.apache.org/tapestry/SendingHtmlEmailWithTap ?


It describes a way to do that in Tapestry 4.1

Stephane Decleire wrote:

Hi,

I would like to add a functionnality to our application to send a 
user his password when he has forgotten it.
I would prefer to implement it using a Tapestry page to format a good 
looking mail. So i need to send the Tapestry page by mail instead of 
rendering it to the user.
I've tried to implement this by using the library 
tapestry-email-0.1.0 posted on this list by Henri Dupre but it 
seems not to work in Tap 4.1.

Has anybody already found a straitforward solution to this ?

Thanks in advance.

--
Stéphane






t5 - snapshot inside project

2007-03-09 Thread Davor Hrg

hi,
I have a small project I'd like to use to test t5,
the project is being written in php, but I'd like to develop it in paralel
in t5,
not that I'm aiming to replace the php version (there is a chance... )

I'd just like to use the t5 and supply some feedback, report bug ... etc,
also compare in a real project time and effort needed to do different stuff.

Anyhow, the real question is:
I'd like to use snapshot versions to be up2date with development of the
framework.
do I:
1. get source from repository,
2. setup my pom somehow to get latest snapshots

?

Davor Hrg


Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia

You have to get the source from svn. Create a directory and chekout every
single module (not all at the same time)
Then get into the tapestry-project directory and type mvn install (you
have to intall maven first).
This will create all .jar now with version 5.0.3-SNAPHOT. Make your project
use this version and you will be using the latest code from svn.

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:


hi,
I have a small project I'd like to use to test t5,
the project is being written in php, but I'd like to develop it in paralel
in t5,
not that I'm aiming to replace the php version (there is a chance... )

I'd just like to use the t5 and supply some feedback, report bug ... etc,
also compare in a real project time and effort needed to do different
stuff.

Anyhow, the real question is:
I'd like to use snapshot versions to be up2date with development of the
framework.
do I:
1. get source from repository,
2. setup my pom somehow to get latest snapshots

?

Davor Hrg



Re: [T5]persist=client ?

2007-03-09 Thread Pablo Ruggia

I think it's not implemented yet.

On 3/9/07, Jun Tsai [EMAIL PROTECTED] wrote:


hi
How to persist data on client?

Thanks
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net



Re: [T5]persist=client ?

2007-03-09 Thread Pablo Ruggia

http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html
Currently, only the default value, session, is supported. Other
implementations, that store the value on the client, are forthcoming.


On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:


I think it's not implemented yet.

On 3/9/07, Jun Tsai [EMAIL PROTECTED] wrote:

 hi
 How to persist data on client?

 Thanks
 Jun Tsai
 --
 Welcome to China Java Users Group(CNJUG).
 http://cnjug.dev.java.net





Re: T5 Upload component?

2007-03-09 Thread Hugo Palma
I can't see any upload component here 
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html 
so i guess that means it's still not implemented.


Peter Beshai wrote:

How do we use input type=file in T5? Is this functionality implemented
yet?



Re: T5 Upload component?

2007-03-09 Thread Howard Lewis Ship

Yep, not yet implemented.

On 3/9/07, Hugo Palma [EMAIL PROTECTED] wrote:

I can't see any upload component here
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
so i guess that means it's still not implemented.

Peter Beshai wrote:
 How do we use input type=file in T5? Is this functionality implemented
 yet?





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia

suiteXmlFiles is declared in the parent pom (tapestry-project/pom.xml), so
this error is reasonable because tapestry-component-report doesn't have a
testng.xml file.
The rare thing is that it works in my machine. What version of maven are you
using and in wich platform ?

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:


thnx,

I tried building it but build fails:

E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn install
[INFO] Scanning for projects...
[INFO]


[INFO] Building Tapestry Component Parameters Report
[INFO]task-segment: [install]
[INFO]


[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist:

E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] suiteXmlFiles is configured, but there is no TestNG dependency
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
[INFO] Final Memory: 8M/14M
[INFO]


On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:

 You have to get the source from svn. Create a directory and chekout
every
 single module (not all at the same time)
 Then get into the tapestry-project directory and type mvn install (you
 have to intall maven first).
 This will create all .jar now with version 5.0.3-SNAPHOT. Make your
 project
 use this version and you will be using the latest code from svn.

 On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
 
  hi,
  I have a small project I'd like to use to test t5,
  the project is being written in php, but I'd like to develop it in
 paralel
  in t5,
  not that I'm aiming to replace the php version (there is a chance... )
 
  I'd just like to use the t5 and supply some feedback, report bug ...
 etc,
  also compare in a real project time and effort needed to do different
  stuff.
 
  Anyhow, the real question is:
  I'd like to use snapshot versions to be up2date with development of
the
  framework.
  do I:
  1. get source from repository,
  2. setup my pom somehow to get latest snapshots
 
  ?
 
  Davor Hrg
 




Re: T5 - Changing Locale

2007-03-09 Thread Hugo Palma
Take a look at the bottom of this page 
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html.


/Tapestry does not yet support changing the locale, but that will be 
available shortly./


Bogdan Calmac wrote:

Is it possible in Tapestry 5 to programatically change the locale for
a sesison similar to IEngine.setLocale() from Tapestry 4?

In my case I want to set the locale after the login into the
application (locale is stored in the user profile) and not rely on the
browser locale.

Thank you,

Bogdan Calmac.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




T5 - Changing Locale

2007-03-09 Thread Bogdan Calmac

Is it possible in Tapestry 5 to programatically change the locale for
a sesison similar to IEngine.setLocale() from Tapestry 4?

In my case I want to set the locale after the login into the
application (locale is stored in the user profile) and not rely on the
browser locale.

Thank you,

Bogdan Calmac.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - snapshot inside project

2007-03-09 Thread Davor Hrg

i tried it with:
maven 2.0.4 nad 2.0.5

the same rror happens when running the mnv install from tapestry-project


:(
Davor Hrg

On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:


suiteXmlFiles is declared in the parent pom (tapestry-project/pom.xml), so
this error is reasonable because tapestry-component-report doesn't have a
testng.xml file.
The rare thing is that it works in my machine. What version of maven are
you
using and in wich platform ?

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

 thnx,

 I tried building it but build fails:

 E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn install
 [INFO] Scanning for projects...
 [INFO]



 [INFO] Building Tapestry Component Parameters Report
 [INFO]task-segment: [install]
 [INFO]



 [INFO] [plugin:descriptor]
 [INFO] Using 2 extractors.
 [INFO] Applying extractor for language: java
 [INFO] Extractor for language: java found 1 mojo descriptors.
 [INFO] Applying extractor for language: bsh
 [INFO] Extractor for language: bsh found 0 mojo descriptors.
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] Copying 0 resource
 [INFO] [compiler:compile]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [resources:testResources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] Resource directory does not exist:


E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources
 [INFO] [compiler:testCompile]
 [INFO] No sources to compile
 [INFO] [surefire:test]
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] suiteXmlFiles is configured, but there is no TestNG dependency
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 3 seconds
 [INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
 [INFO] Final Memory: 8M/14M
 [INFO]
 

 On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
 
  You have to get the source from svn. Create a directory and chekout
 every
  single module (not all at the same time)
  Then get into the tapestry-project directory and type mvn install
(you
  have to intall maven first).
  This will create all .jar now with version 5.0.3-SNAPHOT. Make your
  project
  use this version and you will be using the latest code from svn.
 
  On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
  
   hi,
   I have a small project I'd like to use to test t5,
   the project is being written in php, but I'd like to develop it in
  paralel
   in t5,
   not that I'm aiming to replace the php version (there is a chance...
)
  
   I'd just like to use the t5 and supply some feedback, report bug ...
  etc,
   also compare in a real project time and effort needed to do
different
   stuff.
  
   Anyhow, the real question is:
   I'd like to use snapshot versions to be up2date with development of
 the
   framework.
   do I:
   1. get source from repository,
   2. setup my pom somehow to get latest snapshots
  
   ?
  
   Davor Hrg
  
 




Re: T5 - Changing Locale

2007-03-09 Thread Pablo Ruggia

http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html

Tapestry does not yet support changing the locale, but that will be
available shortly. The intent is to mimic Tapestry 4 behavior: store a
cookie on the client to provide the default for the locale on the next
visit, and store a locale name in the session (if a session exists). TODO: I
believe this has been implemented by Kent.

On 3/9/07, Bogdan Calmac [EMAIL PROTECTED] wrote:


Is it possible in Tapestry 5 to programatically change the locale for
a sesison similar to IEngine.setLocale() from Tapestry 4?

In my case I want to set the locale after the login into the
application (locale is stored in the user profile) and not rely on the
browser locale.

Thank you,

Bogdan Calmac.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




T4.1.1 - Portlet problem

2007-03-09 Thread Martin Petras




Hi,
I am trying to port my portlet application from tapestry 4.0.2 to
tapestry 4.1.1. I have just replaced the libraries and got these
exceptions (see below). I am using Tomcat 5.5.12, Jetspeed 2.0,
Hivemind 1.1.1. Have really no idea how to resolve the problem. The
problem occurs in all my portlets. I attached a sample portlet where
I'm getting the error.


javax.portlet.PortletException
 at
org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service(RenderRequestServicerToWe
bRequestServicerBridge.java:54)
 at
$RenderRequestServicer_111370567df.service($RenderRequestServicer_111370567df.java)
 at
$RenderRequestServicer_111370567de.service($RenderRequestServicer_111370567de.java)
 at
$RenderRequestServicer_111370567d9.service($RenderRequestServicer_111370567d9.java)
 at
$RenderRequestServicer_111370567d8.service($RenderRequestServicer_111370567d8.java)
 at
org.apache.tapestry.portlet.ApplicationPortlet.render(ApplicationPortlet.java:161)
 at
org.apache.jetspeed.factory.JetspeedPortletInstance.render(JetspeedPortletInstance.java:102)
 at
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:230)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    (and more other exceptions)

Nested Exception is java.lang.NullPointerException: Property
'webRequest' of OuterProxy for tapestry.globals.RequestGlo
bals(org.apache.tapestry.services.RequestGlobals) is null.
 at
$WebRequest_11137056809._targetServiceProperty($WebRequest_11137056809.java)
 at
$WebRequest_11137056809.getLocale($WebRequest_11137056809.java)
 at
$WebRequest_111370567cd.getLocale($WebRequest_111370567cd.java)
 at
$WebRequest_111370567cc.getLocale($WebRequest_111370567cc.java)
 at
org.apache.tapestry.services.impl.RequestLocaleManagerImpl.extractLocaleForCurrentRequest(RequestLocaleManage
rImpl.java:94)
 at
$RequestLocaleManager_111370567ee.extractLocaleForCurrentRequest($RequestLocaleManager_111370567ee.java)
 at
$RequestLocaleManager_111370567ef.extractLocaleForCurrentRequest($RequestLocaleManager_111370567ef.java)
 at
org.apache.tapestry.services.impl.EngineManagerImpl.getEngineInstance(EngineManagerImpl.java:42)
 at
$EngineManager_111370567e9.getEngineInstance($EngineManager_111370567e9.java)
 at
$EngineManager_111370567e8.getEngineInstance($EngineManager_111370567e8.java)
 at
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:45)
 at
$WebRequestServicer_111370567e7.service($WebRequestServicer_111370567e7.java)
 at
$WebRequestServicer_111370567e6.service($WebRequestServicer_111370567e6.java)
 at
$WebRequestServicer_111370567e5.service($WebRequestServicer_111370567e5.java)
 at
$WebRequestServicer_111370567e4.service($WebRequestServicer_111370567e4.java)
 at
org.apache.tapestry.portlet.RenderRequestServicerToWebRequestServicerBridge.service(RenderRequestServicerToWe
bRequestServicerBridge.java:50)
 (and more other exceptions)


Files:
.application
-
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE application PUBLIC
 "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
 "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"
!-- generated by Spindle, http://spindle.sourceforge.net --

application name="myLRUDocs"
engine-class="org.apache.tapestry.engine.BaseEngine" 
 descriptionadd a description/description

 page name="myLRUDocsEdit"
specification-path="myLRUDocsEdit.page"/ 
 
 library id="contrib"
specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/
/application


hivemodule.xml

?xml version="1.0"?
module id="com.skms.WebDavTapestry.MyLRUDocs.MyLRUDocsPage"
version="4.1.1" package="org.apache.tapestry.portlet"
 Add on for Tapestry that adds native Portlet support.
 dependency module-id="tapestry" version="4.1.1"/
 dependency module-id="tapestry.portlet" version="4.1.1"/
 dependency module-id="tapestry.contrib" version="4.1.1"/
 dependency module-id="hivemind.lib" version="1.1.1"/
 
 contribution
configuration-id="tapestry.portlet.resolver.PageResolverRules"
 match portlet-mode="view" page="myLRUDocs"/ 
 match portlet-mode="edit" page="myLRUDocsEdit"/ 
 /contribution
 
contribution
configuration-id="tapestry.state.ApplicationObjects"
 state-object name="validation-delegate" scope="session"
 create-instance
class="org.apache.tapestry.valid.ValidationDelegate"/
 /state-object 
/contribution
/module

myLRUDocs.page
--
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE page-specification PUBLIC
 "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
 "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"
page-specification
class="com.skms.WebDavTapestry.MyLRUDocs.MyLRUDocsPage"
 descriptionadd a description/description 
 
 property name="filesList"/ 
 property name="file"/ 
 
 inject property="portletRequest"
object="service:tapestry.portlet.PortletRequest"/
 
 inject property="contextAssetFactory"

Re: T5 - Changing Locale

2007-03-09 Thread Hugo Palma

hey, did you copy my reply or did i copy yours ? :o)

Pablo Ruggia wrote:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html 



Tapestry does not yet support changing the locale, but that will be
available shortly. The intent is to mimic Tapestry 4 behavior: store a
cookie on the client to provide the default for the locale on the next
visit, and store a locale name in the session (if a session exists). 
TODO: I

believe this has been implemented by Kent.

On 3/9/07, Bogdan Calmac [EMAIL PROTECTED] wrote:


Is it possible in Tapestry 5 to programatically change the locale for
a sesison similar to IEngine.setLocale() from Tapestry 4?

In my case I want to set the locale after the login into the
application (locale is stored in the user profile) and not rely on the
browser locale.

Thank you,

Bogdan Calmac.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: t5 - snapshot inside project

2007-03-09 Thread Davor Hrg

thnx,

I tried building it but build fails:

E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn install
[INFO] Scanning for projects...
[INFO]

[INFO] Building Tapestry Component Parameters Report
[INFO]task-segment: [install]
[INFO]

[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist:
E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] suiteXmlFiles is configured, but there is no TestNG dependency
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
[INFO] Final Memory: 8M/14M
[INFO]


On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:


You have to get the source from svn. Create a directory and chekout every
single module (not all at the same time)
Then get into the tapestry-project directory and type mvn install (you
have to intall maven first).
This will create all .jar now with version 5.0.3-SNAPHOT. Make your
project
use this version and you will be using the latest code from svn.

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

 hi,
 I have a small project I'd like to use to test t5,
 the project is being written in php, but I'd like to develop it in
paralel
 in t5,
 not that I'm aiming to replace the php version (there is a chance... )

 I'd just like to use the t5 and supply some feedback, report bug ...
etc,
 also compare in a real project time and effort needed to do different
 stuff.

 Anyhow, the real question is:
 I'd like to use snapshot versions to be up2date with development of the
 framework.
 do I:
 1. get source from repository,
 2. setup my pom somehow to get latest snapshots

 ?

 Davor Hrg




Re: t5 - snapshot inside project

2007-03-09 Thread Davor Hrg

here is what it outputs with testng added to tapestry-component-report,
tapestry-core, tapestry-project

adding testng dependency may be cause of the last error if it counts no
tests present as fail



On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:


when I add testng dependancy to all failng subprojects manualy
mvn install fails fails stating that some tests failed, but I see no test
errors

Davor Hrg

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

 i tried it with:
 maven 2.0.4 nad 2.0.5

 the same rror happens when running the mnv install from tapestry-project


 :(
 Davor Hrg

 On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
 
  suiteXmlFiles is declared in the parent pom
  (tapestry-project/pom.xml), so
  this error is reasonable because tapestry-component-report doesn't
  have a
  testng.xml file.
  The rare thing is that it works in my machine. What version of maven
  are you
  using and in wich platform ?
 
  On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
  
   thnx,
  
   I tried building it but build fails:
  
   E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn
  install
   [INFO] Scanning for projects...
   [INFO]
  
  
  
 
   [INFO] Building Tapestry Component Parameters Report
   [INFO]task-segment: [install]
   [INFO]
  
  
  
   [INFO] [plugin:descriptor]
   [INFO] Using 2 extractors.
   [INFO] Applying extractor for language: java
   [INFO] Extractor for language: java found 1 mojo descriptors.
   [INFO] Applying extractor for language: bsh
   [INFO] Extractor for language: bsh found 0 mojo descriptors.
   [INFO] [resources:resources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] Copying 0 resource
   [INFO] [compiler:compile]
   [INFO] Nothing to compile - all classes are up to date
   [INFO] [resources:testResources]
   [INFO] Using default encoding to copy filtered resources.
   [INFO] Resource directory does not exist:
  
  
  E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources
 
   [INFO] [compiler:testCompile]
   [INFO] No sources to compile
   [INFO] [surefire:test]
   [INFO]
  
  
   [ERROR] BUILD ERROR
   [INFO]
  
  
   [INFO] suiteXmlFiles is configured, but there is no TestNG
  dependency
   [INFO]
  
  
   [INFO] For more information, run Maven with the -e switch
   [INFO]
  
  
   [INFO] Total time: 3 seconds
   [INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
   [INFO] Final Memory: 8M/14M
   [INFO]
  
  
  
   On 3/9/07, Pablo Ruggia  [EMAIL PROTECTED]  wrote:
   
You have to get the source from svn. Create a directory and
  chekout
   every
single module (not all at the same time)
Then get into the tapestry-project directory and type mvn
  install (you
have to intall maven first).
This will create all .jar now with version 5.0.3-SNAPHOT. Make
  your
project
use this version and you will be using the latest code from svn.
   
On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

 hi,
 I have a small project I'd like to use to test t5,
 the project is being written in php, but I'd like to develop it
  in
paralel
 in t5,
 not that I'm aiming to replace the php version (there is a
  chance... )

 I'd just like to use the t5 and supply some feedback, report bug
  ...
etc,
 also compare in a real project time and effort needed to do
  different
 stuff.

 Anyhow, the real question is:
 I'd like to use snapshot versions to be up2date with development
  of
   the
 framework.
 do I:
 1. get source from repository,
 2. setup my pom somehow to get latest snapshots

 ?

 Davor Hrg

   
  
 




E:\_work\java\lib_src\tapestry5\tapestry-projectmvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tapestry 5 Project
[INFO]   Tapestry Test Utilities
[INFO]   Tapestry Inversion of Control Container
[INFO]   Tapestry Component Parameters Report
[INFO]   Tapestry Core Library
[INFO]   Tapestry-Spring Integration Library
[INFO]   Tapestry/Hibernate Integration Library
[INFO]   Tapestry 5 Quickstart Archetype
[INFO] 

[INFO] Building Tapestry 5 Project
[INFO]task-segment: [install]
[INFO] 

[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing 

Re: T5 - Changing Locale

2007-03-09 Thread Bogdan Calmac

Thanks guys, I saw that, but there was no mention about the ability to
change the locale at application level. So I can assume that for my
use case I would inject a new service in my page and use it to change
the locale programatically?

Thanks,

Bogdan Calmac.

On 3/9/07, Hugo Palma [EMAIL PROTECTED] wrote:

Take a look at the bottom of this page
http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html.

/Tapestry does not yet support changing the locale, but that will be
available shortly./

Bogdan Calmac wrote:
 Is it possible in Tapestry 5 to programatically change the locale for
 a sesison similar to IEngine.setLocale() from Tapestry 4?

 In my case I want to set the locale after the login into the
 application (locale is stored in the user profile) and not rely on the
 browser locale.

 Thank you,

 Bogdan Calmac.

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - Changing Locale

2007-03-09 Thread Howard Lewis Ship

I think that comment is out of date.

You should be able to inject the ThreadLocale service and change the
locale there.  Tapestry will pick up on that and write out an updated
cookie, which will cause the subsequent render request to be in the
new locale.

On 3/9/07, Bogdan Calmac [EMAIL PROTECTED] wrote:

Thanks guys, I saw that, but there was no mention about the ability to
change the locale at application level. So I can assume that for my
use case I would inject a new service in my page and use it to change
the locale programatically?

Thanks,

Bogdan Calmac.

On 3/9/07, Hugo Palma [EMAIL PROTECTED] wrote:
 Take a look at the bottom of this page
 http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html.

 /Tapestry does not yet support changing the locale, but that will be
 available shortly./

 Bogdan Calmac wrote:
  Is it possible in Tapestry 5 to programatically change the locale for
  a sesison similar to IEngine.setLocale() from Tapestry 4?
 
  In my case I want to set the locale after the login into the
  application (locale is stored in the user profile) and not rely on the
  browser locale.
 
  Thank you,
 
  Bogdan Calmac.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - snapshot inside project

2007-03-09 Thread Pablo Ruggia

Mmm, i think the problem is exactly the opposite. All projects have testing
enabled because they inherit it from it's parent (tapestry-project).
The original problem was that tapestry-component-report inherited an xml
location and doesn't have it.

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:


here is what it outputs with testng added to tapestry-component-report,
tapestry-core, tapestry-project

adding testng dependency may be cause of the last error if it counts no
tests present as fail



On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

 when I add testng dependancy to all failng subprojects manualy
 mvn install fails fails stating that some tests failed, but I see no
 test errors

 Davor Hrg

 On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
 
  i tried it with:
  maven 2.0.4 nad 2.0.5
 
  the same rror happens when running the mnv install from
  tapestry-project
 
 
  :(
  Davor Hrg
 
  On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
  
   suiteXmlFiles is declared in the parent pom
   (tapestry-project/pom.xml), so
   this error is reasonable because tapestry-component-report doesn't
   have a
   testng.xml file.
   The rare thing is that it works in my machine. What version of maven
   are you
   using and in wich platform ?
  
   On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
   
thnx,
   
I tried building it but build fails:
   
E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn
   install
[INFO] Scanning for projects...
[INFO]
   
   
   

  
[INFO] Building Tapestry Component Parameters Report
[INFO]task-segment: [install]
[INFO]
   
   
   

[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist:
   
   
   
E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources
  
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO]
   
   
[ERROR] BUILD ERROR
[INFO]
   
   
[INFO] suiteXmlFiles is configured, but there is no TestNG
   dependency
[INFO]
   
   
[INFO] For more information, run Maven with the -e switch
[INFO]
   
   
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
[INFO] Final Memory: 8M/14M
[INFO]
   
   
   
On 3/9/07, Pablo Ruggia  [EMAIL PROTECTED]  wrote:

 You have to get the source from svn. Create a directory and
   chekout
every
 single module (not all at the same time)
 Then get into the tapestry-project directory and type mvn
   install (you
 have to intall maven first).
 This will create all .jar now with version 5.0.3-SNAPHOT. Make
   your
 project
 use this version and you will be using the latest code from svn.
  

 On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
 
  hi,
  I have a small project I'd like to use to test t5,
  the project is being written in php, but I'd like to develop
   it in
 paralel
  in t5,
  not that I'm aiming to replace the php version (there is a
   chance... )
 
  I'd just like to use the t5 and supply some feedback, report
   bug ...
 etc,
  also compare in a real project time and effort needed to do
   different
  stuff.
 
  Anyhow, the real question is:
  I'd like to use snapshot versions to be up2date with
   development of
the
  framework.
  do I:
  1. get source from repository,
  2. setup my pom somehow to get latest snapshots
 
  ?
 
  Davor Hrg
 

   
  
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: serve html from packaged component?

2007-03-09 Thread Julian Wood

Thanks Andreas,

Remember that I'm dealing with some compressed, obfuscated javascript  
which loads these resources (ie I can't change very much in how it  
loads these resources - just the dir in which too look for them, and  
the name of the file). I cannot use a PageLink in this situation.  
However, if I can determine the URL created by the PageLink to an  
html file deep in some component library (eg to org/apache/tapestry/ 
contrib/table/components/Table.html), I might have a chance. However,  
I couldn't get it to correctly link to that page either (a longshot,  
I know).


a href=# jwcid=@PageLink page=contrib:TableTable/a

I'm thinking that it might be better to write a small service which  
will return the resource the javascript requests, but it seems like  
more work than should be necessary. Let me know if I misunderstood  
how you thought PageLink could help.


Thanks,

J

On 8-Mar-07, at 11:01 AM, Andreas Andreou wrote:


http://tapestry.apache.org/tapestry4.1/components/link/pagelink.html

See the namespace attribute

On 3/8/07, Julian Wood [EMAIL PROTECTED] wrote:


I've just finished wrapping this rich text component from Kevin Roth
http://www.kevinroth.com/rte/ and I have it working nicely as a
drop-in tapestry component (assuming correct installation into a
project).

The final step is to put it in it's own component package for easy
sharing across projects. The only concern I have is that the
component needs access to 4 html files, which it uses to show a color
picker, for instance, and which it accesses through some obfuscated
and compressed javascript. So while this is fine when the files are
simply placed in the webapp dir of the main app, how can it gain
access to them when they're packaged into a component jar?

Another way of asking is: what is the tapestry URL to an html file
packaged in a component jar? I've been trying to get the URL to say,
Table.html in the contrib package as an example.

Thanks,

J

--

--
Julian Wood [EMAIL PROTECTED]

Software Engineer
Teaching  Learning Centre
University of Calgary

http://tlc.ucalgary.ca




Why is IE6 freezing?

2007-03-09 Thread Andreas Pardeike

Hi,

just released our site and now people call in angry telling me that
IE6 freezes on our site. I've tested the site on my local computer
using tomcat and the wonderful Web Project plugin and it works just
fine. When deployed, it does not.

I'm using 4.1.1 and I tried to use the latest dojo.js but it's the
same. Anyone who knows why it's freezing? Interestingly, all other
browsers work fine (although Safari sometimes keeps loading some
elements). The problem can be reproduced when the IE cache is cleared.

The site: http://www.fsbutiken.se

Help!
Andreas Pardeike

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DatePicker Validation

2007-03-09 Thread Marcos Chicote
Hello!

I'm using Tapestry 4.0 to develop a page with 2 DatePickers. I want to
check, in the client, if one of the date's is previous to the other.

Can anybody help me on how to do this??

Do I need to write a function in javascript to parse the date and then
compare? Isn't there any other nicer way? (or maybe somebody already has the
funcion programmed).

Thanks!

Marcos


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tap 4.0.3 HttpSession and WebSession

2007-03-09 Thread Miguel Angel Hernández

Hi,
Petter:
Seems I've mistaken the version number is 4.0.2, sorry for that! :P

Renat,

It seems to be that it was a problem of our app-server (Geronimo 1.1.1)
after all.
We were using the default authentication method, but when we switched to
a custom login page using j_security_check servlet to login we could logout
by restarting the session
with no problem.

Thanks a lot for your answers thought.

cheers,

Miguel

On 3/9/07, Renat Zubairov [EMAIL PROTECTED] wrote:


Hi Miguel,

It's rather strange, what do you mean by not working? Aren't they
injected? They are empty? What about restart service?
You can try to post your hivemodule.xml part where you inject
Session/Response services into your pages/services.

Renat

On 07/03/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote:
 Renat Thanks a lot,

 Unfortunately I've already tried those... but it's not working. I'm
using
 Geronimo as AppServer... maybe it's the configuration of my realm or
 something...

 I'll make you know if I find out what is it.

 regards,

 migs

 On 3/6/07, Renat Zubairov [EMAIL PROTECTED] wrote:
 
  You can try to use Restart service. It should be pretty simple to call
  a restart service via service link.
  Otherwise you can have a look to the
 
 
 
http://tapestry.apache.org/tapestry4/tapestry/hivedocs/module/tapestry.globals.html
 
  For example you can get a request injected to your Hivemind services.
  Or via WebRequest you will get a WebSession
 
 
 
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebRequest.html#getSession(boolean)
 
  There you will find exactly what you are looking for :)
 
 
 
http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/web/WebSession.html#invalidate()
 
 
 
  On 06/03/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote:
   Hi all,
  
   Anybody knows how I can access the HttpSession from tapestry... I
found
   RequestCycle: getRequestContext():getSession()... but its
   deprecated.
  
   I need to invalidate the session in order to logout from JAAS realm,
  I've
   tried WebSession():invalidate() but it doesn't work :(
  
 
 
  --
  Best regards,
  Renat Zubairov
 



--
Best regards,
Renat Zubairov



Re: Why is IE6 freezing?

2007-03-09 Thread Martin Strand
Looks like certain dojo files can't be found, you should see some 404s in  
your logs.

You seem to be using two different dojo urls (/assets/dojo/ and /js/dojo/)


script type=text/javascriptdjConfig =  
{isDebug:false,debugContainerId:debug,baseRelativePath:/assets/static/dojo/,preventBackButtonFix:false,parseWidgets:false,locale:en-gb}  
/script


script type=text/javascript src=/js/dojo/dojo.js/script
script type=text/javascript
dojo.registerModulePath(tapestry, /assets/static/tapestry);
/script
script type=text/javascript src=/js/tapestry/core.js/script


Not sure exactly what the problem is but perhaps you just need to change  
the dojoPath parameter on your Shell

http://tapestry.apache.org/tapestry4.1/components/general/shell.html


On Fri, 09 Mar 2007 18:33:20 +0100, Andreas Pardeike [EMAIL PROTECTED] wrote:


Hi,

just released our site and now people call in angry telling me that
IE6 freezes on our site. I've tested the site on my local computer
using tomcat and the wonderful Web Project plugin and it works just
fine. When deployed, it does not.

I'm using 4.1.1 and I tried to use the latest dojo.js but it's the
same. Anyone who knows why it's freezing? Interestingly, all other
browsers work fine (although Safari sometimes keeps loading some
elements). The problem can be reproduced when the IE cache is cleared.

The site: http://www.fsbutiken.se

Help!
Andreas Pardeike


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T5] Is ComponentClassResolver configurable?

2007-03-09 Thread Dan Adams
I'm looking at the t5 sources and trying to see if it's possible to
configure a different implementation of ComponentClassResolver than the
default and it doesn't look like it. Is this correct?

I'm currently planning a library/framework built on t5 and one of the
things that it *might* need to be able to do is intercept a request for
a page/component/mixin with a mapping that is different than is
currently possible.

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[T5] pages in a component library

2007-03-09 Thread Dan Adams
It seems like you can put pages in a component library in T5 and
reference them just like any other page. Is this correct?

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Is ComponentClassResolver configurable?

2007-03-09 Thread Howard Lewis Ship

Generally speaking, stuff in the internal module is private and not
directly extensible.

There are interfaces that are likely to change quite a bit and I'm
trying to keep a lid on them.

They may eventually move into the public side, or there may be
extension points added that are public, even if the service is
private/internal.

On 3/9/07, Dan Adams [EMAIL PROTECTED] wrote:

I'm looking at the t5 sources and trying to see if it's possible to
configure a different implementation of ComponentClassResolver than the
default and it doesn't look like it. Is this correct?

I'm currently planning a library/framework built on t5 and one of the
things that it *might* need to be able to do is intercept a request for
a page/component/mixin with a mapping that is different than is
currently possible.

--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - snapshot inside project

2007-03-09 Thread Howard Lewis Ship

It doesn't cost you anything to paste a transcript into an e-mail
message, and it just might buy you a solution.

On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:

sorry, but my expirience with maven is limited,
I suppose the problem is probably with the testing plugin

what can I do to resolve this ?

suiteXmlFiles is configured, but there is no TestNG dependency

I picked the source from repo, people are working with the code on daily
basis.
There has to be something in my setup that is making this problem to
manifest...

Davor Hrg

On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:

 Mmm, i think the problem is exactly the opposite. All projects have
 testing
 enabled because they inherit it from it's parent (tapestry-project).
 The original problem was that tapestry-component-report inherited an xml
 location and doesn't have it.

 On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
 
  here is what it outputs with testng added to tapestry-component-report,
  tapestry-core, tapestry-project
 
  adding testng dependency may be cause of the last error if it counts no
  tests present as fail
 
 
 
  On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
  
   when I add testng dependancy to all failng subprojects manualy
   mvn install fails fails stating that some tests failed, but I see no
   test errors
  
   Davor Hrg
  
   On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
   
i tried it with:
maven 2.0.4 nad 2.0.5
   
the same rror happens when running the mnv install from
tapestry-project
   
   
:(
Davor Hrg
   
On 3/9/07, Pablo Ruggia [EMAIL PROTECTED] wrote:

 suiteXmlFiles is declared in the parent pom
 (tapestry-project/pom.xml), so
 this error is reasonable because tapestry-component-report doesn't
 have a
 testng.xml file.
 The rare thing is that it works in my machine. What version of
 maven
 are you
 using and in wich platform ?

 On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
 
  thnx,
 
  I tried building it but build fails:
 
  E:\_work\java\lib_src\tapestry5\tapestry-component-reportmvn
 install
  [INFO] Scanning for projects...
  [INFO]
 
 

 

  [INFO] Building Tapestry Component Parameters Report
  [INFO]task-segment: [install]
  [INFO]
 
 

 
  [INFO] [plugin:descriptor]
  [INFO] Using 2 extractors.
  [INFO] Applying extractor for language: java
  [INFO] Extractor for language: java found 1 mojo descriptors.
  [INFO] Applying extractor for language: bsh
  [INFO] Extractor for language: bsh found 0 mojo descriptors.
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] Copying 0 resource
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] Resource directory does not exist:
 
 

 E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources

  [INFO] [compiler:testCompile]
  [INFO] No sources to compile
  [INFO] [surefire:test]
  [INFO]
 

 
  [ERROR] BUILD ERROR
  [INFO]
 

 
  [INFO] suiteXmlFiles is configured, but there is no TestNG
 dependency
  [INFO]
 

 
  [INFO] For more information, run Maven with the -e switch
  [INFO]
 

 
  [INFO] Total time: 3 seconds
  [INFO] Finished at: Fri Mar 09 16:33:41 CET 2007
  [INFO] Final Memory: 8M/14M
  [INFO]
 

 
 
  On 3/9/07, Pablo Ruggia  [EMAIL PROTECTED]  wrote:
  
   You have to get the source from svn. Create a directory and
 chekout
  every
   single module (not all at the same time)
   Then get into the tapestry-project directory and type mvn
 install (you
   have to intall maven first).
   This will create all .jar now with version 5.0.3-SNAPHOT. Make
 your
   project
   use this version and you will be using the latest code from
 svn.

  
   On 3/9/07, Davor Hrg [EMAIL PROTECTED] wrote:
   
hi,
I have a small project I'd like to use to test t5,
the project is being written in php, but I'd like to develop
 it in
   paralel
in t5,
not that I'm aiming to replace the php version (there is a
 chance... )
   
 

[T5 ioc] unique contributions?

2007-03-09 Thread Dan Adams
In the t5 ioc is there a set way to require exactly one contribution for
a configuration (other than checking the collection that you get)?

-- 
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5 ioc] unique contributions?

2007-03-09 Thread Howard Lewis Ship

No, there isn't.

There's a couple of places in T5 where I do something similar, and I
use @Inject combined with a symbol ( ${xyz} ), so that users can
contribute a symbol value to ApplicationDefaults.

On 3/9/07, Dan Adams [EMAIL PROTECTED] wrote:

In the t5 ioc is there a set way to require exactly one contribution for
a configuration (other than checking the collection that you get)?

--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - snapshot inside project

2007-03-09 Thread Davor Hrg

sory, I sent it as an attachment earieler,






E:\_work\java\lib_src\tapestry5\tapestry-projectmvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Tapestry 5 Project
[INFO]   Tapestry Test Utilities
[INFO]   Tapestry Inversion of Control Container
[INFO]   Tapestry Component Parameters Report
[INFO]   Tapestry Core Library
[INFO]   Tapestry-Spring Integration Library
[INFO]   Tapestry/Hibernate Integration Library
[INFO]   Tapestry 5 Quickstart Archetype
[INFO] 

[INFO] Building Tapestry 5 Project
[INFO]task-segment: [install]
[INFO] 

[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing
E:\_work\java\lib_src\tapestry5\tapestry-project\pom.xml to
C:\Documents and Settings\Davor
Hrg\.m2\repository\org\apache\tapestry\tapestry-pr
oject\5.0.3-SNAPSHOT\tapestry-project-5.0.3-SNAPSHOT.pom
[INFO] 

[INFO] Building Tapestry Test Utilities
[INFO]task-segment: [install]
[INFO] 

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Resource directory does not exist:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\src\test\resources
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\surefire-reports

---
T E S T S
---
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT.jar
to C:\Documents and Settings\Davor H
rg\.m2\repository\org\apache\tapestry\tapestry-test\5.0.3-SNAPSHOT\tapestry-test-5.0.3-SNAPSHOT.jar
[INFO] Installing
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT-sources.jar
to C:\Documents and Settings
\Davor 
Hrg\.m2\repository\org\apache\tapestry\tapestry-test\5.0.3-SNAPSHOT\tapestry-test-5.0.3-SNAPSHOT-sources.jar
[INFO] 

[INFO] Building Tapestry Inversion of Control Container
[INFO]task-segment: [install]
[INFO] 

[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\surefire-reports

---
T E S T S
---
Running Tapestry IOC
Tests run: 469, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.766 sec

Results :

Tests run: 469, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: default}]
[INFO] Building jar:
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT-sources.jar
[INFO] [install:install]
[INFO] Installing
E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT.jar
to C:\Documents and Settings\Davor Hrg
\.m2\repository\org\apache\tapestry\tapestry-ioc\5.0.3-SNAPSHOT\tapestry-ioc-5.0.3-SNAPSHOT.jar