Re: Where to put my Image files and Video files ?

2012-10-17 Thread dinesh707
Thank you -- View this message in context: http://tapestry.1045711.n5.nabble.com/Where-to-put-my-Image-files-and-Video-files-tp5716995p5717029.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubsc

Re: New article re: T5-Flash integration

2012-10-17 Thread ael
Any new link for this? http://knol.google.com/k/toby-hobson/tapestry5-flash-integration/ Dead link... -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-article-re-T5-Flash-integration-tp2422860p5717028.html Sent from the Tapestry - User mailing list archive at Nabble.

Re: Redirect to an internal url

2012-10-17 Thread Rural Hunter
Hi Lance, Thank you very much! 于 2012/10/17 23:48, Lance Java 写道: Creating a URL is probably the easiest thing to do. Note that you can @Inject BaseURLSource to get the URL prefix. Another option is to create a new response type (eg InternalRedirect). You would then contribute a ComponentEvent

Re: [t5.3.1 - AjaxFormLoop] How to prevent removing the last row ?

2012-10-17 Thread Taha Siddiqi
Hi The formLoopRemoveLink does not check the return status but the removal is done only on a HTTP OK(200) status. You can override this js method with your custom logic. regards Taha On Oct 18, 2012, at 3:28 AM, Muhammad Gelbana wrote: > Am I lucky enough to get a positive answer now that w

Re: Event parameter on the form or Multiple from handle in one method

2012-10-17 Thread Taha Siddiqi
Hi Bhovat I am not sure I understood the whole question but from what I understand, you can use form context. public boolean updateComponent(String whatever){ if(whatever){ ... } } regards Taha On Oct 18, 2012, at 2:38 AM, bhorvat wrote: > I am having a bit of a problem that I w

How to create custom using t:loop functionality

2012-10-17 Thread dinesh707
Hi, I'm very new to tapestry. I have a video call where it contains "video name","uploader's name" and URL. So i need to make a list appear in web page with video name appearing in and and uploaders name in normal text (one below the other. And if some one click the whole container (div contain

Tapestry 5.3 with Tapestry-swfobject 1.5.0 not working.

2012-10-17 Thread ael
Hi, Im upgrading my tapestry 5.1.0.5 application to 5.3.6 but tapestry-swfobject cannot locate Tapestry Initializer function. Any idea on this? Thank you very much. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-with-Tapestry-swfobject-1-5-0-not-working-t

Re: [t5.3.1 - AjaxFormLoop] How to prevent removing the last row ?

2012-10-17 Thread Muhammad Gelbana
Am I lucky enough to get a positive answer now that we now reached v5.3.6 ? Thank you all :) On Wed, Mar 14, 2012 at 10:28 PM, Muhammad Gelbana wrote: > Greetings to this magnificent mailing list and tapestry developers :) > > I have a perfectly operating ajax form loop but I'm trying to find a

Re: How to remove query parmeter from url string

2012-10-17 Thread Alejandro Scandroli
Hi George I have a similar scenario, but the main difference is that I don't know before hand the names of the query parameters. I only have one page with this particular requirement so I do all the URL query parameters encoding directly in the same page using the events: DECORATE_PAGE_RENDER_LINK

Event parameter on the form or Multiple from handle in one method

2012-10-17 Thread bhorvat
I am having a bit of a problem that I would like to solve in the most elegant way so I am interested if there a better way to handle it. I have a one object call it component that has multiple properties, and for each 4 properties I have 4 forms that dont have the id so they are handled by one met

Re: Tapestry Problem on Google App Engine in Development

2012-10-17 Thread Dan Cyr
Does this look like the proper way? >From AppModule, public void contributeHttpServletRequestHandler( OrderedConfiguration configuration) { configuration.add("MyFilter", new MyFilter(), "after:GZIP"); } On Wed, Oct 17, 2012 at 9:30 AM, Lance Java wrote: > Hang on a

Re: Tapestry-Portlet status?

2012-10-17 Thread François Facon
You are right bob. Keep It Simple and Smart. 2012/10/17 Bob Harner : > It seems to be an increasingly common view in the last couple of years > is that portals/portlets are an outdated view technology, with the > better, more modern approach being client-side logic with Ajax. I, for > one, am gla

Re: Fwd: Get label input submit

2012-10-17 Thread William Lopes
Hey guys, after all this discussion, someone have idea of how I can get the label of the submit button? 2012/10/17 William Lopes > Man, I tested this today and not works in the practice. > > 2012/10/16 Thiago H de Paula Figueiredo > >> On Tue, 16 Oct 2012 22:25:48 -0300, William Lopes < >> will

Re: Tapestry-Portlet status?

2012-10-17 Thread Bob Harner
It seems to be an increasingly common view in the last couple of years is that portals/portlets are an outdated view technology, with the better, more modern approach being client-side logic with Ajax. I, for one, am glad to have left the portal world behind. On Wed, Oct 17, 2012 at 12:00 PM, Lenn

Re: hmac sample

2012-10-17 Thread Howard Lewis Ship
On Wed, Oct 17, 2012 at 7:11 AM, Bob Harner wrote: > I think Mike is talking more about the session state that comes from > the apps themselves, not how Tapestry stores its own bookkeeping data. > My guess is that the vast majority of real-world Tapestry apps have > considerable session state (mos

Re: Tapestry-Portlet status?

2012-10-17 Thread Lenny Primak
Thank you François, this sums it up really well for me. On Oct 17, 2012, at 5:37 AM, François Facon wrote: > Lenny, > > Everytime someone from Atos ask me this question, > I answer "yes for liferay". > As we have already numbers of portlet deploy in this portlet > container, we haven't see an

Re: Redirect to an internal url

2012-10-17 Thread Lance Java
Creating a URL is probably the easiest thing to do. Note that you can @Inject BaseURLSource to get the URL prefix. Another option is to create a new response type (eg InternalRedirect). You would then contribute a ComponentEventResultProcessor to handle the new return type (by doing the actual red

Re: Redirect to an internal url

2012-10-17 Thread Rural Hunter
Yes, I have already set the ignored paths to ignore all jsps. The question is the default page of myapp when accessed only by "http://myhost/myapp";. Tapestry will show the Tapestry page Index but I want the original page login.jsp being shown. 于 2012/10/17 22:54, Lance Java 写道: Tapestry by d

Re: Redirect to an internal url

2012-10-17 Thread Rural Hunter
Yes, I have already set the ignored paths to ignore all jsps. The question is the default page of myapp when accessed only by "http://myhost/myapp";. Tapestry will show the Tapestry page Index but I want the original page login.jsp is shown. 于 2012/10/17 22:54, Lance Java 写道: Tapestry by defa

Re: Redirect to an internal url

2012-10-17 Thread Lance Java
Tapestry by default wants to handle everything. If you want to let the servlet container handle some url's you will need to contribute to the IgnoredPathsFilter. It's probably best to put all of these sorts of files in a virtual folder and ignore the folder rather than individual fiiles. http://ta

Redirect to an internal url

2012-10-17 Thread Rural Hunter
Hi, I'm intergrating tapestry into an existing webapp. The original index page of the webapp is login.jsp. After tapestry is introduced, tapestry sets the index page to Tapestry page "Index". So I want to redirect to "login.jsp" in the onActivate() method of Tapestry page Index. Seems the onl

Re: How to remove query parmeter from url string

2012-10-17 Thread George Christman
As always, thanks Lance / Thiago, I think at this point you guys have answered all my base questions. As far as my logic question, I think that it is probably best suited for stack overflow as it doesn't completely relate to tapestry. Hopefully this post will help others in the future who may be tr

Re: hmac sample

2012-10-17 Thread Bob Harner
I think Mike is talking more about the session state that comes from the apps themselves, not how Tapestry stores its own bookkeeping data. My guess is that the vast majority of real-world Tapestry apps have considerable session state (mostly from over-use of @Persist, @SessionState and @SessionAtt

Re: How to remove query parmeter from url string

2012-10-17 Thread Lance Java
> It would be nice if tapestry offered you the ability to easily change it's encoder strategy. Example uses dashes instead of the zeros. Download the tapestry sources and check out URLEncoderImpl. Use this as a basis to override the default URLEncoder. -- View this message in context: http://ta

Re: How to remove query parmeter from url string

2012-10-17 Thread Thiago H de Paula Figueiredo
On Wed, 17 Oct 2012 10:36:46 -0300, George Christman wrote: So I think this is my last question in regards to this topic. If your doing your calculations on the fly, example converting aston marton to aston-martin which would mean you would later need to convert it back to aston marton to d

Re: How to remove query parmeter from url string

2012-10-17 Thread George Christman
So I think this is my last question in regards to this topic. If your doing your calculations on the fly, example converting aston marton to aston-martin which would mean you would later need to convert it back to aston marton to do the query, what do you do when the string naturally contains a das

Re: Tapestry Problem on Google App Engine in Development

2012-10-17 Thread Lance Java
Hang on a sec... are you saying the containsHeader("Content-Encoding") is false even when it works on GAE 1.7.1? I don't think that you've configured your filter correctly considering your previous results below: 1.7.1 Response Headersview source Content-Encodinggzip Content-Typetext/ht

Re: How to remove query parmeter from url string

2012-10-17 Thread Lance Java
> is returning a link in onSuccess the right way to build the URL If you're using @ActivationRequestParam then as Thiago said a void return is probably best. If you're not using @ActivationRequestParam you will either need to build a link or use @Persist (lets not discuss activation context here).

Re: Tapestry Problem on Google App Engine in Development

2012-10-17 Thread Lance Java
So, this seems to be an issue in tapestry after all. Can any tapestry gurus explain why tapestry would return gzipped content without setting the Content-Encoding header? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Problem-on-Google-App-Engine-in-Developmen

Re: How to remove query parmeter from url string

2012-10-17 Thread George Christman
Hi Lance, yes using @ActivationRequestParam was deffinately much cleaner since I didn't need an onActivate nor did I need to return a Link in onSuccess. BTW, is returning a link in onSuccess the right way to build the URL? A problem I found with @ActivationRequestParam is my inability to handle ex

Re: Tapestry Problem on Google App Engine in Development

2012-10-17 Thread Dan Cyr
Oops, pardon me, I see now, can't get the value, only true/false. AppModule: @Override public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException { logger.error("Contains header: " + response.c

Re: Where to put my Image files and Video files ?

2012-10-17 Thread Lance Java
The first question you need to ask is are the assets static (ie defined at build time) or dynamic? If your assets are static, then you will either store them on the webcontext or on the classpath To access static assets in the webapp use "context:path/to/asset.gif" To access static assets on the c

Re: Tapestry-Portlet status?

2012-10-17 Thread François Facon
Lenny, Everytime someone from Atos ask me this question, I answer "yes for liferay". As we have already numbers of portlet deploy in this portlet container, we haven't see any limitation from now. For other portlet container, I am pretty sure this bridge will work fine as long as the portlet cont

Raty component

2012-10-17 Thread o1550762
I want to implement raty component and bound it to the existing DB. I have seen raty component of the JQUERY project and seems to be OK, however no demo is presented anywhere, and I can't figure out how does it correctly work. http://tapestry5-jquery.com/mixins/docsraty

Re: Gallery for each article using hibernate

2012-10-17 Thread o1550762
Thanks for the answers. I have chosen to go for LanceJava's solution, but kcollasi code is very helpful and has contributed me greatly for better understanding how Tapestry works. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Gallery-for-each-article-using-hibernate-

Re: Tapestry-Portlet status?

2012-10-17 Thread Lance Java
Having not developed portlets myself... I'm interested to hear the use-case that a portlet can solve that an ajax-based component can not? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Portlet-status-tp5716944p5716992.html Sent from the Tapestry - User mailing

Re: [T5.2.6] When can a java.net.URL be returned from an event handler?

2012-10-17 Thread Lance Java
I'm out of suggestions... perhaps a bit of surrounding code *might* help but I'm not sure it will. AFAIK tapestry will always be able to handle a URL return value from a non-ajax event. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-6-When-can-a-java-net-URL-be-retu

Re: How to remove query parmeter from url string

2012-10-17 Thread Lance Java
Since you're using tapestry-hibernate, you will be using an auto-generated ValueEncoder under the hood to convert to/from clientside strings to your entities. So this seems to lead to the fact that "Aston Martin" is a primary key in you database. If this is the case it's probably a bad idea to have

RE: EventLink parameters

2012-10-17 Thread Lance Java
I have to agree with the other guys You were starting to get on my tits a bit too. In fact, if you look at the first response on this thread, I provided a link to an example [1] containing the solution to your problem. I get the feeling that you don't take the time to comprehend (or maybe eve

Re: Tapestry Problem on Google App Engine in Development

2012-10-17 Thread Lance Java
> .containsHeader(..yes, pre 3.0 So print the boolean instead of the value. I just wanna see if tapestry has populated it. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Problem-on-Google-App-Engine-in-Development-tp5716763p5716988.html Sent from the Tapest