Re: problem logging into webapp using acegi

2012-03-12 Thread harishpatarla
Here is the full stack trace. I have integrated it with our organisation’s ldap server. I have given my username password in managerDn and managerPassword property of initialDirContextFactory bean. I am able to login.I have given the roles of the user as @secured({role1,role2,role3}).If you say

Re: Serving Tapestry5 Assets As Static Resources

2012-03-12 Thread Dmitry Gusev
What do you mean by css is already modified on the way out? It's only modified as bytes stream to do gzip compression. Also yuicompressor modifies it somehow by removing not necessary spaces and semicolons, thats all. So for now you have to write your own css preprocessor to implement this. On

Re: How do I pass values from one page to another using onSelected

2012-03-12 Thread Stephan WindmĂĽller
On 12.03.2012 06:32, karthi wrote: When the user clicked on the button this above method will get invoked and I return a name Play so the page Play will get invoked, here I want to send a value (url to play the music) from music.tml to play.tml when the user clicks on the button, how do I

Re: How do I pass values from one page to another using onSelected

2012-03-12 Thread karthi
Thank you it works great!! -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-do-I-pass-values-from-one-page-to-another-using-onSelected-tp5556685p5557246.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Is there any way to get the selected item's index in loop after layout has been done?

2012-03-12 Thread karthi
Hi, In the java page I have, @Property private int currentIndex; public ListVideoItem getVideoDatas() { videoItems = null; VideoItemCollection collection = new VideoItemCollection(Constants.VIDEOS); if(collection.videoItems.size() 0)

Re: Is there any way to get the selected item's index in loop after layout has been done?

2012-03-12 Thread Chris Mylonas
Something like this http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/linkingloop1 If not that one, there are other examples: http://jumpstart.doublenegative.com.au/jumpstart/examples You'll find your answer there On 12/03/2012, at 9:53 PM, karthi wrote: Hi, In the java

Re: html pentaho report missing some data

2012-03-12 Thread Taha Hafeez
Hi There is no context, no tapestry related information, no source code, you won't get much help this way. Check this out http://catb.org/esr/faqs/smart-questions.html regards Taha On Mon, Mar 12, 2012 at 10:40 AM, ram89 ramakrishna...@servion.com wrote: yes i did, please give me an

Re: Is there any way to get the selected item's index in loop after layout has been done?

2012-03-12 Thread karthi
No in that loop examples they are getting the loop source values and passed to other pages, I've used that using the currentIndex in that same java page, public String getAlternateColour() { String bgColor = null; if(currentIndex%2 == 0) {

Re: browser back button, after logout while using Dispatcher

2012-03-12 Thread gaurav
Thanks A lot Taha, well I checked userExist in onActive() method so it sendredirect to login page. I am new in tapestry just started 1 month back. So it is hard to use Apache Shiro so early but I will try later. Thanks Regards Gaurav P Singh -- View this message in context:

Re: Problem with generated javascript and zone update

2012-03-12 Thread David Canteros
Hi, thanks for the response. Probably you are right. I'm not an ajax/js expert, so the only thing I can did is check the response when the zone is updated (using firebug console) and I can see the generated script inside a JSON variable called * evalScript*, i think. I dont know why it is not

Re: problem logging into webapp using acegi

2012-03-12 Thread Jonathan Barker
I have always been particular with composition and case of roles, so I'll put this as a question. Do you have spaces in your role names and does it make a difference? Does the difference in case (upper/lower) make a difference, because you appear to have them mixed. On Mon, Mar 12, 2012 at 12:39

Re: browser back button, after logout while using Dispatcher

2012-03-12 Thread gaurav
Thank you Sahpaski, It seems not to be the case of caching if it's caching problem then it would stay on the last page (which was last visited) but it will immediately go back to login page. I added cache-control and the expires in my page but it will not help to much. Thanks Regards Gaurav P

Re: Problem using t:output format for numbers

2012-03-12 Thread hese
Thanks for the explanation Thiago! I implemented it through a get method and CSS. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-using-t-output-format-for-numbers-tp5551573p5557987.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Customising T5 URL Encoding

2012-03-12 Thread David Canteros
+1 I have several problems with the integration of my Tapestry tools and other non-tapestry tools, all of this caused by tapestry URLEncoder. I solved this by overriding URLEncoder, but your proposal would be a more elegant solution

Problem with a Advice Method

2012-03-12 Thread Emmanuel DEMEY
Hi Tapestry users, In the Tapestry5-jQuery project, I added an advise to the AssetPathConverter service, in order to convert the ProgressiveDisplay.js and exceptiondisplay.js to their jQuery version (modifyJsFile method) .

Re: Customising T5 URL Encoding

2012-03-12 Thread Jochen Frey
+1 On Mar 12, 2012, at 8:57 AM, David Canteros wrote: +1 I have several problems with the integration of my Tapestry tools and other non-tapestry tools, all of this caused by tapestry URLEncoder. I solved this by overriding URLEncoder, but your proposal would be a more elegant solution

Re: html pentaho report missing some data

2012-03-12 Thread Josh Canfield
yes i did, please give me an solution for this problem. No, you are on the wrong list. You have a Pentaho problem and you're asking the Tapestry list. Josh On Sun, Mar 11, 2012 at 10:10 PM, ram89 ramakrishna...@servion.com wrote: yes i did, please give me an solution for this problem. --

How to represent this?

2012-03-12 Thread TechniciuM
Lets assume I have a categorized pages, ie one page is for fruits, the other one is for vegetables and so forth , so on... And that I have menu, and based on which page is turned, it gives the user different menu. So I have a component Menu, and have fruits, vegetables, meat pages. Now I want to

Re: How to represent this?

2012-03-12 Thread Thiago H. de Paula Figueiredo
On Mon, 12 Mar 2012 16:42:13 -0300, TechniciuM a1098...@rppkn.com wrote: Lets assume I have a categorized pages, ie one page is for fruits, the other one is for vegetables and so forth , so on... And that I have menu, and based on which page is turned, it gives the user different menu. So I

Re: How to represent this?

2012-03-12 Thread TechniciuM
Thanks! That's exactly what I was looking for. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559228.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: How to represent this?

2012-03-12 Thread TechniciuM
Just got on my mind, lets say I make submenu components, and in the menu component I make rendering for the specific submenu based on what page is turned on. :) Even better idea. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559239.html

Re: How to represent this?

2012-03-12 Thread Josh Canfield
I'd suggest passing the category as a parameter to the component. your page receives the category identifier as a parameter: /menu/meat Menu.java onActivate(String category) etc. Then provide the category as a parameter t:menu category=category/ etc. Josh On Mon, Mar 12, 2012 at 12:42

Re: How to represent this?

2012-03-12 Thread TechniciuM
That would require t:if in Menu.tml, or does category handles all it? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-represent-this-tp5558903p5559260.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: problem logging into webapp using acegi

2012-03-12 Thread harishpatarla
Thanks a lot jonathan.it worked awesome.could not even imagine that the exception would be something because of the Case. Had to mention the roles in Uppercase.It worked flawlessly.May god bless you! Cheers!!! -- View this message in context:

Re: problem logging into webapp using acegi

2012-03-12 Thread harishpatarla
johnathan could you please tell me the reason y roles should be in uppercase -- View this message in context: http://tapestry.1045711.n5.nabble.com/problem-logging-into-webapp-using-acegi-tp5551844p5559994.html Sent from the Tapestry - User mailing list archive at Nabble.com.