Looking for open source projects that uses the current version of Tapestry

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Looking for open source projects that uses the current version of Tapestry

Tobias Scholze
Hi folks,
thanks again for helping me out with my last issue yesterday.

Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
some parts has been changed like the "<t:textfield />" required now a value
property but "t:value={myProperty}" will not find that property in the Java
class etc, pp.

That's why I'm looking for some open source projects (which has public
accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".

I'm thankful for every tipp :)

Have a great day,

- Tobi
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Felix Gonschorek-4
Hi Tobias,

do you know Tapestry Jumpstart from Geoff Callender? It's great :)

http://jumpstart.doublenegative.com.au/home.html

Cheers
Felix

On Mon, 8 Jul 2019 at 16:22, Tobias Scholze <[hidden email]>
wrote:

> Hi folks,
> thanks again for helping me out with my last issue yesterday.
>
> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
> some parts has been changed like the "<t:textfield />" required now a value
> property but "t:value={myProperty}" will not find that property in the Java
> class etc, pp.
>
> That's why I'm looking for some open source projects (which has public
> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>
> I'm thankful for every tipp :)
>
> Have a great day,
>
> - Tobi
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Tobias Scholze
Hi Felix,

Yes I do and it is great!

But it seems that 5.4.3 which is covered in th elatest Jumpstart version
does not conform to the latest Tapestry version 5.4.4. For example required
the t:textfield now a value. :)

Cheers

Am Mo., 8. Juli 2019 um 16:36 Uhr schrieb Felix Gonschorek <
[hidden email]>:

> Hi Tobias,
>
> do you know Tapestry Jumpstart from Geoff Callender? It's great :)
>
> http://jumpstart.doublenegative.com.au/home.html
>
> Cheers
> Felix
>
> On Mon, 8 Jul 2019 at 16:22, Tobias Scholze <[hidden email]>
> wrote:
>
>> Hi folks,
>> thanks again for helping me out with my last issue yesterday.
>>
>> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
>> some parts has been changed like the "<t:textfield />" required now a
>> value
>> property but "t:value={myProperty}" will not find that property in the
>> Java
>> class etc, pp.
>>
>> That's why I'm looking for some open source projects (which has public
>> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>>
>> I'm thankful for every tipp :)
>>
>> Have a great day,
>>
>> - Tobi
>>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Felix Gonschorek-4
Hi Tobias,

I am not sure if I get you question right, but I think this was always the
case that value was mandatory. The only way to omit a "value" parameter is
to use t:id which matches a property name, e.g.:

tml:
<t:textfield t:id="comment" />

Java:
@Property
private String comment;

Felix

On Mon, 8 Jul 2019 at 16:51, Tobias Scholze <[hidden email]>
wrote:

> Hi Felix,
>
> Yes I do and it is great!
>
> But it seems that 5.4.3 which is covered in th elatest Jumpstart version
> does not conform to the latest Tapestry version 5.4.4. For example required
> the t:textfield now a value. :)
>
> Cheers
>
> Am Mo., 8. Juli 2019 um 16:36 Uhr schrieb Felix Gonschorek <
> [hidden email]>:
>
>> Hi Tobias,
>>
>> do you know Tapestry Jumpstart from Geoff Callender? It's great :)
>>
>> http://jumpstart.doublenegative.com.au/home.html
>>
>> Cheers
>> Felix
>>
>> On Mon, 8 Jul 2019 at 16:22, Tobias Scholze <[hidden email]>
>> wrote:
>>
>>> Hi folks,
>>> thanks again for helping me out with my last issue yesterday.
>>>
>>> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section
>>> and
>>> some parts has been changed like the "<t:textfield />" required now a
>>> value
>>> property but "t:value={myProperty}" will not find that property in the
>>> Java
>>> class etc, pp.
>>>
>>> That's why I'm looking for some open source projects (which has public
>>> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>>>
>>> I'm thankful for every tipp :)
>>>
>>> Have a great day,
>>>
>>> - Tobi
>>>
>>
>>
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Chris Poulsen
In reply to this post by Tobias Scholze
Hi,

Using nnn="{<something>}" is probably not correct in any case, I think that
what you think is an expression ends up as just a literal string.
 One can expand properties (and other stuff) in templates using
${<something>}, but that expansion ends up being a string. For component
bindings like the one in your example you should simply reference the
property without {} or ${}.

These things are described here:
http://tapestry.apache.org/component-parameters.html (there is even a
section called: "Don't use the ${...} syntax!" on that page ;) ).

HTH!

--
Chris

On Mon, Jul 8, 2019 at 4:22 PM Tobias Scholze <[hidden email]>
wrote:

> Hi folks,
> thanks again for helping me out with my last issue yesterday.
>
> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
> some parts has been changed like the "<t:textfield />" required now a value
> property but "t:value={myProperty}" will not find that property in the Java
> class etc, pp.
>
> That's why I'm looking for some open source projects (which has public
> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>
> I'm thankful for every tipp :)
>
> Have a great day,
>
> - Tobi
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Tobias Scholze
Thanks for all your help!

It seems that my issue is another one. I've to look.

My template:
"""

<t:form>
    <t:textfield t:id="channelName"/>
    <t:submit/>
</t:form>

"""

My class:

"""

public class Index
{
  @Property
  private String channelName;
}

"""

And all this results in an error:

"""
*Parameter(s) 'value' are required for
org.apache.tapestry5.corelib.components.TextField, but have not been bound.*

"""


Am Mo., 8. Juli 2019 um 18:35 Uhr schrieb Chris Poulsen <
[hidden email]>:

> Hi,
>
> Using nnn="{<something>}" is probably not correct in any case, I think
> that what you think is an expression ends up as just a literal string.
>  One can expand properties (and other stuff) in templates using
> ${<something>}, but that expansion ends up being a string. For component
> bindings like the one in your example you should simply reference the
> property without {} or ${}.
>
> These things are described here:
> http://tapestry.apache.org/component-parameters.html (there is even a
> section called: "Don't use the ${...} syntax!" on that page ;) ).
>
> HTH!
>
> --
> Chris
>
> On Mon, Jul 8, 2019 at 4:22 PM Tobias Scholze <[hidden email]>
> wrote:
>
>> Hi folks,
>> thanks again for helping me out with my last issue yesterday.
>>
>> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
>> some parts has been changed like the "<t:textfield />" required now a
>> value
>> property but "t:value={myProperty}" will not find that property in the
>> Java
>> class etc, pp.
>>
>> That's why I'm looking for some open source projects (which has public
>> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>>
>> I'm thankful for every tipp :)
>>
>> Have a great day,
>>
>> - Tobi
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Cezary Biernacki
Try:
<t:form>
    <t:textfield value="channelName"/>
    <t:submit/>
</t:form>

"t:id" specified the name of component. You could use it to inject the
component in Java like this:

tml:
<t:textfield t:id="channelNameField" value="channelName"/>

java:
@InjectComponent
private TextField channelNameField;

but usually you don't need to inject individual fields, unless you want to
add some custom validation errors.

Best regards,
Cezary Biernacki



On Mon, Jul 8, 2019 at 8:00 PM Tobias Scholze <[hidden email]>
wrote:

> Thanks for all your help!
>
> It seems that my issue is another one. I've to look.
>
> My template:
> """
>
> <t:form>
>     <t:textfield t:id="channelName"/>
>     <t:submit/>
> </t:form>
>
> """
>
> My class:
>
> """
>
> public class Index
> {
>   @Property
>   private String channelName;
> }
>
> """
>
> And all this results in an error:
>
> """
> *Parameter(s) 'value' are required for
> org.apache.tapestry5.corelib.components.TextField, but have not been
> bound.*
>
> """
>
>
> Am Mo., 8. Juli 2019 um 18:35 Uhr schrieb Chris Poulsen <
> [hidden email]>:
>
> > Hi,
> >
> > Using nnn="{<something>}" is probably not correct in any case, I think
> > that what you think is an expression ends up as just a literal string.
> >  One can expand properties (and other stuff) in templates using
> > ${<something>}, but that expansion ends up being a string. For component
> > bindings like the one in your example you should simply reference the
> > property without {} or ${}.
> >
> > These things are described here:
> > http://tapestry.apache.org/component-parameters.html (there is even a
> > section called: "Don't use the ${...} syntax!" on that page ;) ).
> >
> > HTH!
> >
> > --
> > Chris
> >
> > On Mon, Jul 8, 2019 at 4:22 PM Tobias Scholze <[hidden email]>
> > wrote:
> >
> >> Hi folks,
> >> thanks again for helping me out with my last issue yesterday.
> >>
> >> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section
> and
> >> some parts has been changed like the "<t:textfield />" required now a
> >> value
> >> property but "t:value={myProperty}" will not find that property in the
> >> Java
> >> class etc, pp.
> >>
> >> That's why I'm looking for some open source projects (which has public
> >> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
> >>
> >> I'm thankful for every tipp :)
> >>
> >> Have a great day,
> >>
> >> - Tobi
> >>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Tobias Scholze
And again, thank you Mailing List!
This solved my issue!

Great to meet such nice people! :)

Am Mo., 8. Juli 2019 um 20:09 Uhr schrieb Cezary Biernacki <
[hidden email]>:

> Try:
> <t:form>
>     <t:textfield value="channelName"/>
>     <t:submit/>
> </t:form>
>
> "t:id" specified the name of component. You could use it to inject the
> component in Java like this:
>
> tml:
> <t:textfield t:id="channelNameField" value="channelName"/>
>
> java:
> @InjectComponent
> private TextField channelNameField;
>
> but usually you don't need to inject individual fields, unless you want to
> add some custom validation errors.
>
> Best regards,
> Cezary Biernacki
>
>
>
> On Mon, Jul 8, 2019 at 8:00 PM Tobias Scholze <[hidden email]>
> wrote:
>
>> Thanks for all your help!
>>
>> It seems that my issue is another one. I've to look.
>>
>> My template:
>> """
>>
>> <t:form>
>>     <t:textfield t:id="channelName"/>
>>     <t:submit/>
>> </t:form>
>>
>> """
>>
>> My class:
>>
>> """
>>
>> public class Index
>> {
>>   @Property
>>   private String channelName;
>> }
>>
>> """
>>
>> And all this results in an error:
>>
>> """
>> *Parameter(s) 'value' are required for
>> org.apache.tapestry5.corelib.components.TextField, but have not been
>> bound.*
>>
>> """
>>
>>
>> Am Mo., 8. Juli 2019 um 18:35 Uhr schrieb Chris Poulsen <
>> [hidden email]>:
>>
>> > Hi,
>> >
>> > Using nnn="{<something>}" is probably not correct in any case, I think
>> > that what you think is an expression ends up as just a literal string.
>> >  One can expand properties (and other stuff) in templates using
>> > ${<something>}, but that expansion ends up being a string. For component
>> > bindings like the one in your example you should simply reference the
>> > property without {} or ${}.
>> >
>> > These things are described here:
>> > http://tapestry.apache.org/component-parameters.html (there is even a
>> > section called: "Don't use the ${...} syntax!" on that page ;) ).
>> >
>> > HTH!
>> >
>> > --
>> > Chris
>> >
>> > On Mon, Jul 8, 2019 at 4:22 PM Tobias Scholze <[hidden email]
>> >
>> > wrote:
>> >
>> >> Hi folks,
>> >> thanks again for helping me out with my last issue yesterday.
>> >>
>> >> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section
>> and
>> >> some parts has been changed like the "<t:textfield />" required now a
>> >> value
>> >> property but "t:value={myProperty}" will not find that property in the
>> >> Java
>> >> class etc, pp.
>> >>
>> >> That's why I'm looking for some open source projects (which has public
>> >> accessable code) that uses Tapestry 5.4.4 use them as a "tutorial".
>> >>
>> >> I'm thankful for every tipp :)
>> >>
>> >> Have a great day,
>> >>
>> >> - Tobi
>> >>
>> >
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Thiago H de Paula Figueiredo
In reply to this post by Tobias Scholze
On Mon, Jul 8, 2019 at 11:22 AM Tobias Scholze <[hidden email]>
wrote:

> Hi folks,
>

Hello!


> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
> some parts has been changed like the "<t:textfield />" required now a value
> property but "t:value={myProperty}" will not find that property in the Java
> class etc, pp.
>

I definitely do not recognize any change about that. 5.4.4 just fixed a few
bugs. Almost anything valid for 5.4.x is valid for 5.4.4.
Reply | Threaded
Open this post in threaded view
|

Re: Looking for open source projects that uses the current version of Tapestry

Tobias Scholze
Hi :)

You are right. It was MY beginner‘s mistake. Sorry. :)


Thiago H. de Paula Figueiredo <[hidden email]> schrieb am Mi. 10. Juli
2019 um 00:11:

> On Mon, Jul 8, 2019 at 11:22 AM Tobias Scholze <[hidden email]>
> wrote:
>
>> Hi folks,
>>
>
> Hello!
>
>
>> Now I recognized that Tapestry 5.4.4 has no Jumpstart Tutorial section and
>> some parts has been changed like the "<t:textfield />" required now a
>> value
>> property but "t:value={myProperty}" will not find that property in the
>> Java
>> class etc, pp.
>>
>
> I definitely do not recognize any change about that. 5.4.4 just fixed a
> few bugs. Almost anything valid for 5.4.x is valid for 5.4.4.
>