On Sun, 08 Aug 2010 21:47:00 -0300, Paul Stanton
wrote:
So I can either contribute a markup renderer that can access the
renderSupport object OR inject a service that can in turn inject
ComponentSource
This isn't correct. You'll use @Inject to get ComponentSource (which is a
service) a
Sounds like a good idea to me
btw I was looking to figure out where I started going wrong in my
understanding. I fell victim to a "confirmation bias" that was "confirmed"
by this page: http://tapestry.apache.org/tapestry5.1/tutorial1/first.html ,
which indicated that T5 required all templates
So I can either contribute a markup renderer that can access the
renderSupport object OR inject a service that can in turn inject
ComponentSource
but I can't create/contribute/inject my own object/service/etc that has
access to all of RenderSupport, ComponentResources, ComponentSource and
Pag
It is only broken (in Tap 5.2.0 Snapshot) if EnumSelectModel is passed to
component FunctionInputWithSelect. It works if I use SelectModelImpl whith
String key/value pairs.
Shing
--- On Sun, 8/8/10, Shing Hing Man wrote:
> From: Shing Hing Man
> Subject: inherit binding broken after up
The only exception is page templates which are allowed to be stored in the
context root. And in fact, if I were starting T5 again, that would not be
supported. It may even be removed in a future release.
On Sun, Aug 8, 2010 at 12:07 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
On Sat, 07 Aug 2010 20:34:29 -0300, Patrick Moore
wrote:
Hi there --
Hi!
I am working to move our project from T4 to T5. In T4 we are using the
tacos component resolver that allows the templates and properties files
to be in the same directory. In T5 how can we do the same thing?
In
Thanks for the correction.
Shing
--- On Mon, 9/8/10, adasal wrote:
> From: adasal
> Subject: Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot
> To: "Tapestry users"
> Date: Monday, 9 August, 2010, 1:45
> >
> > In Tap 5.2, Form.getDefaultTracker() returns null if
> there is a va
>
> In Tap 5.2, Form.getDefaultTracker() returns null if there is a validation
> error, and returns a non-null validation tracker when there is a validation
> error.
>
Should be ' returns null if there is no validation error ' I expect?
Adam
On 8 August 2010 15:37, Shing Hing Man wrote:
> In
It's generally not considered good design for a component to have knowledge of
the design of it's container. This would be a universal design principle, not
limited to tapestry.
So if all you want to do is update a zone then couldn't you just pass the zone
or zone id as a parameter to your comp
Well ... sure enough... it works!
I was expecting a problem because the documentation kept talking about
/webapp being the required directory for the .tml files. With no mention of
any other option, I was expecting to have to rig it up.
thanks!
Patrick Moore
Amplafi
http://amplafi.com
mobile: 65
Hi,
My component below is broken after I upgrade from Tap 5.1 to Tap 5.2
snapshot. In the component template FunctionInputWithSelect.tml, there is
Select component which gets all its parameters using inherit binding.
In FunctionInputWithSelect.java,
public c
In an inner component I handle an ajax request from an action link and want to
update a zone in a outer component.
As a work around I use the ComponentSource like:
Object onActionFromMark(long wishedStartTime) {
this.wishedStartTime = wishedStartTime;
CalendarComponent cal = (CalendarComponent)
In Tap 5.1, Form.getDefaultTracker() always return a non-null validationTracker
irrespective of whether there is any validation errors.
In Tap 5.2, Form.getDefaultTracker() returns null if there is a validation
error, and returns a non-null validation tracker when there is a validation
error.
Nope, this is not possible. What are you trying to do?
On Sun, Aug 8, 2010 at 4:28 PM, Christian Koller
wrote:
> Hi
>
> With the annotation @Component I can inject components which are defined in
> the component's template, for example:
> @Component(id="myComponent")
> private ActionLink link;
>
Hi
With the annotation @Component I can inject components which are defined in the
component's template, for example:
@Component(id="myComponent")
private ActionLink link;
Is there a way to inject a component from the parent component? Something like:
@Component(id="../myComponent")
private Act
T5 application works ok as is if the files are in the same directory.
If you use maven, then the maven default structure layout dictates that the
non-java files must be in resources or webapp folders. (The build process
copies the resources to the same directory structure from java and
resources
Hi Andreas,
I thank you! I will definitively take some time during this week to fix and
take your advices in oout tapestwitter application.
best regards,
Katia
2010/8/7 Guerin Laurent
> Hi Andreas,
>
> Thank you for your random choice :-)
>
> With Katia (co-author) we are planning to upgrade
be sure that your IDE copies the resource files (properties/tml) into
your classpath (WEB-INF/classes)
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/8/8 Patrick Moore
>
> I tried with the tutorial and it didn't work. the rendering failed.
>
Hi,
I do everything server side with the help of a custom
TimeZoneAwareDatePicker wrapping your tapx datepicker. It takes a
source (I store everything in UTC) and display timezone (the users
timezone) to do the conversion. This suits me because I will almost
always know my users timezone as they n
I tried with the tutorial and it didn't work. the rendering failed.
Patrick Moore
Amplafi
http://amplafi.com
mobile: 650-207-9792
"Put your front window on your front page"
corp blog : http://amplafi.com/blog
personal blog : http://www.sworddance.com/blog
On Sat, Aug 7, 2010 at 10:38 PM, Josh Ca
here is my work out with upping idea:
1.make my hibernate configurer:
public class T5TestHibernateConfigurer implements HibernateConfigurer{
private final boolean defaultConfiguration;
private String configFile; // add configuration filepath on classpath
public T5TestHibernateC
21 matches
Mail list logo