Re: t5: calling another T5 app

2010-09-03 Thread Andreas Andreou
it's not a bot !
i've found earlier emails that contain actual sentences apart from urls

On Fri, Sep 3, 2010 at 23:23, Thiago H. de Paula Figueiredo
 wrote:
> On Fri, 03 Sep 2010 16:57:50 -0300, Howard Lewis Ship 
> wrote:
>
>> A script with a sense of humor?
>
> He or she is the Tapestry users mailing list very own "let me google and
> search the mailing lists for you", with a sense of humor, which is an
> awesome thing. :D
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, 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
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry PMC / 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: Aesthetic IE8 issues

2010-09-03 Thread Howard Lewis Ship
Perhaps we should cut-and-paste one of the standard reset CSS files
into default.css?

On Fri, Sep 3, 2010 at 2:05 PM, Howard Lewis Ship  wrote:
> I remember putting some tricks in place in the CSS for IE; basically,
> things that IE recognizes that other browser don't (as an alternative
> to conditional stylesheets, which were not supported by Tapestry at
> the time).
>
> On Fri, Sep 3, 2010 at 1:56 PM, Rich M  wrote:
>> Has no one else experienced this? I'm most concerned about the bubble images
>> which the tapestry default.css references with the css:
>> HTML > BODY DIV.t-error-popup SPAN{
>> background : url(error-bevel-left.png) no-repeat
>> }
>> HTML > BODY DIV.t-error-popup{
>> background: url(error-bevel-right.png) no-repeat
>> }
>>
>> Some research into the situation showed that SOME but not all IE8 users
>> experience issues with ALL PNG image files. After messing with my
>> PNG-broken-IE8 a little bit on my own, I can't find any settings that fix
>> this, nor have I found any information from others who have. The IE7
>> compatibility mode run in IE8 will at least get the PNGs displaying again,
>> but that mode is weird in its own right.
>>
>> Also in IE7 there seem to be issues with validation/errors as well. The
>>  component renders the text of the error starting out of the
>> form box to the left. There is conflicting CSS in the default.css file that
>> I'm having a hard time grasping the point of:
>>
>> DIV.t-error LI {
>>    margin-left: 20px;
>> }
>>
>> HTML > BODY DIV.t-error LI {
>>    margin-left: -20px;
>> }
>>
>> Now the second one seems to override the first one every single time in IE7,
>> which makes the display broken.
>>
>> I'm also seeing issues with any form element that is determined to be in
>> error by t:validate shrinks in horizontal size creating a weird effect for
>> the user.
>>
>> Anyone dealt with these problems?
>>
>> Is the best solution to override some of the CSS properties in my own CSS
>> files, and maybe port the PNG files to a different format and serve them
>> myself in my application?
>>
>> Thanks,
>> Rich
>>
>> On 08/30/2010 05:19 PM, Rich M wrote:
>>>
>>> Hi,
>>>
>>> I've been doing some testing and noticed two peculiarities inherent to the
>>> framework in IE8, wondering if anyone has encountered these and possibly
>>> identified the issue at hand. First is the the JavaScript popup validation
>>> bubbles that accompany Tapestry forms do not display with the background
>>> 'bubble' image. Instead it's just plain text floating. The other thing I
>>> noticed is that every single PasswordField is slightly thinner than every
>>> TextField which creates an unappealing appearance in forms.
>>>
>>> this is 5.1.0.5 by the way.
>>>
>>> Thanks,
>>> Rich
>>>
>>> -
>>> 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
>>
>>
>
>
>
> --
> 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
>



-- 
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: Aesthetic IE8 issues

2010-09-03 Thread Howard Lewis Ship
I remember putting some tricks in place in the CSS for IE; basically,
things that IE recognizes that other browser don't (as an alternative
to conditional stylesheets, which were not supported by Tapestry at
the time).

On Fri, Sep 3, 2010 at 1:56 PM, Rich M  wrote:
> Has no one else experienced this? I'm most concerned about the bubble images
> which the tapestry default.css references with the css:
> HTML > BODY DIV.t-error-popup SPAN{
> background : url(error-bevel-left.png) no-repeat
> }
> HTML > BODY DIV.t-error-popup{
> background: url(error-bevel-right.png) no-repeat
> }
>
> Some research into the situation showed that SOME but not all IE8 users
> experience issues with ALL PNG image files. After messing with my
> PNG-broken-IE8 a little bit on my own, I can't find any settings that fix
> this, nor have I found any information from others who have. The IE7
> compatibility mode run in IE8 will at least get the PNGs displaying again,
> but that mode is weird in its own right.
>
> Also in IE7 there seem to be issues with validation/errors as well. The
>  component renders the text of the error starting out of the
> form box to the left. There is conflicting CSS in the default.css file that
> I'm having a hard time grasping the point of:
>
> DIV.t-error LI {
>    margin-left: 20px;
> }
>
> HTML > BODY DIV.t-error LI {
>    margin-left: -20px;
> }
>
> Now the second one seems to override the first one every single time in IE7,
> which makes the display broken.
>
> I'm also seeing issues with any form element that is determined to be in
> error by t:validate shrinks in horizontal size creating a weird effect for
> the user.
>
> Anyone dealt with these problems?
>
> Is the best solution to override some of the CSS properties in my own CSS
> files, and maybe port the PNG files to a different format and serve them
> myself in my application?
>
> Thanks,
> Rich
>
> On 08/30/2010 05:19 PM, Rich M wrote:
>>
>> Hi,
>>
>> I've been doing some testing and noticed two peculiarities inherent to the
>> framework in IE8, wondering if anyone has encountered these and possibly
>> identified the issue at hand. First is the the JavaScript popup validation
>> bubbles that accompany Tapestry forms do not display with the background
>> 'bubble' image. Instead it's just plain text floating. The other thing I
>> noticed is that every single PasswordField is slightly thinner than every
>> TextField which creates an unappealing appearance in forms.
>>
>> this is 5.1.0.5 by the way.
>>
>> Thanks,
>> Rich
>>
>> -
>> 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
>
>



-- 
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: Aesthetic IE8 issues

2010-09-03 Thread Rich M
Has no one else experienced this? I'm most concerned about the bubble 
images which the tapestry default.css references with the css:

HTML > BODY DIV.t-error-popup SPAN{
background : url(error-bevel-left.png) no-repeat
}
HTML > BODY DIV.t-error-popup{
background: url(error-bevel-right.png) no-repeat
}

Some research into the situation showed that SOME but not all IE8 users 
experience issues with ALL PNG image files. After messing with my 
PNG-broken-IE8 a little bit on my own, I can't find any settings that 
fix this, nor have I found any information from others who have. The IE7 
compatibility mode run in IE8 will at least get the PNGs displaying 
again, but that mode is weird in its own right.


Also in IE7 there seem to be issues with validation/errors as well. The 
 component renders the text of the error starting out of the 
form box to the left. There is conflicting CSS in the default.css file 
that I'm having a hard time grasping the point of:


DIV.t-error LI {
margin-left: 20px;
}

HTML > BODY DIV.t-error LI {
margin-left: -20px;
}

Now the second one seems to override the first one every single time in 
IE7, which makes the display broken.


I'm also seeing issues with any form element that is determined to be in 
error by t:validate shrinks in horizontal size creating a weird effect 
for the user.


Anyone dealt with these problems?

Is the best solution to override some of the CSS properties in my own 
CSS files, and maybe port the PNG files to a different format and serve 
them myself in my application?


Thanks,
Rich

On 08/30/2010 05:19 PM, Rich M wrote:

Hi,

I've been doing some testing and noticed two peculiarities inherent to 
the framework in IE8, wondering if anyone has encountered these and 
possibly identified the issue at hand. First is the the JavaScript 
popup validation bubbles that accompany Tapestry forms do not display 
with the background 'bubble' image. Instead it's just plain text 
floating. The other thing I noticed is that every single PasswordField 
is slightly thinner than every TextField which creates an unappealing 
appearance in forms.


this is 5.1.0.5 by the way.

Thanks,
Rich

-
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: t5: calling another T5 app

2010-09-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Sep 2010 16:57:50 -0300, Howard Lewis Ship   
wrote:



A script with a sense of humor?


He or she is the Tapestry users mailing list very own "let me google and  
search the mailing lists for you", with a sense of humor, which is an  
awesome thing. :D


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, 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: t5: calling another T5 app

2010-09-03 Thread Howard Lewis Ship
A script with a sense of humor?

On Fri, Sep 3, 2010 at 12:55 PM, based2  wrote:
>
> :)
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/t5-calling-another-T5-app-tp2421201p2802874.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
>
>



-- 
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: t5: calling another T5 app

2010-09-03 Thread based2

:)
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-calling-another-T5-app-tp2421201p2802874.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: t5: calling another T5 app

2010-09-03 Thread Howard Lewis Ship
Does anyone know what this based2 thing is?  It's either an
obsessional individual, or some kind of script.

On Fri, Sep 3, 2010 at 12:29 PM, based2  wrote:
>
> http://tapestry.1045711.n5.nabble.com/How-to-change-url-of-active-page-to-external-link-from-Tapestry-5-td2421657.html#a2421657
>
> http://tapestry.apache.org/tapestry5/guide/pagenav.html
>
> == http://wiki.apache.org/tapestry/Tapestry5HowTos
> == http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
> == http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
> http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/t5-calling-another-T5-app-tp2421201p2802843.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
>
>



-- 
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: Tapestry + GAE + Eclipse + Maven

2010-09-03 Thread based2

GAE - Google Application Engine

* http://code.google.com/p/tapestry-gae/

* http://github.com/bgidley/ProjectView

* http://github.com/dmitrygusev/ping-service

*
http://bdotte.blogspot.com/2010/02/running-tapestry-52-snapshot-on-google.html

*
http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html

*
http://n2.nabble.com/Hosting-Apache-Tapestry5-1-on-GAE-Google-Application-Engine-td4586567.html#a4619184

* http://code.google.com/p/googleappengine/issues/detail?id=1480

* http://derkoe.wordpress.com/2009/08/11/tapestry-5-1-in-the-cloud/

* http://github.com/jcai/t5ongae

* Tapestry-conversations example running on GAE:
http://tapestry-conversations.tynamo.org/

* Maven-based and using maven-gae-plugin for deployment, source
available at
http://svn.codehaus.org/tynamo/trunk/tynamo-example-conversations/

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-GAE-Eclipse-Maven-tp2802841p2802861.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: Versioned assets

2010-09-03 Thread based2

http://stackoverflow.com/questions/288041/tapestry-4-asset-cache-control
http://tapestry.1045711.n5.nabble.com/Expires-Header-not-set-for-assets-td2400940.html#a2400940

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Versioned-assets-tp2634937p2802853.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: t5: calling another T5 app

2010-09-03 Thread based2

http://tapestry.1045711.n5.nabble.com/How-to-change-url-of-active-page-to-external-link-from-Tapestry-5-td2421657.html#a2421657

http://tapestry.apache.org/tapestry5/guide/pagenav.html

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-calling-another-T5-app-tp2421201p2802843.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



Tapestry + GAE + Eclipse + Maven

2010-09-03 Thread Elin

Hi. Just discovered Google App Engine and im trying to upload 1 single
tapestry application to the server. Im using eclipse with the GAE plugin. I
made a new project with maven on the archetype 5.2.1. I imported it on
eclipse but i cant get it work with the GAE plugin. Any advice step by step
on this? Or any tutorial... if i create a new project with GAE eclipse
plugin it works but the project structure is different from the tapestry one
built after the maven archetype load(and atm im starting with tapestry... im
not an advance user :/ )

Thx in advance
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-GAE-Eclipse-Maven-tp2802841p2802841.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: LinkSubmit component bug (TAP5-1180)

2010-09-03 Thread based2

https://issues.apache.org/jira/browse/TAP5-930

https://issues.apache.org/jira/browse/TAP5-1180

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/LinkSubmit-component-bug-TAP5-1180-tp2640857p2802824.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: Triggering an ajax update on an inplace grid?

2010-09-03 Thread based2

http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/editablegrid1

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Triggering-an-ajax-update-on-an-inplace-grid-tp2642221p2802820.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: Strange behavior with Tomcat and NIO Connector

2010-09-03 Thread based2

http://www.icefaces.org/JForum/posts/list/16979.page
http://www.icefaces.org/JForum/posts/list/8667.page
http://www.mail-archive.com/us...@tomcat.apache.org/msg36957.html

http://blog.krecan.net/2010/05/02/cool-tomcat-is-able-to-handle-more-than-13000-concurrent-connections/

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Strange-behavior-with-Tomcat-and-NIO-Connector-tp2651492p2802807.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: Is there any Code fix for "TAP5-431" Error

2010-09-03 Thread based2

https://issues.apache.org/jira/browse/TAP5-431:

Howard M. Lewis Ship added a comment - 01/Jan/09 03:51 PM
A great workaround for this is to use tapestry-spring 5.0.18, even if the
rest of Tapestry is 5.1.

Howard M. Lewis Ship added a comment - 01/Jan/09 03:53 PM
Not critical -- there is a completely valid workaround, thanks to the magic
of versioning!

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage

-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Is-there-any-Code-fix-for-TAP5-431-Error-tp2653396p2802722.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: [T5.2.0] java.lang.NoSuchMethodError: MutableComponentModel.addMixinClassName()

2010-09-03 Thread Howard Lewis Ship
Do a clean recompile of your sources.  Looks like the API changed to
add a varargs of strings to the method; that's source compatible but
not binary compatible.

On Mon, Aug 30, 2010 at 2:06 AM, Steve Eynon
 wrote:
> Hello,
>
> I really want to upgrade to T5.2 but have come across a bit of a hurdle.
>
> I'm trying to add a bit of markup to *every* page. I've written a
> mixin to supply the markup and am using a
> ComponentClassTransformWorker to add the mixin to every page. This
> worked flawlessly in T5.1.0.5 but in T5.2.0 I'm getting:
>
> java.lang.NoSuchMethodError:
> org.apache.tapestry5.model.MutableComponentModel.addMixinClassName(Ljava/lang/String;)V
>
> It seems like the underlying page model in T5.2 doesn't yet support mixins!?
>
> Is this expected behaviour and / or is there a better way of achieving
> what I'm after?
>
> I've tried adding a component instead but then I get a snobby:
>
> Embedded component(s)  are defined within component class
> org.apache.tapestry5.corelib.pages.ExceptionReport (or a super-class
> of ExceptionReport), but are not present in the component template
> (classpath:org/apache/tapestry5/corelib/pages/ExceptionReport.tml).
>
> Any ideas?
>
> Steve.
>
> -
> 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: tapestry 4 table methods call multiple times

2010-09-03 Thread based2

http://tapestry.1045711.n5.nabble.com/Multiple-calls-of-method-OnActivate-td2398530.html#a2398530

http://tapestry.1045711.n5.nabble.com/Please-expand-on-this-td2379575.html#a2379578

http://tapestry.1045711.n5.nabble.com/tapestry-4-contrib-table-call-getModel-multiple-times-td2398212.html#a2398212

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/tapestry-4-table-methods-call-multiple-times-tp2799216p2802715.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: [T5.2.0] java.lang.NoSuchMethodError: MutableComponentModel.addMixinClassName()

2010-09-03 Thread based2

! http://tapestry.formos.com/nightly/tapestry5/upgrade.html

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
http://people.apache.org/~uli/tapestry-site/frequently-asked-questions.html#FrequentlyAskedQuestions-HowdoIstoremypageclassesinadifferentpackage
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-2-0-java-lang-NoSuchMethodError-MutableComponentModel-addMixinClassName-tp2796493p2802698.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: Aesthetic IE8 issues

2010-09-03 Thread based2

http://webcache.googleusercontent.com/search?q=cache:FhDOefocyfoJ:msdn.microsoft.com/en-us/library/ms535882%28VS.85%29.aspx+ie8+popup+prototype+positionning&cd=1&hl=fr&ct=clnk&gl=fr&lr=lang_en|lang_fr&client=firefox-a


http://tapestry.1045711.n5.nabble.com/5-2-0-all-our-apps-completly-broken-in-IE8-numerous-javascript-errors-td2740558.html#a2795427

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Aesthetic-IE8-issues-tp2797367p2802677.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: [T5] Inline display of general exceptions

2010-09-03 Thread based2

http://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml

http://www.koders.com/java/fid5CCD150311F25A3982B28E9EC0B9D8EFBD44350A.aspx?s=BeanEditor
http://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java


http://tapestry.apache.org/tapestry5/cookbook/exceptions.html



== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-Inline-display-of-general-exceptions-tp2800276p2802675.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: How do you include an html link in an error message for a form

2010-09-03 Thread based2

http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ActionLink.html
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/PageLink.html
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/LinkSubmit.html

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

== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-do-you-include-an-html-link-in-an-error-message-for-a-form-tp2801604p2802655.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: [T5.1.0.5] Loop inside grid

2010-09-03 Thread based2

http://stackoverflow.com/questions/2524045/tapestry5-display-grid-component-using-a-hashmap


== http://wiki.apache.org/tapestry/Tapestry5HowTos
== http://wiki.apache.org/tapestry/Tapestry5OpensourceApps
== http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-1-0-5-Loop-inside-grid-tp2801942p2802640.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: Ajax Radio Group

2010-09-03 Thread based2

http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/ajaxformloop1
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Ajax-Radio-Group-tp2802582p2802611.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



Ajax Radio Group

2010-09-03 Thread hese

Hi,

I have a Radio Button column inside a grid.  (all the radio buttons belong
to a radio group).  I wrote the .tml (below) am getting the grid with the
radio button column. 

What i want is to receive a notification in my java class whenever a radio
button is clicked .. (the page should not reload...should be an ajax call).

Any idea how to do it?

Thanks!

.tml



 
  
   
  





-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Ajax-Radio-Group-tp2802582p2802582.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: Can't upload file with Easy FCKeditor

2010-09-03 Thread Christophe Cordenier
Hi !

For Wooki we have implemented an upload feature as well, and bundled the
wymeditor as a mixin, you can find the complete source at

http://github.com/spreadthesource/wooki/blob/master/src/main/java/com/wooki/mixins/WymEditor.java

Have a look at these lines, this is how we create the URL used in our
wymedit configuration upload plugin.

  Link uploadActionLink = resources.createEventLink("uploadImage");
  params.put("uploadAction", uploadActionLink.toAbsoluteURI());

Note that this code does not intend to be generic, but with less effort i
think you can adapt it to your needs.

HTH

2010/9/3 stonyz 

>
> I just try the Easy_FCKeditor to upload image, but when I Click Image
> Button
> and then open Resouces Browser, I saw the url is as blow
>
> ./browser.html?Type=Image&Connector=
> http://localhost:8080/CDVAdmin/assets/easyfck/fckeditor/editor/filemanager/connectors/php/connector.php
>
>
> Did you notice the Connector is connector.php.
>
>
> I did all followed the demo
> http://t5-easy-fckeditor.kenai.com/FileUploads.html
> http://t5-easy-fckeditor.kenai.com/FileUploads.html
>
> I'm not sure how to handle it. With you get your help.
>
>
> Thanks a lot in advance.
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Can-t-upload-file-with-Easy-FCKeditor-tp2801967p2801967.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
>
>


-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com


Re: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Howard Lewis Ship
https://issues.apache.org/jira/browse/TAP5-1264

On Fri, Sep 3, 2010 at 9:36 AM, Howard Lewis Ship  wrote:
> Whatever is happening is unintentional. Apparently, there are
> insufficient orderings to ensure the correct order.
>
> I suspect this will fix the problem:
>
>
>       configuration.add("DocumentLinker", documentLinker);
>       configuration.add("JavaScriptSupport", javaScriptSupport,
> "after:DocumentLinker");
>       configuration.add("RenderSupport", renderSupport,
> "after:JavaScriptSupport");
>       configuration.add("InjectDefaultStyleheet",
> injectDefaultStylesheet, "after:JavaScriptSupport");
>       configuration.add("ClientBehaviorSupport",
> clientBehaviorSupport, "after:JavaScriptSupport");
>       configuration.add("Heartbeat", heartbeat, 
> "after:ClientBehaviorSupport");
>       configuration.add("DefaultValidationDecorator",
> defaultValidationDecorator, "after:Heartbeat");
>
> In this way, the finally Heartbeat.end() will execute while the
> ClientBehaviorSupport is in scope.
>
>
> On Fri, Sep 3, 2010 at 7:14 AM, Blower, Andy  
> wrote:
>> I was already on that Jim, good suggestion though - and it works (or breaks 
>> I suppose) so I've been able to debug this issue a little.
>>
>> ClientBehavourSupport is pushed into the env and used 110-ish times before 
>> it's popped by line 2041 of TapestryModule which is the 
>> clientBehaviorSupport MarkupRendererFilter at the end of rendering the page 
>> markup. The error is then thrown by a heartbeat MarkupRendererFilter which 
>> peekRequired() for ClientBehavourSupport and fails.
>>
>> Is this a problem with the ordering of the MarkupRendererFilter's do you 
>> think?
>>
>> 5.1.0.5:
>>
>>        configuration.add("DocumentLinker", documentLinker, 
>> "before:RenderSupport");
>>        configuration.add("RenderSupport", renderSupport);
>>        configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
>> "after:RenderSupport");
>>        configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
>> "after:RenderSupport");
>>        configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
>>        configuration.add("DefaultValidationDecorator", 
>> defaultValidationDecorator, "after:Heartbeat");
>>
>> 5.2.0:
>>
>>        configuration.add("DocumentLinker", documentLinker);
>>        configuration.add("JavaScriptSupport", javaScriptSupport, 
>> "after:DocumentLinker");
>>        configuration.add("RenderSupport", renderSupport, 
>> "after:JavaScriptSupport");
>>        configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
>> "after:RenderSupport");
>>        configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
>> "after:JavaScriptSupport");
>>        configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
>>        configuration.add("DefaultValidationDecorator", 
>> defaultValidationDecorator, "after:Heartbeat");
>>
>> Why did this change? What should I change it to so this works?
>>
>> Thanks,
>>
>> Andy
>>
>>> -Original Message-
>>> From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
>>> Sent: 02 September 2010 15:58
>>> To: 'Tapestry users'
>>> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
>>> available from the Environment
>>>
>>> Can't reproduce Andy and not a solution I'm afraid, but can you try to
>>> run
>>> the app through your non-Eclipse environment with debug mode set on the
>>> JVM
>>> and remote debug it using Eclipse on a socket / shared mem?  Perhaps
>>> this
>>> would give you some more info.
>>>
>>> Regards,
>>> Jim.
>>>
>>> -Original Message-
>>> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
>>> Sent: 02 September 2010 15:28
>>> To: 'Tapestry users'
>>> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
>>> available
>>> from the Environment
>>>
>>> Sorry for no update - was on a short holiday over the (UK) bank holiday
>>> weekend.
>>>
>>> Anyway, I thought this had just 'gone-away' yesterday but it hasn't. It
>>> happens unless I run it using Eclipse to debug the app, now that really
>>> is
>>> strange! That's right, a bug that doesn't appear when debugging. Kinda
>>> cripples my ability to debug this issue.
>>>
>>> I'm running it using Jetty 6.1.6 kicked off using run-jetty-run in
>>> Eclipse.
>>> Are you (or anyone else on the list for that matter) able to reproduce
>>> this
>>> problem? It only seems to happen with one of our pages
>>>
>>> > -Original Message-
>>> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
>>> > Sent: 27 August 2010 21:24
>>> > To: Tapestry users
>>> > Subject: Re: [T5.2] No object of type ClientBehaviorSupport is
>>> > available from the Environment
>>> >
>>> >  Wow, that does seem odd, since all the other environmentals, set up
>>> > before the render, seem to be available.
>>> >
>>> > On Wed, Aug 25, 2010 at 8:29 AM, Blower, Andy
>>> >  wrote:
>>> > > Can anyone make sense of this one:
>>> > >
>>> > > ERROR [16:22:34,848] btpool0-1
>>> > (services.Tapes

Re: Breakpoints under Tapestry 5.2

2010-09-03 Thread Adam Zimowski
Having same issue. Worked in 5.1, doesn't in 5.2. Anyone?

On Tue, May 25, 2010 at 2:10 AM, Greg Pagendam-Turner
 wrote:
> Guys,
>
> I've got another issue with Tapestry 5.2. Changing the dependency to the
> 5.2.0 snapshot I get the following error when triggering a breakpoint in
>  Eclipse:
>
> Unable to install breakpoint in
> com.liftyourgame.application.components.LygActionPlan$containingPageDidLoad$invocation_128ce3fc093
> due to missing line number attributes. Modify compiler options to generate
> line number attributes.
> Reason: Absent Line Number Information
>
> I've checked the config in Eclipse and the compiler is set to generate line
> numbers.
>
> Switching just the version to 5.1.0.5-SNAPSHOT and the breakpoints work
> fine.
>
> What's changed in 5.2 that might cause this experience?
>
> Changing
> Regards,
>
> Greg.
>
>
> -
> 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: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Howard Lewis Ship
Whatever is happening is unintentional. Apparently, there are
insufficient orderings to ensure the correct order.

I suspect this will fix the problem:


   configuration.add("DocumentLinker", documentLinker);
   configuration.add("JavaScriptSupport", javaScriptSupport,
"after:DocumentLinker");
   configuration.add("RenderSupport", renderSupport,
"after:JavaScriptSupport");
   configuration.add("InjectDefaultStyleheet",
injectDefaultStylesheet, "after:JavaScriptSupport");
   configuration.add("ClientBehaviorSupport",
clientBehaviorSupport, "after:JavaScriptSupport");
   configuration.add("Heartbeat", heartbeat, "after:ClientBehaviorSupport");
   configuration.add("DefaultValidationDecorator",
defaultValidationDecorator, "after:Heartbeat");

In this way, the finally Heartbeat.end() will execute while the
ClientBehaviorSupport is in scope.


On Fri, Sep 3, 2010 at 7:14 AM, Blower, Andy  wrote:
> I was already on that Jim, good suggestion though - and it works (or breaks I 
> suppose) so I've been able to debug this issue a little.
>
> ClientBehavourSupport is pushed into the env and used 110-ish times before 
> it's popped by line 2041 of TapestryModule which is the clientBehaviorSupport 
> MarkupRendererFilter at the end of rendering the page markup. The error is 
> then thrown by a heartbeat MarkupRendererFilter which peekRequired() for 
> ClientBehavourSupport and fails.
>
> Is this a problem with the ordering of the MarkupRendererFilter's do you 
> think?
>
> 5.1.0.5:
>
>        configuration.add("DocumentLinker", documentLinker, 
> "before:RenderSupport");
>        configuration.add("RenderSupport", renderSupport);
>        configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
> "after:RenderSupport");
>        configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
> "after:RenderSupport");
>        configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
>        configuration.add("DefaultValidationDecorator", 
> defaultValidationDecorator, "after:Heartbeat");
>
> 5.2.0:
>
>        configuration.add("DocumentLinker", documentLinker);
>        configuration.add("JavaScriptSupport", javaScriptSupport, 
> "after:DocumentLinker");
>        configuration.add("RenderSupport", renderSupport, 
> "after:JavaScriptSupport");
>        configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
> "after:RenderSupport");
>        configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
> "after:JavaScriptSupport");
>        configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
>        configuration.add("DefaultValidationDecorator", 
> defaultValidationDecorator, "after:Heartbeat");
>
> Why did this change? What should I change it to so this works?
>
> Thanks,
>
> Andy
>
>> -Original Message-
>> From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
>> Sent: 02 September 2010 15:58
>> To: 'Tapestry users'
>> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
>> available from the Environment
>>
>> Can't reproduce Andy and not a solution I'm afraid, but can you try to
>> run
>> the app through your non-Eclipse environment with debug mode set on the
>> JVM
>> and remote debug it using Eclipse on a socket / shared mem?  Perhaps
>> this
>> would give you some more info.
>>
>> Regards,
>> Jim.
>>
>> -Original Message-
>> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
>> Sent: 02 September 2010 15:28
>> To: 'Tapestry users'
>> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
>> available
>> from the Environment
>>
>> Sorry for no update - was on a short holiday over the (UK) bank holiday
>> weekend.
>>
>> Anyway, I thought this had just 'gone-away' yesterday but it hasn't. It
>> happens unless I run it using Eclipse to debug the app, now that really
>> is
>> strange! That's right, a bug that doesn't appear when debugging. Kinda
>> cripples my ability to debug this issue.
>>
>> I'm running it using Jetty 6.1.6 kicked off using run-jetty-run in
>> Eclipse.
>> Are you (or anyone else on the list for that matter) able to reproduce
>> this
>> problem? It only seems to happen with one of our pages
>>
>> > -Original Message-
>> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
>> > Sent: 27 August 2010 21:24
>> > To: Tapestry users
>> > Subject: Re: [T5.2] No object of type ClientBehaviorSupport is
>> > available from the Environment
>> >
>> >  Wow, that does seem odd, since all the other environmentals, set up
>> > before the render, seem to be available.
>> >
>> > On Wed, Aug 25, 2010 at 8:29 AM, Blower, Andy
>> >  wrote:
>> > > Can anyone make sense of this one:
>> > >
>> > > ERROR [16:22:34,848] btpool0-1
>> > (services.TapestryModule.RequestExceptionHandler:62) - Processing of
>> > request failed with uncaught exception: No object of type
>> > org.apache.tapestry5.services.ClientBehaviorSupport is available from
>> > the Environment.  Available types are
>> > org.apache.

Re: [T5] Inline display of general exceptions

2010-09-03 Thread Howard Lewis Ship
To be honest, I'd define a different object to store the exceptions,
and a matching component to display them.

For one of my clients, I've been working on a generalized way to store
application messages (info, warning, error) and control how long they
are displayed (once, until dismissed, until page changes).   I may be
able to spin that off into a general purpose library (perhaps under
the tapx umbrella).

On Fri, Sep 3, 2010 at 7:05 AM, Thiago H. de Paula Figueiredo
 wrote:
> On Fri, 03 Sep 2010 10:52:14 -0300, Lothar Nieswandt 
> wrote:
>
>> Hi there,
>
> Hi!
>
>> I like the layout used by the "Errors" component (red square). So my first
>> thaught was: why not use this component. However, when trying to achieve
>> this I found that the purpose of 'Errors' is to display ValidationExceptions
>> that occur in forms.
>
> Not just validation errors. You can get the ValidationTracker from the
> Environment and use void recordError(String errorMessage) to record a
> message.
>
> @Environmental
> private ValidationTracker validationTracker;
>
> Or inject the form and use the recordError() (which just delegates to the
> ValidationTracker.
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, 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
>
>



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



Can't upload file with Easy FCKeditor

2010-09-03 Thread stonyz

I just try the Easy_FCKeditor to upload image, but when I Click Image Button
and then open Resouces Browser, I saw the url is as blow

./browser.html?Type=Image&Connector=http://localhost:8080/CDVAdmin/assets/easyfck/fckeditor/editor/filemanager/connectors/php/connector.php


Did you notice the Connector is connector.php.


I did all followed the demo  
http://t5-easy-fckeditor.kenai.com/FileUploads.html
http://t5-easy-fckeditor.kenai.com/FileUploads.html   

I'm not sure how to handle it. With you get your help.


Thanks a lot in advance.
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Can-t-upload-file-with-Easy-FCKeditor-tp2801967p2801967.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: Event before which request data is processed.

2010-09-03 Thread Michael Taylor
Yes thanks.  I think that's exactly what I was looking for.

On Fri, Sep 3, 2010 at 11:04 AM, Christian Gruber <
christianedwardgru...@gmail.com> wrote:

> Good answer!  Thanks Thiago.  Hadn't considered that.
>
> Christian.
>
> On Sep 3, 2010, at 10:02 AM, Thiago H. de Paula Figueiredo wrote:
>
> > On Fri, 03 Sep 2010 10:36:23 -0300, Michael Taylor <
> miketay...@google.com> wrote:
> >
> >> Basically what we're trying to do is POST some data to our tapestry
> webapp from an external application.
> >
> > What do you do after receiving the post? If it's just processing it then
> redirecting to another page, why don't you use a Dispatcher instead? It's
> inside Tapestry, so you can use all the IoC goodness. :)
> >
> > --
> > Thiago H. de Paula Figueiredo
> > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> > Owner, 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: Re: [T5] Inline display of general exceptions

2010-09-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Sep 2010 11:49:05 -0300, Lothar Nieswandt   
wrote:



Not just validation errors. You can get the ValidationTracker from the
Environment and use void recordError(String errorMessage) to record a
message.

@Environmental
private ValidationTracker validationTracker;


OK, thanks. But I do need a form, right? And this environmental variable  
is available as long as I am processing the form?

Is it already available in onActivate()


If you don't have a form, just use the same HTML the Errors component  
generates. It's quite simple, actually.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, 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: Event before which request data is processed.

2010-09-03 Thread Christian Gruber
Good answer!  Thanks Thiago.  Hadn't considered that.

Christian.

On Sep 3, 2010, at 10:02 AM, Thiago H. de Paula Figueiredo wrote:

> On Fri, 03 Sep 2010 10:36:23 -0300, Michael Taylor  
> wrote:
> 
>> Basically what we're trying to do is POST some data to our tapestry webapp 
>> from an external application.
> 
> What do you do after receiving the post? If it's just processing it then 
> redirecting to another page, why don't you use a Dispatcher instead? It's 
> inside Tapestry, so you can use all the IoC goodness. :)
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and 
> instructor
> Owner, 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



How to customize GridPager component

2010-09-03 Thread Daniel Henze

 Dear community,

I have some particular requirements for displaying data and did already 
extend the Grid to provide some custom template. Now I have the need to 
customize the grid pager as well, but am failing so far. I started off 
with duplicating the code and then changed beginRender method to create 
more customizable code (basically additional divs for css styling).


In my Grid class I do set the pager to my class (MatchpatchGridPager) 
with standard parameters as before:


@Component(parameters = {
"source=dataSource",
"rowsPerPage=rowsPerPage",
"currentPage=currentPage",
"zone=zone" })
private MatchPatchGridPager pager;

But when executing the code I get the following exception:

de.matchpatch.components.MatchPatchGridPager cannot be cast to 
org.apache.tapestry5.corelib.components.GridPager


This approach did work fine for GridRows and GridColumns where I did 
overwrite the template. What am I doing wrong here?


Thanks
Daniel



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



RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Jim O'Callaghan
I'm afraid that's a little above my pay grade in terms of T5 knowledge Andy
- hopefully some of the committers here can chip in with some help.

Regards,
Jim.

-Original Message-
From: Blower, Andy [mailto:andy.blo...@proquest.co.uk] 
Sent: 03 September 2010 15:14
To: 'Tapestry users'
Subject: RE: [T5.2] No object of type ClientBehaviorSupport is available
from the Environment

I was already on that Jim, good suggestion though - and it works (or breaks
I suppose) so I've been able to debug this issue a little.

ClientBehavourSupport is pushed into the env and used 110-ish times before
it's popped by line 2041 of TapestryModule which is the
clientBehaviorSupport MarkupRendererFilter at the end of rendering the page
markup. The error is then thrown by a heartbeat MarkupRendererFilter which
peekRequired() for ClientBehavourSupport and fails.

Is this a problem with the ordering of the MarkupRendererFilter's do you
think?

5.1.0.5:

configuration.add("DocumentLinker", documentLinker,
"before:RenderSupport");
configuration.add("RenderSupport", renderSupport);
configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet,
"after:RenderSupport");
configuration.add("ClientBehaviorSupport", clientBehaviorSupport,
"after:RenderSupport");
configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
configuration.add("DefaultValidationDecorator",
defaultValidationDecorator, "after:Heartbeat");

5.2.0:

configuration.add("DocumentLinker", documentLinker);
configuration.add("JavaScriptSupport", javaScriptSupport,
"after:DocumentLinker");
configuration.add("RenderSupport", renderSupport,
"after:JavaScriptSupport");
configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet,
"after:RenderSupport");
configuration.add("ClientBehaviorSupport", clientBehaviorSupport,
"after:JavaScriptSupport");
configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
configuration.add("DefaultValidationDecorator",
defaultValidationDecorator, "after:Heartbeat");

Why did this change? What should I change it to so this works?

Thanks,

Andy

> -Original Message-
> From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
> Sent: 02 September 2010 15:58
> To: 'Tapestry users'
> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
> available from the Environment
>
> Can't reproduce Andy and not a solution I'm afraid, but can you try to
> run
> the app through your non-Eclipse environment with debug mode set on the
> JVM
> and remote debug it using Eclipse on a socket / shared mem?  Perhaps
> this
> would give you some more info.
>
> Regards,
> Jim.
>
> -Original Message-
> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
> Sent: 02 September 2010 15:28
> To: 'Tapestry users'
> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
> available
> from the Environment
>
> Sorry for no update - was on a short holiday over the (UK) bank holiday
> weekend.
>
> Anyway, I thought this had just 'gone-away' yesterday but it hasn't. It
> happens unless I run it using Eclipse to debug the app, now that really
> is
> strange! That's right, a bug that doesn't appear when debugging. Kinda
> cripples my ability to debug this issue.
>
> I'm running it using Jetty 6.1.6 kicked off using run-jetty-run in
> Eclipse.
> Are you (or anyone else on the list for that matter) able to reproduce
> this
> problem? It only seems to happen with one of our pages
>
> > -Original Message-
> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
> > Sent: 27 August 2010 21:24
> > To: Tapestry users
> > Subject: Re: [T5.2] No object of type ClientBehaviorSupport is
> > available from the Environment
> >
> >  Wow, that does seem odd, since all the other environmentals, set up
> > before the render, seem to be available.
> >
> > On Wed, Aug 25, 2010 at 8:29 AM, Blower, Andy
> >  wrote:
> > > Can anyone make sense of this one:
> > >
> > > ERROR [16:22:34,848] btpool0-1
> > (services.TapestryModule.RequestExceptionHandler:62) - Processing of
> > request failed with uncaught exception: No object of type
> > org.apache.tapestry5.services.ClientBehaviorSupport is available from
> > the Environment.  Available types are
> > org.apache.tapestry5.RenderSupport,
> > org.apache.tapestry5.internal.services.DocumentLinker,
> > org.apache.tapestry5.services.javascript.JavaScriptSupport.
> > > java.lang.RuntimeException: No object of type
> > org.apache.tapestry5.services.ClientBehaviorSupport is available from
> > the Environment.  Available types are
> > org.apache.tapestry5.RenderSupport,
> > org.apache.tapestry5.internal.services.DocumentLinker,
> > org.apache.tapestry5.services.javascript.JavaScriptSupport.
> > >at
> >
> org.apache.tapestry5.internal.services.EnvironmentImpl.peekRequired(Env
> > ironmentImpl.java:79)
> > >at
> > $Environment_12aa9d2d5fd.peekRequired($Environment_12a

Re: Re: [T5] Inline display of general exceptions

2010-09-03 Thread Lothar Nieswandt
> Not just validation errors. You can get the ValidationTracker from the   
> Environment and use void recordError(String errorMessage) to record a   
> message. 
> 
> @Environmental 
> private ValidationTracker validationTracker; 

OK, thanks. But I do need a form, right? And this environmental variable is 
available as long as I am processing the form?
Is it already available in onActivate()



-- 
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl

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



RE: [T5.2] No object of type ClientBehaviorSupport is available from the Environment

2010-09-03 Thread Blower, Andy
I was already on that Jim, good suggestion though - and it works (or breaks I 
suppose) so I've been able to debug this issue a little.

ClientBehavourSupport is pushed into the env and used 110-ish times before it's 
popped by line 2041 of TapestryModule which is the clientBehaviorSupport 
MarkupRendererFilter at the end of rendering the page markup. The error is then 
thrown by a heartbeat MarkupRendererFilter which peekRequired() for 
ClientBehavourSupport and fails.

Is this a problem with the ordering of the MarkupRendererFilter's do you think?

5.1.0.5:

configuration.add("DocumentLinker", documentLinker, 
"before:RenderSupport");
configuration.add("RenderSupport", renderSupport);
configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
"after:RenderSupport");
configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
"after:RenderSupport");
configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
configuration.add("DefaultValidationDecorator", 
defaultValidationDecorator, "after:Heartbeat");

5.2.0:

configuration.add("DocumentLinker", documentLinker);
configuration.add("JavaScriptSupport", javaScriptSupport, 
"after:DocumentLinker");
configuration.add("RenderSupport", renderSupport, 
"after:JavaScriptSupport");
configuration.add("InjectDefaultStyleheet", injectDefaultStylesheet, 
"after:RenderSupport");
configuration.add("ClientBehaviorSupport", clientBehaviorSupport, 
"after:JavaScriptSupport");
configuration.add("Heartbeat", heartbeat, "after:RenderSupport");
configuration.add("DefaultValidationDecorator", 
defaultValidationDecorator, "after:Heartbeat");

Why did this change? What should I change it to so this works?

Thanks,

Andy

> -Original Message-
> From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
> Sent: 02 September 2010 15:58
> To: 'Tapestry users'
> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
> available from the Environment
>
> Can't reproduce Andy and not a solution I'm afraid, but can you try to
> run
> the app through your non-Eclipse environment with debug mode set on the
> JVM
> and remote debug it using Eclipse on a socket / shared mem?  Perhaps
> this
> would give you some more info.
>
> Regards,
> Jim.
>
> -Original Message-
> From: Blower, Andy [mailto:andy.blo...@proquest.co.uk]
> Sent: 02 September 2010 15:28
> To: 'Tapestry users'
> Subject: RE: [T5.2] No object of type ClientBehaviorSupport is
> available
> from the Environment
>
> Sorry for no update - was on a short holiday over the (UK) bank holiday
> weekend.
>
> Anyway, I thought this had just 'gone-away' yesterday but it hasn't. It
> happens unless I run it using Eclipse to debug the app, now that really
> is
> strange! That's right, a bug that doesn't appear when debugging. Kinda
> cripples my ability to debug this issue.
>
> I'm running it using Jetty 6.1.6 kicked off using run-jetty-run in
> Eclipse.
> Are you (or anyone else on the list for that matter) able to reproduce
> this
> problem? It only seems to happen with one of our pages
>
> > -Original Message-
> > From: Howard Lewis Ship [mailto:hls...@gmail.com]
> > Sent: 27 August 2010 21:24
> > To: Tapestry users
> > Subject: Re: [T5.2] No object of type ClientBehaviorSupport is
> > available from the Environment
> >
> >  Wow, that does seem odd, since all the other environmentals, set up
> > before the render, seem to be available.
> >
> > On Wed, Aug 25, 2010 at 8:29 AM, Blower, Andy
> >  wrote:
> > > Can anyone make sense of this one:
> > >
> > > ERROR [16:22:34,848] btpool0-1
> > (services.TapestryModule.RequestExceptionHandler:62) - Processing of
> > request failed with uncaught exception: No object of type
> > org.apache.tapestry5.services.ClientBehaviorSupport is available from
> > the Environment.  Available types are
> > org.apache.tapestry5.RenderSupport,
> > org.apache.tapestry5.internal.services.DocumentLinker,
> > org.apache.tapestry5.services.javascript.JavaScriptSupport.
> > > java.lang.RuntimeException: No object of type
> > org.apache.tapestry5.services.ClientBehaviorSupport is available from
> > the Environment.  Available types are
> > org.apache.tapestry5.RenderSupport,
> > org.apache.tapestry5.internal.services.DocumentLinker,
> > org.apache.tapestry5.services.javascript.JavaScriptSupport.
> > >at
> >
> org.apache.tapestry5.internal.services.EnvironmentImpl.peekRequired(Env
> > ironmentImpl.java:79)
> > >at
> > $Environment_12aa9d2d5fd.peekRequired($Environment_12aa9d2d5fd.java)
> > >at
> > $Environment_12aa9d2d3d5.peekRequired($Environment_12aa9d2d3d5.java)
> > >at
> >
> org.apache.tapestry5.internal.transform.EnvironmentalWorker$Environment
> > alConduit.get(EnvironmentalWorker.java:57)
> > >at
> >
> org.apache.tapestry5.corelib.components.Form._$get_clientBehaviorSuppor
> > t(Form.j

Re: [T5] Inline display of general exceptions

2010-09-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Sep 2010 10:52:14 -0300, Lothar Nieswandt   
wrote:



Hi there,


Hi!

I like the layout used by the "Errors" component (red square). So my  
first thaught was: why not use this component. However, when trying to  
achieve this I found that the purpose of 'Errors' is to display  
ValidationExceptions that occur in forms.


Not just validation errors. You can get the ValidationTracker from the  
Environment and use void recordError(String errorMessage) to record a  
message.


@Environmental
private ValidationTracker validationTracker;

Or inject the form and use the recordError() (which just delegates to the  
ValidationTracker.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, 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: Event before which request data is processed.

2010-09-03 Thread Thiago H. de Paula Figueiredo
On Fri, 03 Sep 2010 10:36:23 -0300, Michael Taylor   
wrote:


Basically what we're trying to do is POST some data to our tapestry  
webapp from an external application.


What do you do after receiving the post? If it's just processing it then  
redirecting to another page, why don't you use a Dispatcher instead? It's  
inside Tapestry, so you can use all the IoC goodness. :)


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

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



[T5] Inline display of general exceptions

2010-09-03 Thread Lothar Nieswandt
Hi there, 

I would like to display exceptions that occur in my pages in a user friendly 
way. Mostly they originate from the underlying Web Service Backend. 
I like the layout used by the "Errors" component (red square). So my first 
thaught was: why not use this component. However, when trying to achieve this I 
found that the purpose of 'Errors' is to display ValidationExceptions that 
occur in forms. 
How can this mechanism be extended to general runtime exceptions thrown in 
onActivate() and possibly other event handlers? 
I know how to customize ExceptionReport, but this is not what I want. I would 
like to see those red squares on the top of the screen that are embedded in the 
page. 

Thanks for any advice. 

Lothar 
-- 
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl

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



Re: Event before which request data is processed.

2010-09-03 Thread Michael Taylor
Basically what we're trying to do is POST some data to our tapestry webapp
from an external application.
Our initial thought was to do exactly as Igor suggested, make a page object,
inject the HttpServletRequest and then read the post data from it.
The implementation looked something like this

public class TestPage {

  public static final Logger log =
Logger.getLogger(TestPage.class.getName());

  @Inject
  private HttpServletRequest request;

  public void onActivate() throws IOException {
if (request != null) {
  log.info("Got request of type " + request.getMethod());
  if (request.getMethod().equalsIgnoreCase("POST")) {
InputStream input = request.getInputStream();
ByteArrayOutputStream bos = new ByteArrayOutputStream();
byte[] buffer = new byte[2048];
int read = input.read(buffer);
while (read > 0) {
  bos.write(buffer, 0, read);
  read = input.read(buffer);
}
log.info(bos.toByteArray().length);
  }
} else {
  log.info("Request not yet bound!");
}
  }

}


However we found experimentally that whenever we tried to read off the input
stream it would always return "-1" bytes read.
Our guess was that at the point in the request processing chain where
"onActivate" is called that Tapestry had already read all of the request
contents in order to attempt to do it's own binding to the page object
properties.  Thus we were wondering if there was an event earlier on in the
chain that we could hook onto in order to be able to see the raw unprocessed
POST contents.
We also tried PageAttached but had the same problem.
If we make a standard servlet and configure tapestry to ignore the servlet
URL then we can access the POST contents no problem, but we miss out on all
of the other tapestry IOC goodness.
So, to make a long story short, can anyone suggest a way to get at the raw
POST data?

Thanks,

Mike T

On Thu, Sep 2, 2010 at 4:55 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 02 Sep 2010 17:23:51 -0300, Christian Gruber 
> wrote:
>
>  Hey,
>>
>
> Hi!
>
>
>  We have a "page" we want to use roughly in place of writing a separate
>> servlet that needs access to the request and all its raw data before
>> processing for binding
>>
>
> What do you mean by "before processing for binding" here?
>
>
> - is there a proper event at which we can
>
>> do this?  Would @PageAttached be appropriate for this?
>>
>
> Remember that @PageAttached and @PageDetached are ignored in Tapestry 5.2,
> as it doesn't use a page pool anymore.
>
>
>  Can we get the Request at this point?  We're about to try it, but if
>> there's a better one, I'd love to know about it.
>>
>
> Why not onActivate()?
>
>
>  On a related note - is there anywhere that lists every known event
>> that a page goes through (or component) in the order of such, with
>> indications of what changes happen at these steps?  That would be some
>> crazy-useful documentation. :)
>>
>
> There are page lifecycle events:
> http://tapestry.apache.org/tapestry5.1/guide/lifecycle.html or
> http://tapestry.apache.org/tapestry5.1/guide/lifecycle.html, depending on
> the version you're using. They're not triggered in component classes. Both
> pages and components (and pages are components) have render events,
> described in http://tapestry.apache.org/tapestry5.1/guide/rendering.html.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, 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
>
>


[T5.1.0.5] Loop inside grid

2010-09-03 Thread Halil Karakose
Hi all,
Does it make sense to use a loop to generate t:parameter components inside a
grid?

   

xxx




Actually my real problem is to display a HashMap inside a grid. *What if my
row object is a hashmap, how could I display the values in a grid? *

Following code demonstrates the types of my objects(searchResults,
searchResults,
searchResultDisplayModel)

List> searchResults;

HashMap searchResult;

public BeanModel getSearchResultDisplayModel() {
BeanModel model = beanModelSource.createDisplayModel(Object.class,
resources.getMessages());

Set attributeSet = searchResults.keySet();
for (String s : attributeSet) {
model.add(s, null);
}

return model;
}

Thanks...