What's with the library directory structure?

2007-02-13 Thread Murray Collingwood
Hi all I'm in the midst of upgrading from Tap 4.0 to 4.1. I downloaded the Tapestry 4.1 binaries, however what I found was a directory called 'modules' with subdirectories for a whole bunch of things like, 'backport-util-concurrent', 'commons-beanutils', 'hivemind', 'hivemind-lib', etc etc. I'm

Re: How do you call a listener method in wml?

2007-02-13 Thread Numa Schmeder
Well you can do that, but if you want to send to a custom link, I would do : Numa Le 14 févr. 07 à 08:12, Cesar Saenz a écrit : Thanks for the quick reply What about if I want to do something like this but in wml notice how I c

Re: How do you call a listener method in wml?

2007-02-13 Thread Cesar Saenz
Thanks for the quick reply What about if I want to do something like this but in wml notice how I can call the doVideo listener and pass it a video.url is there somthing similar in wml? Thanks On 2/13/07, Numa Schmeder <[EMAIL PROTECTED]> wrote: Nearly the same

Re: How do you call a listener method in wml?

2007-02-13 Thread Numa Schmeder
Nearly the same way as with HTML: Something like this: My field : value="ognl:fvalue" name="valueInput" size="10" emptyok="false" format="*M"/> listener="ognl:listeners.submit"> value="ognl:flightNb" name="ognl:components.valueInput.name" /> Send

How do you call a listener method in wml?

2007-02-13 Thread Cesar Saenz
How do you call a listener method in wml, one that requires paramerters? Thanks cesar

Re: Tap4.1.2 - DirectLink updateComponents & EventListener not supported by Safari?

2007-02-13 Thread Jesse Kuhnert
I've no idea. I don't currently have a mac and couldn't think of a generally good use for one off the top of my head other than testing safari support. I'd love to be able to test things on Safari, but can't really afford to get one. Maybe you can find more users who want safari support and s

Re: @Insert default mode

2007-02-13 Thread Jesse Kuhnert
I think you are thinking of "InsertText", not "Insert". Having a mode of break by default on that component would break everyone using @Insert previously. (or am I losing my mind? ) On 2/12/07, Ben Dotte <[EMAIL PROTECTED]> wrote: Thanks but we try to avoid overriding Tapestry classes whenever p

Re: [WARNING] 4.1.2-SNAPSHOT users beware...

2007-02-13 Thread Kalle Korhonen
Wohoo! I'm sure you'll find plenty of guinea pigs for this experiment... Kalle On 2/13/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I'm going to be merging the ognl 2.7 changes into trunk in the next couple of days, so if you don't feel like being a guinea pig for my sick experiments you shoul

Re: [WARNING] Injecttin

2007-02-13 Thread Matt Brock
Andrea Chiumenti wrote: > > Hello, > is there somehow to make tapestry to write type="text/javascript"> > Via hivemind? You can do this using straight Tapestry components. For your border component, first line: http://www.w3.org/1999/xhtml"; xml:lang="en" delegate="ognl:new org.apache.tapest

About Tapestry 5 ?

2007-02-13 Thread Dwi Ardi Irawan
i've heard about tapestry 5 preview release, what i want to ask : is tapestry 5 ready to be used in production ? thnx. dwi ardi irawan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: [WARNING] Best strategy?

2007-02-13 Thread Matt Brock
That's a very nice little widget there. This would be very easy to move to the Tapestry world. I guess it would really depend on how much you want to keep on the client side, and how much would have to be done on the server. For instance, a good implementation might render the page with the ite

[WARNING] 4.1.2-SNAPSHOT users beware...

2007-02-13 Thread Jesse Kuhnert
I'm going to be merging the ognl 2.7 changes into trunk in the next couple of days, so if you don't feel like being a guinea pig for my sick experiments you should start thinking about being more specific in your version. You can swap out 4.1.2-SNAPSHOT for any of the version strings found in her

Re: Best strategy?

2007-02-13 Thread Jesse Kuhnert
Either way you want to use "FilteringTable" not Sortable. (sortable is the old version) On 2/13/07, Julian Wood <[EMAIL PROTECTED]> wrote: Yes that is a nice table, but I think you could do all that (minus the AJAX) with some CSS around the current contrib:table. Tap 5 has a new grid component

Re: Best strategy?

2007-02-13 Thread Julian Wood
Yes that is a nice table, but I think you could do all that (minus the AJAX) with some CSS around the current contrib:table. Tap 5 has a new grid component you might be interested in: http://tapestryjava.blogspot.com/2007/02/more-tapestry-5-grid- component-case.html#links I haven't tried th

Re: PropertySelection components in tables

2007-02-13 Thread Davide Bruzzone
Hey Geoff... I didn't quite understand the code below but after much cranial banging, I've figured out how to do it. Since I'm new at Tapestry, I'll post the solution tomorrow for everyone to look at (in case I'm doing something very unTapestry-like/BadTM...). BTW, I'll post the solution tomorro

Re: AssetService problem

2007-02-13 Thread Julian Wood
Doh. Right you are. Thanks, J On 13-Feb-07, at 2:40 PM, andyhot wrote: I dont think i get any js errors when accessing that... perhaps it's your browser's cache... clear it and retry Julian Wood wrote: Ok this has got me banging my head against a wall. I've built a tap app war file (using

Re: Best strategy?

2007-02-13 Thread Pedro Viegas
I there Jesse, Since we're covering Table componentes and T4.1 is in the comments... is a Table component in T4.1 roadmap? I seem to recall a previous post from you stating that it may be so. If so can you give us any pointer as to what it can become? We wouldn't want to be building something tha

Re: Best strategy?

2007-02-13 Thread Pedro Viegas
I there Julian, I'm also about to begin coding a table component of my own. Tell me, have you compared the table from dhtmlgoodies with the SortableTable included in the Tapestry 4.1 provided Dojo? Is there a good reason to this preference? Are there more features in the dhtmlgoodies table? I wa

Re: Roadmap for Tacos integration in Tap 4.1 ?

2007-02-13 Thread Pedro Viegas
What about a Table component, any plans on this? Regards, On 2/13/07, andyhot <[EMAIL PROTECTED]> wrote: Here's what exists now: http://tacos.sourceforge.net/tacos4.1/tacos-core/ and take a look at the new dojo sub-library. Apart from that (but not yet in the repo) : - Shing Hing Man was kind

Re: AssetService problem

2007-02-13 Thread andyhot
I dont think i get any js errors when accessing that... perhaps it's your browser's cache... clear it and retry Julian Wood wrote: Ok this has got me banging my head against a wall. I've built a tap app war file (using maven). It works fine when deployed on my local tomcat. When I send that s

AssetService problem

2007-02-13 Thread Julian Wood
Ok this has got me banging my head against a wall. I've built a tap app war file (using maven). It works fine when deployed on my local tomcat. When I send that same war to the deployment server, I get this in the log: 2007-02-13 11:42:26,538 WARN AssetService.java - Classpath resource '/

Re: T5: Module builder discovery

2007-02-13 Thread Hugo Palma
Thanks. I was i bit confused about how you could load more than one module in the application. I've just found the subModule concept and everything makes sense now. Thanks again Massimo Lusetti wrote: On 2/13/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I couldn't find in the docs how Tap

Re: T5: Module builder discovery

2007-02-13 Thread Massimo Lusetti
On 2/13/07, Hugo Palma <[EMAIL PROTECTED]> wrote: I couldn't find in the docs how Tapestry finds the module builder(s) for the running application. I can see that for packaged modules it gets the info from META-INF, but what are the rules for the application provided module builders ? I started

T5: Module builder discovery

2007-02-13 Thread Hugo Palma
I couldn't find in the docs how Tapestry finds the module builder(s) for the running application. I can see that for packaged modules it gets the info from META-INF, but what are the rules for the application provided module builders ? I started testing and i could see that AppModule class get

Re: AW: ssl link

2007-02-13 Thread andyhot
I'd keep the RedirectException idea, but make use of the 2nd overload of getAbsoluteUrl... See http://tapestry.apache.org/tapestry4/tapestry/apidocs/org/apache/tapestry/engine/ILink.html Shing Hing Man wrote: >From getExternalService().getLink(false, esp), you can get the absolute url of the

Re: AW: ssl link

2007-02-13 Thread Shing Hing Man
>From getExternalService().getLink(false, esp), you can get the absolute url of the desired destination. The url would look like https://www.something.com:443/. Then manually replace https by http and ':443' by ''. Then throw new RedirectException('modified url'); Shing --- Jonathan Bélisle

Re: Re: For loop with checkboxes that use ajax

2007-02-13 Thread Diego
Ok, now it works, had to change the EventListener and the div that is surrounding the checkboxes to an Any component. Thanks Diego On 2/13/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: please try the project i uploaded with following bug https://issues.apache.org/jira/browse/TAPESTRY-124

Re: AW: ssl link

2007-02-13 Thread Jonathan Bélisle
Peter Schröder wrote: hi jonathan, you may perform a redirect-after-post. -Ursprüngliche Nachricht- Von: Jonathan Bélisle [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 13. Februar 2007 17:10 An: users@tapestry.apache.org Betreff: ssl link Hi, I'm using tapestry 4.0.2 and I want to

AW: ssl link

2007-02-13 Thread Peter Schröder
hi jonathan, you may perform a redirect-after-post. -Ursprüngliche Nachricht- Von: Jonathan Bélisle [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 13. Februar 2007 17:10 An: users@tapestry.apache.org Betreff: ssl link Hi, I'm using tapestry 4.0.2 and I want to post a form with ssl. I u

ssl link

2007-02-13 Thread Jonathan Bélisle
Hi, I'm using tapestry 4.0.2 and I want to post a form with ssl. I use the following line for my form : delegate="ognl:beans.validationDelegate"> The problem is that after I submit the form all the links in the resulting page are with the https scheme. How can I switch back to http after sub

Re: Dates and numbers formatted according to the user localization

2007-02-13 Thread Daniel Jue
FYI, a chapter of Kent Tong's book touches on localization. You may find it interesting, since he also uses locale to choose appropriate images. Dan On 2/13/07, Stephane Decleire <[EMAIL PROTECTED]> wrote: Hi, Is there a prefered way to deal with user localization in Tapestry ? I mean how to

Re: Roadmap for Tacos integration in Tap 4.1 ?

2007-02-13 Thread andyhot
Here's what exists now: http://tacos.sourceforge.net/tacos4.1/tacos-core/ and take a look at the new dojo sub-library. Apart from that (but not yet in the repo) : - Shing Hing Man was kind enough to port AjaxForm and AjaxDirectLink to ease migration. If your old app used those components, you do

Re: T5: Loop component fails

2007-02-13 Thread Howard Lewis Ship
Looks like a coercion problem, I haven't built in coercions for the various primitive array types. I'm not actually certain what failed. I think we need a little more exception reporting inside TypeCoercer to help identify what's going on. On 2/13/07, Waldo Mendoza <[EMAIL PROTECTED]> wrote: Hi

Re: Dojo error on Yahoo search or Live search cached pages

2007-02-13 Thread Christian Dutaret
http://issues.apache.org/jira/browse/TAPESTRY-1269 2007/2/13, andyhot <[EMAIL PROTECTED]>: Christian Dutaret wrote: > Should I file a JIRA issue for this? Go ahead... did you get to the source of it? > > 2007/2/1, andyhot <[EMAIL PROTECTED]>: >> >> Yea, you're right. >> >> Just did a yahoo se

T5: Loop component fails

2007-02-13 Thread Waldo Mendoza
Hi there! Congratulations to howard, tapestry 5 it´s really amazing and fun. I have been trying the components that comes bundled with tapestry, and i got and exception with a Loop test. The template is: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> Loop Test

Roadmap for Tacos integration in Tap 4.1 ?

2007-02-13 Thread Webmaster Bébé Nounou
Hi, Is there a roadmap for Tacos components integration in Tap4.1 ? Thanks in advance Stephane

re: Re: For loop with checkboxes that use ajax

2007-02-13 Thread Kristian Marinkovic
please try the project i uploaded with following bug https://issues.apache.org/jira/browse/TAPESTRY-1241 when you click on a list item it will trigger an event should work to with form elements too greetings kris

Re: For loop with checkboxes that use ajax

2007-02-13 Thread Diego
Hello Kris, Thank for you answer. I tried what you suggested but I couldn't get it to work. When a checkbox is clicked it look like there is a HTTPXMLRequest but the listener in Tapestry is not fired. But I did get it to work by changing the EventListener: @EventListener(elements = "conceptFilt

Re: Dates and numbers formatted according to the user localization

2007-02-13 Thread Numa Schmeder
In Tap4, you have access to the locale in the page with the method getLocale(), it returns the current locale of the user. The default locale used by tapestry is the one of the JVM thus of your system. If you want another default locale you have to override the meta key "org.apache.tapestry.

RE: Dates and numbers formatted according to the user localization

2007-02-13 Thread Greg.L.Cormier
You need to store it somehow in your application, perhaps an ASO, and then pass that locale when you format a date. -Greg -Original Message- From: Stephane Decleire [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 9:02 AM To: Tapestry users Subject: Re: Dates and numbers format

Re: Dates and numbers formatted according to the user localization

2007-02-13 Thread Stephane Decleire
Thanks Numa but how do you get the locale of the user ? It seems that my application always takes the locale of my server but not the clients locale ... -- Stéphane Decleire Numa Schmeder a écrit : Hi, You can use all standard java localization recommandation: SimpleDateFormat NumberFormat

Re: Dates and numbers formatted according to the user localization

2007-02-13 Thread Numa Schmeder
Hi, You can use all standard java localization recommandation: SimpleDateFormat NumberFormat etc All localized message are stored in a global property file: myApp_en.properties (for english messages) OR in a per page or per component basis in the web-inf: myPage.properties (default) myPag

Dates and numbers formatted according to the user localization

2007-02-13 Thread Stephane Decleire
Hi, Is there a prefered way to deal with user localization in Tapestry ? I mean how to print dates, numbers, etc ... according to the localization of the user (say based on the user choice or on his browser configuration) ? Thanks in advance. -- Stéphane Decleire

Re: PropertySelection components in tables

2007-02-13 Thread abc_tec
Davide, For this problem I only have code that worked in T3 using the ListEdit component. In T4 you should use the For component. I hope the clue you're looking for will be in here nonetheless... value="ognl:picksModel.key" listener="ognl:listeners.synchronizePick" element="tr">

Re: Dojo error on Yahoo search or Live search cached pages

2007-02-13 Thread andyhot
Christian Dutaret wrote: Should I file a JIRA issue for this? Go ahead... did you get to the source of it? 2007/2/1, andyhot <[EMAIL PROTECTED]>: Yea, you're right. Just did a yahoo search for "opencomponentry demo" and the first result (the tacos demo) has the same issue... http://216.

Re: Dojo error on Yahoo search or Live search cached pages

2007-02-13 Thread Christian Dutaret
Should I file a JIRA issue for this? 2007/2/1, andyhot <[EMAIL PROTECTED]>: Yea, you're right. Just did a yahoo search for "opencomponentry demo" and the first result (the tacos demo) has the same issue... http://216.109.125.130/search/cache?p=opencomponentry+demo&ei=UTF-8&fr=yfp-t-501&x=wrt

Antwort: For loop with checkboxes that use ajax

2007-02-13 Thread Kristian Marinkovic
hi diego, the simplest way is to add an EventListener to the parent node of the checkboxes add to take advantage of the javascript event model (event bubbling, event delegation). ... lets say you are enclosing your checkboxes with a DIV tag //for loop for checkboxes in your page class y