I've found the solution :)
On template file:
On page class:
@InjectComponent
private TextField fname;
@Inject
private FieldValidatorSource source;
public FieldValidator getFieldValidator() {
FieldValidator fv = source.createValidators(fname, "required,
minLength=5");
So I dug through the source code, and the custom link transformation is spliced
in by way of an interceptor pattern (in TapestryModule):
@Match("ComponentEventLinkEncoder")
public ComponentEventLinkEncoder decorateLinkTransformer(LinkTransformer
linkTransformer,
Thank you very much, Taha and Dragan.
You make me save a lot of time...
On Wed, Feb 1, 2012 at 5:14 PM, Dragan Sahpaski
wrote:
> Hi,
> There is one more solution to your problem. I'm not saying it's better than
> Taha's on the contrary I recommend Taha's approach, this solution is more
> of a ha
Hi!
On Wed, 01 Feb 2012 21:30:33 -0200, John Bush wrote:
then you need to use a builder method approach for ioc, b/c the
autobinding is not aware of session scoped items, only proper
services, at least that what I've seen in practice.
Actually, you can defined the scope of an autobound servi
I have a project where I need some services session scoped, not
singletons or perthread. The reason is that I have some web services
I use that need some session state for initialization. While the
perthread approach works just fine, I don't want to be initializing
that stuff with every request.
Thanks Chris. I knew about the css text-transform, but not about
"first-letter". I think this will work nicely.
--
Tim
On 01/02/2012 4:18 PM, Chris Mylonas wrote:
couldn't you do it in CSS?
https://drupal.org/node/222543#comment-732983
"...first-letter css pseudo-element instead"
On 02/0
couldn't you do it in CSS?
https://drupal.org/node/222543#comment-732983
"...first-letter css pseudo-element instead"
On 02/02/2012, at 9:13 AM, Tim wrote:
> I've been looking at making a component that can convert the first letter of
> its body to lower case.
>
> I suspect I might need to pr
I've been looking at making a component that can convert the first
letter of its body to lower case.
I suspect I might need to provide a beforeRenderBody or afterRenderBody
method with a MarkupWriter. I can write with the MarkupWriter, but how
do I actually get the body so I can do the transf
Thanks Kalle!
That solved my ajax securing problem.
/Gunnar
Den tisdagen den 17:e januari 2012 skrev Kalle Korhonen<
kalle.o.korho...@gmail.com>:
> On Thu, Aug 25, 2011 at 1:08 AM, Gunnar Eketrapp
> wrote:
>> I still havn't managde to get ajax calls to redirect.
>> I changed to reload as a I sa
Need a bit more info: do you know how to render an individual item? That is, is
this component supposed to generically render any type of item? In any event,
here's a quick sketch of how to go about what you want (untested code :),
assuming you want to easily override the default rendering...
M
On Wed, 01 Feb 2012 16:28:05 -0200, Tim wrote:
How easy is this to do?
I want a component that displays, with attractive html such as in a
border or something, a group of items. I'm thinking each item should be
a component itself, but correct me if I'm wrong there. If there are
more th
How easy is this to do?
I want a component that displays, with attractive html such as in a
border or something, a group of items. I'm thinking each item should be
a component itself, but correct me if I'm wrong there. If there are
more than one item to be rendered, the main component should
It's probably the same issue as https://issues.apache.org/jira/browse/TAP5-1752
Denis
Feb 1, 2012 v 5:12 PM, Howard Lewis Ship:
> Going to need a lot more data, including the exact production platform
> (OS, JDK, app server, etc.) and maybe some code samples. If I can't
> reproduce it, I can't
Going to need a lot more data, including the exact production platform
(OS, JDK, app server, etc.) and maybe some code samples. If I can't
reproduce it, I can't fix it!
On Wed, Feb 1, 2012 at 7:52 AM, Emmanuel DEMEY wrote:
> Hi everyone
>
> I get the same issue yesterday, and I spent a lot of ti
Hi everyone
I get the same issue yesterday, and I spent a lot of time to find the
problem. I forgot about this existing post.
Howard : Did you find something to avoid this issue ? It will be interesting
to add this issue into the release note of the 5.3 release ? in the breaking
changes part ? W
Please check the release notes; this was an intentional change, since
some browsers (IE) are overly sensitive to the order of tags inside
.
However, it does seem odd here that the CSS is placed after the
On Wed, 01 Feb 2012 08:24:56 -0200, Markus Grell
wrote:
Greetings!
Hi!
I have a form that display a select list. This list is filled with data
from a database query. Now I would like following behaviour but have no
clue on how to implement that:
I would like to add the option "Other" to
Have a look at
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/select1
-Original Message-
From: Markus Grell [mailto:tapes...@military.de]
Sent: Wednesday 1 February 2012 11:25
To: users@tapestry.apache.org
Subject: Display textfield dynamically
Greetings!
I have a form
Greetings!
I have a form that display a select list. This list is filled with data
from a database query. Now I would like following behaviour but have no
clue on how to implement that:
I would like to add the option "Other" to the select list. A soon as this
option is choosen (without submitting
Hi,
There is one more solution to your problem. I'm not saying it's better than
Taha's on the contrary I recommend Taha's approach, this solution is more
of a hack but it works and I have used it.
Here it is.
Just create a component in your app with the same name: Submit.
public class Submit ext
Hi,
First of all, thanks a lot for your update.
Replacing TransformerWorker by PlasticClass might have been painful.
I'm currently using Tapestry 5.3.2 and Spring 3.1.0.
Still, there are two issues left.
First, in the SpringSecurityWorker class, PlasticClassImpl is now lockable
and so cannot be
21 matches
Mail list logo