It is defined as local to the initializer.Rocker1 function and can't
be accessed outside it. if the function is generic enough just put it
in a separate js and include that in both mixins.
On Fri, Aug 12, 2011 at 9:42 AM, dick_hu wrote:
> I use the two mixins in a page
> so the two js are already
I use the two mixins in a page
so the two js are already imported, I try to use one mixins's js funtion in
another mixins's js
eg:
Tapestry.Initializer.Rocker1 = fucntion(){
var f1 = function(){
}
}
Tapestry.Initializer.Rocker2 = fucntion(){
// I want use the Rocker1's f1
}
Howc
Just import the same js file using @Import and then use
javaScriptSupport.addInitializerCall("Rocker", params_if_any)
On Fri, Aug 12, 2011 at 8:23 AM, dick_hu wrote:
> I create a mixins "A" with the js Tapestry.Initializer.Rocker
> Now I create another mixins "B",How can I use the
> Tapestry.Init
I create a mixins "A" with the js Tapestry.Initializer.Rocker
Now I create another mixins "B",How can I use the
Tapestry.Initializer.Rocker
in B's js
AnyOne can help me
Thanks a lot
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Tapestry-Initializer-s-function-tp46918
Sorry for late answer - we use CAS at our institution and I found it is
very easy to front Tapestry with CAS even from scratch.
Some 2-3 years ago I found a tutorial on the web how to do that with
help of Spring Security (previuosly named Acegi), but later I learned a
bit how to do it from scr
Just for the records:
NEVER do that: log4j.rootCategory=info, A1
That will cause every message to be logged twice. I had managed that by
misconfiguring maven resource filtering...
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-2-6-Activate-c
Hi guys,
Thanks for the replies. In fact I had some img tags with no src-attribute as
a placeholder for the designers to deliver their content. I replaced them
now with properly styled divs. Although what was strange, they were on
totally different pages. So I could not imagine them being the reas
To nillehammer and Thiago, thank you for answering.
Eclipse on gentoo is acting a little weird in not being able to find classes in
the same project, so I thought I'd make BSL a separate jar to ease my woes :)
Trying to move away from osx to gentoo for deving on. (don't ask why, i enjoy
the pai
I'll take a look at it once we get the core issues resolved. I'm sure I could
handle getting that working pretty easily.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-tagselect-version-1-0-released-tp4639340p4691043.html
Sent from the Tapestry - User mailing
posted bugs with github
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-tagselect-version-1-0-released-tp4639340p4691018.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
This is almost always due to a bad URL; the browser gets the
URL, there's no actual file, it ends up invoking the Index page
passing the bad path as activation context.
On Thu, Aug 11, 2011 at 12:42 PM, Thiago H. de Paula Figueiredo
wrote:
> On Thu, 11 Aug 2011 15:44:51 -0300, nillehammer
> wro
Just thought a little on enhancement number one. One possible way to
solve this (not exactly like facebook though) is to add the following
CSS;
.u-tagselect .u-tag-container .u-tags .u-tag {
clear: both;
}
Maybe with some CSS id-specifier if you don't want all tagselects to
behave the same way.
On Thu, 11 Aug 2011 15:48:55 -0300, Eric Torti wrote:
Hi, Thiago,
Hi! :)
I'm tackling the construction of a Calendar Value Enconder and, as you've
said it, the javadocs are pretty much it :]
;)
I didn't get though how do I address localization issues. For example, if
the String received
On Thu, 11 Aug 2011 15:44:51 -0300, nillehammer
wrote:
Hi List,
Hi!
I suddenly realized that onActivate allways get's
called twice.
Have you checked what context values does onActivate() get in these two
requests?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5
Great, I just started looking into repairing the bug... you beat me to it :)
Yep I was thinking the samething with github.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-tagselect-version-1-0-released-tp4639340p4690665.html
Sent from the Tapestry - User mail
Good catch on the first point. It's fixed now and pushed to GitHub.
Can you describe the problem in point 3 a bit? And if you could create
issues at GitHub for the enhancements would be great.
Regards,
Joakim
On Thu, Aug 11, 2011 at 5:58 PM, George Christman
wrote:
> Excellent, thanks for inco
Are you instantiating (injecting) the page somewhere? onActive is
called called once when required, you have to tell more about your
case if you want reasonable answers.
Kalle
On Thu, Aug 11, 2011 at 11:44 AM, nillehammer
wrote:
> Hi List,
>
> I've never really used onActivate so I did not care
Hi, Thiago,
I'm tackling the construction of a Calendar Value Enconder and, as you've
said it, the javadocs are pretty much it :]
I didn't get though how do I address localization issues. For example, if
the String received as a parameter for the toValue(...) method and it is
formatted according
Hi List,
I've never really used onActivate so I did not care about how often it would
be called... up to today. I have a single onActivate(EventContext context)
and corresponding onPassivate in my page class and use the context to load
som data from the db. I suddenly realized that onActivate allw
On Thu, 11 Aug 2011 12:45:16 -0300, Eric Torti wrote:
Thank you, Thiago!
You're welcome!
Normally I prefer to use Calendar, so I'll try to provide a value encoder
for that type on my project. Do you know of any implementation for that
or something similar? I've googled it with no success
Excellent, thanks for incorporating that feature. I have encountered a few
bugs though.
1. When using a value encoder, the component seams to be adding the label
string value to the hidden field rather than the string id provided by the
value encoder.
Re: Missing ValueEncoder for java.util.Calendar
Thank you, Thiago!
Normally I prefer to use Calendar, so I'll try to provide a value encoder
for that type on my project. Do you know of any implementation for that or
something similar? I've googled it with no success :]
On Thu, Aug 11, 2011 at 12:36 PM, Thiago H. de Paula Figueiredo <
thiag...@
On Thu, 11 Aug 2011 11:50:20 -0300, Eric Torti wrote:
Hello, guys!
Hi!
Do I have to provide a value encoder for Calendar, or am I missing
something on the configuration of the project? I've searched around the
docs but
didn't quite get it.
As far as I know having editable class fields
On Thu, 11 Aug 2011 11:32:59 -0300, David Canteros
wrote:
Hi, thank you for your quick response.
My question was just out of curiosity because this behavior happens
seldom and this brings me no major problems . It is rarely because
there are other projects (developed with other framewor
Thank you Emmanuel!
I solved it by upgrading to 2.1.2-Snapshot., (build nr 9)
Then i got js script compability probelm on tinymc for IE 9.
Ticket: Ticket #11690 -
http://dev.plone.org/plone/ticket/11690?action=diff&version=19
But this issue is not resolved jet.,
Finally I ended setting IE Pag
Hello, guys!
I have a beaneditform that's used to create and update instances of one of
the models on my app. When it's used to create and persist the instaces I
have no problem. But when it comes to editing them as on
domain.com/project/somebean/edit/10, instead of rendereing the form with the
lo
Hi, thank you for your quick response.
My question was just out of curiosity because this behavior happens seldom
and this brings me no major problems . It is rarely because there are other
projects (developed with other frameworks) deployed on that server and the
strange page only appear with t
Because we found out that some users were complaining about "bugs" which were
in fact cause by au buggy proxy with caching enabled (external to our web app)
and so we would like to be able to force all clients to reload their resources
from the server side without any service disruption. We don’
On Thu, 11 Aug 2011 09:20:50 -0300, Belot Thomas
wrote:
This is what I thought ... does anybody think this would be a good idea
or should I just forget it ?
Why do you want to change it?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, develo
I'm implementing a selector binding for jQuery. I'd like to be able to
do something like
${selector:this}
and have selector:this emit the html id of its container if it
supports getClientId().
I've look thru the docs and I can't find any easy way to do this. Did
I just overlook something or is t
> Well, my definition of distributed configuration is different: it's the
> ability of more than one module class to contribute configuration for a
> given service.
Granted. And how that works is, what I was trying to explain in my first
reply to the question. I wanted to point out, that this featu
Thanks for your answer Thiago
This is what I thought ... does anybody think this would be a good idea or
should I just forget it ?
Regards
Thomas
Thomas BELOT
thomas.be...@santeos.com
Tél : +33 (0)3 20 60 93 81
Fax : +33 (0)3 20 60 82 18
-Message d'origine-
De : Thiago H. de Pau
Thanks for your idea Nillehammer
But unfortunately this has already been done.
Regards
Thomas
Thomas BELOT
thomas.be...@santeos.com
Tél : +33 (0)3 20 60 93 81
Fax : +33 (0)3 20 60 82 18
-Message d'origine-
De : nillehammer [mailto:tapestry.nilleham...@winfonet.eu]
Envoyé : jeudi
On Thu, 11 Aug 2011 04:48:33 -0300, Belot Thomas
wrote:
Hi
Hi!
Is there a way to change "tapestry.application-version" value without
redeploying the webapp ?
Symbols are not updateable at runtime.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consu
On Thu, 11 Aug 2011 08:45:44 -0300, nillehammer
wrote:
No, that's part of what Tapestry calls "distributed configuration" You
can define separate modules and pack them into separate jars.
Well, my definition of distributed configuration is different: it's the
ability of more than one mod
On Thu, 11 Aug 2011 00:32:57 -0300, Chris Mylonas
wrote:
Hi Tapestry Users,
Hi!
Using jumpstart's BusinessServicesLocator(BSL) and bind() -ing it in
AppModule.java I wondered if the BSL and it's interface can come from
another jar or does it have to be in the services directory?
Tapestr
My "No" is a bit ambigous ;-)) So: No they don't have to be in the same
jar/Yes, they can come from an external jar
-
http://www.winfonet.eu
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/IoC-services-can-they-come-from-an-external-jar-tp4688157p4689260.html
Sent from
No, that's part of what Tapestry calls "distributed configuration" You can
define separate modules and pack them into separate jars. If you want them
used in your AppModule yo can do this in two ways:
Either use the @SubModule-annotation telling AppModule, what the other
module's class name is. Or
Hi,
if you have used contributeApplicationDefaults in your AppModule, no.
But you can externalize the values to web.xml by providing context
parameters with appropriate name. The context parameters will be picked up
by tapestry during startup.
So first delete the code in AppModule and then write
On Thu, Aug 11, 2011 at 11:37 AM, mat -- wrote:
>
>
> I can now run app with mvn jetty:run, but am getting this when
> http://localhost:8080/jpaapp/
> org.apache.tapestry5.internal.services.RenderQueueException
> Render queue error in SetupRender[Index:grid]: Failure reading parameter
> 'source' o
> Are you sure you added tapestry-jpa dependency?
I knew I was missing something obvious :-)
Thanks Igor, for the reminder!
So now I added tapestry-jpa and the CommitAfter annotation resolves without
Hibernate dependency and the EntityManagerSource service is now visible!
I can now run app with
Hi
Is there a way to change "tapestry.application-version" value without
redeploying the webapp ?
We would like to be able to force all clients to refresh their static content
cache (due to bogus client / proxy which keep serving corrupted files) without
having to restart our tomcat or redep
42 matches
Mail list logo