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 <
[email protected]>:
> 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 <[email protected]>
> 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
>>
>