Re: Looking for open source projects that uses the current version of Tapestry
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 < cezary...@gmail.com>: > Try: > > > > > > "t:id" specified the name of component. You could use it to inject the > component in Java like this: > > tml: > > > 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 > wrote: > >> Thanks for all your help! >> >> It seems that my issue is another one. I've to look. >> >> My template: >> """ >> >> >> >> >> >> >> """ >> >> 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 < >> mailingl...@nesluop.dk>: >> >> > Hi, >> > >> > Using nnn="{}" 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 >> > ${}, 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 > > >> > 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 "" 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 >> >> >> > >> >
Re: Looking for open source projects that uses the current version of Tapestry
Try: "t:id" specified the name of component. You could use it to inject the component in Java like this: tml: 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 wrote: > Thanks for all your help! > > It seems that my issue is another one. I've to look. > > My template: > """ > > > > > > > """ > > 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 < > mailingl...@nesluop.dk>: > > > Hi, > > > > Using nnn="{}" 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 > > ${}, 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 > > 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 "" 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 > >> > > >
Re: Looking for open source projects that uses the current version of Tapestry
Thanks for all your help! It seems that my issue is another one. I've to look. My template: """ """ 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 < mailingl...@nesluop.dk>: > Hi, > > Using nnn="{}" 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 > ${}, 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 > 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 "" 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 >> >
Re: Looking for open source projects that uses the current version of Tapestry
Hi, Using nnn="{}" 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 ${}, 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 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 "" 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 >
Re: Looking for open source projects that uses the current version of Tapestry
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: Java: @Property private String comment; Felix On Mon, 8 Jul 2019 at 16:51, Tobias Scholze 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 < > fe...@netzgut.net>: > >> 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 >> 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 "" 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 >>> >> >> >> >>
Re: Looking for open source projects that uses the current version of Tapestry
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 < fe...@netzgut.net>: > 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 > 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 "" 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 >> > > > >
Re: Looking for open source projects that uses the current version of Tapestry
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 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 "" 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 >
Looking for open source projects that uses the current version of Tapestry
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 "" 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