T5.3 customizing BeanEditForm's cancel button label

2012-05-25 Thread Immutability
Guys, this might be a silly question but I'm trying to figure out how to customize the text of the Cancel button within a BeanEditForm. I believe the cancel boolean attribute was introduced in T5.2 but unlike submitLabel there's no cancelLabel property to override the default text. This also

Re: Tapestry-Boostrap Alpha 2 available

2012-05-04 Thread Immutability
Barry, I really love your work on the tapestry-bootstrap and I'm just trying to use it for one of our projects. I'm using the latest snapshot jar of the library and so far everything worked nicely but now I'm trying to use the bootstrap supported help-block within a BeanEditForm. I was looking at

Re: Compiled CSS

2011-10-06 Thread Immutability
Me too! I just started playing with LessCSS tis week and it seems really interesting. Rado On Thu, Oct 6, 2011 at 2:03 PM, Toby O'Rourke toby.orou...@gamesys.co.ukwrote: Wow! I'd certainly be interested to see what you've done Thanks, Toby. On 06/10/2011 12:54, Cezary Biernacki

[5.3] Possible issue with entity names in HTML attributes

2011-10-05 Thread Immutability
Hi everyone :) While playing with Google Web Fonts today http://www.google.com/webfont I ran into an interesting issue with Tapestry 5.3 (currently running beta 10). When a possible entity name is encountered by Tapestry within a template file (TML) even if it resides within an element attribute,

Re: [5.3] Possible issue with entity names in HTML attributes

2011-10-05 Thread Immutability
, Immutability wrote: Hi everyone :) While playing with Google Web Fonts today http://www.google.com/webfontI ran into an interesting issue with Tapestry 5.3 (currently running beta 10). When a possible entity name is encountered by Tapestry within a template file (TML) even if it resides within

Re: [5.3] Possible issue with entity names in HTML attributes

2011-10-05 Thread Immutability
On 05.10.2011 16:14, Immutability wrote: Hi everyone :) While playing with Google Web Fonts today http://www.google.com/webfontI ran into an interesting issue with Tapestry 5.3 (currently running beta 10). When a possible entity name is encountered by Tapestry within a template file

Re: [T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2011-09-07 Thread Immutability
Thank you guys! I'll be definitely giving Tynamo's security a try. In the meantime I scanned through the sources of TSS 2.1.0 that I've checked out from SVN several months ago, and now I have some basic understanding of what the issue with Tapestry 5.3 is - it removed the deprecated Aliases

[T5.3 beta 2] Using Tapestry-Spring-Security with 5.3?

2011-09-06 Thread Immutability
Guys, I haven't worked with Tapestry for a few months now, and decided to try out the new 5.3 beta 2 for a simple web-app. I've been using Spring-Security a lot with my previous Tapestry 5 projects via the Tapestry-Spring-Security module (version 2.1.0), and now I'm running into some issues,

Re: T5: Using Event.observer with a form within a t:block

2010-06-01 Thread immutability
this approach seems to be working fine, and I like its simplicity. It doesn't even require hooking into Tapestry.ZONE_UPDATED_EVENT so it should be Tapestry 5.0.x compatible (haven't tried that though). Thanks again for all the help! :-) Rado immutability wrote: Now - I have one more problem

Re: T5: Using Event.observer with a form within a t:block

2010-05-31 Thread immutability
Thiago Josh - thank you so much for your valuable responses! In the meantime, I was able to find out that the client-id is modified with a random suffix. Since my page is very simple and the zone will only have a single form, the solution posted by Josh works nicely:

Re: T5: Using Event.observer with a form within a t:block

2010-05-28 Thread immutability
() {..} ); Unlike before, I'm not getting any JS errors (even if I provide an invalid ID for the form such as 'myForm123'), but even using document.getElementById will only return null for 'myForm'. Any ideas? Thanks, Rado immutability wrote: A little background: I need to wire-up some custom

T5: Using Event.observer with a form within a t:block

2010-05-27 Thread immutability
A little background: I need to wire-up some custom JavaScript to be launched when the Submit button of my form is clicked. I now believe that the best way to do this with Tapestry5 is to use the Event.observer for this purpose. Unfortunately my knowledge of client-side javascript, scriptaculous,

Re: [T5.1] Locale - possible to revert to cookies?

2009-06-18 Thread immutability
more detailed instructions on this, I can create a how-to. Rado immutability wrote: The new URL-based language switching is also causing issues with the way Tapestry-Acegi handles the redirect to the login page once a session expires. If a user switches to another language, let's say

Re: T5.1: Request forwarding breaks page/actionlinks

2009-06-17 Thread immutability
the source code to be certain, but at a guess I think Tapestry simply renders markup and doesn't use a server side redirect. Peter - Original Message - From: immutability devli...@bielik.org To: users@tapestry.apache.org Sent: Tuesday, 16 June, 2009 17:34:58 GMT +02:00 Athens

Re: T5.1: Request forwarding breaks page/actionlinks

2009-06-16 Thread immutability
for all PageLinks and ActionLinks as if it was on the /test page, but these links will be relative to the /user/create page - and thus invalid. I can provide a sample code to reproduce. Thanks, Rado immutability wrote: Guys, I'm facing another strange issue with Tapestry 5.1.0.5. I'm using

Re: T5.1: Request forwarding breaks page/actionlinks

2009-06-16 Thread immutability
Thank you for your reply Peter. I ran across the JIRA you posted, but I feel it was a bit different from whay I'm seeking - the other guy was getting exceptions upon doing the forward. I agree there's not much use to do the forwarding when Tapestry already has excellent mechanism to perform

Re: T5.1: Palette causing a NPE upon form submit

2009-06-16 Thread immutability
Found the cause of this issue - after a painful search... :) It was my mistake. For anyone running into the same issue with NullPointerException and Palette component, if you want to use the Palette component with objects (e.g. list of domain objects returned from a database) remember to

T5.1: Custom Acegi 403 error page breaks page/actionlinks

2009-06-15 Thread immutability
Guys, I'm facing another strange issue with Tapestry 5.1.0.5. I'm using Tapestry-Acegi, but I guess I would get the same behavior with Spring-Security. I have configured a custom error page for the 403 forbidden error in my AppModule, i.e.: configuration.add(acegi.accessDenied.url,

T5.1: Palette causing a NPE upon form submit

2009-06-12 Thread immutability
I've been trying to figure this out for a few hours I've got a strange issue with the Palette component causing a NullPointerException upon form submit, but only on form failure involving server-side validator's such as the email validator (i.e. the form is submitted - onSubmit called but

[T5.1] Locale - possible to revert to cookies?

2009-05-21 Thread immutability
Hi everyone, now that Tapestry 5.1.0.5 is encoding the selected locale in URL rather than using cookie for this purpose, is it still possible to somehow configure Tapestry to use cookies as in 5.0.x? This way worked better for our application (i.e. being hidden from the URL and more permanent

T5: disabling column sorting programmatically in Grid

2009-01-19 Thread immutability
Hey guys, I have a very specific page where I need to disable/enable sorting for a single-column grid - the grid is under a small form, and based on the form input I need to disable or enable the sorting. So I thought of the standard way of doing this - in the onSuccessFromFormFilter handler I

Re: T5: disabling column sorting programmatically in Grid

2009-01-19 Thread immutability
Thiago, thank you for a quick response, I still have a lot to learn! One way to do it is to nameColumn.sortable(false) the the method that returns the BeanModel. I'm confused at this point. I'm currently not returning the BeanModel anywhere. When I was using BeanModel to add custom columns,

Re: T5: disabling column sorting programmatically in Grid

2009-01-19 Thread immutability
Thanks again, now you got me started (finally)! It really seems to be a better idea to just create the bean model for each request in this case. A note for others who may be trying the code above - don't ever try to call grid.getBeanModel within a getter for the model for the same grid - that

Re: T5: disabling popup client-side validator alerts

2008-11-28 Thread immutability
So I guess there's no simple way? :-( Rado immutability wrote: Hey everyone, I'm sure this will (possibly) be a simple thing, but I can't seem to find a straightforward way to disable the fading popup client-side validator alerts (the bubbles). I've searched through the forums, how-tos

T5: disabling popup client-side validator alerts

2008-11-26 Thread immutability
Hey everyone, I'm sure this will (possibly) be a simple thing, but I can't seem to find a straightforward way to disable the fading popup client-side validator alerts (the bubbles). I've searched through the forums, how-tos, but just couldn't find the right way. I've tried to use CSS and set

T5: Getting reference to app-wide message catalog (in a service)?

2008-10-23 Thread immutability
Hi Tapestry gurus! :) I'm facing an interesting problem with a service that I'm trying to build. This service will aid in building a navigation menu, but for localization purposes, I need to get a Messages reference for access to the application-wide message catalog. I searched through the

T5: How to implement a simple API servlet?

2008-08-25 Thread immutability
Guys, I've been trying to search google and nabble for this, but just couldn't find the answer, perhaps I'm just using the wrong keywords or something... as I'm sure it will sound trivial to some of you. Here's what I'm trying to achieve: I'd like to implement a simplistic API in our

Re: Setting the GridPager range

2008-08-08 Thread immutability
and after the current page in the range. The pager always displays links for 2 * range + 1 pages, unless that's more than the total number of available pages. The default is 5, and I can't find a way to change it when using the Grid component. immutability wrote: Hi everyone! I'm still a little new

Setting the GridPager range

2008-08-07 Thread immutability
Hi everyone! I'm still a little new to Tapestry5, and before starting a large project we've decided to develop a small internal application using Tapestry5. I was working on this for some 3 weeks now, and so far I'm impressed! I was able to resolve most of my issue using Google, Tapestry

T5: Zone - disabling yellow background animation on reload

2008-08-07 Thread immutability
Here I go again! :) Another problem I'm facing is with the Zone component. I like that the AJAX works nicely out-of-the-box with T5 components, such as ActionLink and Zone, without writing a single line of client-side script. The problem that I'm facing is the yellow-to-white (or whatever

Re: T5: Zone - disabling yellow background animation on reload

2008-08-07 Thread immutability
/Zone.html Ciaran On 07/08/2008 2:40pm, immutability [EMAIL PROTECTED] wrote: Here I go again! :) Another problem I'm facing is with the Zone component. I like that the AJAX works nicely out-of-the-box with T5 components, such as ActionLink and Zone, without writing a single line of client