Re: Creating an image service to make an image verification box for new user sign up

2006-04-18 Thread Michael Lake
awesome..i'm all over it. I wonder if the creators know that the image doesn't come up the first time.. this should totally be a packaged addon.. -mike Nicholas Marchalleck wrote: Mike, Just a couple days ago there was talk on this list about using JCatcha (http://jcaptcha.sourceforge.net

RE: PopupLinkRenderer

2006-04-18 Thread Craig Spry
Don't worry about my question I figured it out for myself. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Creating an image service to make an image verification box for new user sign up

2006-04-18 Thread Nicholas Marchalleck
Mike, Just a couple days ago there was talk on this list about using JCatcha (http://jcaptcha.sourceforge.net/) as a Tapestry component. I think it's being used in the OpenDating project (http://www.opendating.org/), so you might want to check the source. If you register there you'll see it in us

Creating an image service to make an image verification box for new user sign up

2006-04-18 Thread Michael Lake
Has anyone created a library for outputing an image of letters/numbers + form element to make a "is this a human user" verifier? I have Tong's T4 book, which shows the exact process of outputting an image. And I've also come across this exchange which mentions some talk of a library.. http:

How to encapsulation a form compoennt?

2006-04-18 Thread Jun Tsai
Hi,all I want to write to a component to encapsulation tacos:autocompleter.Ididn't want to use java extends and copy jwc file. Have an agile method to do it? PS: beacause My AutoCompleter has some denominators, so I want to encapsulation tacos:autocompleter. Jun Tsai -- Welcome to China J

Meet at Java One Conference

2006-04-18 Thread Cliff Zhao
Will anybody here be in the Java One Conference this year? Any interest for a gathering there? Thanks.

Re: tapestry for a webwork developer

2006-04-18 Thread Nick Faiz
Ive been using webwork 2 previously to this, my first project with Tapestry (4.0). I think the weirdest thing was accepting the idea of using ASO's (Application State Objects), whereas in webwork 2 we coded to a stateless model. I still have to see how it scales but we're running with it

PopupLinkRenderer

2006-04-18 Thread Craig Spry
I was wondering if someone could give me an example of PopupLinkRenderer being used, I'm having trouble getting it to work, here is my code: link name Where link is the name of an external page that is generated in the page class. On an unrelated not I've written a link reneder for Dojo menus, i

RE: wrong squeezer used when trying to @Persist("client")

2006-04-18 Thread James Carman
We've discussed this before (http://mail-archives.apache.org/mod_mbox/jakarta-tapestry-user/200602.mbox/ [EMAIL PROTECTED]). I was burned by the same thing. The "client" persistence strategy doesn't use the squeezers to write out the data. -Original Message- From: Ted Steen [mailto:[

wrong squeezer used when trying to @Persist("client")

2006-04-18 Thread Ted Steen
Hi! I've made a HibernateSqueezer that works fine, apart from one thing.. When I try to @Persist("client") a property that should be squeezed with the HibernateSqueezer tapestry falls back on the standard DataSqueezer (wanting a Serializable object). Now, is this a bug or am I doing something wron

Re: T4 table checkbox working

2006-04-18 Thread Sam Gendler
> Some gotchas > 1) The converter does not work when bound to a contrib:Table or > contrib:TableView. You need to bind this parameter to the TableRows. So THAT'S why my primary key converter's all started suddenly working when I moved the page links to the bottom of the table. I changed from co

Re: Forms in forms

2006-04-18 Thread James Sherwood
Yes and it works fine as long as you type that url in the browser or click on the link What I am doing is using the beginResponse to do a getRequestCycle().getRequestContext().redirect to the url with the anchor in it that works if you just type it in the url. But i get a Page 'ConferenceSignU

Re: Forms in forms

2006-04-18 Thread Onno Scheffers
James Sherwood schreef: WOW, im really getting frustrated with anchors and Tapestry, it seems like they just will NOT get along. Does anyone know how to send someone to a page with an anchor? Well.. the components (like PageLink) have an anchor parameter that you can pass along. It should c

Re: page injection, properties, and session

2006-04-18 Thread Hans L
Thank you -- I did upgrade and this does seem to be working as expected. Of course, now I'm having a hard time replicating the weird behavior in the previous (beta2) version :) Thanks for the help- Hans Andreas Andreou wrote: I believe that's a tacos problem... Can you try the latest beta-3

Re: Forms in forms

2006-04-18 Thread James Sherwood
WOW, im really getting frustrated with anchors and Tapestry, it seems like they just will NOT get along. Does anyone know how to send someone to a page with an anchor? http://localhost/nstu/app?service=page/ConferenceList#anchorspot does not work, any ideas? James - Original Message

Re: Forms in forms

2006-04-18 Thread James Sherwood
I am trying to build a form with many options in it such as textfields etc AND have a dropdown box(select/propertyselection) with an onchange submit. I did this by having the onchange submit submit the form and use the listener with the form and the actuall submit button use a different listen

RE: Forms in forms

2006-04-18 Thread Kristian Marinkovic
Hi James, i don't know what you want to achieve but the HTML/XHTML specification says, that a FORM may not contain another FORM element http://www.w3.org/TR/html401/interact/forms.html greetings, kris "J

Forms in forms

2006-04-18 Thread James Sherwood
Is there a way to accomplish having a form inside a form. Basically I want to do something like this: Is this possible? Thanks, James - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

T4 table checkbox working

2006-04-18 Thread Phillip Rhodes
I wanted to put this on the list for the next person who needs to get tables with checkboxes in T4 with a IPrimaryKeyConverter working. Some gotchas 1) The converter does not work when bound to a contrib:Table or contrib:TableView. You need to bind this parameter to the TableRows. 2) Form element

Re: page injection, properties, and session

2006-04-18 Thread Andreas Andreou
I believe that's a tacos problem... Can you try the latest beta-3 from http://tacos.sourceforge.net/nightly/ and tell us if it works? Hans Lellelid wrote: > Hi, > > This started out as a question on the Tacos list, but it seems like > the real issue for me is related to page injection, property

page injection, properties, and session

2006-04-18 Thread Hans Lellelid
Hi, This started out as a question on the Tacos list, but it seems like the real issue for me is related to page injection, property setting, and session persistence. The problem that I am facing is that properties that are annotated as @Persist do not seem to actually be persisting in the s

Re: Date component

2006-04-18 Thread Mike Snare
No problem. Anyway, you might take a look at some of the links on the wiki. http://wiki.apache.org/jakarta-tapestry/ExtraComponents -Mike On 4/18/06, Oscar Picasso <[EMAIL PROTECTED]> wrote: > I am sorry. > > Not removing the old text was a mistake.

Re: Date component

2006-04-18 Thread Ivano
http://sundraw.ws/components.php Ivano. Oscar Picasso wrote: Is there a date component out there that would display drop down lists with days, months and years instead of a montly calendar as the DatePicker does. It should be parametrizable a least to allow to limit the year values to a cer

Re: Date component

2006-04-18 Thread Oscar Picasso
I am sorry. Not removing the old text was a mistake. Mike Snare <[EMAIL PROTECTED]> wrote: Don't know about the date component, but if you are going to respond to old emails to start new threads, could you at least do us the favor of removing the old text first? Thanks, -Mike -

Re: Date component

2006-04-18 Thread Mike Snare
Don't know about the date component, but if you are going to respond to old emails to start new threads, could you at least do us the favor of removing the old text first? Thanks, -Mike - To unsubscribe, e-mail: [EMAIL PROTECTED]

Date component

2006-04-18 Thread Oscar Picasso
Is there a date component out there that would display drop down lists with days, months and years instead of a montly calendar as the DatePicker does. It should be parametrizable a least to allow to limit the year values to a certain range. Oscar Oscar Picasso <[EMAIL PROTECTED]> wrote: That

RE: ICallback/Session problem

2006-04-18 Thread James Carman
Well, as for the SecurityContext: 1. Set up a session-scoped ASO which can hold the current user's id. 2. Set up a SecurityContext service in HiveMind (threaded service lifecycle model of course). Inject the ApplicationStateManager into it (just provide a setter) so that it can look up the ASO

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
| IMO this design can be improved: Try changing to external page instead | of direct link. then use a callback for the external page. The external | parameters should contain the "state" - thus the id of the db object you | need. creating the callback may be tricky: for that I use callbacks |

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi James, On 18. Apr 2006 - 06:55:12, James Carman wrote: | That's how I do it. I store the user-id in the session inside one of my | ASOs. Then, I have a threaded service called SecurityContext which actually | will lazily load the actual user object during the request cycle if it's | asked for

RE: ICallback/Session problem

2006-04-18 Thread James Carman
That's how I do it. I store the user-id in the session inside one of my ASOs. Then, I have a threaded service called SecurityContext which actually will lazily load the actual user object during the request cycle if it's asked for by someone (like a security interceptor or something). -Origi

Re: Tapestry and backbutton

2006-04-18 Thread Inge Solvoll
The back button stuff seems to be working in the beta2 demo now, thanks! On 2/7/06, Inge Solvoll <[EMAIL PROTECTED]> wrote: > > The solution with rollback to alpha6 seems to be no good, there seems to > be API-changes in the Tapestry4 version since then, so tacos4-alpha6 and > Tapestry 4 final are

Re: ICallback/Session problem

2006-04-18 Thread Ron Piterman
Andreas Bulling wrote: Hi Ron, thanks for your answer! | I don't fully understand what your ICallback does and where in the work | flow it is activated - Well, actually as a first version I just took the one from the vlib example... When the user has been idle for some period of time the log

library directory structure layout (maven2)

2006-04-18 Thread Ted Steen
I'm looking for a sample of how to structure my resources, javafiles and jwc/page files when I create a library for T4. I'm using maven I just need a good example I can look at Thanks! /ted - To unsubscribe, e-mail: [EMAIL PROTEC

RE: Very simple localization

2006-04-18 Thread Oscar Picasso
That was exactly what I was looking for. I don't know how I have missed that one. Thanks again. Oscar James Carman <[EMAIL PROTECTED]> wrote: Nevermind the filter. Try this in your application file... -Original Message- From: Oscar Picasso [mailto:[EMAIL PROTECTED] Sent: Monday,

Re: ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi Ron, thanks for your answer! | I don't fully understand what your ICallback does and where in the work | flow it is activated - Well, actually as a first version I just took the one from the vlib example... When the user has been idle for some period of time the login page is shown again and

Re: ICallback/Session problem

2006-04-18 Thread Ron Piterman
I don't fully understand what your ICallback does and where in the work flow it is activated - My solution is to design pages that always work, thus, keep the minimum necessary in the Visit (eg current logged in user-id) - the rest on the client - some examples: - a direct link should use pa

Re: accessing static property in tapestry html template

2006-04-18 Thread Andreas Andreou
Aninder Makkar wrote: >Hi , > i have a html template which is accessed by 2 different > page-specifications(page x , page y)(most of the template was the same so > i've created just one template) > > In the html template i need to know which page specification has > initialised the t

ICallback/Session problem

2006-04-18 Thread Andreas Bulling
Hi folks, I have a problem with the user login session in Tapestry and my custom ICallback and I would like to hear about your best-practice solutions again ;-) The problem is that if the user session gets invalidated due to a timeout for example and the user logs in again I get an exception on t

accessing static property in tapestry html template

2006-04-18 Thread Aninder Makkar
Hi , i have a html template which is accessed by 2 different page-specifications(page x , page y)(most of the template was the same so i've created just one template) In the html template i need to know which page specification has initialised the template in order to use the CSS accor