Re: EventListener on components within a @For loop

2006-10-04 Thread Christian Dutaret
I found a nice solution using dojo's ability to listen to an arbitrary javascript function as if it were a native event. I attach an empty js function to an arbitrary DOM element like this: document.getElementById('someDiv').clickRadio=function(radio) {}; and an onclick attribute to my radio

Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
Hi Guys.. I?m let?s say a Newbie. I have a Project and i want to realize the following: I have a abstract class called Person extending from BaseComponent owning some properties. Furthermore I have class Worker and Non-Worker extending from Person and owning some properties each. I read an array

Re: Insert Components depending on SubClass

2006-10-04 Thread Christian Haselbach
Quoting Skorpien126 [EMAIL PROTECTED]: In another Component I read the array. This one should entry a the Non-worker component or the Worker-Component for each object depending on which object i want to visualize. Is there a way realize that?!?! You can use the If component to choose how to

Re: Insert Components depending on SubClass

2006-10-04 Thread Norbert Sándor
Use the For and the If components. Pseudo code: span jwcid=@For source=ognl:arrayOfPersons value=ognl:person span jwcid=@If condition=ognl:person instanceof Worker span jwcid=@Worker ... / /span span jwcid=@If condition=ognl:person instanceof NonWorker span jwcid=@NonWorker

tapestry-captcha/acegi integration

2006-10-04 Thread Denis McCarthy
Hi, I'm attempting to integrate James Carman's tapestry-captcha library into a proof of concept app I'm putting together. The acegi stuff is redirecting correctly to a very simple captcha page just containg a reference to the captcha component from tapestry-captcha. Here's the .page:

Re: Insert Components depending on SubClass

2006-10-04 Thread Skorpien126
Juip, thats it. This should work.. ( i thougth of a funtion definition in the base class, which i have to override in every subclass... giving out the correct code) thank u very much Norbert S?ndor wrote: Use the For and the If components. Pseudo code: span jwcid=@For

RE: tapestry-captcha/acegi integration

2006-10-04 Thread James Carman
Denis, The hivemodule.xml file for Tapestry-Captcha will take care of wiring in the linkFactory and imageCaptchaService. James -Original Message- From: Denis McCarthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 11:08 AM To: Tapestry users Subject:

Re: SSL Security Information Warning Tacos

2006-10-04 Thread Chris Chiappone
Anybody have any idea about this? On 10/3/06, Chris Chiappone [EMAIL PROTECTED] wrote: Hi I am using tapestry 4 with tacos and notice when I include the following in my HeadDelegate to allow for tacos I get the annoying Security Popup about showing secure and non-secure items. Has anyone else

Annotations and translators

2006-10-04 Thread Mael Caldas
Hi, I wan to to declare a DatePicker component with annotations. I just passed the component from .page, to java the corresponding java class, but I got a parse exception, because of the translators bindings... Here is the code on .page: component id=date type=DatePicker binding name=value

Re: Annotations and translators

2006-10-04 Thread Mael Caldas
SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: Hi, I wan to to declare a DatePicker component with annotations. I just passed the component from .page, to java the corresponding java class, but I got a parse exception,

Re: EventListener on components within a @For loop

2006-10-04 Thread Jesse Kuhnert
Hah! That's pretty cool. I like it :) If someone files a bug in JIRA I'll look into the radio button stuff .(though I thought I remembered there being a ticket for this already - at least I know we had to deal with it in tacos ) On 10/4/06, Christian Dutaret [EMAIL PROTECTED] wrote: I found a

Re: SSL Security Information Warning Tacos

2006-10-04 Thread Jesse Kuhnert
IE Shows those when you try to switch between https and http in the same document. Must be that your script include protocol (ie http vs https ) isn't the same as your apps base protocol on this page. On 10/4/06, Chris Chiappone [EMAIL PROTECTED] wrote: Anybody have any idea about this? On

Re: Annotations and translators

2006-10-04 Thread Jesse Kuhnert
Not dumb, that's what this list is for. :) On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: Hi, I wan to to declare a DatePicker component with annotations. I just

Re: Annotations and translators

2006-10-04 Thread Mael Caldas
hehehehe thanks! :) On 10/4/06, Jesse Kuhnert [EMAIL PROTECTED] wrote: Not dumb, that's what this list is for. :) On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote: SORRY Such a dumb I'm! The binding declaration was wrong... ;) Mael On 10/4/06, Mael Caldas [EMAIL PROTECTED] wrote:

Re: [announce] BeanForm 0.5

2006-10-04 Thread Patrick Moore
Thanks ... I am going to try this.. btw .. your on-line doc still uses the old notation On 10/2/06, DJ Gredler [EMAIL PROTECTED] wrote: Hi all, The latest release of BeanForm, the single-line POJO editor component, is now available for download. Below is a list of changes since the last

Re: [announce] BeanForm 0.5

2006-10-04 Thread DJ Gredler
I'm afraid I don't see the old notation anywhere... what example are you looking at? On 10/4/06, Patrick Moore [EMAIL PROTECTED] wrote: Thanks ... I am going to try this.. btw .. your on-line doc still uses the old notation On 10/2/06, DJ Gredler [EMAIL PROTECTED] wrote: Hi all, The

Re: [announce] BeanForm 0.5

2006-10-04 Thread Patrick Moore
In section 5. (http://beanform.sourceforge.net/component-reference.html) I see references to 'PSM' for the property selection model.. but I think I may have just misread your release note. On 10/4/06, DJ Gredler [EMAIL PROTECTED] wrote: I'm afraid I don't see the old notation anywhere... what

Re: [announce] BeanForm 0.5

2006-10-04 Thread DJ Gredler
Ah, I think you're confusing the page property names with the parameter names. The convention is in the naming of the informal parameters (like owner_model and manufacturer_model). You can name your page properties however you like (in this case ownerPSM and manufacturerPSM). I'll try to make the

RE: Equivalent of JSP Includes?

2006-10-04 Thread Mark Stang
Did you ever get a satisfactory solution? I was on vacation... Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -Original Message- From: Mike Grundvig [mailto:[EMAIL PROTECTED] Sent: Sun 9/24/2006 9:11 AM To: Tapestry users Subject:

RE: BeanForm for TP3?

2006-10-04 Thread Mark Stang
Did you ever make any progress on this? thanks, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -Original Message- From: Darío Vasconcelos [mailto:[EMAIL PROTECTED] Sent: Mon 9/25/2006 9:34 AM To: Tapestry users Subject: Re:

Newbie question about ApplicationServlet

2006-10-04 Thread Dave Rathnow
I'm new to Tapestry and have just started working with it. My background is WebObjects so most of my question will come from that perspective. The application I'm developing will be doing some background processing with the UI providing monitoring and control functions. In WebObjects, we

Re: Newbie question about ApplicationServlet

2006-10-04 Thread Dennis Sinelnikov
Hello Dave, There is 1 instance of ApplicationServlet, with newer releases of tapestry there is less and less things I can think of doing in the ApplicationServlet. You can extend from org.apache.tapestry.ApplicationServlet and create your own (perfectly ok to do). In ApplicationServlet,

NotSerializableException - MIME, Persist = client

2006-10-04 Thread Joel
I have a datasqueezer works fine when persisting as a link or value of a radio button, however, if I try to persist=cllient or client:page I get an exception, NotSerializableException and its complaining about MIME in some regard. The datasqueezer happens to return an ID that is in the format

Re: Newbie question about ApplicationServlet

2006-10-04 Thread Jesse Kuhnert
Oh no... Don't do anything remotely like that. You want to go look at jakarta.apache.org/hivemind. It's a very powerful IoC container - and it's also what t4 is built on. You'll find almost any pattern (including thread per session ) available to you once you peek inside. Almost all of the core

Add-on extensions

2006-10-04 Thread Bill Holloway
We're looking to integrate a bulletin board and blog system into our Tapestry app. Are there any such high-level components/extensions around for Tapestry? Bill -- The real threat from global warming is not the number of people who fail to see the danger. The real threat is number who do see