Re: t5: passing date to a context

2009-11-05 Thread Inge Solvoll
Just create an onPassivate method that returns Date, and see what happens to your url :) On Fri, Nov 6, 2009 at 7:43 AM, Angelo Chen wrote: > > Hi, > > How to pass a date from url to a page with: > > void onActivate(Date date) > > -- > View this message in context: > http://old.nabble.com/t5%3A-p

Re: Help with HTML and Tapestry 5.0.10

2009-11-05 Thread Ashwanth Kumar
Hey thanks, that solved the problem!! - Ashwanth Kumar On Fri, Nov 6, 2009 at 12:10 PM, Angelo Chen wrote: > > how about using " >< ", put following in the first line: > > !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitio

t5: passing date to a context

2009-11-05 Thread Angelo Chen
Hi, How to pass a date from url to a page with: void onActivate(Date date) -- View this message in context: http://old.nabble.com/t5%3A-passing-date-to-a-context-tp26227575p26227575.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Help with HTML and Tapestry 5.0.10

2009-11-05 Thread Angelo Chen
i meant & plus gt; Angelo Chen wrote: > > how about using " >< ", put following in the first line: > > !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > > Ashwanth Kumar wrote: >> >> Hey, >> >> I just

Re: Help with HTML and Tapestry 5.0.10

2009-11-05 Thread Angelo Chen
how about using " >< ", put following in the first line: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> Ashwanth Kumar wrote: > > Hey, > > I just started working with TAPESTRY v5.0.10, and found one problem

Help with HTML and Tapestry 5.0.10

2009-11-05 Thread Ashwanth Kumar
Hey, I just started working with TAPESTRY v5.0.10, and found one problem, while defining my template (Home.tml), and characters like: -   - » etc., and any other HTML characters are treated as entities, and giving me an error. How do i workaround this? Please Help! Thanks, Ashwanth Kumar

supressing rowsPerPage / pagination in grid component

2009-11-05 Thread Scot Mcphee
Is there any way in Tapestry 5 to suppress pagination for a gird component? I have a requirement to display a grid with the full list regardless of it's length. I tried rowsPerPage=0 but got a divide by zero error. I don't really want to copy the value of Integer.MAX_VALUE into that field ;-) than

Help with HTML and Tapestry 5.0.10

2009-11-05 Thread Ashwanth Kumar
Hey, I just started working with TAPESTRY v5.0.10, and found one problem, while defining my template (Home.tml), and characters like: -   - » etc., and any other HTML characters are treated as entities, and giving me an error. How do i workaround this? Please Help! Thanks, Ashwanth Kumar

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Angelo Chen
Hi, good idea, question is, how can we know if the loading is over? if there is a way in the current ProgressDisplay to trigger that event so that it can make the img visible? Howard Lewis Ship wrote: > > Idea for a component: ImagePlaceholder that displays some content in a > div (a "loading .

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Ville Virtanen
Hi, I think this could be a framework level component, as it seems that there are many of us solving the same problem with a bit different approaches. (Everyone invents the wheel..) so +1 for this idea! :) - Ville Howard Lewis Ship wrote: > > Idea for a component: ImagePlaceholder that disp

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Howard Lewis Ship
Idea for a component: ImagePlaceholder that displays some content in a div (a "loading ..." message), and an invisible tag in an non-visible div. When the image is loaded, it removes the loading div and makes the visible. On Thu, Nov 5, 2009 at 4:36 PM, Thiago H. de Paula Figueiredo wrote: > Em

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Thiago H. de Paula Figueiredo
Em Thu, 05 Nov 2009 22:06:28 -0200, Angelo Chen escreveu: Hi, Hi! If we generate the image in the event, and return the link, then we need to store the image somewhere in the file system, and clean it up later after the image got rendered, any idea how to handle this ? Do not genera

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Angelo Chen
Hi, If we generate the image in the event, and return the link, then we need to store the image somewhere in the file system, and clean it up later after the image got rendered, any idea how to handle this ? Thanks, A.C. Kalle Korhonen-2 wrote: > > You can even handle the progressivedisplay

Re: Underscore rule(s)?

2009-11-05 Thread Juan E. Maya
Hi Melidramo, as far as i know the _ is a shortcut to avoid the use of "this." inside a java class. So u can still clearly see that you r accessing a property from the class and not a local variable. When tapestry uses @Property to generate the get and set of a property it ingores the _ Therefore

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Angelo Chen
i believe this is the solution, thanks. Kalle Korhonen-2 wrote: > > You can even handle the progressivedisplay event (i.e. @OnEvent(value > = EventConstants.PROGRESSIVE_DISPLAY, component = > "progressiveDisplay")), construct the image there and then render the > image link to it. ProgressiveDi

Re: Missing a Business Service figure in T5.1

2009-11-05 Thread Robert Zeigler
Why not use action or event links to do this? If you need the links available from every page, then write yourself a component that you drop onto any page (eg: a layout component). Then you can do your heavy processing inside of the event handlers, even return the new page to render. Robe

Missing a Business Service figure in T5.1

2009-11-05 Thread josete
Hi all. I'm facing some 'teorical' problem, i still haven't found a solution to. Let me explain : I have a page, with a list of pagelinks. Clicking on a page link makes the application do lot of business logic, and then, sends the user to the end page. The business logic is done inside in a

Re: t5: updating a zone during loading of page?

2009-11-05 Thread Kalle Korhonen
You can even handle the progressivedisplay event (i.e. @OnEvent(value = EventConstants.PROGRESSIVE_DISPLAY, component = "progressiveDisplay")), construct the image there and then render the image link to it. ProgressiveDisplay works for most partial rendering cases, it's just a matter of how you ar