for the T5
Javascript Framework.
There is no link at http://tapestry.apache.org/javascript.html and no
link
at http://tapestry.apache.org/javascript-faq.html.
please, can someone help me out?
Thanks,
Andreas
-
To unsubscribe, e
and examples.
andreas
Steve Eynon schrieb:
I just read the source (and it has the bonus of never being out of date!)
Steve.
On 2 December 2011 16:36, Andreas Bohnerta...@weberhofer.at wrote:
Hi,
I'm sure it is somewhere but I can not find any documentation for the T5
Javascript Framework
Hi,
I'm sure it is somewhere but I can not find any documentation for the T5
Javascript Framework.
There is no link at http://tapestry.apache.org/javascript.html and no
link at http://tapestry.apache.org/javascript-faq.html.
please, can someone help me out?
Thanks,
Andreas
I just read the source (and it has the bonus of never being out of date!)
Steve.
On 2 December 2011 16:36, Andreas Bohnert a...@weberhofer.at wrote:
Hi,
I'm sure it is somewhere but I can not find any documentation for the T5
Javascript Framework.
There is no link at http
:36, Andreas Bohnerta...@weberhofer.at wrote:
Hi,
I'm sure it is somewhere but I can not find any documentation for the T5
Javascript Framework.
There is no link at http://tapestry.apache.org/javascript.html and no link
at http://tapestry.apache.org/javascript-faq.html.
please, can someone help
I dont like this way of refering to nodes ( document.entryForm.oosComment )
i'm not sure how many browsers fully support this but it looks like
this can work
when nodes have the name attribute set.
If i remember correctly, T5.1 used to include a name in each form but
this was removed
in 5.2 -
Thanks Andreas.
Yes, name attribute was the problem. I've changed to using getElementById and
it's working again.
c.
-Original Message-
From: andre...@gmail.com [mailto:andre...@gmail.com] On Behalf Of Andreas
Andreou
Sent: 16 December 2010 10:12
To: Tapestry users
Subject: Re: T5
Hi Cameron,
On Thu, Dec 16, 2010 at 8:03 AM, Newham, Cameron cameron.new...@bl.ukwrote:
Should I be adding my JavaScript with JavaScriptSupport (and if so,
where is documentation or an example? The only mention of JavaScript I
can find is in the HOW-TOs which show it being added to the
Yes, it's true it might not be the fastest or easiest way, but
I think it's good that Tapestry forces you to things the right way.
Nicolás.-
One use case I have for putting javascript in .tml is to get a function
to execute after a zone update. Due to Tapestry attaching onclick event
handlers to actionlinks (as opposed to using onclick attribute), it's
not that easy afaik to guarantee your own method will get called
afterwards (the
hi,
In tapestry 5.1.0.5 javascript are combained together in one file:
src=
There's a configuration variable you can set: tapestry.combine-scripts
See http://tapestry.apache.org/tapestry5.1/guide/conf.html
Argo Vilberg wrote:
hi,
In tapestry 5.1.0.5 javascript are combained together in one file:
src=
Secondly, how to tell tapestry production or development mode?
2009/10/26 Carl Crowder carl.crow...@taptu.com
There's a configuration variable you can set: tapestry.combine-scripts
See http://tapestry.apache.org/tapestry5.1/guide/conf.html
Argo Vilberg wrote:
hi,
In tapestry 5.1.0.5
In my environment are development mode but if i put some war to production
server, there are production mode.
Some time in AppModule.java is
configuration.add(SymbolConstants.PRODUCTION_MODE, false);
Argo
2009/10/26 Argo Vilberg wilps...@gmail.com
Secondly, how to tell tapestry
I put this line in AppModule.java
public static void contributeApplicationDefaults(
MappedConfigurationString, String configuration)
{
configuration.add(SymbolConstants.PRODUCTION_MODE, false);
configuration.add(SymbolConstants.COMBINE_SCRIPTS, false);
}
I tried
configuration.add(SymbolConstants.COMBINE_SCRIPTS, true);
and also
configuration.add(SymbolConstants.COMBINE_SCRIPTS, false);
But in bot cases there are my localhost always every javascript its own
notation.
And in production server always are javascript combained
Hello
Actually, it is possible to configure Tapestry with (in priority order)
1. java system properties (-D)
2. web.xml context parameters
3 contributeApplicationDefaults
4. contribteFactoryDefaults
Check your environment to verify the configuration symbol is not duplicated
with a wrong value
Thanks, seems taht web.xml variants works.
But AppModule.java is no use :)
Argo
2009/10/26 cordenier christophe christophe.corden...@gmail.com
Hello
Actually, it is possible to configure Tapestry with (in priority order)
1. java system properties (-D)
2. web.xml context parameters
3
All of this works for me.
Are you sure there aren't any JVM params set in your app server? And other
configuration points?
On Mon, Oct 26, 2009 at 2:13 PM, Argo Vilberg wilps...@gmail.com wrote:
Thanks, seems taht web.xml variants works.
But AppModule.java is no use :)
Argo
2009/10/26
How i can see java system properties (-D) ?
web.xml are set
param-nametapestry.combine-scripts/param-name
param-valuefalse/param-value
/context-param
And here are my AppModule.java
combine-script are true in this appmodule.
But in working server combine-script are trule false as in web.xml
Hi
What name have you given to the TapestryFilter in you web.xml ? 'App' prefix
(in 'AppModule') is the name of the filter.
Regards
Christophe.
2009/10/26 Argo Vilberg wilps...@gmail.com
Thanks, seems taht web.xml variants works.
But AppModule.java is no use :)
Argo
2009/10/26
i dont no. here is my web.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
display-nameDigileping/display-name
context-param
filter
filter-namedigileping/
filter-name
filter-classorg.apache.tapestry5.TapestryFilter/filter-class
/filter
So your class must be called DigilepingModule...
2009/10/26 Argo Vilberg wilps...@gmail.com
i dont no. here is my web.xml
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
Hello,
I run into the same issue : in 1 json response I can have 500
references to my JS / CSS file. Thus, the ajax response is bigger that
a full page refresh and firefox has difficulties to render the
response. I created an issue with a patch to correct it :
...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Quoted from:
http://www.nabble.com/about-T5-javascript-tp22367350p22400998.html
-
To unsubscribe, e-mail: users-unsubscr
-T5-javascript-tp22367350p22400998.html
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
Quoted from:
http://www.nabble.com/about-T5-javascript-tp22367350p22400998.html
var zoneObject = Tapestry.findZoneManager(elementConnectedToZone);
zoneObject.updateFromURL(link);
On Fri, Mar 6, 2009 at 8:16 AM, Andrea Chiumenti kium...@gmail.com wrote:
Hi to avoid me to read all Tapestry js code, could you tell me waht
is/are the js Class and method(s) that replace a
that said, any committers want to add a simple function for people to
use?? something like this:
Tapestry.activateZone = function( zoneId, url ) {
var zoneManager = Tapestry.findZoneManagerFromId( zoneId );
zoneManager.updateFromURL( url );
}
Inge Solvoll wrote:
var
Em Sun, 08 Mar 2009 15:13:58 -0300, Fernando Padilla f...@alum.mit.edu
escreveu:
that said, any committers want to add a simple function for people to
use?? something like this:
Tapestry.activateZone = function( zoneId, url ) {
var zoneManager = Tapestry.findZoneManagerFromId(
Hi to avoid me to read all Tapestry js code, could you tell me waht
is/are the js Class and method(s) that replace a zone on a xhr call ?
Thanks,
kiuma
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For
://www.nabble.com/T5---Javascript-libraries-on-ajax-requests-tp18395682p18407546.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
that a library is included
more than once in ajax requests??
Regards.
--
View this message in context:
http://www.nabble.com/T5---Javascript-libraries-on-ajax-requests-tp18395682p18395682.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Ken,
You need to specify your script block as containing CDATA, like so:
script type=text/javascript![CDATA[
if(true true) {
alert(!!!);
}
]]/script
Tapestry treats templates as XML, and is an invalid character unless
processed as cdata.
chris
Ken wrote:
Hi,
I wrote a template file like
Thank you Chris.
After I prepare CDATA block, the error was gone.
But my firebug pointed as below and dialog doesn't work.
missing ) after condition
if (true amp;amp; true) {\n
Anyway I think this is my homework.
I have to try a little.
thanks again!
Chris wrote:
Ken,
You need to specify
Take a look at
http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript
This explains how to do it.
Szemere
On Wed, May 21, 2008 at 6:23 AM, Ken [EMAIL PROTECTED] wrote:
Hi,
I wrote a template file like below:
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
Thanks Szemere!
It's works!
Szemere wote:
Take a look at
http://wiki.apache.org/tapestry/Tapestry5HowToIncludeJavaScript
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I wrote a template file like below:
html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
head
script type=text/javascript
if (true true) {
alert(!!!);
}
/script
/head
/html
and prepare empty Java file.
then I accessed to this page and got an error:
An unexpected
hi chris,
after having a second look at your code i think you don't even need the
replacement at all
as the new version uses the replaceTextArea() instead of assigning the text
via javascript.
in writeScript() the replacement of \r,' occurs but _value is written out before in afterRender()
Harald,
I'm honestly not clear on what the initial issue with that was (I'm not
the original author), but it may have had to do with the fact that the
component wrote out script code directly using the MarkupWriter instead
of PageRenderSupport. It was originally written for a much earlier
version
hi all,
is there a special reason for rendering the javascript includes on bottom of the page in latest
5.0.12 snapshot?
i got a fckeditor on my page and it seems like my editor field wants to initialize the FCKeditor
before the script ist even loaded?
any hints welcome,
harald
script
This a recommendation from YSlow,
because it helps wrowser render page faster by leaving
javascript part for the end.
you should put your initialization code in onload...
Davor Hrg
On Thu, Apr 24, 2008 at 2:13 PM, Harald Geritzer [EMAIL PROTECTED]
wrote:
hi all,
is there a special
Hi Harald,
tapestry5-components has an editor component (which uses fck):
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Editor.html
A fix for this issue has just been committed to svn, if you're
interested in an already-integrated version. In any
Chris Lewis schrieb:
Hi Harald,
tapestry5-components has an editor component (which uses fck):
http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/Editor.html
ty,
guess in writeScript():
_value = _value.replace('\r', '\\'); //this is needed for
Harald,
Can I convince you to file an issue, if that is an issue?
http://code.google.com/p/tapestry5-components/issues/list
If you can, provide an example situation that would cause a problem.
thanks!
Harald Geritzer wrote:
Chris Lewis schrieb:
Hi Harald,
tapestry5-components has an
:
http://www.nabble.com/T5-javascript-form-submit-toolbar-tp14692144p14692144.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hi!
What is the correct way to use JavaScript in my
tapestry components?
If I use the code below, and my HTML has a button with
onclick=myObj.doSomething();, it can not find myObj.
pageRenderSupport.addScriptLink(myLibrary);
pageRenderSupport.addScript(var myObj = new MyObj();
two ways:
create a javascript function, not a js-object, thats called by onclick
or create a javascript-object, with eventhandler that handles the onclick
event like this
Event.observe(this.fieldSetLegend, click,
this.toggle.bindAsEventListener(this));
Imants Firsts wrote:
Hi!
What
To begin :
#Cyrille37# wrote:
Hello, Bonjour,
Thanks to Baptiste Meurant !
Merci à Baptiste Meurant !
Thanks for the time spent, and thank you Cyril for the info.
As it seems taht javascript integration is a hot topic, I want to
highlight that one of the tutorials shows how to integrate DWR
Kopie
Thema
T5: Javascript abstraction musing
It seems tapestry.js works this way, so I'm sure someone has thought of
this...
I wonder if a prototype interface in javascript could be a path to
plugging in whatever javascript library you want, at least at some level
of
functionality
It seems tapestry.js works this way, so I'm sure someone has thought of
this...
I wonder if a prototype interface in javascript could be a path to
plugging in whatever javascript library you want, at least at some level of
functionality. Such as:
var Tapestry = {
xhrSend: function (/*
Shoudn't you copy dojo source to src/main/webapp/ instead of
src/main/webapp/WEB-INF.
Sorry if i'm totally wrong, never used dojo, but it's just a guess.
On 3/16/07, Anjana Gopinath [EMAIL PROTECTED] wrote:
Jesse
It could be unrelated to tapestry 5. I was trying to create a dojo
widget, so
Oh...Yeah good point Pablo. WEB-INF would be a place for classes / etc..
On 3/16/07, Pablo Ruggia [EMAIL PROTECTED] wrote:
Shoudn't you copy dojo source to src/main/webapp/ instead of
src/main/webapp/WEB-INF.
Sorry if i'm totally wrong, never used dojo, but it's just a guess.
On 3/16/07,
Hey
Thats right, sorry my bad. i blindly copied all the htmls and dojo
folders from my T4 app's context directory and dropped it to my T5s
WEB-INF directory. Thanks a lo for helping me, Pablo and Jesse!
Anjana Gopinath
True North Technology
11465 John's Creek Parkway, Suite 300
Hi,
I am trying to build a small app using tapestry 5. And trying to add
a dojo table. I keep getting javascript errors in Firefox, so was
wondering whether anyone has tried dojo with tapestry 5? i need to
have a table with checkboxes, wasnt sure how to do this with the
tapestry
grid
It may be a conflict between the Prototype.js library and the Dojo
libraries. I haven't tried this yet.
On 3/15/07, Anjana Gopinath [EMAIL PROTECTED] wrote:
Hi,
I am trying to build a small app using tapestry 5. And trying to add
a dojo table. I keep getting javascript errors in Firefox, so
Thanks for responding , Howard. switched to ordinary html table with
loop component.
Anjana Gopinath
On Mar 15, 2007, at 7:40 PM, Howard Lewis Ship wrote:
It may be a conflict between the Prototype.js library and the Dojo
libraries. I haven't tried this yet.
On 3/15/07, Anjana
There shouldn't be any incompatibilities between the libraries, if
there are I'm sure many people would like to know.
More than likely you were just having errors unrelated to T5 or
prototype. (but maybe not, hard to say off hand )
On 3/15/07, Anjana Gopinath [EMAIL PROTECTED] wrote:
Thanks
58 matches
Mail list logo