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: 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: 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: 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 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-28 Thread karthi
The following is the error I received, [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Input string '${videoItem.image}' is not valid; the '$' character at position 1 should be followed by another '$' or a four digit hex number (a unicode value)

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

2012-05-28 Thread karthi
These urls are not coming from inside the webapp. I have an external url, hit that & read the json response and parse the json to retrieve the title, description, preview image url etc., My problem is, using that lazy loading to load the images used the code --> that lazy load needs the comment

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

2012-05-28 Thread karthi
Thank you for your reply, I used lazy loading only for images loading since it contains a lot of images. I got the images url by *//Tapestry loop* public List getVideoDatas() { *//Tapestry loop source* videoItems = null; if(isContent) { f

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

2012-05-28 Thread Thiago H de Paula Figueiredo
On Mon, 28 May 2012 09:48:19 -0300, karthi wrote: Hi, Hi! Do the images work without the lazy loading? How do you get the images URLs? -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For addi