You could use a provide a Translator (translate parameter) to do that.
On Tue, 23 Oct 2012 21:24:08 -0200, o1550762 wrote:
Hi,
Lets say I have one component and in it following
// Numbers.java
@Property
@Parameter
private double number1;
@Property
@Parameter
private double number2;
@Propert
Hi,
Lets say I have one component and in it following
// Numbers.java
@Property
@Parameter
private double number1;
@Property
@Parameter
private double number2;
@Property
@Parameter
private double number3;
//Number.tml
Now what I want here is for my component to render only values that
btw the order is lost when the component is re-renderd in the zone. Could
this affect something? Could the before/after specification get lost in ajax
update?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/JSONLiteral-breaks-zone-refresh-tapesty-jquery-tp5717101p5717192.
I need to initialize my custom mixin after autocomlete mixin, as my mixin is
adding stuff to autocomplete. So i guess that @MixinAfter has no interest to
me.
The InitializationPriority.LATE does help as it adds the calling at the end
I guess so it is initialized after the autocomplete. However I a
On Tue, 23 Oct 2012 19:25:52 -0200, bhorvat
wrote:
Yes I have, actually it is part of my code, and I have just removed it
since it works the same whether or not it is there
Actually, it works in a different way, I just don't know it would make a
difference when adding an initializer cal
Yes I have, actually it is part of my code, and I have just removed it since
it works the same whether or not it is there
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/JSONLiteral-breaks-zone-refresh-tapesty-jquery-tp5717101p5717189.html
Sent from the Tapestry - User m
On Tue, 23 Oct 2012 19:21:21 -0200, bhorvat
wrote:
However I am having one problem, I need to call my mixing after
Autocomplete
and I have tried that with the after prefix but for some reason that
didnt
work out. So have tried to add InitializationPriority.LATE as shown above
and that
I see your point about it and yea it does make sense so I have give up on the
JSONLiteral.
François I like your solution. I have implemented my Mixin like this
@Import(library = {"submitautocomplete.js"})
public class SubmitAutocomplete {
@Environmental
private JavaScriptSupport javaSc
I'm not 100% sure that tapestry has set the header since
response.containsHeader() returns false. It's probably best to debug to be
sure.
My gut feeling is that gae is having troubles with setting a header after
writing to the response body. Although tapestry is doing this legally, under
normal c
Thanks Alex for all your help.
On Tue, Oct 23, 2012 at 3:25 PM, Alex Kotchnev-2 [via Tapestry] <
ml-node+s1045711n5717184...@n5.nabble.com> wrote:
> George,
> I haven't worked with the velocity service configuration (and I haven't
> looked at the source for that specifically).
>
> My assumpti
George,
I haven't worked with the velocity service configuration (and I haven't
looked at the source for that specifically).
My assumption is that if you don't contribute anything to the velocity
service configuration, that would be equivalent to having a null
configuration, but doing it the w
Well Alex, it was my own fault. I was relying on my IDE to import my import
statements automatically on a key command and it wasn't doing so with
org.chenillekit, thus that was the issue.
Also, would this be a correct configuration since the docs say the config
could be left null?
public sta
I do see the Velocity annotation in the jar ( inside the
org.chenillekit.template.services package). I assume that you have an
import statement (e.g. import org.chenillekit.template.services.Velocity)
at the top of your VelocityTemplateServiceImpl ?
The other difference in my case is that for ser
Instead of
@Component
private Form form;
pleases try
@InjectComponent(value="loginForm")
private Form form;
The difference bewteen @Component and @InjectComponent is explained on the
following page.
http://tapestry.apache.org/injection-faq.html
Shing
Hi,
in your Java class you have
@Component
private Form form;
and in template:
If you don't provide a component id is argument to @Component, Tapestry
uses field's name as the id. You need to do one of following:
- change field name to loginForm,
- or add "loginForm" as ar
Alex, when I look into my dependencies package, I see
chenillekit-template-1.3.3.jar. I have added the contributeVelocityService
method to my app module, but when I try importing TemplateService or using
the annotation @Velocity, I get the following compiling errors
can not find symbol
symbol: cla
https://issues.apache.org/jira/browse/TAP5-1995, marked yours as a duplicate.
Kalle
On Tue, Oct 23, 2012 at 9:39 AM, wrote:
> I've already created a bug report [
> https://issues.apache.org/jira/browse/TAP5-2015 ], but was advised by a
> colleague to also discuss the issue here.
>
> I hit an
George,
what is the error ? Does it not find the dependency when you build ?
I do use chenillekit-template (1.3.3) w/ Tapestry 5.3.4 and have no
issues with it..
Cheers,
Alex K
On Tue, Oct 23, 2012 at 10:02 AM, George Christman
wrote:
> Hello, I'm trying to get the Tapestry Chenillekit v
You are confusing JavaScript objects, instantiated in the browser,
with JSON, a protocol for transferring data between client and server.
By design, JSON is a subset of JavaScript, specifically for security
(and performance) reasons.
You are floundering on the idea that you can push something comp
I've already created a bug report [
https://issues.apache.org/jira/browse/TAP5-2015 ], but was advised by a
colleague to also discuss the issue here.
I hit an issue when I changed the path of a tomcat webapp from '/foo' to
'/foo/bar'. Tomcat uses the war archive file name to know which url the
On Tue, 23 Oct 2012 12:37:38 -0200, Dan Cyr
wrote:
In summary:
I am using Tapestry 5.3.5.
In development, GAE 1.7.2 no longer provided the gzip header (1.7.1 used
to) (see previous logs and debugs)
Would tapestry be dependent on the servlet implementation? Is this a GAE
issue?
It sure
In summary:
I am using Tapestry 5.3.5.
In development, GAE 1.7.2 no longer provided the gzip header (1.7.1 used to)
(see previous logs and debugs)
Tapestry sends gzip anyways. Black diamonds in browser.
Please improve any of my assumptions... Can anyone chime in and explain
what may be happen
I wonder why the component Checkbox doesn't have the parameter validate like
most of the other fields.
I have the following security use case: Even when some fields are not
rendered to UI (or only rendered disabled) because the user doesn't have the
required permission/role, I need to make sure th
Hello, I'm trying to get the Tapestry Chenillekit velocity template service
working, however I haven't had any success in configuring it with my
project. I can't seem to get Tapestry to bring in my dependencies despite
adding them to the pom, nor can I get the @Velocity to work. This is what I
have
This morning Emmanuel told me that we already have a documentation
that explain how to do this kind of job?
He will push this doc in the kiwi soon.
Short Story :
create a jQuery plugin
(function( $ ) {
$.extend(Tapestry.Initializer, {
customAutocomplete: function(specs) {
$("#"+s
François Facon-3 wrote
> I guess your parser error is due to jQuery which reject function even
> received from ajax call. I've encountered the problem with the plugin
> Jeditable.
> see the following commit
>
> https://github.com/got5/tapestry5-jquery/commit/818ae2a5594397ea7368237d081e40b2fa3edbb
Hi,
i am using Tapestry 5.3.5 and Hibernate 3.6.10 (Hibernate 4.x is not possible
to use).
I have a class A and i am mapping this class multiple times with different
Hibernate entity names A1 and A2, like this:
A.java
class A { ... }
A1.hbm.xml
...
A2.hbm.xml
...
I'm really disappointed, but i going to give up as it seems impossible to
make it work using Tapestry "mechanics".
I think that we have to manage everything using js : input validation /
ajax form submission / zone update.
For information, my goal was to "simulate" a navigation using a zone
wrapp
See if this helps:
http://jumpstart.doublenegative.com.au/jumpstart/examples/state/passingdatabetweenpages
Regards,
Geoff
On 23/10/2012, at 6:09 PM, yaswanthbs wrote:
> Hi Jens,
> Thanks for your reply,
> The main concern for me is how to get the value from One.java to Two.java
>
> I thought
Hi Jens,
Thanks for your reply,
The main concern for me is how to get the value from One.java to Two.java
I thought the best way is getting through onActivate() by an argument. But I
dont know how to get that pass object as argument in onActivate().
Regards,
Sai.
--
View this message in contex
Boris,
I guess your parser error is due to jQuery which reject function even
received from ajax call. I've encountered the problem with the plugin
Jeditable.
see the following commit
https://github.com/got5/tapestry5-jquery/commit/818ae2a5594397ea7368237d081e40b2fa3edbbe
As Thiago mentioned, thi
Try
@Inject YourService service;
In the class and call whatever method you need from
onActivate() {
service.whatEver();
}
?
Or do you want a service instance passed due to some magic url parameter? like
corsion from number to a db pojo for example?
Jens
Sent from my iPhone
On 23.10.2
32 matches
Mail list logo