T5 Deletion of the uploaded file?

2011-05-17 Thread ael
Any guide on how to delete the uploaded file? Any best practice? Or I will just use the java io? Java Delete using io String fileName = "file.txt"; // A File object to represent the filename File f = new File(fileName); // Make sure the file or

which is better for AJAX Implementation in Tapestry 4.0

2011-05-17 Thread nazarhussain_s
Hi, Currently my project uses Tapestry 4.0 and I need to implement AJAX Functionality in it.So which is the better and easy option to use -> Tacos -> jQuery -> Dojo -> XLite I am totally new to Tapestry itself , so please provide your valuable suggestions. Regards Nazar -- View th

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Yup, it works. Thanks so much for all responses! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4404798.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

HLS in Paris

2011-05-17 Thread Howard Lewis Ship
I'll be making a quite stop in Paris next week for the What's Next software conference: http://www.whatsnextparis.com/ Although I'm there to talk about Clojure (go figure) I'm always willing to discuss Tapestry over a beer or baguette! -- Howard M. Lewis Ship Creator of Apache Tapestry The sou

Re: Updating only specific divs in Zone update

2011-05-17 Thread Thiago H. de Paula Figueiredo
On Tue, 17 May 2011 14:27:42 -0300, Rich M wrote: In my case, I have each Component using the triggerEvent method of Component Resources with a Callback to return the proper MultiZoneUpdate. I guess it was hard for me to conceptually understand why I'd need a MultiZoneUpdate to update just

Re: "t:if" dose no save its stage in ValidationTracker

2011-05-17 Thread Howard Lewis Ship
I agree that its a bit awkward, though it is quite "pure", to redirect-after-action. 5.2 includes the ability to request a page to render immediately from an event handler method by returning a StreamPageContent instance. This was actually a suggestion from a student at one of my SkillsMatter clas

PartialMarkupRendererFilter not working? T5.1.0.6

2011-05-17 Thread rektide
Hi all, having some trouble using a PartialMarkupRendererFilter. It's supposed to check a service and add a script if the service isn't dequeued. However the renderMarkup is not getting run. Nothing is ever logged from the filter. I'm looking for help on diagnosing why the partial markup rend

Re: Blog Post: Tapestry Magic #1

2011-05-17 Thread Taha Hafeez
Yes, that was the issue. I have updated the post. Personally, I don't use session injection as I use DAOs which in turn uses HibernateSessionmanager. Thanks for pointing it out regards Taha On Tue, May 17, 2011 at 4:25 PM, antalk wrote: > One more comment: > > I think there is small issue wit

Re: Updating only specific divs in Zone update

2011-05-17 Thread Rich M
Thanks, I suppose I should have responded after Thiago mentioned the MultiZoneUpdate a few days back, which did solve the problem for me. In my case, I have each Component using the triggerEvent method of Component Resources with a Callback to return the proper MultiZoneUpdate. I guess it was

Tapestyr4e plug-in

2011-05-17 Thread mwilliamson
Has anyone had any luck in installing the Tapestry4e plug-in? http://code.google.com/p/tapestry4e/ I am using MyEclipse. I get the Tapestry Template editor but it don't do the code completion for tapestry components. Michael Williamson Analyst Sr Applications Developer Phone: 816/997-5994 ---

Re: "t:if" dose no save its stage in ValidationTracker

2011-05-17 Thread Василий Жуков
Thx! I made my own "t:formif" with @Persist field and ComponentAction :) It's ugly, i know. I have become frustrated in the pattern of Post-Redirect-Get. There are so many code for saving and restoring component states in/from HttpSession, three @Persist strateg strategies, my ugly t:formif... I'

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Robert Zeigler
change to be: ... With BeanEditor, there is only one "thing" per attribute, so it's just the property name. WIth grid, there is the header and the cell, so you have to add the Cell to the property name to override the cell rendering. See: http://tapestry.apache.org/current/tapestry-core/ref/

Re: Updating only specific divs in Zone update

2011-05-17 Thread Mark
You probably want to build a multizone update to update just the necessary zones. Here is a snippet of some of my code that updates zones only if they are visible in that particular context: public MultiZoneUpdate getPriceMultiZoneUpdate() { MultiZoneUpdate update = new MultiZoneUpdat

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Thiago H. de Paula Figueiredo
On Tue, 17 May 2011 12:22:16 -0300, TG wrote: Richard, I wish it is that simple :) No, it does not work. It is that simple. ;) And saying it does not work without describing what happened is worse than saying nothing. ;) What's the generated HTML? Tapestry doesn't change any HTML element

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Joost Schouten (ml)
There is no logical relationship between the link and the Grid. I guess you want to display a link in one of your tabel cells right? if so, you need to add this in your grid: link assuming that your component/

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Thiago H. de Paula Figueiredo
On Tue, 17 May 2011 12:03:26 -0300, TG wrote: and it does not work. Any idea how to make the endpoint clickable URL automagically? No. It's just a bit of HTML you need to write. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and in

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Richard, I wish it is that simple :) No, it does not work. Thanks anyway for the tips. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Hyperlink-not-becoming-hyperlink-tp4403607p4403780.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Richard Hill
link ? On Tue, 2011-05-17 at 08:03 -0700, TG wrote: > Thanks for the prompt response. Actually I meant url as part of tapestry grid > component. So I tried this - > > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; > xmlns:p="tapestry:parameter"> > ... > > ... >

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Thanks for the prompt response. Actually I meant url as part of tapestry grid component. So I tried this - http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"; xmlns:p="tapestry:parameter"> ... ... ${url.endpoint} Link

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Thiago H. de Paula Figueiredo
On Tue, 17 May 2011 11:16:31 -0300, TG wrote: Hi, Hi! This is a newbie question so please bear with me :) I used beanedit to display HTML. So far I like it, but a column that contains hyperlink, the values does not "become" a hyperlink that I can click to launch an external site. Local

Re: Hyperlink not becoming hyperlink

2011-05-17 Thread Rich M
If I understand you correctly, you have some information stored in a field of your entity that is HTML mark-up for a hyperlink. For example, a beanedit for the entity class Reference which has a field String website which for this entry has an html link like "href="somesite.com">Some Site". If

Hyperlink not becoming hyperlink

2011-05-17 Thread TG
Hi, This is a newbie question so please bear with me :) I used beanedit to display HTML. So far I like it, but a column that contains hyperlink, the values does not "become" a hyperlink that I can click to launch an external site. How do I make the values becoming a clickable hyperlink in Tapestr

Problem with nested FormFragment [TAP-5.2.5]

2011-05-17 Thread Dawid Gorniak
Hi, I've got problem with following nested FormFragments. When I trigger "hide" event for the inner form fragment the outer fragment hides too. Outer content Inner content After a short research I've found a piece of Tapestry.js that is responsible for su

Re: Blog Post: Tapestry Magic #1

2011-05-17 Thread antalk
One more comment: I think there is small issue with the multi database support. It looks like the 'per thread' instance of HibernateSessionManager isn't per thread at all. The Inject annotation used to create the session uses the masterobjectprovider to build the session, but this gets only be do