Re: Update the interface after form submit but before the onSubmit function returns

2011-04-16 Thread Taha Hafeez
Have a look at https://github.com/ccordenier/tapestry5-hotel-booking/blob/master/src/main/java/com/tap5/hotelbooking/components/AjaxLoader.java It uses a very small ja

Update the interface after form submit but before the onSubmit function returns

2011-04-16 Thread David Woods
Hi, when I submit my form the onSubmit function takes a while to perform its tasks, and then returns a zone. This works fine. My problem is that there is no indication to the user that anything is happening until the process is complete and the zone returns. What I'd like is some sort of message

HTMLUnit & Tapestry 5

2011-04-16 Thread Ray Nicholus
I have written some fairly basic tests that all pass on IE & FF, but fail when I use HTMLUnit. I'm using 2.0b3 for all webdriver deps & geb 0.5.1. Looking at the HTML left by GebReportingSpec for the HTMLDriver, the "sign in" button that it is supposed to click is not appearing as an anchor, rath

Re: T5 IoC Advice: Inconsistent args_size for opc_invokeinterface

2011-04-16 Thread Thiago H. de Paula Figueiredo
On Sat, 16 Apr 2011 09:22:52 -0300, Adriaan Joubert wrote: Hi, Hi! I tried to build a rough-and-ready timer for service method calls by using an advisor. We already use these for transaction management etc and never had an issue. However after many successful calls I suddenly get: Except

Re: Blog Post: Tapestry Magic #1

2011-04-16 Thread Taha Hafeez
done... Added another one http://tawus.wordpress.com/2011/04/16/tapestry-magic-2-ajax-with-graceful-degradation/ regards Taha On Sat, Apr 16, 2011 at 8:47 PM, Adam Zimowski wrote: > I think for purposes of this being complete ready to use example, you > may want to add service contribution to

Re: Tapestry 5.2.5 Select component's multiple property

2011-04-16 Thread TG
Hi Taha, Could you send me all the codes? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-5-Select-component-s-multiple-property-tp4304338p4307637.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Blog Post: Tapestry Magic #1

2011-04-16 Thread Adam Zimowski
I think for purposes of this being complete ready to use example, you may want to add service contribution to the end of your blog post :-) Adam On Sat, Apr 16, 2011 at 9:56 AM, Taha Hafeez wrote: > Thanks Adam > > regards > Taha > > On Sat, Apr 16, 2011 at 8:16 PM, Adam Zimowski wrote: > >> Ta

Re: Blog Post: Tapestry Magic #1

2011-04-16 Thread Taha Hafeez
Thanks Adam regards Taha On Sat, Apr 16, 2011 at 8:16 PM, Adam Zimowski wrote: > Taha - this is very nice ! I think Tapestry needs more advanced > concept examples like this. Well explained, backed by a really good > use-case. Do more! > > Adam > > On Sat, Apr 16, 2011 at 8:06 AM, Taha Hafeez

Re: Blog Post: Tapestry Magic #1

2011-04-16 Thread Adam Zimowski
Taha - this is very nice ! I think Tapestry needs more advanced concept examples like this. Well explained, backed by a really good use-case. Do more! Adam On Sat, Apr 16, 2011 at 8:06 AM, Taha Hafeez wrote: > Hi > > I have blogged about a simple ComponentClassTransformWorker example. It is a >

Re: Setting contenttype of T5 form

2011-04-16 Thread Fernando Benjamin
Hi All, Thank you for all your answers, I've read the form specification ( http://www.w3.org/TR/html4/interact/forms.html) and then I looked into Tapestry's upload component! I understand this component and forms much better now. Again, my goal is: An upload form that uploads files and stores it i

Blog Post: Tapestry Magic #1

2011-04-16 Thread Taha Hafeez
Hi I have blogged about a simple ComponentClassTransformWorker example. It is a small example. Hope somebody will find it useful. http://tawus.wordpress.com/2011/04/16/tapestry-magic-1-using-componentclasstransformworker/ regards Taha

T5 IoC Advice: Inconsistent args_size for opc_invokeinterface

2011-04-16 Thread Adriaan Joubert
Hi, I tried to build a rough-and-ready timer for service method calls by using an advisor. We already use these for transaction management etc and never had an issue. However after many successful calls I suddenly get: Exception in thread "Thread-26" java.lang.VerifyError: (class: Invocation$Mont

Re: t5: create a record from another table, what is best practice?

2011-04-16 Thread Taha Hafeez
public class MakeProfile { @Inject private Session session; @Property private String email; @Property private String name; @Property @Persist(PersistenceConstants.FLASH) private Application app; void onActivate(String code_ref) { if(app == null){

Re: t5: create a record from another table, what is best practice?

2011-04-16 Thread Angelo C.
Hi, Thanks, but how to pass a string to prepareForRender? -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-create-a-record-from-another-table-what-is-best-practice-tp4307107p4307173.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: t5: create a record from another table, what is best practice?

2011-04-16 Thread Taha Hafeez
Hi onActivate() is called each time a page is loaded. So if you have a form on a page, onActivate() will be called on both at the time of rendering and submit/action phase So if you have to initialize any variables before showing them in a form do it in prepareForRender event of the form and if y

t5: create a record from another table, what is best practice?

2011-04-16 Thread Angelo C.
Hi, I have a form with email and name fields, and when the page is activated, it will retrieve an existing application, then initialize email and name, when submit is clicked, a Profile record is created in onSuccess and persisted, the following code seems not working, what is a right practi