Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread Lance Java
The following is not valid XML / HTML: --> I guess Tapestry might be having troubles parsing the page. Comments should be surrounded by . If you want the image to load at a later stage, there are better ways to do this in javascript. 1. Don't render the in the initial page, and add the to the

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread Lance Java
Nabble swallowed my HTML... I'll try again but will use [ ] instead of < > The following is not valid XML / HTML: [!- ${videoItem.image} --] I guess Tapestry might be having troubles parsing the page. Comments should be surrounded by [!-- and --]. If you want the image to load at a later stage,

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread karthi
Nabble swallowed my HTML... I have used the correct comment in my coding, but for the above problem only i just specified http://tapestry.1045711.n5.nabble.com/img-tag-src-value-not-get-render-on-run-time-in-lazy-loading-tp5713439p5713487.html Sent from the Tapestry - User mailing list archive a

Re: Cannot get component library to load

2012-05-29 Thread LanceWhite
Interesting... I had to change findResources to getResource as findResources isn't publicly visible, but it dumped this : jar:file:/C:/Development/Projects/Test-Tapestry-Module/MyPlugin.jar!/org/test/pages/TestPage.class jar:file:/C:/Development/Projects/Test-Tapestry-Module/MyPlugin.jar!/org/te

Re: Cannot get component library to load

2012-05-29 Thread LanceWhite
Also, the classLoader here is an instance of org.apache.tapestry5.internal.plastic.PlasticClassLoader which obviously contains the module pages, whereas the one in the ClassNameLocator implementation is looking at one called ContextLoader@TestApp (where TestApp is the name in the web.xml). (I'm pr

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread Lance Java
Gotcha ;) Tapestry parses the TML file into a DOM object on the serverside and I'm not 100% sure what it does with XML (HTML) comments. It possibly discards them. At any rate, I think you would be better to hide elements rather than declaring them as comments and somehow uncommenting them at a la

Re: Cannot get component library to load

2012-05-29 Thread Lance Java
> I had to change findResources to getResource as findResources isn't publicly visible, but it dumped this : Can you try getResources() instead of getResource() -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cannot-get-component-library-to-load-tp5713444p5713491.html Sent

Re: img tag src value not get render on run time in lazy loading

2012-05-29 Thread karthi
I have first tried with this lazy load plugin for jquery http://www.appelsiini.net/projects/lazyload, but there are some problems (It works fine without iscroll component but with Iscroll it is not working in iphone) with that that's why tried with some other lazy loading plugins, I will try some o

Re: Cannot get component library to load

2012-05-29 Thread LanceWhite
Yeah - that just returns an Enumeration of URLs for each call. Each Enumeration has one entry, so jar:file:/C:/Development/Projects/Test-Tapestry-Module/MyPlugin.jar!/org/test/pages/TestPage.class for the class, and jar:file:/C:/Development/Projects/Test-Tapestry-Module/MyPlugin.jar!/org/tes

Re: Cannot get component library to load

2012-05-29 Thread Lance Java
> Yeah - that just returns an Enumeration of URLs for each call. Yes, with the added bonus that duplicate locations on the classpath will be exposed I'm baffled... I have no idea why this would work for the upload library but not yours... What container are you using? -- View this message in cont

Re: Cannot get component library to load

2012-05-29 Thread Lance Java
This might be caused by the location of your jar file "C:/Development/Projects/Test-Tapestry-Module" Where is the tapestry-upload.jar located? Is it inside a WAR? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cannot-get-component-library-to-load-tp5713444p5713495.html Se

Re: Cannot get component library to load

2012-05-29 Thread Lance Java
Also, where are the tapestry jars? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Cannot-get-component-library-to-load-tp5713444p5713496.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Official jboss support

2012-05-29 Thread Magnus Kvalheim
@jon - yeah, I know how frustrating it can be when it's just not working for whatever reason. Tapestry have a great community though - so I'm sure you would have gotten some intelligent replies and help to solve the issues you were facing. Especially from Geoff. Now back on topic. I would really

Re: Cannot get component library to load

2012-05-29 Thread LanceWhite
Using Jetty. Nothing's inside a WAR file, everything's just referenced directly. I tried copying my module jar to the same place as the tapestry jars just to see if the location of the jar was the problem -but it wasn't...still nothing. All you should have to do is ensure the library jar is on th

Re: Tapestry on OpenShift: did someone already tried it?

2012-05-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 May 2012 03:11:06 -0300, Magnus Kvalheim wrote: Hi Thiago. Hi, Magnus! This is unfortunately expected behavior. Openshift is running JBoss(7.1) and tapestry is not supported on jboss out of the box. I was a bit sad to discover this myself - I was kinda expecting it to work fo

accessing json properties in template

2012-05-29 Thread Angelo C.
Hi, say I got a json object in the java side, and how to render its properties in the template? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/accessing-json-properties-in-template-tp5713500.html Sent from the Tapestry - User mailing list archive at Nabble

Re: Official jboss support

2012-05-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 May 2012 07:47:12 -0300, Magnus Kvalheim wrote: [2]CDI support With Jee6 it's highly desirable to use cdi(jsr 299) for managing beans. I dare to say in most cases spring can be avoided completely and what you get is a app(s) with far less dependencies and configuration. To top i

Re: Cannot get component library to load

2012-05-29 Thread Lance Java
In a webapp, there is a hierarchy of classloaders with the "web" classloader inheriting from the "application" classloader which in turn inherits from the "bootstrap" classloader. Tapestry adds another classloader to the mix to confuse things further. I think something is going on with your classlo

Re: Tapestry on OpenShift: did someone already tried it?

2012-05-29 Thread Thiago H de Paula Figueiredo
Do you know if there's some other use of a "vfs" HTTP protocol besides the JBoss one? If not, we could add the code in tapestry-core itself. By the way, is there any failproof method to check if the app is running under JBoss, like checking for some class in the classpath? This way, we coul

Page navigation to predecessor pages plugin

2012-05-29 Thread sommeralex
Hi! I would like to implement a simple page navigation helper on my pages. It should be a link list with a fixed length of previous loaded/visited pages, like> start - profile - editprofile So, the user should see a link list with his previous visited sites. Is there a plug? How can I implement

Re: Page navigation to predecessor pages plugin

2012-05-29 Thread Lance Java
Here are a couple of libraries https://bitbucket.org/zenios/tapestry-zbreadcrumbs/wiki/Home https://github.com/argoyle/tapestry-breadcrumbs -- View this message in context: http://tapestry.1045711.n5.nabble.com/Page-navigation-to-predecessor-pages-plugin-tp5713504p5713505.html Sent from the Tape

Re: Page navigation to predecessor pages plugin

2012-05-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 May 2012 09:28:04 -0300, sommeralex wrote: Hi! Hi! I would like to implement a simple page navigation helper on my pages. It should be a link list with a fixed length of previous loaded/visited pages, like> start - profile - editprofile So, the user should see a link list w

Re: Official jboss support

2012-05-29 Thread Magnus Kvalheim
On Tue, May 29, 2012 at 2:06 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 29 May 2012 07:47:12 -0300, Magnus Kvalheim > wrote: > > [2]CDI support >> With Jee6 it's highly desirable to use cdi(jsr 299) for managing beans. I >> dare to say in most cases spring can be avo

Re: Tapestry on OpenShift: did someone already tried it?

2012-05-29 Thread Magnus Kvalheim
On Tue, May 29, 2012 at 1:55 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 29 May 2012 03:11:06 -0300, Magnus Kvalheim > wrote: > > Hi Thiago. >> > > Hi, Magnus! > > > This is unfortunately expected behavior. Openshift is running JBoss(7.1) >> and tapestry is not suppo

Re: T4: an official 4.1.7 build?

2012-05-29 Thread Patrick Moore
Hi there -- So how do I get that quiet release made? -Pat On Tue, May 15, 2012 at 8:39 AM, Howard Lewis Ship wrote: > I know I haven't looked at that code in nearly six years, but it would > not be impossible to quietly create a release for it. > > On Mon, May 14, 2012 at 10:55 PM, Patrick Mo

Example of jquery tabs with formfragments

2012-05-29 Thread ccureau
Hi! I've been looking for an example of how to code a page that has five tabs provided by tapestry5-jquery. So far I've not found anything detailing such a process. What I've thought of was to bind to the Tabs component itself and listen to clicks, then render the proper zone depending on which

Re: Example of jquery tabs with formfragments

2012-05-29 Thread arterzatij
Hi, I did that oin this way...

Re: Example of jquery tabs with formfragments

2012-05-29 Thread arterzatij
BTW, when you do a click the tab component update the form needed by zone component, but it is donde by tabs component... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Example-of-jquery-tabs-with-formfragments-tp5713510p5713512.html Sent from the Tapestry - User mailing l

Re: Official jboss support

2012-05-29 Thread lprimak
Transactions are part of JEE (EJB3.1, not CDI) but its just a matter of a @Stateless declaration, so don't get scared :) I've been using the JEE stack for a while now with Tapestry with the flowlogix integration module. ( http://code.google.com/p/flowlogix/wiki/TapestryLibrary ) and it works great