*derkoe*, what are the other benefits that I will miss? Also, I didn't get
the problem with the partials, could you provide more details?
MVC. I think that, as application client-side will gain its complexity, I
will have to build there some kind of Model, from MVC. I agree with that
approach, tha
So I was able to get everything working without an issue. I created a method
on the backend which allowed me to pass back my field and then append a
sequence number to the field label.
t:clientId="prop:getGenerateFieldId(orgKey)"
In order to get the ValidationTracker to record the input properly
Hello,
Is it possible to override Tapestrys MessagesImpl?
What we are trying to achieve is to use placeholders inside the
message*.properties files.
So for example the global_message.properties contains an entry like "keyA =
valueA".
Inside a component property file we want to reuse this key in a
Its rather a silly mistake, I had the t:datefield component within it's
t:label component
Relocating the t:datefield component outside the t:label component fixed
the problem. Thank you for your help :)
On Tue, Nov 27, 2012 at 5:39 PM, Lenny Primak wrote:
> I have seen this with SmartClient J
I done it with
<${button}>
${button}: asset on tapestry page
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Add-icon-to-a-t-submit-tp5718324p5718347.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Excellent, Thanks Nourredine. I think I have enough now to finish figuring
this out.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxFormLoop-validation-not-working-properly-tp5718326p5718345.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Doesn't work...
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Jquery-Tooltip-on-production-mode-tp5718174p5718344.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe
The ValidationTracker stores also the value (see
ValidationTrackerImpl#recordInput() and ValidationTrackerImpl#getInput()).
Again, the key used to store the field's input is based on the
"controlName". That's why the value is not rendered after the first
submission (the key used to store the input
So last question, where is the field value stored? example I put alpha in a
numeric field and a validation error occurs, the field should return
decorated but with the alpha character still within it. I'm able to return a
decorated field, but the field is returned blank. I'm not sure if the value
i
Hi George,
The "t:id" is a server-side id (used when you @InjectComponent the field in
your class) while the "t:clientId" is used by the TextField component to
generate its client-side id. They are not interdependent.
Also, the TextField 's "controlName" is used by the "ValidationTracker" to
stor
This is the exact reason for the EventLink component.
On Tue, Nov 27, 2012 at 8:46 AM, sommeralex wrote:
> Hi!
>
> I have in some of my .tml pages several IF statements, which should show
> some - depending on the if clause - actionlinks.
>
> if A
> actionlink 1
> actionlink 2
> if B
> actionlin
Hi Nourredine, Thanks for the explanation, makes perfect sense.
I'm a little confused with the id generation sample your using though. Is
the field suppose to read the t:id="label" and append the id from
t:clientId="prop:row.id" ? I'm not sure I follow this logic just yet. Would
you mind elaborat
I was not 100% precise: it's happening if the services interface extends
"Runnable", rather than just implementing it.
This is ok:
public interface AnyService {
void anything();
}
public class AnyServiceImpl implements AnyService, Runnable {
// ..
}
This will cause the bug:
public inte
On Tue, 27 Nov 2012 14:14:54 -0200, Nourredine
wrote:
yes, I saw that, but don't know how to make it visible in the mailing
list from nabble (I edited my previous post to add a link to nabble).
As a general suggestion, I'd say don't post from Nabble. And don't forget
that editing posts i
Hi everyone,
I wrote about this bug a while ago already, but can't find the original post.
After lots of debugging I found the reason for a bug in our app. The symptoms
were that all contributions annotated with @Startup (also the ones from
Tapestry internal modules) were executed a second time
Code eaten by Nabble :
your page :
@Persist(PersistenceConstants.FLASH)
@Property(read=false)
private ValidationFieldTracker myTracker;
public ValidationFieldTracker getMyTracker() {
if (myTracker == null) {
myTracker = new ValidationFieldTracker(new ValidationTrackerIm
yes, I saw that, but don't know how to make it visible in the mailing list
from nabble (I edited my previous post to add a link to nabble).
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxFormLoop-validation-not-working-properly-tp5718326p5718334.html
Sent from the Ta
Nabble ate your code.
On Nov 27, 2012, at 10:54 AM, Nourredine wrote:
> Hi,
>
> It is a side effect of the zone refresh and IdAllocator. Ajax requests use
> IdAllocator to generate unique ids. but when the page is rendered after
> submission, the original ids are used. While the ValidationTrac
Hi,
It is a side effect of the zone refresh and IdAllocator. Ajax requests use
IdAllocator to generate unique ids. but when the page is rendered after
submission, the original ids are used. While the ValidationTracker stores
the "ajaxified" ids.
as a workaround, you will have to implement your ow
Just a guess but have you specified t:id for your new row?
On Nov 27, 2012, at 10:44 AM, George Christman wrote:
> Another update, I'm thinking I'm getting closer to understanding the problem,
> but not sure of the cause.
>
> What I'm finding is when I add a new row, tapestry generates an id f
Another update, I'm thinking I'm getting closer to understanding the problem,
but not sure of the cause.
What I'm finding is when I add a new row, tapestry generates an id for my
fields,
example
quantity_13b4286fcf5
When I submit the form and it returns with a validation error, I'm noticing
th
On Tue, 27 Nov 2012 11:45:49 -0200, membersound wrote:
Hi,
Hi!
I want to add icons to my buttons.
For a link I do it like <${context:layout/icon.png}>
But how can I apply this to a ? How to I get the
icon into the value field?
CSS, nothing Tapestry-specific.
--
Thiago H. de Paula Figu
I have seen this with SmartClient JS libraries and only on safari iOS.
But this was an old version of both so the problem doesn't exist now.
I never found out what exactly it was but I bet some JS library you are
Using is doing this.
On Nov 27, 2012, at 8:55 AM, Muhammad Gelbana wrote:
> I re
I'd also like to add I'm applying my field validation within the tml using
t:validate="...".
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxFormLoop-validation-not-working-properly-tp5718326p5718327.html
Sent from the Tapestry - User mailing list archive at Nabble.co
Hello, I'm using the AjaxFormLoop component throughout my app. I'm not using
clientside validation, but rather serverside validation. Lastly I'm using
flash persist to rebuild the objects within the AjaxFormLoop when a
serverside validation occurs. This all seems to work perfectly well with the
exc
I recently changed my app's design and I'm currently porting pages from the
old templates to new ones. Now everything is almost done but when I click
the date picker image to popup the date picker control, it flickers and
vanishes right away !
I noticed it's css properties, it changes and then "di
Hi,
I want to add icons to my buttons.
For a link I do it like <${context:layout/icon.png}>
But how can I apply this to a ? How to I get the
icon into the value field?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Add-icon-to-a-t-submit-tp5718324.html
Sent from the
> 1) You didn't specify whether you're using the "server" or the "client"
tapestry5-cayenne-server, 0.5-SNAPSHOT
> sense that the Request is null. But that suggests the problem is in your
> code because neither implementation of ObjectContextProvider references
> the Request service.
You're ab
You can also use the zone parameter of the select component, it will send
an ajax request when the user will select a value.
Manu
2012/11/27 Anbazhagan
> r your valuable reply. Its working.
>
>
>
>
--
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.em
Hi Taha really thanks for your valuable reply. Its working.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-give-the-link-to-the-select-component-value-tp5718309p5718320.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
Since the UnclaimedFieldWorker is configured "after:*" it will be applied
after all other ComponentClassTransformWorker2's. This means that your new
field will be ThreadLocalized and won't be a singleton.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/plastic-adding-fiel
A few notes.
1) You didn't specify whether you're using the "server" or the "client"
t5-cayenne module. I will assume you are using the "server" module (since you
mentioned DataContext).
2) The exception noted doesn't seem to be caused by t5cayenne code. It looks
like it's a problem in your co
Hi all,
I've a question about dynamically adding fields to a page using
'plasticClass.introduceField' methods. As pages are in effect singletons
(except for mutable fields) is this newly added field also added to the
other mutable fields ? Or does it become a singleton, just like the page and
is i
You can also avoid the if component all together using this pattern:
http://tapestry.apache.org/switching-cases.html
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tml-if-statements-unique-id-components-tp5718312p5718315.html
Sent from the Tapestry - User mailing list ar
Declare your shared content in a ...
Then use when you want to include the "foo" block in
your logic.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/tml-if-statements-unique-id-components-tp5718312p5718314.html
Sent from the Tapestry - User mailing list archive at Nab
True - maybe I'll do that instead, just subclassing PageLink and adding my
custom behaviour.
/Peter
On Tuesday, November 27, 2012 at 06:55 , Howard Lewis Ship wrote:
> Instead of a mixin on PageLink, I would just write a custom component. What
> PageLink does is quite straightforward.
>
> On
36 matches
Mail list logo