Re: [5.4] Zone's initial visibility

2014-08-07 Thread Bob Harner
I've wondered the same thing. I believe it was part of the clearing out of client-side JavaScript effects that relied on Scriptaculous. http://tapestry.apache.org/ajax-and-zones.html says: "For 5.4, there are client-side events that are triggered before and after changes to the Zone; listeners on t

Re: injecting symbols in QA mode

2014-08-07 Thread Ilya Obshadko
I finally found the answer. In fact, deprecated maven tag is not just deprecated, it's now ignored. When I've changed that to everything started to work as expected. On Fri, Aug 8, 2014 at 2:00 AM, Ilya Obshadko wrote: > I don't have any problems with module classes (yet). The problem is onl

select not updating in a zone

2014-08-07 Thread squallmat .
Hi, I have a zone in which I have a select with a list of objects. When I select a value, this one should be add in another list of chosen values, and this value should disappear in the select. I've done that : (${message:selectToAdd}) - ${chosenTerminal.getNom()} public Object onValueC

Re: issue when upgrade 5.2.6 -> 5.3.7

2014-08-07 Thread D.R.
sure that @Property anotated members can be protected??? i don't believe. can anybody confirm? Am 07.08.2014 um 16:38 schrieb Muhammad Gelbana: > I would have 2 private properties for each class with different names. Or > have one protected member variable in the parent class. > > *-

Re: injecting symbols in QA mode

2014-08-07 Thread Ilya Obshadko
I don't have any problems with module classes (yet). The problem is only with injected configuration symbols. When I'm running 'mvn test', I can see that module binding works fine, but when it comes to service contribution methods, I receive an error. So I have a method in my main application mod

Re: issue when upgrade 5.2.6 -> 5.3.7

2014-08-07 Thread Muhammad Gelbana
I would have 2 private properties for each class with different names. Or have one protected member variable in the parent class. *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Thu, Aug 7, 2014 at 5:05 PM, D.R. wrote: > Hi, > > i am facing an issue while upgr

issue when upgrade 5.2.6 -> 5.3.7

2014-08-07 Thread D.R.
Hi, i am facing an issue while upgrading T5.2.6 to 5.3.7 when a Pageclass (or component) extends. In the superclass, a have a @Property called "asdf" and the subclass has also that @Property called "asdf". Both are "private" and it worked without problems in 5.2.6 With 5.3.7 i get: [ERROR] ioc.

persistence, form and ajaxformloop

2014-08-07 Thread squallmat .
Hi, I have a form with fields associated to the different members of an entity. Certain fields are lists on which I use the Ajaxformloop. When I try to submit and that validation problems occur, the fields retain their values except the lists on which I use Ajaxformloop. Then If i want failed-su

Re: ajaxformloop and zone

2014-08-07 Thread squallmat .
I added this callback on both add and remove functions, but when I add row I get this error appearing on top of the windows : "Communication with the server failed: TypeError: undefined is not a function". And it doesn't do it when the callback is done by the remove call. If there were a problem l

Re: ajaxformloop and zone

2014-08-07 Thread Chung Khanh Duy
Hi, Sorry I put some wrong code @_@. The java code should be as below: ajaxResponseRenderer.addCallback(new JavaScriptCallback() { @Override public void run(JavaScriptSupport javascriptSupport) { javascriptSupport.addScript('callUpdateZone()"); } }); You have to import org.apache.tapestry5.ser

Re: ajaxformloop and zone

2014-08-07 Thread squallmat .
thanks for your answer Chung, I tried it but when i add a row I got this error : No object of type org.apache.tapestry5.services.javascript.JavaScriptSupport is available from the Environment. 2014-08-07 10:08 GMT+02:00 Chung Khanh Duy : > Hi, > > You could not call updating zone in onAddRow or

Re: ajaxformloop and zone

2014-08-07 Thread Chung Khanh Duy
Hi, You could not call updating zone in onAddRow or onRemove(). This is my way to do that: 1. Declare one action link in tml file: 2. in Java code, we callback a javascript function onRemoveRow() { javascriptSupport.addScript("callUpdateZone()"); } Object onActionFromUpdateZoneLink

Re: ajaxformloop and zone

2014-08-07 Thread squallmat .
Any help ? :( 2014-08-06 15:21 GMT+02:00 squallmat . : > Hi, > > I try to do a zone-update when adding or removing a row from an > ajaxformloop component. I have : > > > > > > ${message:fieldName} > ${message:fieldContent} > > > > > > > t:source="applicatifDto.ChampList" t:value="

Re: injecting symbols in QA mode

2014-08-07 Thread Lance Java
As I mentioned, there's a PageTester constructor which accepts module classes. You can explicitly pass the modules you want to test. Please ignore my earlier comments regarding pom.xml. I was assuming you were talking about the jar manifest when you were discussing maven surefire properties. It's