Re: Tapestry-Bootstrap : Using the component

2012-09-04 Thread indiancomet
I would agree with you. I am thinking of creating another component now ... maybe ButtonGroupSelect that will let me achieve the look and feel of a ButtonGroup for a select -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Bootstrap-Using-the-t-select-component-tp5

Re: Tapestry Bootstrap : Autocomplete dropdown style

2012-09-04 Thread indiancomet
Sure. I did fork the repo yesterday. Would you care to point me to which files i should be focussing on. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Bootstrap-Autocomplete-dropdown-style-tp5716016p5716052.html Sent from the Tapestry - User mailing list archiv

Re: Binding an array and accessing elements of that array in a template

2012-09-04 Thread Michael Prescott
Also, a Loop will let you do something like: With a property: @Property private int /* or whatever */ monthlyBill; Michael On 4 September 2012 16:52, Russell John-Baptiste wrote: > Sorry if this was answered or shown else where but i'm not seeing it. > > I have an array called MonthlyBi

Re: Binding an array and accessing elements of that array in a template

2012-09-04 Thread trsvax
If you make a method in your page class public String monthlyBill(Integer index) { return monthlyBill[index]; } I think you can this in the tml file -- View this message in context: http://tapestry.1045711.n5.nabble.com/Binding-an-array-and-accessing-elements-of-that-array-in-a-temp

Binding an array and accessing elements of that array in a template

2012-09-04 Thread Russell John-Baptiste
Sorry if this was answered or shown else where but i'm not seeing it. I have an array called MonthlyBills[12] in my page class. In my template, how can I reference each index? ...etc. does not work. Cheers.

Re: No service implements the interface org.springframework.context.ApplicationContext.

2012-09-04 Thread Shing Hing Man
In your web.xml, please check you are using TapestrySpringFilter (instead of TapestryFilter):               app         org.apache.tapestry5.spring.TapestrySpringFilter     Shing From: Borko Djurovic To: users@tapestry.apache.org Sent: Tuesday, September

No service implements the interface org.springframework.context.ApplicationContext.

2012-09-04 Thread Borko Djurovic
I have *aplicationContext.xml* - configuration file: PROPAGATION_REQUIRED PROPAGATION_REQUIRED

Re: Plastic: Test that 2 object references are equal

2012-09-04 Thread Josh Canfield
Perhaps I don't understand what you mean by using plastic. Plastic doesn't change how equality works. == is reference compare, use .equals if they are objects. Are you trying to inject .equals into a transformed object? On Mon, Sep 3, 2012 at 1:39 AM, Thim Anneessens wrote: > Hi Josh, > > I am t

Re: Can't change BeanEditForm submitLabel with a mixin?

2012-09-04 Thread Lance Java
I'm starting to agree with your original suspicions that it's something to do with the "message:" binding. Under the hood, MessageBindingFactory creates a LiteralBinding which can be seen in the error message. I'm guessing you are in some byte code state where tapestry can read from the binding but

Re: Can't change BeanEditForm submitLabel with a mixin?

2012-09-04 Thread trsvax
here is the current working mixin. It uses markup writer to set the button value because submitLabel = defaultLabel; will result in the error public class BeanEditDefaults { @BindParameter private String reorder; @BindParameter private String submitLabel;

Re: Can't change BeanEditForm submitLabel with a mixin?

2012-09-04 Thread Lance Java
Can you post the code that attaches the mixin to the beaneditform (either TML or Java) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Can-t-change-BeanEditForm-submitLabel-with-a-mixin-tp5716012p5716037.html Sent from the Tapestry - User mailing list archive at Nabble.co

RE: onUnload method from AfterRender

2012-09-04 Thread Athneria, Mahendra
Thanks Lance, I'll check whether it works or not. -Original Message- From: Lance Java [mailto:lance.j...@googlemail.com] Sent: Tuesday, September 04, 2012 1:23 PM To: users@tapestry.apache.org Subject: Re: onUnload method from AfterRender Don't use window.unload directly as prototype/jq

Re: Tapestry 5.3.5

2012-09-04 Thread Geoff Callender
This bug messes up too many examples in JumpStart, so I won't be releasing a JumpStart for Tapestry 5.3.5. On 02/09/2012, at 7:29 PM, Geoff Callender wrote: > It looks like Zone "highlight" has stopped working, and zone "slidedown" and > "slideup" fail altogether (javascript error). > > It lo

Re: onUnload method from AfterRender

2012-09-04 Thread Lance Java
Don't use window.unload directly as prototype/jquery do special things with this function. Use prototype's Event.observe instead (or jQuery bind if using tapestry-jquery). eg: Event.observe(window, 'unload', function() { // your unload actions }); -- View this message in context: http://t

Re: Why such a simple defect can not be fixed?

2012-09-04 Thread Ulrich Stärk
The problem really is that all committers are volunteers working on Tapestry in their free time. Granted, some earn their living with Tapestry consulting work but nobody is paid directly to work on issues. That leads to a situation were committers chose the issues that press them most personally