Re: help : displaying Images that are stored outside the Web application

2012-01-04 Thread Suma
I did'nt understand the logic :( Thanks of response On Thu, Jan 5, 2012 at 11:54 AM, Kalle Korhonen-2 [via Tapestry] < ml-node+s1045711n5121886...@n5.nabble.com> wrote: > On Wed, Jan 4, 2012 at 9:16 PM, Suma <[hidden > email]> > wrote: > > I

Re: development with eclipse+tomcat

2012-01-04 Thread Paul Stanton
Kalle, I've figured out that it was the tapestry-test etc adding jetty etc to my classpath. After looking into it, I have a simple way to make sure your 'devLoader' classpath is correct: Method 1 - compare to target/[project]/WEB-INF/lib after a maven install 1. run maven install 2. browse

Re: [T5.2.6] Component class transformation on initialized private instance fields

2012-01-04 Thread Josh Canfield
> Does the inline initialization claim the field at transformation-time > so that it is not cleared during request detachment? The inline initialization is used to reset the value at the end of a request. So, if you put stuff in the default list then you are going to see it in all of your pages. I

Re: The best way to use Stacks to combine css and javascript?

2012-01-04 Thread Bo Gao
> Would it be possible to put all three in one stack, or does 1.css and > 3.css have conflicting rules? > I think the intended use of the stack functionality was to make an all > (or mostly) inclusive one for your entire app/library and re-use it in > many places; the rationale being that the savi

Re: help : displaying Images that are stored outside the Web application

2012-01-04 Thread Kalle Korhonen
On Wed, Jan 4, 2012 at 9:16 PM, Suma wrote: > I am a newbie to Tapestry. I need help on how to display the Images stored > outside the Web application. > Say my application HTML path --> > c:/jboss/deploy/webapps/TapestryApp/Home.html > But Images are stored outside--> : c:/appImages/test1.jpeg >

Re: java.lang.OutOfMemoryError: PermGen space

2012-01-04 Thread Yohan Yudanara
Hi, this is copy-paste from http://tapestry.apache.org/specific-errors-faq.html: :) My application fails with the error *PermGen*, how do I fix this? PermGen refers to the part of the Java memory space devoted to permanent objects, which are mostly loaded classes. When developing under Tapestry,

Re: The best way to use Stacks to combine css and javascript?

2012-01-04 Thread robert baker
Would it be possible to put all three in one stack, or does 1.css and 3.css have conflicting rules? I think the intended use of the stack functionality was to make an all (or mostly) inclusive one for your entire app/library and re-use it in many places; the rationale being that the savings in num

[T5.2.6] Component class transformation on initialized private instance fields

2012-01-04 Thread robert baker
Hi all, When a page/component is transformed (in version 5.2.6) and there is a field like the following: private List aList = new ArrayList(); Does the inline initialization claim the field at transformation-time so that it is not cleared during request detachment? ("Claim" as in what the @Reta

Re: help : displaying Images that are stored outside the Web application

2012-01-04 Thread Suma
I am a newbie to Tapestry. I need help on how to display the Images stored outside the Web application. Say my application HTML path --> c:/jboss/deploy/webapps/TapestryApp/Home.html But Images are stored outside--> : c:/appImages/test1.jpeg How can I load the Image dynamically in the SRC attri

The best way to use Stacks to combine css and javascript?

2012-01-04 Thread Bo Gao
I want to use stacks to combine many small Css and Javascript to reduce HTTP requests. I see tapestry use this to combine many javascript files into a core.js. I have 2 pages for example: page1 depends on 1.css, 2.css page2 depends on 2.css, 3.css If I want to minimize HTTP request on these pag

RE: java.lang.OutOfMemoryError: PermGen space

2012-01-04 Thread Gubrud, Dave
Looks like you need to increase the size available for PermGen space in the jvm. Here's the setting we use when starting our server: -XX:MaxPermSize=128m Here's link for more info: http://community.eapps.com/showthread.php?153-Eliminate-PermGen-out-of-memory-errors-for-good! -Original Me

java.lang.OutOfMemoryError: PermGen space

2012-01-04 Thread dick_hu
When I modify some page and open them in the browser, often there is a error occur. Can anyone tell me how can I avoid this error? Thanks a lot. Caused by: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.define

Re: Why does AbstractComponentEventLink require a Zone?

2012-01-04 Thread Jochen Frey
Thanks! Here is my .tml snippet: Click me Here is my handler: public Object onGraphRefresh () { GraphData graphData = TestPieChart.setupTestGraph(); updateManager.refresh(testPieChart1.getClientId(), graphData ); updateManager.refresh(testPieChart3.getC

Re: Problems with console.log?

2012-01-04 Thread Howard Lewis Ship
This is stuff that's been getting tweaked in 5.4; There may be more tweaking to go. Currently, we have a try {} around the processing of the response from the server side; that may need to be tweaked so that we just use the try {} when there's no native console, and execute directly when there is

Re: mixins Confirm is invalid

2012-01-04 Thread dick_hu
Geoff Callender-2 wrote > > Yes, there's a trick to it - search for t:event="delete" > in this example: > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons > > There's an explanation below it. > > > Thank you very much , you are right. -- View this

Re: Problems with console.log?

2012-01-04 Thread yazdog8
Thanks for the response. I was actually making errors in two places, both with the <=. I think my other question of how can I turn off this stack trace still applies. Like I said, I'm using ba-debug and am quite happy with it's dealings with the console. What was causing me a great deal of confusio

Re: [OT] Jenkins vs BuildBot

2012-01-04 Thread Daniel Honig
Why are you considering anything other than Jenkins then? On Wed, Jan 4, 2012 at 7:09 PM, Lenny Primak wrote: > I am looking at implementing CI server. Any thoughts on which one I should > go with? I don't have any complex requirements. Just don't want to install > a whole bunch of extra crap li

[OT] Jenkins vs BuildBot

2012-01-04 Thread Lenny Primak
I am looking at implementing CI server. Any thoughts on which one I should go with? I don't have any complex requirements. Just don't want to install a whole bunch of extra crap like python libraries etc. - To unsubscribe, e-m

Re: Problems with console.log?

2012-01-04 Thread Howard Lewis Ship
T5 doesn't hijack the console; in fact it uses the console when its available (most browsers) and displays messages in a floating virtual console (when a real console is not available ... looking at you IE). The problem is not in Tapestry, it has something to do with the code that's been executed

Problems with console.log?

2012-01-04 Thread yazdog8
Can anyone explain what the t5-console does? I seem to get seriously strange errors that point to AJAX when I'm performing normal JavaScript operations after we do an ajax round trip. So the errors I'm getting seem to point to AJAX when in fact we're just extending an object. Communication with th

Server Side Validation with ajax form loop

2012-01-04 Thread George Christman
Hello, I'm using the ajaxformloop component with a value encoder similar to jumpstarts AjaxFormLoop Tailored version. The component works flawlessly when there is no server side errors to return, however when server side errors exist and the form is returned, my main pr object looses all the ajaxfo

Re: EmptyStackException in production mode in the AssetsModule.ResourceMinimizer

2012-01-04 Thread Howard Lewis Ship
https://issues.apache.org/jira/browse/TAP5-1729 On Wed, Jan 4, 2012 at 8:22 AM, Howard Lewis Ship wrote: > There's been some issues about this when using tapestry-yuicompressor in > some app servers, such as JBoss. Can you provide details on exactly what > your environment is? > > > On Wed, Jan

Re: Get progress of file upload

2012-01-04 Thread Howard Lewis Ship
Using the standard (or Upload component), the problem here is that Tapestry code doesn't even get invoked until after the file is fully uploaded. There's been discussion on the list of alternate approaches, using Ajax and/or Flash to do the upload. Those might provide some of the support you are l

Re: EmptyStackException in production mode in the AssetsModule.ResourceMinimizer

2012-01-04 Thread Howard Lewis Ship
There's been some issues about this when using tapestry-yuicompressor in some app servers, such as JBoss. Can you provide details on exactly what your environment is? On Wed, Jan 4, 2012 at 6:08 AM, Thim Anneesens wrote: > Hello everybody. I have an issue in production mode. I get the following

Re: help : displaying Images that are stored outside the Web application

2012-01-04 Thread Howard Lewis Ship
http://catb.org/esr/faqs/smart-questions.html On Wed, Jan 4, 2012 at 4:29 AM, Suma wrote: > Hey guys even i wanna display the image which is located outside of the web > application. I tried by giving @Any within image comtrol but no use :( > > > Please guide me :( > > -- > View this message in c

Re: help : displaying Images that are stored outside the Web application

2012-01-04 Thread Suma
Hey guys even i wanna display the image which is located outside of the web application. I tried by giving @Any within image comtrol but no use :( Please guide me :( -- View this message in context: http://tapestry.1045711.n5.nabble.com/help-displaying-Images-that-are-stored-outside-the-Web-ap

EmptyStackException in production mode in the AssetsModule.ResourceMinimizer

2012-01-04 Thread Thim Anneesens
Hello everybody. I have an issue in production mode. I get the following exception (see below) for each page request, but the page display without problem. I am fairly new to Tapestry but this looks like a bug. If anyone has information about this behaviour, feel free to

Re: mixins Confirm is invalid

2012-01-04 Thread Geoff Callender
Yes, there's a trick to it - search for t:event="delete" in this example: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons There's an explanation below it. Cheers, Geoff On 04/01/2012, at 2:50 PM, dick_hu wrote: > I add a mixins "Confirm" to a E

Re: Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2012-01-04 Thread Javix
Finally I got it working by adding as you told: Tapestry.Initializer.load = function load(jsonObject){ .. errorText.text(jsonObject.m1) } and ot in the very begining of the call: jQuery(document).bind(Tapestry.ZONE_UPDATED_EVENT, function(e){ //load(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m

javascript to java

2012-01-04 Thread csckid
list.tml # I need to send the id to java function to delete an item. But I don't know how should I pass the variable to java after "*label1*" -- View this message in context: http://tapestry.1045711.n5.nabble.com/javascript-to-java-tp5119483p5119483.html Sent from the Tapestry - User mail

Re: Difference between renderSupport.addScript and JSON addInit(function, JSON Object)

2012-01-04 Thread Javix
It didn't work: Oups ... org.apache.tapestry5.runtime.ComponentEventException: A component event handler method returned the value MultiZoneUpdate[{page=org.apache.tapestry5.corelib.components.Zone@1799a64, May it's because in the javascript file the call to the load fucntion is made lie that:

Re: Why does AbstractComponentEventLink require a Zone?

2012-01-04 Thread Thiago H. de Paula Figueiredo
ROn Wed, 04 Jan 2012 05:55:04 -0200, Jochen Frey wrote: Hi! Hi! I am somewhat new to Tapestry (loving it). Yay! :) Welcome to the mailing list. I am simply calling functions that I registered with Tapestry.init. But unless I am mistaken, it seems that having a t:zone is the only way

[ANNOUNCE] ChenilleKit 1.3.3

2012-01-04 Thread Massimo Lusetti
This is a long time awaited and very suffered release but we are finally here: Chenillekit 1.3.3 is out in the wild which support the latest and greatest Tapestry 5.3.1 We know there could be some issues and we would be very happy if you can report back here: http://jira.codehaus.org/browse/CHEN

Re: How to remove a locale prefix from url

2012-01-04 Thread Javix
I discovered that in the real application that was made in one only language(the client' one), there is a URLRewriterRule with SimpleRequestWrapper in use. So I have to change a little bit my question: what is the best way to implement the possibility to swith between locales in this case taking in