You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2006/10/09 16:50:57 UTC

svn commit: r454396 - /tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java

Author: hlship
Date: Mon Oct  9 07:50:57 2006
New Revision: 454396

URL: http://svn.apache.org/viewvc?view=rev&rev=454396
Log:
Add integration test for the (initial version of) the ExceptionReport page.

Modified:
    tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java

Modified: tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=diff&rev=454396&r1=454395&r2=454396
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java (original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java Mon Oct  9 07:50:57 2006
@@ -202,7 +202,7 @@
     {
         _selenium.open(BASE_URL);
 
-        clickAndWait("link=Bad Template Page");
+        clickAndWait("link=BadTemplate Page");
 
         String body = _selenium.getBodyText();
 



Re: svn commit: r454396 - /tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java

Posted by Howard Lewis Ship <hl...@gmail.com>.
This is inline with my mixins thoughts.  How about a t:mixin="dojo/Curvy"
that would wrap the component's rendering with additional markup that would
produce a curvy look on the client.

I expect to add a few more states to the render state machine (
http://tapestry.apache.org/tapestry5/images/component-render-states.png) for
these purposes.

Right now I'm focusing on ApacheCon (this week!) and The Ajax Experience,
and on getting basic functionality in place for T5.

On 10/9/06, Jesse Kuhnert <jk...@gmail.com> wrote:
>
> I made the mistake of going through and reading the new dev wiki this
> weekend. It feels like a honeypot for
> developers :( .. I still can't believe you got the class loading stuff to
> work right. I know if left to your own devices
> you'd create something really awesome, and you have :)
>
> One thing I wanted to throw out was that it'd be nice to make creating UI
> decorators easier. There are many
> potential uses for this other than UI but here are a couple examples I can
> think of right now:
>
> -) There are some factions within dojo that are starting to move away from
> "widget only" things wrt re-usable UI
> things...One of these is the ability to apply curvy corners/drop
> shadows/etc.. effects to any element block. If
> the end result of integrating something like this in Tapestry was "easy"
> -ish it would be kick ass:
>
> <span jwcid="Foo" decoration="shadow" />
>
> or
> <span jwcid="Bar" decoration="curvy,shadow" />
>
> or
>
> <span jwcid="something" perm="<blah>" />
>
> I know this exists in T4 somewhat, but besides the perm="" binding the
> others would be extremely non trivial
> to implement currently. Being able to claim global parameter spec
> properties
> and apply them dynamically/intuitively
> against any components you feel like would be really powerful.
>
> You may have this ability already/or in the works - just want to make sure
> it gets popped into your head in
> case it's not there. Components are of course very nice, but libraries
> that
> are able to enhance all of your components
> just by including it is very very cool as well....Tacos does this somewhat
> with the javassist enhancements. Not sure
> if there's another way to do it. Maybe some sort of built-in eclipse style
> extension point would help.
>
> On 10/9/06, hlship@apache.org <hl...@apache.org> wrote:
> >
> > Author: hlship
> > Date: Mon Oct  9 07:50:57 2006
> > New Revision: 454396
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=454396
> > Log:
> > Add integration test for the (initial version of) the ExceptionReport
> > page.
> >
> > Modified:
> >
> >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> >
> > Modified:
> >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> > URL:
> >
> http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=diff&rev=454396&r1=454395&r2=454396
> >
> >
> ==============================================================================
> > ---
> >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> > (original)
> > +++
> >
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> > Mon Oct  9 07:50:57 2006
> > @@ -202,7 +202,7 @@
> >      {
> >          _selenium.open(BASE_URL);
> >
> > -        clickAndWait("link=Bad Template Page");
> > +        clickAndWait("link=BadTemplate Page");
> >
> >          String body = _selenium.getBodyText();
> >
> >
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
>


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

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

Re: svn commit: r454396 - /tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java

Posted by Jesse Kuhnert <jk...@gmail.com>.
I made the mistake of going through and reading the new dev wiki this
weekend. It feels like a honeypot for
developers :( .. I still can't believe you got the class loading stuff to
work right. I know if left to your own devices
you'd create something really awesome, and you have :)

One thing I wanted to throw out was that it'd be nice to make creating UI
decorators easier. There are many
potential uses for this other than UI but here are a couple examples I can
think of right now:

-) There are some factions within dojo that are starting to move away from
"widget only" things wrt re-usable UI
things...One of these is the ability to apply curvy corners/drop
shadows/etc.. effects to any element block. If
the end result of integrating something like this in Tapestry was "easy"
-ish it would be kick ass:

<span jwcid="Foo" decoration="shadow" />

or
<span jwcid="Bar" decoration="curvy,shadow" />

or

<span jwcid="something" perm="<blah>" />

I know this exists in T4 somewhat, but besides the perm="" binding the
others would be extremely non trivial
to implement currently. Being able to claim global parameter spec properties
and apply them dynamically/intuitively
against any components you feel like would be really powerful.

You may have this ability already/or in the works - just want to make sure
it gets popped into your head in
case it's not there. Components are of course very nice, but libraries that
are able to enhance all of your components
just by including it is very very cool as well....Tacos does this somewhat
with the javassist enhancements. Not sure
if there's another way to do it. Maybe some sort of built-in eclipse style
extension point would help.

On 10/9/06, hlship@apache.org <hl...@apache.org> wrote:
>
> Author: hlship
> Date: Mon Oct  9 07:50:57 2006
> New Revision: 454396
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=454396
> Log:
> Add integration test for the (initial version of) the ExceptionReport
> page.
>
> Modified:
>
>     tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
>
> Modified:
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> URL:
> http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java?view=diff&rev=454396&r1=454395&r2=454396
>
> ==============================================================================
> ---
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> (original)
> +++
> tapestry/tapestry5/tapestry-core/trunk/src/test/java/org/apache/tapestry/integration/IntegrationTests.java
> Mon Oct  9 07:50:57 2006
> @@ -202,7 +202,7 @@
>      {
>          _selenium.open(BASE_URL);
>
> -        clickAndWait("link=Bad Template Page");
> +        clickAndWait("link=BadTemplate Page");
>
>          String body = _selenium.getBodyText();
>
>
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com