Re: Tacos issues

2006-07-05 Thread Jesse Kuhnert
Did something not work when you tried the snapshot build of 4.1? I think jwebunit uses httpunit which uses Rhino (ie mozilla ) to handle the javascript testing. Tapestry uses Rhino to test javascript now as well, but we code directly against the rhino api. HttpUnit and others have tried (unsucces

Re: Tacos issues

2006-07-05 Thread Aslak Grønflaten
Thanks for a good answer. Obviously, my experience with tacos and tapestry 4.1 are extremely limited, so it's good to hear more of what's going on. My concern arose from trying out a snapshot of 4.1, and seing that standard components such as LinkSubmit use Dojo, thus seeming to depend on it. Also

Re: help please, problem with image map using Tapestry 4 !!!

2006-07-05 Thread Jesse Kuhnert
The easiest option (imho) would be to use the java 2d api (should be perfectly safe in server mode) to find the image size on the server and use those values to write to your DirectArea. On 7/5/06, Alex Tian <[EMAIL PROTECTED]> wrote: Hi, everyone, I'm a beginner with tapestry 4 and got stuck

help please, problem with image map using Tapestry 4 !!!

2006-07-05 Thread Alex Tian
Hi, everyone, I'm a beginner with tapestry 4 and got stuck with a problem for 3 weeks already... my task is: 1. create a dynamic image based on some data provided from user's input 2. create a buffered image and display that image on the page 3. use image map to make some regions of that image cl

Re: Easier Form Manipulation, how do i...?

2006-07-05 Thread robertz
I've used a messy kludge in situations like this. Messy... kludgy but it /does/ work. =) The gist of the idea is that you render your form fields like normal, using the list edit. You also render a @Hidden field (make sure to set the "encode" property to false). Now you use DOM to add your fiel

Re: access global from tapestry service?

2006-07-05 Thread Shing Hing Man
Have you try injecting the application state manager into your service and use the application state manager to retreive the global ? You could give the following a try. Step1) Add the following to the of your service : Step 2) In the .java file of your service add: private ApplicationSta

Re: Easier Form Manipulation, how do i...?

2006-07-05 Thread Jesse Kuhnert
I don't think it would be easyToo bad you're on tap3 only. I'd have all kinds of suggestions otherwise.. On 7/5/06, Brian Duchek <[EMAIL PROTECTED]> wrote: Question: If I have a ListEdit (in Tapestry 3) wrapped in a custom component for displaying some name/value textfield pairs, and want t

Easier Form Manipulation, how do i...?

2006-07-05 Thread Brian Duchek
Question: If I have a ListEdit (in Tapestry 3) wrapped in a custom component for displaying some name/value textfield pairs, and want to give the user the ability to quickly add more pairs of fields, can I fake out the rewind phase by naming the fields smartly and updating the hidden field used to

access global from tapestry service?

2006-07-05 Thread Phillip Rhodes
I am writing an EmailVerificationService (user clicks on link in email and it hits my tapestry service). Inside my service, I need to have access to the application Global object (defined in my tapestry app spec file). I didn't see the application global object as an available option in the inf

Re: RadioGroup validation

2006-07-05 Thread Phillip Rhodes
I don't know if this is related, but if you try to do any client-side validation with a radiogroup, the presence of a radio group will break all client-side validation. Sorry if this doesn't help you, but thought I would share what could be more symptoms of the problem. > > Hi, > > As of Tapest

Re: CMS Integration

2006-07-05 Thread Phillip Rhodes
What are the basic requirements? CMS is a many-faceted beast. > Has anyone integrated any sort of CMS tool with Tapestry? I've looked into > Magnolia and several others, but all seem to require an uphill battle if > they are to be tied into Tapestry and I was wondering if someone else has > alre

RE: NullPointerException in cleanupAfterRender()

2006-07-05 Thread Petter Måhlén
Hi again, It struck me that maybe the problem was related to how the page was invoked, and it turned out to be right: public IPage doEdit(int id) { System.out.println("doEdit(" + id + ")"); Entity entity = getEntityLister().getEntity(id); EditItemPage pa

RE: Wizard...

2006-07-05 Thread Jonathan Barker
James, A simple option would be to turn off client-side validation. I have an application in which multiple people (buyer, seller, realtors) must be associated with a single estimate. I use a pop-up window that has its own workflow for searching for and choosing, or adding a new person (and even

RadioGroup validation

2006-07-05 Thread Christian Dutaret
Hi, As of Tapestry 4.0, RadioGroup components can be validated, but delegate decorations are not rendered. Is this expected behavior? If I can make a suggestion, prefix and suffix could be easily rendered, and attributes could be rendered through an enclosing span tag (since RadioGroup does n

RE:

2006-07-05 Thread James Carman
The @Shell component will automatically add a base tag to your HTML output. In order to keep it from doing it, you have two choices: 1. Don't use a @Shell component. 2. Tell it not to by using the renderBaseTag="ognl:false" directive as you stated. -Original Message- From: Diego [mail

users@tapestry.apache.org

2006-07-05 Thread Diego
Hello, Does anybody know why in my application in the html the following tag appears: http://localhost:8080/myapp/"/> I can remove it by adding the renderBaseTag="false" to the shell component, but that is not how it should be. Regards Diego

Wizard...

2006-07-05 Thread James Carman
All, I am trying to develop a "wizard" for a page I'm working on. Basically, the user needs to select something to be a property of the object they're editing on the current page. The object they need to select is a child in a parent/child relationship and there are *way* too many parents to jus

Re: Theoretical question: Differences and similarities between page and hivemind service.

2006-07-05 Thread James Carman
I understood your request. I just thought I'd offer up that project to help some of your service wiring woes while we await Tap5. Hope it helps. It works quite well on our project at work. > Thats not only about services auto-wiring. Having page as a service > allows to get rid of BasePage ( Ba

Re: Theoretical question: Differences and similarities between page and hivemind service.

2006-07-05 Thread Richard Kirby
Hi Aleksej, See http://wiki.apache.org/tapestry/Tapestry5Roadmap - this is coming in Tapestry 5, although that is definitely a ways off. Cheers Richard Aleksej wrote: Thats not only about services auto-wiring. Having page as a service allows to get rid of BasePage ( BaseComponent ) hierarch

Re: Theoretical question: Differences and similarities between page and hivemind service.

2006-07-05 Thread Aleksej
Thats not only about services auto-wiring. Having page as a service allows to get rid of BasePage ( BaseComponent ) hierarchy. I am sure that there are lots of people ( including tapestry developers ) who wanted to see pages as a POJO's . ---

NullPointerException in cleanupAfterRender()

2006-07-05 Thread Petter Måhlén
Hi, I've been struggling for some hours now with a weird problem that I don't at all understand where it comes from. I'm using Tapestry 4.0.2, and the stacktrace of the exception, which happens when i try to display the page, is: # org.apache.tapestry.bean.BeanProvider.(BeanProvider.java:104) # o

Re: Tapestry JumpStart - calling all armchair critics!

2006-07-05 Thread Bernard Lange
Geoff Callender wrote: > And if you spot any poor Tapestry practises in the code then please let > me know ASAP! I'd hate to be responsible for spreading bad techniques. I would suggest adding redirect-after-POST pattern ,

Re: ClassCastException when using intValidator

2006-07-05 Thread D&J Gredler
Slightly related... does anyone know why the IntValidator wasn't ported to the new (4.x) validation framework? On 7/5/06, Firas A. <[EMAIL PROTECTED]> wrote: Your suggestion helped me get pass the exception. I had to do other adjustments too, like this: Note: removed the 'int' and changed 'ma

RE: ClassCastException when using intValidator

2006-07-05 Thread Firas A.
Your suggestion helped me get pass the exception. I had to do other adjustments too, like this: Note: removed the 'int' and changed 'maximum' to max. Thanks Shing! -Original Message- From: Shing Hing Man [ mailto:[EMAIL PROTECTED] Sent: den 4 juli 2006 1