DatePicker Localization

2006-06-28 Thread Manuel Thurn
Hello all, I want to localize a DatePicker. Instead of I would like Tapestry to get a key value of a message catalog (.properties files): But the nice validator syntax with the % and the key enclosed in brackets doesn't work for the date translator. What would be the best way to output the da

Re: ANN: Tap 3 based website enables Ajax driven Javadocs

2006-06-28 Thread Borut Bolčina
Hello, I tried searching at javaref.com and found that first user experience is not very good. I tried immediately to search for some classes in libraries I use currently and I was getting no results. Even when I registered I still got only 4 default libraries to search in. I work for a search

Re: alternate row colours in foreach

2006-06-28 Thread KE Gan
eachEntry is the component id used in HTML eg ... will generate a class attribute with alternating "even" and "odd" for each row. ... and so on. On 6/29/06, Peter Dawn <[EMAIL PROTECTED]> wrote: thanks for the info. but where should i specify the colours of the rows. and is

getting spring services inside my custom service ( IEngineService) using hivemind

2006-06-28 Thread Michael Lake
Hello folks, I've tried bouncing around the usual spots for getting information on what i'm trying to do. no luck. For those of you familiar with Tong's book, I've implemented his chapter which demonstrates a custom service for displaying an image. now to get the bytes from a REAL database..

Re: contribtable help

2006-06-28 Thread Peter Dawn
mate works like magic. you are a life saver. thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: contribtable help

2006-06-28 Thread Jesse Kuhnert
http://tapestry.apache.org/tapestry4/tapestry-contrib/ComponentReference/Table.html "initialSortColumn" On 6/28/06, Peter Dawn <[EMAIL PROTECTED]> wrote: hi all, i have a contrib table which is displaying my search results. now i am sorting based on date based on my search query. now as you w

contribtable help

2006-06-28 Thread Peter Dawn
hi all, i have a contrib table which is displaying my search results. now i am sorting based on date based on my search query. now as you would know, the user is also able to sort manually by clicking on the individual table headers and when they do that there is a green arrow displayed next to t

javaref.com

2006-06-28 Thread hv @ Fashion Content
Whoever put up www.javaref.com... THANK YOU :) Actually I'm a bit envious of how slick it's done. Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: alternate row colours in foreach

2006-06-28 Thread Peter Dawn
thanks for the info. but where should i specify the colours of the rows. and is eachEntry the value element. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Inheritance (asset/bean)

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 16:39:25 -0400, Gentry, Michael (Contractor) <[EMAIL PROTECTED]> wrote: It wouldn't inherit in the subclass pages, though. Is there any way to get this to inherit? (Also, beans didn't seem to inherit, either. I already know injection doesn't.) I don't think it's doable

Inheritance (asset/bean)

2006-06-28 Thread Gentry, Michael \(Contractor\)
I was doing a little cleanup and am curious about something. I have a common base page all of my pages inherit from, and I tried adding to the super's .page: It wouldn't inherit in the subclass pages, though. Is there any way to get this to inherit? (Also, beans didn't seem to inherit, either

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Oops...Forgot to give you an answer. To control which listener is called there is an optional second parameter to the client side tapestry.form.submitForm() function that specifies the submit name.. The standard listener types attached to the Form component are all named one of the constants in o

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Heh...It will be done very soon, but I'm attacking one problem at a time and am currently in validation logic still. (actually currently finishing up last items to convert tapestry testing infrastructure to use TestNG...those unit tests sure do run a lot faster now! ie doesn't retardedly re-instan

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 14:46:34 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: A...I had almost forgotten what your original question was. I wouldn't try this yet with EventListener. Use onchange="tapestry.form.submitForm('your form id')" for now. Heh, perhaps I've bitten off more than

RE: Trying to access Tapestry ASO from Spring-configured Hibernate interceptor

2006-06-28 Thread Jonathan Barker
Sorry for the delay, and thanks for the response. Given time constraints, I went with a path I knew would work: a Filter hooked in through web.xml that grabbed the ASO and put a reference to it in a static ThreadLocal in a helper class in much the same way as the Acegi HttpSessionIntegrationFilte

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
A...I had almost forgotten what your original question was. I wouldn't try this yet with EventListener. Use onchange="tapestry.form.submitForm('your form id')" for now. I haven't added the logic to manage hidden form field data ~yet~, but after I do that is what will make this work without re

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 14:26:43 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Sure, does "async=true|false" sound like a good parameter name? (It'll only apply when using submitForm) That works for me. While that should take care of my problem, does that mean there's no way to force the

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
I should say "sure" = I'll make the quick change and deploy snapshot if it sounds good. On 6/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Sure, does "async=true|false" sound like a good parameter name? (It'll only apply when using submitForm) On 6/28/06, Kevin Menard < [EMAIL PROTECTED]> w

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Sure, does "async=true|false" sound like a good parameter name? (It'll only apply when using submitForm) On 6/28/06, Kevin Menard <[EMAIL PROTECTED]> wrote: On Wed, 28 Jun 2006 11:42:58 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > You don't need to do anything at all if you use the Event

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 11:42:58 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: You don't need to do anything at all if you use the EventListener stuff. Tapestry will do all the hard work under the covers for you. (ie you can take out that onchange="javascript" stuff ) Time for yet another ques

Re: ANN: Tap 3 based website enables Ajax driven Javadocs

2006-06-28 Thread Howard Lewis Ship
Nice! I posted on my blog, you should write it up on SuccessStories (on the Wiki) and notify the Ajaxian.com site as well. On 6/28/06, Javaref Scribe <[EMAIL PROTECTED]> wrote: www.javaref.com provides multi-API javadocs that are ajax enabled. This enables features such as: - class/package/met

ANN: Tap 3 based website enables Ajax driven Javadocs

2006-06-28 Thread Javaref Scribe
www.javaref.com provides multi-API javadocs that are ajax enabled. This enables features such as: - class/package/method search with auto-complete - radically different UI that shows class usage across libraries, cross-library referencing, user notes - member/method navigation with a hovering n

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
clientValidationEnabled still means ~almost~ the same thing on the Form component, only it has less to do with whether or not a particular .js file is loaded as I'm letting dojo do that for me now.. This is something I've been avoiding thinking about until things stabilize a little more, but the

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 12:38:20 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah, "oops". I should probably refactor that @Shell inclusion part to have dojo included by default, and let people opt-in for ajax-specific functionality on a per page/component basis. Yeah, the current way seem

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Hmmm"Sort of" . I've started doing snapshot releases of it via maven2 but no documentation and not exactly done yetIt's sort of a use if you want but at your own peril. (unless you are reporting bugs, in which case I'll probably be pretty responsive ) http://tapestry.apache.org/tapestry4.

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Peter Svensson
Excuse me, but is it out .. ? I mean 4.1. Cheers, PS On 6/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Yeah, "oops". I should probably refactor that @Shell inclusion part to have dojo included by default, and let people opt-in for ajax-specific functionality on a per page/component basis.

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Yeah, "oops". I should probably refactor that @Shell inclusion part to have dojo included by default, and let people opt-in for ajax-specific functionality on a per page/component basis. Dojo is included within the tapestry jar, so you shouldn't have to go through very much to use it now. (unless

Re: Tapestry 4.1 Form Events

2006-06-28 Thread andyhot
That's even easier! @Shell now has an ajaxEnabled parameter >From Kevin Menard <[EMAIL PROTECTED]>: > On Wed, 28 Jun 2006 11:42:58 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> > wrote: > > > You don't need to do anything at all if you use the EventListener stuff. > > Tapestry will do all the hard

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 11:42:58 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: You don't need to do anything at all if you use the EventListener stuff. Tapestry will do all the hard work under the covers for you. (ie you can take out that onchange="javascript" stuff ) That's awesome. No more

Re: User subscription email broken?

2006-06-28 Thread Jesse Kuhnert
http://tapestry.apache.org/mail-lists.html On 6/28/06, kranga <[EMAIL PROTECTED]> wrote: Apparently [EMAIL PROTECTED] is giving errors (no such email address). Does anyone know what the right email address is for users to subscribe? ---

User subscription email broken?

2006-06-28 Thread kranga
Apparently [EMAIL PROTECTED] is giving errors (no such email address). Does anyone know what the right email address is for users to subscribe? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: Problem with two @for tags inside a @form tag

2006-06-28 Thread Jabbar
Right... There wasn't anything wrong with tapestry, I was calling my submit listener method before the page properties where being set. I made the following changes to my .page file original source... modified source... I should have assigned by listener to the action property..

input validation for multiple locales?

2006-06-28 Thread Phillip Rhodes
I have a professional testing company testing my tapestry app, and they reported issues that one can enter non-alphanumeric fields into my textfields. While I know I can solve this with a regex in my validator, I wonder what folks do if they need to support other languages and perform validation

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
You don't need to do anything at all if you use the EventListener stuff. Tapestry will do all the hard work under the covers for you. (ie you can take out that onchange="javascript" stuff ) On 6/28/06, Kevin Menard <[EMAIL PROTECTED]> wrote: On Wed, 28 Jun 2006 11:08:29 -0400, Jesse Kuhnert <[E

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
On Wed, 28 Jun 2006 11:08:29 -0400, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: If you find yourself doing this this way you should still question it, because now you can do this much more simply: Your page/component class listener method: @EventListener(events="onchange", targets="country",

RE: CSV export component

2006-06-28 Thread Phillip Rhodes
I have the beginnings of just this type of component. Would you want to collaborate on it? > Thanks for you input. This is probably the best way to go, to make the > interface of the component similar to that of the table component. As soon > as I find the time I will try this out. > > Martin

Re: New Window issue

2006-06-28 Thread Richard Kirby
Hi Rodrigo again, Umm, actually you should just need to generate a new key each time the search form is submitted for a new search. Cheers Richard Richard Kirby wrote: Hi Rodrigo, What you will need to do is ensure that caching is disabled for the pages that use this key idea. Then CTRL-N

Re: Tapestry 4.1 Form Events

2006-06-28 Thread Jesse Kuhnert
Ahh...That is one particular piece I've so far (maybe someone can change my mind ) decided to not support in a backwards fashion. (ie attaching new behaviour to core js objects should be avoided ). Here is the new interface for dealing with forms: http://svn.apache.org/viewvc/tapestry/tapestry4/t

Re: Event handler for optionlist-selection

2006-06-28 Thread Shing Hing Man
Have you checked out the DynamicSelectionList component at Tassel ? http://www.tapestrycomponents.org/Tassel/app There is an online demo at http://lombok.demon.co.uk/tapestry4Demo/app Shing --- Claus Bogner <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to implement a event for selectio

Re: Event handler for optionlist-selection

2006-06-28 Thread Jesse Kuhnert
You can do it in 4.1 pretty easily, but it's not really ready for mass consumption yet. ( http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/examples/TimeTracker/src/java/org/apache/tapestry/timetracker/page/TaskEntryPage.java?view=markup) On 6/28/06, Mark Stang <[EMAIL PROTECTED]> wrote: Th

Tapestry 4.1 Form Events

2006-06-28 Thread Kevin Menard
Hi, Is there any info on triggering form events in Tapestry 4.1? My old code no longer works (probably due to the move to dojo). E.g., I used to be able to do something like the following: That no longer causes the form to refresh. Any info would be much appreciated. Thanks, Kevin --

RE: Event handler for optionlist-selection

2006-06-28 Thread Mark Stang
There are several mechanisms. I think the Tacos/Tassel has a component. What we did was to have the property selection component do a submit. Then when the form is submitted you use the value from the first to drive the second. -Original Message- From: Claus Bogner [mailto:[EMAIL PRO

Print a special character

2006-06-28 Thread Roberto Secaul
hi, i want to write some links with a distinct attribute like: "" "" "" ... in order to activate one layer with javascript. i would like to print a special character(<,>) from my source .java code but tapestry reders it bad. I know i've to use IMarkUpWriter but i dont know how. C

Event handler for optionlist-selection

2006-06-28 Thread Claus Bogner
Hi, I would like to implement a event for selection of a dropdown-list. When the user selects an element in optionlist A the content of the optionlist B should be refreshed. Example: optionlist A: List of countries (Germany, France, Austria) optionlist B: List of cities in the selected c

Re: New Window issue

2006-06-28 Thread Richard Kirby
Hi Rodrigo, What you will need to do is ensure that caching is disabled for the pages that use this key idea. Then CTRL-N or File | New Window should cause the browser to refresh from the server - they will request the same url as the original page, so that allows you to detect that a new key

Custom translator for a List

2006-06-28 Thread Shing Hing Man
I am trying to write a custom translator to convert a List to a comma seperated list of numbers, to be displayed in a component TextArea. (And during form submit, the comma seperated list of numbers is converted to a List by the custom translator.) So I extend AbstractTranslator and called m

Re: New Window issue

2006-06-28 Thread Rodrigo Barberá
Hi Richard! Thank you for your reply. It sounds like a very good solution to my problem. However, I can't find out a way to generate a new key when the user hits CTRL-N or clicks 'File | New Window' and a new window is open. Any ideas? Thanks a lot in advance! Rodrigo Richard Kirby wr

Re: Problem with two @for tags inside a @form tag

2006-06-28 Thread Jabbar
Hello again, Must be having a bad day, I didn't check the results properly... still doesn't work... still looking... On 28/06/06, Jabbar <[EMAIL PROTECTED]> wrote: Hello Norbi, Sorry for the delay, but have been working on other stuff ... I set the volatile parameter to "true", but didn't make

Re: Problem with two @for tags inside a @form tag

2006-06-28 Thread Jabbar
Hello Norbi, Sorry for the delay, but have been working on other stuff ... I set the volatile parameter to "true", but didn't make any difference. I replaced the @For with a @Foreach and now its working! On 26/06/06, Norbert Sándor <[EMAIL PROTECTED]> wrote: Try setting parameter volatile to

Re: contrib table

2006-06-28 Thread Shing Hing Man
Have you consider modifying the component TablePages as described in the following post ? http://article.gmane.org/gmane.comp.java.tapestry.user/21934/match=tablepages Shing --- Peter Dawn <[EMAIL PROTECTED]> wrote: > guys, > is there a way to change the << and >> in the > navigation bar of a

Re: Overriding Locale detection in T4

2006-06-28 Thread Ron Piterman
take a look at the wiki -> tapestry 4 -> howtos Cheers, Ron Firas A. wrote: Hello, The application I'm working on needs to be fully localized, which means correct display of language, currency, date and number formats. In my application specification I have the following setting: meta key="

Overriding Locale detection in T4

2006-06-28 Thread Firas A.
Hello, The application I'm working on needs to be fully localized, which means correct display of language, currency, date and number formats. In my application specification I have the following setting: meta key="org.apache.tapestry.accepted-locales" value="en,sv" which gives english speaking a