T5: develop t5 app in Snow Leopard

2010-04-13 Thread Angelo Chen
Hi, I moved recently from Tiger to Snow Leopard and try to make my T5 app works, here is what I encountered: 1) in a newly installed Snow Leopard with default Java installation(1.6 64 bits) T5 app compiles and works well, but got 'heap out of memory' when using Java's JAI to process some images

Re: Asset service issues in GAE

2010-04-13 Thread Markus Feindler
Well, dont you lose the benfits of localisation and versioning when using direct paths? Your files aren't handled by the Asset Dispatcher anymore, instead the request handler for static files does the work > > Original-Nachricht > Datum: Tue, 13 Apr 2010 00:23:57 -

Re: Asset service issues in GAE

2010-04-13 Thread Daniel Henze
Hi Alex, thanks for that follow-up post. Since I'm going to develop with T5 on GAE as well, this will be in the back of my head as a potential cave-at. I'll be interested in any further findings regarding GAE since it seems that Tapestry is better tailored towards this particular platform (co

Re: T5: develop t5 app in Snow Leopard

2010-04-13 Thread Juan E. Maya
Angelo, i have been working with Snow Leopard and Tapestry since SL came out and never have i ever encounter a compatibility problem. I think as u pointed out the problem might be related with JAI not with tapestry. On Tue, Apr 13, 2010 at 9:08 AM, Angelo Chen wrote: > > Hi, > > I moved recently

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Charith Madusanka
Hi , If any one can tell me , this method is ok for render PDF file to Images ? charith

Re: Get final ouput of page rendering

2010-04-13 Thread iapilgrim
Hi, I want to reorder css/js files to make my custom css/js files at high priority ( ex, move to end). But I don't know which phase of rendering we grab entire dom. Regards, Van Christian Riedel-4 wrote: > > typically not the css/js file itself but its reference (I mean the /> tag) is include

Re: T5: develop t5 app in Snow Leopard

2010-04-13 Thread Alejandro Scandroli
I did have "heap out of memory" issues with SL. To workaround them we use this system properties. For embedded jetty (mvn jetty:run): export MAVEN_OPTS="-Xms256m -Xmx1024m -XX:PermSize=1024m -XX:MaxPermSize=1024m" For tomcat: export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClass

Re: Get final ouput of page rendering

2010-04-13 Thread Thiago H. de Paula Figueiredo
On Tue, 13 Apr 2010 06:49:18 -0300, iapilgrim wrote: Hi, Hi! I want to reorder css/js files to make my custom css/js files at high priority ( ex, move to end). But I don't know which phase of rendering we grab entire dom. I would use @AfterRender. -- Thiago H. de Paula Figueiredo Indepen

Re: Asset service issues in GAE

2010-04-13 Thread Alex Kotchnev
Markus, indeed, you do give up some nice things - for me in particular it's the ability to package the assets together with the components. The versioning for css and images is not as important in GAE as it already has built in versioning of the whole app, and the caching policy is not as agress

Change or remove DateField button labels

2010-04-13 Thread Santiago W. Fernandez Lorenzo
Hello again, Now I'm working with DateField component (that looks very well), but I don't know how to change (or remove) the labels for "Today" and "None". I try to access to the component using: @Component(id="finicio") private DateField finicioField; afterRender() { finicioField. } Bu

How to get a link + reload the page?

2010-04-13 Thread ks1304
Hello, I have a page where I have a listener method "public ILink doSomething(IRequestCycle cycle)" where a service is generating a PDF document and returning an ILink. The listener method is called when clicking a button on the web page. In addition to the pdf which is generated I also need to re

Re: New T5 & GAE app

2010-04-13 Thread Dragan Sahpaski
I must complement the idea. Coming from your west neighbor country I understand the content of the site. Good Job :) On Fri, Apr 9, 2010 at 7:52 AM, Alex Kotchnev wrote: > I just added this to the wiki, but I thought I'd drop a note here as well. > We just launched a new T5.2 based site (www.z

Re: Asset service issues in GAE

2010-04-13 Thread Alex Kotchnev
Daniel, I do try to watch out for T5/GAE related posts on this list and try to respond to the best of my ability. I would blog about this more if I weren't as swamped with things to do. I would be interested in hearing from other folks (e.g. Dmitry) that have deployed on GAE - in previous qu

Re: Asset service issues in GAE

2010-04-13 Thread Dmitry Gusev
Hi, Alex I'm including *.css and *.png by simply using link rel, like this: cube.css located here: ping-service\war\WEB-INF\lib\cubics-renders-1.0.1.jar\anjlab\cubics\css\cube.css I also set up regexAuthorizer: public void contributeRegexAuthorizer(Configuration regex) {

Re: Asset service issues in GAE

2010-04-13 Thread Alex Kotchnev
Dmitry, I do have the favicon.ico issue showing up in the logs as well, I'll need to look into that. Do you have anything special set up for the "static files" section in the appengine config xml file ? The problem w/ the failed requests for assets is that they don't show up in the error log

Re: simple case for checkboxes & T5

2010-04-13 Thread jaques robert
Thanks for that code. With this value encoder how can I see in my code that the checkboxes are checked or unchecked ? The code I'm using is :     public List getFormFieldsToCreate() {         if (_formFieldsToCreate == null) {             _formFieldsToCreate = new ArrayList();         }        

Re: Google Map Module and JavaScript-only PDF viewer component | GSOC2010

2010-04-13 Thread Alex Kotchnev
Charith, seems like as long as it works, it should be OK. One issue to investigate is whether you actually need a java.io.File to do this or not. I for one can't do much w/ java.io.File when my app is running in Google App Engine, so I ideally I'd like to be able to do the same from a regular in

Re: Asset service issues in GAE

2010-04-13 Thread Dmitry Gusev
Alex, I don't have anything special in the app config, here is it: http://appengine.google.com/ns/1.0";> ping-service beta true true I'd also recommend you to set up appstats, you may find something interesting in there. As for requ

RE: Get final ouput of page rendering

2010-04-13 Thread Brian Heston
I had what may be the same problem - Stylesheets defined in the page class using @IncludeStylesheet would render before stylesheets defined the same way for the layout. I needed the page to be able to override the common settings at the layout level. I couldn't figure out a good way to reorder

Re: simple case for checkboxes & T5

2010-04-13 Thread Josh Canfield
The ValueEncoder makes it so that you can store the values used in the loop in the form. When the form is submitted the ValueEncoder is used to turn the values stored in the form back into objects. The checkbox component calls the setter on the restored object. Your ValueEncoder needs to be able to