Re: T5: dynamic form fields - again

2009-05-01 Thread ryanskow
Just curious if any additional screencasts, tutorials, etc have been published on this subject. The screencast posted in 2008 mentioned that there would be more to follow regarding Ajax and dynamic forms ("very dynamic form support" to be exact): http://tapestryjava.blogspot.com/2008/11/tapestry-

T5.0.11 datepicker first day of week

2008-04-05 Thread ryanskow
Is there an easy way to set the first day of the week to be Sunday within the popup calendar used for date fields on a global basis? I'm pretty sure I'm missing something simple, but I can't seem to figure out anything besides hacking into the javascript which is stuffed in the tapestry jar... A

Re: Tap 5.0.9: Why can't Grid column header has blank label

2008-03-29 Thread ryanskow
It can be useful, however, to have a blank heading for columns which may be icons such as edit/delete. It doesn't hurt to have a heading for such columns, but sometimes it is nice to be able to save some horizontal real-estate by utilizing an icon to replace the text. Howard Lewis Ship wrote

T5: tapestry-test in 5.0.11?

2008-03-20 Thread ryanskow
It appears as though tapestry-test is not packaged in the 5.0.11 release. Does it live somewhere else now or did it get missed somehow? -- View this message in context: http://www.nabble.com/T5%3A-tapestry-test-in-5.0.11--tp16184206p16184206.html Sent from the Tapestry - User mailing list archi

T5: Dynamic Select Options

2008-03-08 Thread ryanskow
Is there a 'good' way to set the options of a Select box based on the value selected in another Select box? A classic example would be vehicle Makes and Models - for instance, when 'Ford' is selected in the 'make' select box, the values of the 'model' select box would be set to 'Mustang','Explore

Re: T5 5.0.10 Acegi doesn´t work

2008-02-19 Thread ryanskow
Judging by the commented out line in AcegiWorker: //transformation.renameAndExtendMethod(method, newMethodName, methodBody.toString()); I'm guessing there is an issue with renaming and extending the method. Did that method exist at one point and suddenly go away or has method security never been

Re: T5 5.0.10 Acegi doesn´t work

2008-02-19 Thread ryanskow
First of all, thank you for the work everyone has done on Acegi. Is there any idea when secured methods will be working in tapestry-Acegi? I noticed in the http://www.localhost.nu/java/tapestry5-acegi/todo.html tapestry-acegi Todo List that this was not working and thought I'd check to see whe

Re: Can a page do something before actions are invoked on it?

2008-02-18 Thread ryanskow
Ok, this apparently is not the right way to do things... ryanskow wrote: > > @ApplictionState > private User loggedInUser; > Taking the pattern from: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 I am now able to use the ApplicationStateManager directly by pas

Re: Can a page do something before actions are invoked on it?

2008-02-18 Thread ryanskow
Filip S. Adamsen-2 wrote: > > If you implement PageRenderRequestFilter and ComponentEventRequestFilter > This looks very promising - I have two of the three needed elements available (page, event name). At what point does the session attach and my @ApplicationState get attached? Currently t

Re: Can a page do something before actions are invoked on it?

2008-02-15 Thread ryanskow
> An event handler method for event "initialize" can be used for this purpose. I was able to get the superclass to catch the event by declaring: @OnEvent(with no arguments) public void foo() { // this is processed before the intended onActionFromThingOne is called - which is perfect } > Th

Can a page do something before actions are invoked on it?

2008-02-15 Thread ryanskow
Example: MyPage has two 'action' methods: Object onActionFromThingOne() Object onActionFromThingTwo() Before these methods get called by the ComponentEventDispatcher, is it possible for MyPage to do something such as check to see if the user has permission to access these methods? If MyPage de

T5: Override default implementation of BeadEditor's TextField

2008-02-13 Thread ryanskow
Is there a way to tell the BeanEditor to use MyTextField instead of TextField for rendering parameters of type 'string'? I saw some T3/4 solutions involving xml configuration, but I'm not sure what the T5 parallel is (or if there is one). -- View this message in context: http://www.nabble.com/T