Re: 404 from onActivate

2010-03-24 Thread Joost Schouten (ml)

Hi Jan,

Did you find a solution to this problem on tomcat? I am faced with 
exectly the same situation where the response.sendError(404, null); 
works great in jetty but not on tomcat.


Cheers,
Joost

Jan Jirout wrote:

Hi,

thanks for replay. My situation is exactly as you wrote. After all 
this approach works just in case of Jetty. It doesn't work with Tomcat 
6.0.20 and 6.0.24. I have tested it. Only difference between 
processing page that should lead to error404 is that at tomcat page 
processing continue after error 404 in send, so there appears some 
NullPointerExceptions. I don't see this exception at Jetty.


Jan


Kalle Korhonen wrote:

If you want Tapestry to render your error page, you need to configure
the filter to handle error dispatches:

app
/*
REQUEST
ERROR


Entirely possible that Jetty would route this to the app by default
but I think it's off-spec.

Kalle


On Fri, Mar 19, 2010 at 2:50 PM, Jan Jirout  wrote:
 

Hi,

I have same problem. I don't like solution with HTTP redirect to 
page that
return 404 also. This solution is not fully logic from user 
perspective. I

would like to by able to show error404 without any redirect.

I have tried in onActivation method code:

response.sendError(404, null);

where:

  @Inject
  private org.apache.tapestry5.services.Response response;

It works in jetty, but didn't work in Tomcat ;-). I hope, that 
somebody will

help.

Regards

Jan

Igor Drobiazko wrote:
   

Just inject service RequestGlobals [1] into your page, retrieve the
Response
from it and send the 404 error to the client.

[1]

http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/RequestGlobals.html 



On Fri, Mar 19, 2010 at 6:39 PM, Mike Oestereter
wrote:


 

That's what I'm doing at the moment, but is not what I want.
The result from the user's perspective is is a redirect 302 (or
something) to a 404, which I don't think makes sense?

On Fri, Mar 19, 2010 at 4:51 PM, Christian Riedel
 wrote:

   

I would create an Error404.java page and redirect to it in case your

  

onActivate doesn't find a corresponding entity.

   

Am 19.03.2010 um 15:04 schrieb Mike Oestereter:


 

Hello

I've got a page that takes the context as parameter to produce a
result from db, e.g.:  http:/hostname/app/page/123

If the db result for 123 does not exist I would like to throw a 
404.


Currently I'm using...

Object onActivate(EventContext context) {
 //db lookup code to prepare page
}

Is the best way to throw a custom error that gets picked up by the
ExceptionReport page and "rendered" with a status code of 404?

Or is there a way to initialize/prepare the page earlier in the 
cycle

and detect the non existence of resource 123?

Thanks
Theo

- 


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



  

-
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





-
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




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



Dynamic loading of JavaScript libraries in Safari broken?

2010-03-24 Thread Howard Lewis Ship
Just noticed something in the application I'm building.  The page is
complicated with a lot of Ajax; part of the page will load in a
sophisticated component (the Tapx SetEditor) which includes additional
JS & CSS files that are not part of the initial page load.

It works in FF but not in Safari. I think there's some difference in
how Safari handles loading of JS.

It's interesting that someone has mentioned a library to handle
dynamic loading of JS libraries recently; I may need to see what that
library does, or see if it can be incorporated into Tapestry.

In any case, is anyone else seeing this problem in Safari?

-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: [tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Joost Schouten (ml)
Great! I look forward to what's up next in the tapx package. Currently I 
am working from a patched tag and it works fine.


Howard Lewis Ship wrote:

Sorry, I've seen your issue but haven't had a chance to take the patch
yet. I'll look  into it today, I'm creating some tapx components for a
client right now.

On Wed, Mar 24, 2010 at 2:25 PM, Joost Schouten (ml)
 wrote:
  

Hi,

There seems to be a bug in the calendar-nl.js used in the tapx-datefield. It
is teh same bug as described at [1] in the calendar-de.js file.

I created an ticket and patch for it at github [2] but am unsure if this is
used. Should I also create a ticket at http://tapestry.formos.com/jira?

Cheers,
Joost

[1]: http://www.dynarch.com/projects/calendar/old/#Kcomment-366
[2]: http://github.com/hlship/tapx/issues#issue/3


-
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: [tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Howard Lewis Ship
Sorry, I've seen your issue but haven't had a chance to take the patch
yet. I'll look  into it today, I'm creating some tapx components for a
client right now.

On Wed, Mar 24, 2010 at 2:25 PM, Joost Schouten (ml)
 wrote:
> Hi,
>
> There seems to be a bug in the calendar-nl.js used in the tapx-datefield. It
> is teh same bug as described at [1] in the calendar-de.js file.
>
> I created an ticket and patch for it at github [2] but am unsure if this is
> used. Should I also create a ticket at http://tapestry.formos.com/jira?
>
> Cheers,
> Joost
>
> [1]: http://www.dynarch.com/projects/calendar/old/#Kcomment-366
> [2]: http://github.com/hlship/tapx/issues#issue/3
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: Live service reloading in 5.2

2010-03-24 Thread Howard Lewis Ship
Thanks for the heads up; I think I know why this is behaving as you
suggest, and its fixable. Add an issue.

Basically, when using reloadable, the object at the end of the
delegate/advice stack, which is normally the service implementation,
is itself a proxy that performs live class reloading. Currently, it
does not attempt to load the service implementation until needed, but
that can and should be changed, giving reloaded services that same
semantics as non-reloadable services (just with one extra level of
proxy).

On Wed, Mar 24, 2010 at 2:27 PM, Christophe Cordenier
 wrote:
> Hi
>
> .eagerload() does not work when we do not call preventReload() on the
> service.
> If it's by design, maybe the first call to one of the two methods should
> take the priority, or maybe an exception should be thrown if the two are
> called on the service.
>
> Best Regards,
> Christophe Cordenier.
>
> 2010/3/13 Howard Lewis Ship 
>
>> As you may have seen from my blog posting, I just added live service
>> reloading to Tapestry 5.2.  I'd encourage users to give 5.2 a whirl
>> and make sure that the changes I've made work across different
>> platforms and servlet containers, and that there is no performance
>> impact.
>>
>> As with pages and components, live service reloading is only for
>> service implementations whose class files are on the file system.
>>
>> This means that services from third party JARs will operate exactly
>> the same as in 5.1.
>>
>> Further, in a production environment, the classes will be packaged up
>> into a WAR (or even a JAR inside the WAR) and should, again, operate
>> exactly as with 5.1.  Live service reloading exists to accelerate
>> development, and boy does it!
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator of Apache Tapestry
>>
>> The source for Tapestry training, mentoring and support. Contact me to
>> learn how I can get you up and productive in Tapestry fast!
>>
>> (971) 678-5210
>> http://howardlewisship.com
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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



Re: Live service reloading in 5.2

2010-03-24 Thread Christophe Cordenier
Hi

.eagerload() does not work when we do not call preventReload() on the
service.
If it's by design, maybe the first call to one of the two methods should
take the priority, or maybe an exception should be thrown if the two are
called on the service.

Best Regards,
Christophe Cordenier.

2010/3/13 Howard Lewis Ship 

> As you may have seen from my blog posting, I just added live service
> reloading to Tapestry 5.2.  I'd encourage users to give 5.2 a whirl
> and make sure that the changes I've made work across different
> platforms and servlet containers, and that there is no performance
> impact.
>
> As with pages and components, live service reloading is only for
> service implementations whose class files are on the file system.
>
> This means that services from third party JARs will operate exactly
> the same as in 5.1.
>
> Further, in a production environment, the classes will be packaged up
> into a WAR (or even a JAR inside the WAR) and should, again, operate
> exactly as with 5.1.  Live service reloading exists to accelerate
> development, and boy does it!
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


[tapx-datefield] bug in dynarch calendar-nl.js

2010-03-24 Thread Joost Schouten (ml)

Hi,

There seems to be a bug in the calendar-nl.js used in the 
tapx-datefield. It is teh same bug as described at [1] in the 
calendar-de.js file.


I created an ticket and patch for it at github [2] but am unsure if this 
is used. Should I also create a ticket at http://tapestry.formos.com/jira?


Cheers,
Joost

[1]: http://www.dynarch.com/projects/calendar/old/#Kcomment-366
[2]: http://github.com/hlship/tapx/issues#issue/3


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



Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
mmm, already done all of this.

But thank you anyway.


2010/3/24 Andreas Andreou 

> Try closing the project in eclipse,
> then cleaning ~/.m2/repository/org/apache/tapestry/**
> and finally doing an intial build from the commang line
>
> On Wed, Mar 24, 2010 at 21:31, Christophe Cordenier
>  wrote:
> > ...cannot figure out what ??
> >
> > If Anyone has a valid pom.xml to share with apache repository configured,
> it
> > would be really helpful ?
> >
> > Best Regards
> >
> > 2010/3/24 Christophe Cordenier 
> >
> >>
> >>
> >> 2010/3/24 Andreas Andreou 
> >>
> >> i see the same values (which makes sense since the one url is an alias
> >>> to the other i guess)
> >>> The md5 should be changing every time there's a deploy so i'm still
> >>> not sure how
> >>> that affected eclipse...
> >>>
> >>
> >> Actually my nightmare has started since i have removed formos
> repository...
> >> Still fighting with m2eclipse
> >>
> >> I must miss someting, but really cannot figure out why, it keeps on
> >> download corrupted Jars file when it's not empty...
> >>
> >>>
> >>> On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier
> >>>  wrote:
> >>> > It seems that maven-metadata.xml.md5<
> >>>
> https://repository.apache.org/content/groups/snapshots-group/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/maven-metadata.xml.md5
> >>> >is
> >>> > different
> >>> > from
> >>> >
> >>>
> https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
> >>> > and
> >>> >
> >>>
> https://repository.apache.org/content/groups/pweublic/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
> >>> >
> >>> > this was the cause of my eclipse problem i had to this in my pom.xml
> >>> >
> >>> >
> >>> >apache
> >>> >http://repository.apache.org/
> >>> >
> >>> >false
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >apache-snapshots
> >>> >http://repository.apache.org/snapshots/
> >>> >
> >>> >false
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> > --
> >>> > Regards,
> >>> > Christophe Cordenier.
> >>> >
> >>> > Developer of wooki @wookicentral.com
> >>> >
> >>>
> >>>
> >>>
> >>> --
> >>> 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
> >>>
> >>>
> >>
> >>
> >> --
> >> Regards,
> >> Christophe Cordenier.
> >>
> >> Developer of wooki @wookicentral.com
> >>
> >
> >
> >
> > --
> > Regards,
> > Christophe Cordenier.
> >
> > Developer of wooki @wookicentral.com
> >
>
>
>
> --
> 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
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Andreas Andreou
Try closing the project in eclipse,
then cleaning ~/.m2/repository/org/apache/tapestry/**
and finally doing an intial build from the commang line

On Wed, Mar 24, 2010 at 21:31, Christophe Cordenier
 wrote:
> ...cannot figure out what ??
>
> If Anyone has a valid pom.xml to share with apache repository configured, it
> would be really helpful ?
>
> Best Regards
>
> 2010/3/24 Christophe Cordenier 
>
>>
>>
>> 2010/3/24 Andreas Andreou 
>>
>> i see the same values (which makes sense since the one url is an alias
>>> to the other i guess)
>>> The md5 should be changing every time there's a deploy so i'm still
>>> not sure how
>>> that affected eclipse...
>>>
>>
>> Actually my nightmare has started since i have removed formos repository...
>> Still fighting with m2eclipse
>>
>> I must miss someting, but really cannot figure out why, it keeps on
>> download corrupted Jars file when it's not empty...
>>
>>>
>>> On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier
>>>  wrote:
>>> > It seems that maven-metadata.xml.md5<
>>> https://repository.apache.org/content/groups/snapshots-group/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/maven-metadata.xml.md5
>>> >is
>>> > different
>>> > from
>>> >
>>> https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
>>> > and
>>> >
>>> https://repository.apache.org/content/groups/pweublic/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
>>> >
>>> > this was the cause of my eclipse problem i had to this in my pom.xml
>>> >
>>> >        
>>> >            apache
>>> >            http://repository.apache.org/
>>> >            
>>> >                false
>>> >            
>>> >        
>>> >
>>> >        
>>> >            apache-snapshots
>>> >            http://repository.apache.org/snapshots/
>>> >            
>>> >                false
>>> >            
>>> >        
>>> >
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > Christophe Cordenier.
>>> >
>>> > Developer of wooki @wookicentral.com
>>> >
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> Regards,
>> Christophe Cordenier.
>>
>> Developer of wooki @wookicentral.com
>>
>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>



-- 
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



Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
...cannot figure out what ??

If Anyone has a valid pom.xml to share with apache repository configured, it
would be really helpful ?

Best Regards

2010/3/24 Christophe Cordenier 

>
>
> 2010/3/24 Andreas Andreou 
>
> i see the same values (which makes sense since the one url is an alias
>> to the other i guess)
>> The md5 should be changing every time there's a deploy so i'm still
>> not sure how
>> that affected eclipse...
>>
>
> Actually my nightmare has started since i have removed formos repository...
> Still fighting with m2eclipse
>
> I must miss someting, but really cannot figure out why, it keeps on
> download corrupted Jars file when it's not empty...
>
>>
>> On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier
>>  wrote:
>> > It seems that maven-metadata.xml.md5<
>> https://repository.apache.org/content/groups/snapshots-group/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/maven-metadata.xml.md5
>> >is
>> > different
>> > from
>> >
>> https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
>> > and
>> >
>> https://repository.apache.org/content/groups/pweublic/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
>> >
>> > this was the cause of my eclipse problem i had to this in my pom.xml
>> >
>> >
>> >apache
>> >http://repository.apache.org/
>> >
>> >false
>> >
>> >
>> >
>> >
>> >apache-snapshots
>> >http://repository.apache.org/snapshots/
>> >
>> >false
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> > Christophe Cordenier.
>> >
>> > Developer of wooki @wookicentral.com
>> >
>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>



-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
2010/3/24 Andreas Andreou 

> i see the same values (which makes sense since the one url is an alias
> to the other i guess)
> The md5 should be changing every time there's a deploy so i'm still
> not sure how
> that affected eclipse...
>

Actually my nightmare has started since i have removed formos repository...
Still fighting with m2eclipse

I must miss someting, but really cannot figure out why, it keeps on download
corrupted Jars file when it's not empty...

>
> On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier
>  wrote:
> > It seems that maven-metadata.xml.md5<
> https://repository.apache.org/content/groups/snapshots-group/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/maven-metadata.xml.md5
> >is
> > different
> > from
> >
> https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
> > and
> >
> https://repository.apache.org/content/groups/pweublic/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
> >
> > this was the cause of my eclipse problem i had to this in my pom.xml
> >
> >
> >apache
> >http://repository.apache.org/
> >
> >false
> >
> >
> >
> >
> >apache-snapshots
> >http://repository.apache.org/snapshots/
> >
> >false
> >
> >
> >
> >
> >
> > --
> > Regards,
> > Christophe Cordenier.
> >
> > Developer of wooki @wookicentral.com
> >
>
>
>
> --
> 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
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Andreas Andreou
i see the same values (which makes sense since the one url is an alias
to the other i guess)
The md5 should be changing every time there's a deploy so i'm still
not sure how
that affected eclipse...

On Wed, Mar 24, 2010 at 20:53, Christophe Cordenier
 wrote:
> It seems that 
> maven-metadata.xml.md5is
> different
> from
> https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
> and
> https://repository.apache.org/content/groups/pweublic/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
>
> this was the cause of my eclipse problem i had to this in my pom.xml
>
>        
>            apache
>            http://repository.apache.org/
>            
>                false
>            
>        
>
>        
>            apache-snapshots
>            http://repository.apache.org/snapshots/
>            
>                false
>            
>        
>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>



-- 
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



Apache repository : 5.2.0-SNAPSHOT problem

2010-03-24 Thread Christophe Cordenier
It seems that 
maven-metadata.xml.md5is
different
from
https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/
and
https://repository.apache.org/content/groups/public/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/

this was the cause of my eclipse problem i had to this in my pom.xml


apache
http://repository.apache.org/

false




apache-snapshots
http://repository.apache.org/snapshots/

false





-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: LabJs

2010-03-24 Thread based2

On the subject:
http://www.reddit.com/r/programming/comments/bh98u/the_truth_about_ajax_performance_slides/


Fernando Padilla wrote:
> 
> I just learned of this neat Js library to help load Js files faster.  
> Maybe Tapestry should look into leveraging it.  If the new 
> JavascriptSupport, could expose script dependencies, then it could 
> automatically parallelize script download.  Tapestry could then use it 
> to load scripts for zones too, etc.
> 
> http://labjs.com/
> 
> Just wanted to share, to keep in the back of your mind.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/LabJs-tp28011529p28019103.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: Tapestry and SeeSaw talk

2010-03-24 Thread Massimo Lusetti
On Wed, Mar 24, 2010 at 6:29 PM, Ben Gidley  wrote:

> Hi,
>
> I did a talk last night on how we used tapestry for SeeSaw.com and if you
> are interested there is a video podcast at
> http://skillsmatter.com/podcast/java-jee/tapestry-5-in-action-for-real and
> the slides are at links.gidley.co.uk/tiafr
>
> Ben Gidley
>

That very interesting... thanks for sharing with us!

Cheers
-- 
Massimo
http://meridio.blogspot.com

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



Decorate parameter

2010-03-24 Thread Christophe Cordenier
Hi

I am currently trying to decorate the encoder parameter of Select component
(at least every component that has an encoder parameter) to apply an
indirection on client Value (see owasp rule A4)

I have tried to use InternalComponentResources of the container to write a
new value via the Binding, or the ParameterAccess, but no way...
It depends on the case but can fail with NullPointerException or because
default binding is invariant...

Any hints ?

-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 10:56:00 -0300, jaques robert  
 wrote:



So it works for the display, however it
seems that it isn't sufficiant for update ... Why ?


Because Tapestry needs to keep information about the looped objects so  
they can be correctly updated when the form is submitted.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

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



Re: Could not find a coercion (T5)

2010-03-24 Thread jaques robert

I don't understand the need of use of coercion inside loop. Indeed 
in my loop I define :
<<
 
            
                    ${processType.processType}
 (${processType.processTypeDN})    
                    

                        
>>

So it works for the display, however it 
seems that it isn't sufficiant for update ... Why ? The samples from jumpstart 
don't make use of such kind of valueencoder

Regards,
Mondes_engloutis.


--- En date de : Mer 24.3.10, Thiago H. de Paula Figueiredo 
 a écrit :

De: Thiago H. de Paula Figueiredo 
Objet: Re: Could not find a coercion (T5)
À: "Tapestry users" 
Date: Mercredi 24 mars 2010, 14h22

On Wed, 24 Mar 2010 10:16:10 -0300, jaques robert  
wrote:

> Have you got some samples about using ValueEncoder ?

It's quite easy. toClient() should return the id of the received object. 
toValue() should return the object that has a given id. This last method is 
usually implemented using a database lookup (using a DAO or otherwise). Just do 
what the Javadoc tells you to do.

--Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
instructor
Owner, software architect and developer, Ars Machina Tecnologia da Informação 
Ltda.
http://www.arsmachina.com.br

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




  

Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 10:16:10 -0300, jaques robert  
 wrote:



Have you got some samples about using ValueEncoder ?


It's quite easy. toClient() should return the id of the received object.  
toValue() should return the object that has a given id. This last method  
is usually implemented using a database lookup (using a DAO or otherwise).  
Just do what the Javadoc tells you to do.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

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



Re: Could not find a coercion (T5)

2010-03-24 Thread Michael Gentry
Here is one from our code (I made no attempt to map it to yours, but
hopefully it'll give you an idea):

@Property
private final ValueEncoder answerEncoder = new
ValueEncoder() {
@Override
public String toClient(SurveyAnswer answer) {
int in = question.getAnswers().indexOf(answer);
return String.valueOf(in);
}

@Override
public SurveyAnswer toValue(String str) {
if(StringUtils.isNotBlank(str)){
return 
question.getAnswers().get(Integer.parseInt(str));
}else{
return null;
}
}
};

This one basically uses the integer index into a list to be passed
in/out of the ValueEncoder.

mrg


On Wed, Mar 24, 2010 at 9:16 AM, jaques robert
 wrote:
> Thanks a lot.
>
> <<
> If you're editing ExportProcessType instances, implement a ValueEncoder
> for that type and use pass it to the encoder parameter of Loop.
> If
> you're not, try formState="none" in the Loop.
>>>
>
> Have you got some samples about using ValueEncoder ?
>
> Regards,
> Mondes_engloutis.
>
> --- En date de : Mer 24.3.10, Thiago H. de Paula Figueiredo 
>  a écrit :
>
> De: Thiago H. de Paula Figueiredo 
> Objet: Re: Could not find a coercion (T5)
> À: "Tapestry users" 
> Date: Mercredi 24 mars 2010, 13h40
>
> On Wed, 24 Mar 2010 09:20:43 -0300, jaques robert  
> wrote:
>
>> Hi,
>
> Hi!
>
>> org.apache.tapestry5.ioc.internal.util.TapestryException
>> Could not find a coercion from type java.lang.String to type 
>> com.wizard.data.model.ExportProcessType.
>
> If you're editing ExportProcessType instances, implement a ValueEncoder for 
> that type and use pass it to the encoder parameter of Loop.
> If you're not, try formState="none" in the Loop.
>
> --Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
> instructor
> Owner, software architect and developer, Ars Machina Tecnologia da Informação 
> Ltda.
> http://www.arsmachina.com.br
>
> -
> 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: Could not find a coercion (T5)

2010-03-24 Thread jaques robert
Thanks a lot.

<<
If you're editing ExportProcessType instances, implement a ValueEncoder 
for that type and use pass it to the encoder parameter of Loop.
If 
you're not, try formState="none" in the Loop.
>>

Have you got some samples about using ValueEncoder ? 

Regards,
Mondes_engloutis.

--- En date de : Mer 24.3.10, Thiago H. de Paula Figueiredo 
 a écrit :

De: Thiago H. de Paula Figueiredo 
Objet: Re: Could not find a coercion (T5)
À: "Tapestry users" 
Date: Mercredi 24 mars 2010, 13h40

On Wed, 24 Mar 2010 09:20:43 -0300, jaques robert  
wrote:

> Hi,

Hi!

> org.apache.tapestry5.ioc.internal.util.TapestryException
> Could not find a coercion from type java.lang.String to type 
> com.wizard.data.model.ExportProcessType.

If you're editing ExportProcessType instances, implement a ValueEncoder for 
that type and use pass it to the encoder parameter of Loop.
If you're not, try formState="none" in the Loop.

--Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
instructor
Owner, software architect and developer, Ars Machina Tecnologia da Informação 
Ltda.
http://www.arsmachina.com.br

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




  

Re: Could not find a coercion (T5)

2010-03-24 Thread Thiago H. de Paula Figueiredo
On Wed, 24 Mar 2010 09:20:43 -0300, jaques robert  
 wrote:



Hi,


Hi!


org.apache.tapestry5.ioc.internal.util.TapestryException
Could not find a coercion from type java.lang.String to type  
com.wizard.data.model.ExportProcessType.


If you're editing ExportProcessType instances, implement a ValueEncoder  
for that type and use pass it to the encoder parameter of Loop.

If you're not, try formState="none" in the Loop.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

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



Could not find a coercion (T5)

2010-03-24 Thread jaques robert
Hi,

I've got a simple T5 file with the following loop :
<<

        
            
                    ${processType.processType}
 (${processType.processTypeDN})    
                    
                        
                                  
                                
                                    ${documentType.documentType} 
(${documentType.documentTypeDn})
                                                            
                                ...
                        ..
                    
            ...
    
    
    

>>

When accessing this page with a simple get via the browser it works well 
however when I click on the submit button included in this page, I've got the 
following error of Type coercion.
<<
org.apache.tapestry5.ioc.internal.util.TapestryException
Could not find a coercion from type java.lang.String to type 
com.wizard.data.model.ExportProcessType.
 Available coercions: Double --> Float, Float --> Double, Long --> Boolean, 
Long --> Byte, Long --> Double, Long --> Integer, 
 Long --> Short, Number --> Long, Object --> Object[], Object --> String, 
Object --> java.util.List, Object[] --> java.util.List, String --> Boolean, 
 String --> Double, String --> Long, String --> java.io.File, String --> 
java.math.BigDecimal, String --> java.math.BigInteger, String --> 
java.text.DateFormat, 
 String --> java.util.regex.Pattern, String --> 
org.apache.tapestry5.Renderable, String --> org.apache.tapestry5.SelectModel, 
String --> org.apache.tapestry5.corelib.LoopFormState, 
 String --> org.apache.tapestry5.corelib.data.BlankOption, String --> 
org.apache.tapestry5.corelib.data.GridPagerPosition, String --> 
org.apache.tapestry5.corelib.data.InsertPosition, 
 String --> org.apache.tapestry5.ioc.Resource, String --> 
org.apache.tapestry5.ioc.util.TimeInterval, boolean[] --> java.util.List, 
byte[] --> java.util.List,
 char[] --> java.util.List, double[] --> java.util.List, float[] --> 
java.util.List, int[] --> java.util.List, java.math.BigDecimal --> Double, 
java.util.Collection --> Boolean,
 java.util.Collection --> Object[], java.util.Collection --> 
org.apache.tapestry5.grid.GridDataSource, java.util.List --> 
org.apache.tapestry5.SelectModel, java.util.Map --> 
org.apache.tapestry5.SelectModel,
 long[] --> java.util.List, null --> Boolean, null --> 
org.apache.tapestry5.grid.GridDataSource, 
org.apache.tapestry5.ComponentResources --> 
org.apache.tapestry5.PropertyOverrides, 
 org.apache.tapestry5.PrimaryKeyEncoder --> org.apache.tapestry5.ValueEncoder, 
org.apache.tapestry5.Renderable --> org.apache.tapestry5.Block, 
 org.apache.tapestry5.Renderable --> 
org.apache.tapestry5.runtime.RenderCommand, 
org.apache.tapestry5.ioc.util.TimeInterval --> Long, 
 org.apache.tapestry5.runtime.ComponentResourcesAware --> 
org.apache.tapestry5.ComponentResources, short[] --> java.util.List.
>>

I cannot understand why this error occurs. Have you got any pointers which 
could guide me toward this error ?

Regards,
Mondes_engloutis.


  

Re: LabJs

2010-03-24 Thread Andreas Andreou
I was aware of RequireJS (formerly RunJS) which i thought would become
a standard (more ties to CommonJS) - a guess there's competition in that field
as well!

On Wed, Mar 24, 2010 at 09:40, Fernando Padilla  wrote:
> I just learned of this neat Js library to help load Js files faster.  Maybe
> Tapestry should look into leveraging it.  If the new JavascriptSupport,
> could expose script dependencies, then it could automatically parallelize
> script download.  Tapestry could then use it to load scripts for zones too,
> etc.
>
> http://labjs.com/
>
> Just wanted to share, to keep in the back of your mind.
>
> -
> 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



Re: Documentation Request/Suggestion

2010-03-24 Thread Piero Sartini
> So a community-driven documentation effort is out of the question unless we
> come up with a system or procedure that complies with ASF rules.

We could just require to sign a CLA for people that want to help out
with documentation. This would mean to give rights to modifiy/create
only to people with CLA. It is the way struts2 handles this issue.

This way people who want to help with documentation would not need
commit rights.

  Piero

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



Re: [T5.2] Deprecated public API of RenderSupport removed without replacements?

2010-03-24 Thread Massimo Lusetti
On Tue, Mar 23, 2010 at 5:36 PM, Howard Lewis Ship  wrote:

> I think because I had built all the supporting APIs around Assets, not
> links.  I'm sure there's a way to slip this back in.

It would be useful to people which need to integrate with legacy apps (as me)

Cheers
-- 
Massimo
http://meridio.blogspot.com

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



Re: Documentation Request/Suggestion

2010-03-24 Thread Markus Feindler
What about developing such a system in Tapestry, document the code and use 
it as a guide? Two birds with one stone.

> 
>  Original-Nachricht 
> Datum: Wed, 24 Mar 2010 08:46:30 +0100
> Von: "Ulrich Stärk" 
> An: Tapestry users 
> Betreff: Re: Documentation Request/Suggestion
> 
> Unfortunately, ASF procedures require every contribution to 
> be made porpuseful and record of this 
> purpose has to be kept. In practice that means that every contribution to 
> the project, even 
> documentation, has to be made by someone who either signed a contributor 
> license agreement (CLA) or 
> (in case the contribution is small) an explicit license grant has to be 
> made for the contribution 
> (when submitting JIRA patches for example, this is done by ticking the 
> "grant license for inclusion" 
> checkbox).
> 
> So a community-driven documentation effort is out of the question unless 
> we come up with a system or 
> procedure that complies with ASF rules.
> 
> Uli
> 
> On 24.03.2010 07:45, Peter Stavrinides wrote:
> > We understand that Tapestry commiters are giving up their time to make 
> Tapestry what it is, and we are grateful, I think they too are aware of 
> these issues and must have some plans in the pipeline to rectify the 
> problems.
> >
> > Nothing being suggested in this post is new, my question is where the 
> bottleneck lies? and how can we help? community driven docs (with or 
> without changing existing docs) sounds like the most sensible option to 
> me as it would lift this burden from the commiters and get more people 
> activly involved in growing Tapestry.
> >
> > Cheers,
> > Peter
> >
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02


Re: Missing dependency in Tapestry 5.2.0-SNAPSHOT?

2010-03-24 Thread Robin Komiwes
It's now seems to be working.

I needed to delete all my JARs from my local repo that belong to
org/seleniumhq to make the thing work.

Don't have any clue why I had corrupted JARs.

Many thanx for your help everyone here.


On Tue, Mar 23, 2010 at 4:48 PM, Howard Lewis Ship  wrote:
> I did a clean build of tapestry and tapx yesterday, starting with no
> local Maven repository with no problems; that would indicate the
> Tapestry dependencies are good.
>
> On Tue, Mar 23, 2010 at 8:09 AM, Andreas Andreou  wrote:
>> oops - apologies...
>> I just took a look at tapestry-test (and other subprojects) and didn't see
>> anything using selenium-java-client-driver + hudson is correctly
>> building everything.
>>
>> So, i don't know if selenium-java-client-driver was a dependency
>> before, but it's not
>> now (and rightly so).
>>
>> On Tue, Mar 23, 2010 at 16:52, Robin Komiwes  wrote:
>>> Just to be clear, the class I was speaking about belongs to
>>> org.apache.tapestry5 (tapestry-test artifact).
>>>
>>> Anyway, I will try "mvn dependency:analyze" later and give feedback.
>>>
>>> Thanx!
>>>
>>> On Tuesday, March 23, 2010, Andreas Andreou  wrote:
 Robin, if your project directly uses selenium classes, then you should
 add that dependency
 in any case. It's bad practice to directly use transitive
 dependencies, because it's easy to end up
 in such problems...

 To give another example, tapestry-core now uses some commons-codec classes 
 -
 perhaps in the future in order to decrease download size or do perf.
 optimization, tapestry decides
 to drop that dependency and implement whatever it needs on its own -
 so, if other projects also
 need commons-codedc, they should include it themselves, not rely on
 tapestry, e.t.c.

 Anyway, try running "mvn dependency:analyze" to see a report of used
 undeclared dependencies
 and unused declared dependencies in your project

 On Tue, Mar 23, 2010 at 14:34, Ulrich Stärk  wrote:
> Might be that I messed something up when upgrading the selenium-versions
> some time ago. I will look into it.
>
> Uli
>
> On 23.03.2010 13:18, Robin Komiwes wrote:
>>
>> Hi,
>>
>> We are currently integrating Tapestry 5.2.0-SNAPSHOT for Wooki. When I
>> changed Tapestry version in our pom.xml I had a compilation problem
>> with some imports related to tapestry-test (in fact, when our test
>> classes were extending SeleniumTestCase).
>>
>> To fix them I had to add the following dependency:
>>
>>
>>        
>>             org.seleniumhq.selenium.client-drivers
>>             selenium-java-client-driver
>>             1.0.1
>>             test
>>         
>>
>> It may be my fault, it may be related to the newly missing formos
>> repository, or maybe there is something else.
>>
>> Any pointer on that?
>>
>> Regards,
>>
>> Robin
>>
>> -
>> 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


>>>
>>> -
>>> 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
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>
> -
> 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

Tapestry 5.2 / Eclipse / Dependency failure

2010-03-24 Thread Christophe Cordenier
Hi,

After moving to 5.2.0, Eclipse keep on failing with this error on my pom.xml

Multiple annotations found at this line:
- Missing indirectly referenced artifact
org.apache.tapestry:tapestry-ioc:jar:5.2.0-SNAPSHOT:compile
- org.apache.tapestry:tapestry-ioc:5.2.0-SNAPSHOT:jar end tag name
 must match start tag name  from line 7 (position: TEXT seen
...\n... @9:8)

although a command 'mvn compile' does not generate this dependency error

I have deleted manually the dependencies, launch a clean eclipse
workspace...

Anyone has encountered such problems with Eclipse ?

-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com


Re: Documentation Request/Suggestion

2010-03-24 Thread Ulrich Stärk
Unfortunately, ASF procedures require every contribution to be made porpuseful and record of this 
purpose has to be kept. In practice that means that every contribution to the project, even 
documentation, has to be made by someone who either signed a contributor license agreement (CLA) or 
(in case the contribution is small) an explicit license grant has to be made for the contribution 
(when submitting JIRA patches for example, this is done by ticking the "grant license for inclusion" 
checkbox).


So a community-driven documentation effort is out of the question unless we come up with a system or 
procedure that complies with ASF rules.


Uli

On 24.03.2010 07:45, Peter Stavrinides wrote:

We understand that Tapestry commiters are giving up their time to make Tapestry 
what it is, and we are grateful, I think they too are aware of these issues and 
must have some plans in the pipeline to rectify the problems.

Nothing being suggested in this post is new, my question is where the 
bottleneck lies? and how can we help? community driven docs (with or without 
changing existing docs) sounds like the most sensible option to me as it would 
lift this burden from the commiters and get more people activly involved in 
growing Tapestry.

Cheers,
Peter



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



Re: Documentation Request/Suggestion

2010-03-24 Thread Inge Solvoll
Agree!

Would be nice with something a bit more well-structured than the wiki,
though.  The wiki is great for finding examples, but it isn't a great guide
by Geoff's definition.

On Wed, Mar 24, 2010 at 7:45 AM, Peter Stavrinides <
p.stavrini...@albourne.com> wrote:

> We understand that Tapestry commiters are giving up their time to make
> Tapestry what it is, and we are grateful, I think they too are aware of
> these issues and must have some plans in the pipeline to rectify the
> problems.
>
> Nothing being suggested in this post is new, my question is where the
> bottleneck lies? and how can we help? community driven docs (with or without
> changing existing docs) sounds like the most sensible option to me as it
> would lift this burden from the commiters and get more people activly
> involved in growing Tapestry.
>
> Cheers,
> Peter
>
> --
> If you are not an intended recipient of this e-mail, please notify the
> sender, delete it and do not read, act upon, print, disclose, copy, retain
> or redistribute it. Please visit http://www.albourne.com/email.html for
> important additional terms relating to this e-mail.
>
> - Original Message -
> From: "Geoff Callender" 
> To: "Tapestry users" 
> Sent: Wednesday, 24 March, 2010 05:13:22 GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: Documentation Request/Suggestion
>
> I agree too. Users of anything usually need both a Guide and a Reference.
> To me, the Tapestry documentation is much more of a Reference than a Guide,
> and that makes it a source of immense frustration to newbies and the
> experienced alike.
>
> Here's what I mean: A User Reference is usually organised alphabetically
> for quick, well, reference. In contrast, a User Guide is usually organised
> by task, starting with the simplest task (Hello World?!?!) then working
> progressively through the tasks the author thinks you are most likely to
> want to accomplish. Whereas a User Reference includes every last arcane
> detail (because it really must), a User Guide leads you by the hand to what
> it thinks is important, helps you avoid known gotchas, and leaves out
> absolutely everything that doesn't directly contribute to doing the task. A
> Reference often is not focused on the practical. A User Guide must be
> focused on the practical.
>
> To learn from a Reference is very tough indeed. You pretty much have to
> read the entire thing at least twice before you can even judge what's
> actually important and get yourself started.
>
> As for injectables and annotations, I think there's a very practical need
> for something that brings all of them together in a way that all of us users
> can get a handle on them. A key part would be a description of why you might
> use each one, and it should put the stuff you're least likely to use down
> the bottom. Maybe they should even be organised by task?
>
> Cheers,
>
> Geoff
>
> On 24/03/2010, at 12:20 AM, Erick Erickson wrote:
>
> > I'll second Michael's statement, the documentation may exist but you
> > don't even know it's there unless you already know it's there. Tribal
> > knowledge and all that. Sometimes Google even gets me there.
> >
> > But the T5 website is NOT my first choice exactly because of its
> > organization, and it *should* be my first choice.
> >
> > Most of my complaints would be alleviated by a simple search
> > capability on the tapestry5 website, the lack thereof is my main
> > difficulty in using it. The organization may make perfect sense to
> > someone who really understands the thinking behind T5, but to new
> > folks, it's a mystery.
> >
> > Clearly lots and lots of work has been put into the Tapestry website
> > and documentation. I imagine it's tempting for people who *have* put
> > the effort into the docs to reply "Read The Field Manual" (Look, it's
> > a public board, "Field" will do). That work would be much more valuable
> > to many more of us if it were searchable. It would certainly reduce
> > my frustration level.
> >
> > Here's an example of trying to find something utterly trivial. Say I want
> > to learn about the @Persist annotation. I go to the top level and click
> > on "annotations", and you get a page that is utterly useless, to whit:
> > http://tapestry.apache.org/tapestry5.1/tapestry5-annotations/
> > Aha, I look again at the top-level and I find a "Persistent State"
> > link. Nope.
> > http://tapestry.apache.org/tapestry5.1/guide/appstate.html
> >
> > Hmmm, maybe I clicked one link too low, there's the
> > "Persistent page data" link at:
> > http://tapestry.apache.org/tapestry5.1/guide/persist.html
> > Aha! cool, that page talks about @Persist. Except.
> > it has no example of *how* to implement one of the
> > three strategies.
> > But look! There's a link to the javadoc for @Persist! I'm saved!
> > Nope, that page has no example either.
> >
> http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/annotations/Persist.html
> >
> > At this point I give up and search the

LabJs

2010-03-24 Thread Fernando Padilla
I just learned of this neat Js library to help load Js files faster.  
Maybe Tapestry should look into leveraging it.  If the new 
JavascriptSupport, could expose script dependencies, then it could 
automatically parallelize script download.  Tapestry could then use it 
to load scripts for zones too, etc.


http://labjs.com/

Just wanted to share, to keep in the back of your mind.

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