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 div id=checkboxes //for loop for checkboxes /div

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...

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 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

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

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

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: html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd; head titleLoop

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: 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

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 : form jwcid=@Form scheme=https port=443 listener=listener:doXXX delegate=ognl:beans.validationDelegate The problem is that after I submit the form all the links in the resulting page are

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

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

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-1241

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: 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

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

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

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

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

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

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

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

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

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 you

[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

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

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

Re: [WARNING] Injecttin script into head via hivemind

2007-02-13 Thread Matt Brock
Andrea Chiumenti wrote: Hello, is there somehow to make tapestry to write headscript type=text/javascript/scripthead Via hivemind? You can do this using straight Tapestry components. For your border component, first line: html jwcid=@Shell title=ognl:windowTitle

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 should

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

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: 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: fieldset title=My Form My field : br/input type=text jwcid=[EMAIL PROTECTED]:Input value=ognl:fvalue name=valueInput size=10 emptyok=false format=*M/br/ /fieldset anchor go jwcid=[EMAIL PROTECTED]:Go

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 a jwcid=@DirectLink listener=listener:doVideo parameters=ognl:{ video.url} span jwcid=@Insert value=ognl: video.title/ but in wml notice how I can call the doVideo listener and pass it a

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 : a jwcid=@Any href=ognl:video.url span jwcid=@Insert value=ognl: video.title//a Numa Le 14 févr. 07 à 08:12, Cesar Saenz a écrit : Thanks for the quick reply What about if I want to do

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