Re: T5: Include Google Analytics Code

2009-07-29 Thread moritzgilsdorf
er > = > _gat._getTracker("${trackerId}");pageTracker._initData();pageTracker._trackPageview();}" > > ); > > > > On 7/28/09 3:27 AM, moritzgilsdorf wrote: >> I tried it but it still inserts the tapestry-code after the GA code and >> before the

Re: T5: Include Google Analytics Code

2009-07-28 Thread moritzgilsdorf
27;" + gaJsHost + > "google-analytics.com/ga.js' > type='text/javascript'%3E%3C/script%3E")); > > > if (typeof(_gat) == 'object') { > var pageTracker = _gat._getTracker("${trackerId}"); > pageTracker._initData(); &

Re: T5: Include Google Analytics Code

2009-07-28 Thread moritzgilsdorf
ough (there was some gzip related error in > " > > thanks to Joachim Van der Auwera. > > On Fri, Jul 3, 2009 at 2:50 PM, moritzgilsdorf > wrote: >> >> Hi, >> >> I have a problem with using Google Analytics in my project. I've added >&g

T5: Include Google Analytics Code

2009-07-03 Thread moritzgilsdorf
Hi, I have a problem with using Google Analytics in my project. I've added the GA scripts in my Layout.tml just before the closing body tag. When rendering the Page, Tapestry inserts between the GA scripts and the the following code:

Re: Debug using maven from IntelliJ IDEA on Mac

2009-05-15 Thread moritzgilsdorf
of your maven directory. > And that's it, doing that I can now debug my JSF application using > jetty:run > ;) > Hope that helps > > > > > moritzgilsdorf-2 wrote: >> >> >> Hi, >> >> I have troubles starting and debugging my apps us

GridSortModel

2009-02-12 Thread moritzgilsdorf
Hello, I was wondering if there's any way to specify how a Grid is sorted before it's being rendered. Great would be to be able to sort using multiple columns (i.e. first column a ascending then second column b descending). I found this parameter "sortModel" in the documentation which sounded pr

Re: Debug using maven from IntelliJ IDEA on Mac

2008-12-18 Thread moritzgilsdorf
; that shows up when searching on it. > > Anything to point me in the right direction would be great. > > Regards > Tomas > > > moritzgilsdorf wrote: >> >> Hi, >> >> I have troubles starting and debugging my apps using IntelliJ and maven. &g

Re: ActionLink in component

2008-10-15 Thread moritzgilsdorf
THANKS!! That was it! I knew it must be something trivial. Thiago H. de Paula Figueiredo wrote: > > Em Wed, 15 Oct 2008 12:16:13 -0300, moritzgilsdorf > <[EMAIL PROTECTED]> escreveu: > >> Thanks for the reply. >> >> I tried several types of namings,

Re: ActionLink in component

2008-10-15 Thread moritzgilsdorf
return null; >} > > See if it works. > On Wed, Oct 15, 2008 at 6:01 PM, moritzgilsdorf > <[EMAIL PROTECTED]> wrote: >> >> Just to bring this up. I tried several things to solve the Problem but to >> no >> avail. I still have no clue on what is g

Re: ActionLink in component

2008-10-15 Thread moritzgilsdorf
Just to bring this up. I tried several things to solve the Problem but to no avail. I still have no clue on what is going wrong here. I've put everything from the component into a page, nothing changed. I testet it on several other computers, nothing. I tried it using tomcat, nothing. I have Act

Re: ActionLink in component

2008-10-14 Thread moritzgilsdorf
I cannot reset the component. Thanks for the help. Howard Lewis Ship wrote: > > Where is your event handler method? If the is inside > component Foo's template (Foo.tml), then the method goes inside > Foo.java. > > On Mon, Oct 13, 2008 at 9:22 AM, moritzgilsdorf > &l

Re: ActionLink in component

2008-10-13 Thread moritzgilsdorf
. de Paula Figueiredo wrote: > > Em Mon, 13 Oct 2008 14:22:36 -0200, moritzgilsdorf > <[EMAIL PROTECTED]> escreveu: > >> @OnEvent(component = "reset") >> public Object reset(){ >> tableParsed = false; >> saveSucceed = fa

ActionLink in component

2008-10-13 Thread moritzgilsdorf
Hi, I'm feeling like posting a very trivial problem but unfortunately I can't find my mistake. I have a actionlink in a component to reset some persisted booleans. The actionlink looks like this: Reset And the triggered method like this: @OnEvent(component = "reset") public Object res

T5 BeanModelSource create Parameters

2008-09-05 Thread moritzgilsdorf
Hi, I'm trying to add an additional column to a grid following this guideline: http://www.infoq.com/articles/tapestry5-intro http://www.infoq.com/articles/tapestry5-intro I have seen in several tutorials that the create Method of BeanModelSource takes a ComponentResources Object as third param

Debug using maven from IntelliJ IDEA on Mac

2008-09-01 Thread moritzgilsdorf
Hi, I have troubles starting and debugging my apps using IntelliJ and maven. It looks like maven is trying to resolve environment variables with "env", which is installed in /usr/bin . I get the following exception: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -Dclass

Re: LazyInitializationException

2008-08-26 Thread moritzgilsdorf
r renderring, not before > the renderring is part of the request, but you chose > to persist the Gene and redirect to your self > in that case a new request happens and your problems.. > > Davor Hrg > > > Davor Hrg > > On Tue, Aug 26, 2008 at 11:17 AM, moritzgilsdorf >

Re: LazyInitializationException

2008-08-26 Thread moritzgilsdorf
cache query results you'll need to get to know hibernate more > and it's caching configuration (second-level cache, query cache ...). > > > Davor Hrg > > On Tue, Aug 26, 2008 at 10:35 AM, moritzgilsdorf > <[EMAIL PROTECTED]>wrote: > >> >> Hi, &g

LazyInitializationException

2008-08-26 Thread moritzgilsdorf
Hi, I have a Problem with lazy loading. In my App I query a Database using Hibernate. The workflow is the following: Searchpage -> Resultspage -> Detailspage search by keyword -> Results in Grid -> Details

Re: T5:calendar component problem

2008-04-09 Thread MoritzGilsdorf
I once had the problem of executing javascript code from inside a table in IE. I found out that in IE it is not allowed to execute js in tables. Maybe this is a similar problem. Did you tried other Browsers? Jens Pfau wrote: > > Hi Natia, > > did you figure out how to get the calendar popup t

T5: Add parameter to Grid cell element

2008-04-09 Thread MoritzGilsdorf
Hi, is there any way of adding custom parameters to the element of a grid cell? I would like to add e javascript tooltip to cells and need to define a id-parameter. Thanks, Moritz -- View this message in context: http://www.nabble.com/T5%3A-Add-parameter-to-Grid-cell-%3Ctd%3E-element-tp16585

RE: T5: Tapestry and Tomcat

2008-03-05 Thread MoritzGilsdorf
; TOMCAT5_SECURITY=no > > See if that works. > > > >> -Original Message- >> From: MoritzGilsdorf [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 04, 2008 3:41 AM >> To: users@tapestry.apache.org >> Subject: RE: T5: Tapestry and Tomcat >> >>

RE: T5: Tapestry and Tomcat

2008-03-04 Thread MoritzGilsdorf
u should explicitly grant. > > There's also an option somewhere to turn off the security manager > entirely. > That may require editing the tomcat startup script. > > Jonathan > > > > >> -Original Message- >> From: MoritzGilsdorf [mailto

T5: Tapestry and Tomcat

2008-03-03 Thread MoritzGilsdorf
Hi, I know there are a lot of Topics available about this issue but I couldn't find a helpful Solution. I'm trying to deploy my webapp on a ubuntu 7.10 linux server using tomcat5.5. Using jetty my webapp works fine. I also followed the Instructions about http://tapestry.apache.org/tapestry5/tom

Re: T5: Using resources

2008-02-22 Thread MoritzGilsdorf
> > emplate template = Velocity.getTemplate("description.vm"); > > > MoritzGilsdorf wrote: >> >> Hi, >> >> I have that. Here is my code: >> >> props.setProperty(VelocityEngine.RESOURCE_LOADER, "class

Re: T5: Using resources

2008-02-21 Thread MoritzGilsdorf
what I did: > > store it under resources, then add: > p.setProperty("resource.loader", "class"); > p.setProperty("class.resource.loader.class", > "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); > engine.init(p); &

T5: Using resources

2008-02-21 Thread MoritzGilsdorf
Hi, I'm trying to find a good place to store auxiliary files inside my project. I'm using velocity templates to generate simple text-files and in my development folder they are stored in CLASSPATH/src/main/resources/templates/. When I deploy my Project, the template directory is stored in my Pro

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
Context.put("desc", this.description); > template.merge(velocityContext, osw); > osw.flush(); > osw.close(); > return new ByteArrayInputStream(out.toByteArray()); > > > > On Thu, Feb 21, 2008 at 2:55 PM, MoritzGilsdorf <[EMAIL PROT

Re: T5: Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
The thing is that I don't know how to get my OutputStreamWriter into InputStream so that StreamResponse is able to stream it to the user. This is probably a very basic problem but I'm not very experienced with that. Right now there is nothing streaming but writing to System.out. But I want to do s

Stream Text File with StreamResponse

2008-02-21 Thread MoritzGilsdorf
Hello, I'm trying to stream a text file I created with Velocity very similar to the way it is done http://wiki.apache.org/tapestry/Tapestry5HowToCreateADynamicPDF here but it doesn't work. The text is stored in a OutputStreamWriter object. Is it possible to stream something else than binary da