Re: creating components with Tapestry 5

2008-11-28 Thread Howard Lewis Ship
On Fri, Nov 28, 2008 at 2:30 AM, mad <[EMAIL PROTECTED]> wrote:
>
> Thanks, Howard, that seems to have been the issue.  I moved Layout.tml to
> /src/main/resources/org/apache/tapestry5/tutorial/components, and now
> everything works beautifully.  Is this the right place?
>
> An annotation would be nice, but also might I suggest a less cryptic error
> message for components which do not have this annotation, something like
> "Layout.tml not found in ".

It's perfectly legit for a component to not have a template, or for a
component to have a template and render partially in code, or to
inherit its template from a base class, or for a component to not
render anything but still be useful (!).

>
> Thanks again,
> Marc
>
>
> Howard Lewis Ship wrote:
>>
>> Tapestry couldn't find your component's template and was forced to
>> assume it didn't exist.  I'm beginning to wonder if we need an
>> annotation for components that don't have a template, since this can
>> be a bastard for newbies to track down.
>>
>>
>> Component templates are stored on the classpath, with the associated
>> .class file; i..e, src/main/resources.  In addition, you must match
>> the name of the Java class to the name of the template filed
>> (MyComponent.java --> MyComponent.tml).
>>
>> On Thu, Nov 27, 2008 at 9:49 AM, mad <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi again,
>>>
>>> I hate to ask the same question twice.  I did actually have this working
>>> with a previous version of T5, but in 5.0.15, the  tag is failing,
>>> like this:
>>>
>>> Render queue error in Text[ toto ]: This markup writer does not have a
>>> current element. The current element is established with the first call
>>> to
>>> element() and is maintained across subsequent calls.
>>>
>>>
>>> Here is what I have:
>>>
>>> Layout.tml:
>>>
>>> >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>>
>>> ...
>>>
>>> 
>>>
>>> ...
>>>
>>> 
>>>
>>>
>>> Layout.java:
>>>
>>> package org.apache.tapestry5.tutorial.components;
>>>
>>> import net.rbcdexia_is.ds.application.Formatters;
>>>
>>> public class Layout {
>>> }
>>>
>>>
>>> Page.tml:
>>>
>>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>> toto
>>> 
>>>
>>>
>>> Page.java:
>>> package org.apache.tapestry5.tutorial.pages;
>>>
>>> public class Page {
>>>
>>> }
>>>
>>>
>>> As you can see, there really isn't much to it.  What am I doing wrong?  I
>>> believe I am following the example given in
>>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>>> in
>>> the "Tapestry Elements" section, for the  tag, pretty much to the
>>> letter.
>>>
>>>
>>> As usual, thanks for all your help,
>>> Marc
>>>
>>>
>>>
>>> mad wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> First off, I am new to Tapestry, although I've been doing WebObjects for
>>>> about 8 years, so the I'm hoping the transition won't be too painful.
>>>> I've chosen to work with Tapestry 5 since it seems like quite a
>>>> signifiicant evolution from the previous version, but I'm having some
>>>> difficulty finding resoureces.  I've done the excellent Tapestry 5
>>>> tutorial, but I need much more input!  Can anybody point me to some
>>>> useful
>>>> places.  I am especially interested in words of wisdom regarding use of
>>>> Tapestry and Cayenne together (which I am also learning).
>>>>
>>>> My current issue is trying to understand how to create a page wrapper
>>>> component (or any sort of component, actually) in Tapestry 5 --
>>>> something
>>>> like the old WOComponentContent, which I know and love.
>>>>
>>>> tia,
>>>> Marc
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>
>> --
>> Howard M. Lewis Ship
>>
>> Creator Apache Tapestry and Apache HiveMind
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20732079.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: creating components with Tapestry 5

2008-11-28 Thread mad7777

Thanks, Howard, that seems to have been the issue.  I moved Layout.tml to
/src/main/resources/org/apache/tapestry5/tutorial/components, and now
everything works beautifully.  Is this the right place?

An annotation would be nice, but also might I suggest a less cryptic error
message for components which do not have this annotation, something like
"Layout.tml not found in ".

Thanks again,
Marc


Howard Lewis Ship wrote:
> 
> Tapestry couldn't find your component's template and was forced to
> assume it didn't exist.  I'm beginning to wonder if we need an
> annotation for components that don't have a template, since this can
> be a bastard for newbies to track down.
> 
> 
> Component templates are stored on the classpath, with the associated
> .class file; i..e, src/main/resources.  In addition, you must match
> the name of the Java class to the name of the template filed
> (MyComponent.java --> MyComponent.tml).
> 
> On Thu, Nov 27, 2008 at 9:49 AM, mad <[EMAIL PROTECTED]> wrote:
>>
>> Hi again,
>>
>> I hate to ask the same question twice.  I did actually have this working
>> with a previous version of T5, but in 5.0.15, the  tag is failing,
>> like this:
>>
>> Render queue error in Text[ toto ]: This markup writer does not have a
>> current element. The current element is established with the first call
>> to
>> element() and is maintained across subsequent calls.
>>
>>
>> Here is what I have:
>>
>> Layout.tml:
>>
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>>
>> ...
>>
>> 
>>
>> ...
>>
>> 
>>
>>
>> Layout.java:
>>
>> package org.apache.tapestry5.tutorial.components;
>>
>> import net.rbcdexia_is.ds.application.Formatters;
>>
>> public class Layout {
>> }
>>
>>
>> Page.tml:
>>
>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> toto
>> 
>>
>>
>> Page.java:
>> package org.apache.tapestry5.tutorial.pages;
>>
>> public class Page {
>>
>> }
>>
>>
>> As you can see, there really isn't much to it.  What am I doing wrong?  I
>> believe I am following the example given in
>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>> in
>> the "Tapestry Elements" section, for the  tag, pretty much to the
>> letter.
>>
>>
>> As usual, thanks for all your help,
>> Marc
>>
>>
>>
>> mad wrote:
>>>
>>> Hi everyone,
>>>
>>> First off, I am new to Tapestry, although I've been doing WebObjects for
>>> about 8 years, so the I'm hoping the transition won't be too painful.
>>> I've chosen to work with Tapestry 5 since it seems like quite a
>>> signifiicant evolution from the previous version, but I'm having some
>>> difficulty finding resoureces.  I've done the excellent Tapestry 5
>>> tutorial, but I need much more input!  Can anybody point me to some
>>> useful
>>> places.  I am especially interested in words of wisdom regarding use of
>>> Tapestry and Cayenne together (which I am also learning).
>>>
>>> My current issue is trying to understand how to create a page wrapper
>>> component (or any sort of component, actually) in Tapestry 5 --
>>> something
>>> like the old WOComponentContent, which I know and love.
>>>
>>> tia,
>>> Marc
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator Apache Tapestry and Apache HiveMind
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20732079.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: creating components with Tapestry 5

2008-11-27 Thread Howard Lewis Ship
Tapestry couldn't find your component's template and was forced to
assume it didn't exist.  I'm beginning to wonder if we need an
annotation for components that don't have a template, since this can
be a bastard for newbies to track down.


Component templates are stored on the classpath, with the associated
.class file; i..e, src/main/resources.  In addition, you must match
the name of the Java class to the name of the template filed
(MyComponent.java --> MyComponent.tml).

On Thu, Nov 27, 2008 at 9:49 AM, mad <[EMAIL PROTECTED]> wrote:
>
> Hi again,
>
> I hate to ask the same question twice.  I did actually have this working
> with a previous version of T5, but in 5.0.15, the  tag is failing,
> like this:
>
> Render queue error in Text[ toto ]: This markup writer does not have a
> current element. The current element is established with the first call to
> element() and is maintained across subsequent calls.
>
>
> Here is what I have:
>
> Layout.tml:
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
> ...
>
> 
>
> ...
>
> 
>
>
> Layout.java:
>
> package org.apache.tapestry5.tutorial.components;
>
> import net.rbcdexia_is.ds.application.Formatters;
>
> public class Layout {
> }
>
>
> Page.tml:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> toto
> 
>
>
> Page.java:
> package org.apache.tapestry5.tutorial.pages;
>
> public class Page {
>
> }
>
>
> As you can see, there really isn't much to it.  What am I doing wrong?  I
> believe I am following the example given in
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html in
> the "Tapestry Elements" section, for the  tag, pretty much to the
> letter.
>
>
> As usual, thanks for all your help,
> Marc
>
>
>
> mad wrote:
>>
>> Hi everyone,
>>
>> First off, I am new to Tapestry, although I've been doing WebObjects for
>> about 8 years, so the I'm hoping the transition won't be too painful.
>> I've chosen to work with Tapestry 5 since it seems like quite a
>> signifiicant evolution from the previous version, but I'm having some
>> difficulty finding resoureces.  I've done the excellent Tapestry 5
>> tutorial, but I need much more input!  Can anybody point me to some useful
>> places.  I am especially interested in words of wisdom regarding use of
>> Tapestry and Cayenne together (which I am also learning).
>>
>> My current issue is trying to understand how to create a page wrapper
>> component (or any sort of component, actually) in Tapestry 5 -- something
>> like the old WOComponentContent, which I know and love.
>>
>> tia,
>> Marc
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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



Re: creating components with Tapestry 5

2008-11-27 Thread Sven Homburg
i think you misunderstood:





2008/11/27 mad <[EMAIL PROTECTED]>

>
> The Layout component contains the tag:
>
> 
>
> as shown below.  (Maybe my ellipsis was confusing... sorry about that.)
>
>
>
> Sven Homburg wrote:
> >
> > is there no  tag in your layout ?
> >
> > 2008/11/27 mad <[EMAIL PROTECTED]>
> >
> >>
> >> Hi again,
> >>
> >> I hate to ask the same question twice.  I did actually have this working
> >> with a previous version of T5, but in 5.0.15, the  tag is failing,
> >> like this:
> >>
> >> Render queue error in Text[ toto ]: This markup writer does not have a
> >> current element. The current element is established with the first call
> >> to
> >> element() and is maintained across subsequent calls.
> >>
> >>
> >> Here is what I have:
> >>
> >> Layout.tml:
> >>
> >>  >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> >> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> >> ...
> >> 
> >> ...
> >> 
> >>
> >>
> >> Layout.java:
> >>
> >> package org.apache.tapestry5.tutorial.components;
> >>
> >> import net.rbcdexia_is.ds.application.Formatters;
> >>
> >> public class Layout {
> >> }
> >>
> >>
> >> Page.tml:
> >>
> >> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd
> ">
> >> toto
> >> 
> >>
> >>
> >> Page.java:
> >> package org.apache.tapestry5.tutorial.pages;
> >>
> >> public class Page {
> >>
> >> }
> >>
> >>
> >> As you can see, there really isn't much to it.  What am I doing wrong?
>  I
> >> believe I am following the example given in
> >> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
> >> in
> >> the "Tapestry Elements" section, for the  tag, pretty much to the
> >> letter.
> >>
> >>
> >> As usual, thanks for all your help,
> >> Marc
> >>
> >>
> >>
> >> mad wrote:
> >> >
> >> > Hi everyone,
> >> >
> >> > First off, I am new to Tapestry, although I've been doing WebObjects
> >> for
> >> > about 8 years, so the I'm hoping the transition won't be too painful.
> >> > I've chosen to work with Tapestry 5 since it seems like quite a
> >> > signifiicant evolution from the previous version, but I'm having some
> >> > difficulty finding resoureces.  I've done the excellent Tapestry 5
> >> > tutorial, but I need much more input!  Can anybody point me to some
> >> useful
> >> > places.  I am especially interested in words of wisdom regarding use
> of
> >> > Tapestry and Cayenne together (which I am also learning).
> >> >
> >> > My current issue is trying to understand how to create a page wrapper
> >> > component (or any sort of component, actually) in Tapestry 5 --
> >> something
> >> > like the old WOComponentContent, which I know and love.
> >> >
> >> > tia,
> >> > Marc
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > with regards
> > Sven Homburg
> > http://www.chenillekit.org
> > http://tapestry5-components.googlecode.com
> >
> >
> > -
> > best regards
> > Sven
> >
>
> --
> View this message in context:
> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723928.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com


Re: creating components with Tapestry 5

2008-11-27 Thread mad7777

The Layout component contains the tag:



as shown below.  (Maybe my ellipsis was confusing... sorry about that.)



Sven Homburg wrote:
> 
> is there no  tag in your layout ?
> 
> 2008/11/27 mad <[EMAIL PROTECTED]>
> 
>>
>> Hi again,
>>
>> I hate to ask the same question twice.  I did actually have this working
>> with a previous version of T5, but in 5.0.15, the  tag is failing,
>> like this:
>>
>> Render queue error in Text[ toto ]: This markup writer does not have a
>> current element. The current element is established with the first call
>> to
>> element() and is maintained across subsequent calls.
>>
>>
>> Here is what I have:
>>
>> Layout.tml:
>>
>> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> ...
>> 
>> ...
>> 
>>
>>
>> Layout.java:
>>
>> package org.apache.tapestry5.tutorial.components;
>>
>> import net.rbcdexia_is.ds.application.Formatters;
>>
>> public class Layout {
>> }
>>
>>
>> Page.tml:
>>
>> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>> toto
>> 
>>
>>
>> Page.java:
>> package org.apache.tapestry5.tutorial.pages;
>>
>> public class Page {
>>
>> }
>>
>>
>> As you can see, there really isn't much to it.  What am I doing wrong?  I
>> believe I am following the example given in
>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html
>> in
>> the "Tapestry Elements" section, for the  tag, pretty much to the
>> letter.
>>
>>
>> As usual, thanks for all your help,
>> Marc
>>
>>
>>
>> mad wrote:
>> >
>> > Hi everyone,
>> >
>> > First off, I am new to Tapestry, although I've been doing WebObjects
>> for
>> > about 8 years, so the I'm hoping the transition won't be too painful.
>> > I've chosen to work with Tapestry 5 since it seems like quite a
>> > signifiicant evolution from the previous version, but I'm having some
>> > difficulty finding resoureces.  I've done the excellent Tapestry 5
>> > tutorial, but I need much more input!  Can anybody point me to some
>> useful
>> > places.  I am especially interested in words of wisdom regarding use of
>> > Tapestry and Cayenne together (which I am also learning).
>> >
>> > My current issue is trying to understand how to create a page wrapper
>> > component (or any sort of component, actually) in Tapestry 5 --
>> something
>> > like the old WOComponentContent, which I know and love.
>> >
>> > tia,
>> > Marc
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> with regards
> Sven Homburg
> http://www.chenillekit.org
> http://tapestry5-components.googlecode.com
> 
> 
> -
> best regards
> Sven
> 

-- 
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723928.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: creating components with Tapestry 5

2008-11-27 Thread Sven Homburg
is there no  tag in your layout ?

2008/11/27 mad <[EMAIL PROTECTED]>

>
> Hi again,
>
> I hate to ask the same question twice.  I did actually have this working
> with a previous version of T5, but in 5.0.15, the  tag is failing,
> like this:
>
> Render queue error in Text[ toto ]: This markup writer does not have a
> current element. The current element is established with the first call to
> element() and is maintained across subsequent calls.
>
>
> Here is what I have:
>
> Layout.tml:
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>
> ...
>
> 
>
> ...
>
> 
>
>
> Layout.java:
>
> package org.apache.tapestry5.tutorial.components;
>
> import net.rbcdexia_is.ds.application.Formatters;
>
> public class Layout {
> }
>
>
> Page.tml:
>
> http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> toto
> 
>
>
> Page.java:
> package org.apache.tapestry5.tutorial.pages;
>
> public class Page {
>
> }
>
>
> As you can see, there really isn't much to it.  What am I doing wrong?  I
> believe I am following the example given in
> http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html in
> the "Tapestry Elements" section, for the  tag, pretty much to the
> letter.
>
>
> As usual, thanks for all your help,
> Marc
>
>
>
> mad wrote:
> >
> > Hi everyone,
> >
> > First off, I am new to Tapestry, although I've been doing WebObjects for
> > about 8 years, so the I'm hoping the transition won't be too painful.
> > I've chosen to work with Tapestry 5 since it seems like quite a
> > signifiicant evolution from the previous version, but I'm having some
> > difficulty finding resoureces.  I've done the excellent Tapestry 5
> > tutorial, but I need much more input!  Can anybody point me to some
> useful
> > places.  I am especially interested in words of wisdom regarding use of
> > Tapestry and Cayenne together (which I am also learning).
> >
> > My current issue is trying to understand how to create a page wrapper
> > component (or any sort of component, actually) in Tapestry 5 -- something
> > like the old WOComponentContent, which I know and love.
> >
> > tia,
> > Marc
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://www.chenillekit.org
http://tapestry5-components.googlecode.com


Re: creating components with Tapestry 5

2008-11-27 Thread mad7777

Hi again,

I hate to ask the same question twice.  I did actually have this working
with a previous version of T5, but in 5.0.15, the  tag is failing,
like this:

Render queue error in Text[ toto ]: This markup writer does not have a
current element. The current element is established with the first call to
element() and is maintained across subsequent calls.


Here is what I have:

Layout.tml:

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

...



...




Layout.java:

package org.apache.tapestry5.tutorial.components;

import net.rbcdexia_is.ds.application.Formatters;

public class Layout {
}


Page.tml:

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
toto



Page.java:
package org.apache.tapestry5.tutorial.pages;

public class Page {

}


As you can see, there really isn't much to it.  What am I doing wrong?  I
believe I am following the example given in
http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html in
the "Tapestry Elements" section, for the  tag, pretty much to the
letter.


As usual, thanks for all your help,
Marc



mad wrote:
> 
> Hi everyone,
> 
> First off, I am new to Tapestry, although I've been doing WebObjects for
> about 8 years, so the I'm hoping the transition won't be too painful. 
> I've chosen to work with Tapestry 5 since it seems like quite a
> signifiicant evolution from the previous version, but I'm having some
> difficulty finding resoureces.  I've done the excellent Tapestry 5
> tutorial, but I need much more input!  Can anybody point me to some useful
> places.  I am especially interested in words of wisdom regarding use of
> Tapestry and Cayenne together (which I am also learning).
> 
> My current issue is trying to understand how to create a page wrapper
> component (or any sort of component, actually) in Tapestry 5 -- something
> like the old WOComponentContent, which I know and love.
> 
> tia,
> Marc
> 
> 

-- 
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tp12850384p20723258.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: creating components with Tapestry 5

2007-09-26 Thread Erik Vullings
Did you already find the Wiki:
http://wiki.apache.org/tapestry/Tapestry5HowTos
You should also see some information there about Layout (aka Border)
components that can be used as a Tiles like generic template.

Cheers
Erik

On 9/24/07, Marc A. Donis <[EMAIL PROTECTED]> wrote:
>
> I also am using Hibernate at work, trying to integrate it to a WebObjects
> presentation framework.  It has not been easy.  It just makes me nostalgic
> for EOF.  I choose Cayenne for this project specifically because I am
> looking to re-create the ease and simplicity of WO.
>
> Cheers,
> Marc
>
> - Original Message -
> From: "Angelo Chen" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, September 24, 2007 02:03
> Subject: Re: creating components with Tapestry 5
>
>
> >
> > Hi Mad,
> >
> > Initially I like WebObjects, particularly the bundled tools, As a
> > Cocoa/Objective - C developer using XCode, I like to use WO with the
> same
> > set of tools, but finally settled with Tapestry 5 as what rumor says
> that
> > Tapestry has some inheritage from WO:) Cayenne, is it the ORM tool? I'm
> > using hibernate with Tapestry-Hibernate module, it works well, maybe you
> > can
> > give Hibernate a try.
> > A.C.
> >
> >
> > mad wrote:
> >>
> >> Hi everyone,
> >>
> >> First off, I am new to Tapestry, although I've been doing WebObjects
> for
> >> about 8 years, so the I'm hoping the transition won't be too painful.
> >> I've chosen to work with Tapestry 5 since it seems like quite a
> >> signifiicant evolution from the previous version, but I'm having some
> >> difficulty finding resoureces.  I've done the excellent Tapestry 5
> >> tutorial, but I need much more input!  Can anybody point me to some
> >> useful
> >> places.  I am especially interested in words of wisdom regarding use of
> >> Tapestry and Cayenne together (which I am also learning).
> >>
> >> My current issue is trying to understand how to create a page wrapper
> >> component (or any sort of component, actually) in Tapestry 5 --
> something
> >> like the old WOComponentContent, which I know and love.
> >>
> >> tia,
> >> Marc
> >>
> >>
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/creating-components-with-Tapestry-5-tf4505821.html#a12852058
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: creating components with Tapestry 5

2007-09-23 Thread Marc A. Donis
I also am using Hibernate at work, trying to integrate it to a WebObjects 
presentation framework.  It has not been easy.  It just makes me nostalgic 
for EOF.  I choose Cayenne for this project specifically because I am 
looking to re-create the ease and simplicity of WO.


Cheers,
Marc

- Original Message - 
From: "Angelo Chen" <[EMAIL PROTECTED]>

To: 
Sent: Monday, September 24, 2007 02:03
Subject: Re: creating components with Tapestry 5




Hi Mad,

Initially I like WebObjects, particularly the bundled tools, As a
Cocoa/Objective - C developer using XCode, I like to use WO with the same
set of tools, but finally settled with Tapestry 5 as what rumor says that
Tapestry has some inheritage from WO:) Cayenne, is it the ORM tool? I'm
using hibernate with Tapestry-Hibernate module, it works well, maybe you 
can

give Hibernate a try.
A.C.


mad wrote:


Hi everyone,

First off, I am new to Tapestry, although I've been doing WebObjects for
about 8 years, so the I'm hoping the transition won't be too painful.
I've chosen to work with Tapestry 5 since it seems like quite a
signifiicant evolution from the previous version, but I'm having some
difficulty finding resoureces.  I've done the excellent Tapestry 5
tutorial, but I need much more input!  Can anybody point me to some 
useful

places.  I am especially interested in words of wisdom regarding use of
Tapestry and Cayenne together (which I am also learning).

My current issue is trying to understand how to create a page wrapper
component (or any sort of component, actually) in Tapestry 5 -- something
like the old WOComponentContent, which I know and love.

tia,
Marc




--
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tf4505821.html#a12852058

Sent from the Tapestry - User mailing list archive at Nabble.com.


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





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



Re: creating components with Tapestry 5

2007-09-23 Thread Christian Gruber
WOComponentContent is wonderful, and is actually quite easy to do in  
Tapestry.  It's in one of the examples.


You use a body component.

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

go down to the Tapestry Elements section, and read the examples  
there.  It should be immediately familiar.


Christian.

On 23-Sep-07, at 8:03 PM, Angelo Chen wrote:



Hi Mad,

Initially I like WebObjects, particularly the bundled tools, As a
Cocoa/Objective - C developer using XCode, I like to use WO with the  
same
set of tools, but finally settled with Tapestry 5 as what rumor says  
that
Tapestry has some inheritage from WO:) Cayenne, is it the ORM tool?  
I'm
using hibernate with Tapestry-Hibernate module, it works well, maybe  
you can

give Hibernate a try.
A.C.


mad wrote:


Hi everyone,

First off, I am new to Tapestry, although I've been doing  
WebObjects for

about 8 years, so the I'm hoping the transition won't be too painful.
I've chosen to work with Tapestry 5 since it seems like quite a
signifiicant evolution from the previous version, but I'm having some
difficulty finding resoureces.  I've done the excellent Tapestry 5
tutorial, but I need much more input!  Can anybody point me to some  
useful
places.  I am especially interested in words of wisdom regarding  
use of

Tapestry and Cayenne together (which I am also learning).

My current issue is trying to understand how to create a page wrapper
component (or any sort of component, actually) in Tapestry 5 --  
something

like the old WOComponentContent, which I know and love.

tia,
Marc




--
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tf4505821.html#a12852058
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




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



Re: creating components with Tapestry 5

2007-09-23 Thread Angelo Chen

Hi Mad,

Initially I like WebObjects, particularly the bundled tools, As a
Cocoa/Objective - C developer using XCode, I like to use WO with the same
set of tools, but finally settled with Tapestry 5 as what rumor says that
Tapestry has some inheritage from WO:) Cayenne, is it the ORM tool? I'm
using hibernate with Tapestry-Hibernate module, it works well, maybe you can
give Hibernate a try.
A.C.


mad wrote:
> 
> Hi everyone,
> 
> First off, I am new to Tapestry, although I've been doing WebObjects for
> about 8 years, so the I'm hoping the transition won't be too painful. 
> I've chosen to work with Tapestry 5 since it seems like quite a
> signifiicant evolution from the previous version, but I'm having some
> difficulty finding resoureces.  I've done the excellent Tapestry 5
> tutorial, but I need much more input!  Can anybody point me to some useful
> places.  I am especially interested in words of wisdom regarding use of
> Tapestry and Cayenne together (which I am also learning).
> 
> My current issue is trying to understand how to create a page wrapper
> component (or any sort of component, actually) in Tapestry 5 -- something
> like the old WOComponentContent, which I know and love.
> 
> tia,
> Marc
> 
> 

-- 
View this message in context: 
http://www.nabble.com/creating-components-with-Tapestry-5-tf4505821.html#a12852058
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: creating components with Tapestry 5

2007-09-23 Thread Marcus Schmidke
Hello Marc,

me, I'm another one seeking for good old WebObjects features in the
post Apple world ... unfortunately, my company is completely on JSF
trip, which I absolutely dislike.

But on to your question:

 is WOComponentContent.

That was simple wasn't it? :-)

Marcus.

2007/9/23, Marc A. Donis <[EMAIL PROTECTED]>:
> Hi everyone,
>
> First off, I am new to Tapestry, although I've been doing WebObjects for 
> about 8 years, so the I'm hoping the transition won't be too painful.  I've 
> chosen to work with Tapestry 5 since it seems like quite a signifiicant 
> evolution from the previous version, but I'm having some difficulty finding 
> resoureces.  I've done the excellent Tapestry 5 tutorial, but I need much 
> more input!  Can anybody point me to some useful places.  I am especially 
> interested in words of wisdom regarding use of Tapestry and Cayenne together 
> (which I am also learning).
>
> My current issue is trying to understand how to create a page wrapper 
> component (or any sort of component, actually) in Tapestry 5 -- something 
> like the old WOComponentContent, which I know and love.
>
> tia,
> Marc
>

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



creating components with Tapestry 5

2007-09-23 Thread Marc A. Donis
Hi everyone,

First off, I am new to Tapestry, although I've been doing WebObjects for about 
8 years, so the I'm hoping the transition won't be too painful.  I've chosen to 
work with Tapestry 5 since it seems like quite a signifiicant evolution from 
the previous version, but I'm having some difficulty finding resoureces.  I've 
done the excellent Tapestry 5 tutorial, but I need much more input!  Can 
anybody point me to some useful places.  I am especially interested in words of 
wisdom regarding use of Tapestry and Cayenne together (which I am also 
learning).

My current issue is trying to understand how to create a page wrapper component 
(or any sort of component, actually) in Tapestry 5 -- something like the old 
WOComponentContent, which I know and love.

tia,
Marc