AjaxFormLoop

2012-02-13 Thread Ditso
Hi guys, when using a AjaxFormLoop. I wrote an encoder to do the mapping between client side and serverside. I did this with a List instead of using the database in the backend. When I delete a row with the remove row link and quickly submit the form. I get an error there is no mapping between cli

Re: Display blob image store in session

2012-02-13 Thread tommy_tape5
Hi David... can't you help me to implement your code to my code how to display blob image from session... Regards, Tommy -- View this message in context: http://tapestry.1045711.n5.nabble.com/Display-blob-image-store-in-session-tp5466225p5481290.html Sent from the Tapestry - User mailing list a

RE : implementing a sortable list with jQuery

2012-02-13 Thread Guerin Laurent
I have just tested with Tapestry 5.3.2 and i don't reproduce your problem. Could you test on a page where there is only the ListSorter component ? Thanks. Laurent De : sommeralex [alexander.som...@gmail.com] Date d'envoi : lundi 13 février 2012 19:00 À :

[T5.3.2] Gradle build error

2012-02-13 Thread badluck13
With last release T5.3.2 gradle is trowing exception d:\workspaceNextGen\regme>gradle FAILURE: Build failed with an exception. * Where: Build file 'D:\workspaceNextGen\regme\build.gradle' line: 17 * What went wrong: A problem occurred evaluating root project 'regme'. Cause: You must specify a u

Re: [ANNOUNCE] Tapestry release 5.3.2

2012-02-13 Thread badluck13
Hi just to post a small issue with this release, gradle build is not working in T5.3.2 : d:\workspaceNextGen\regme>gradle FAILURE: Build failed with an exception. * Where: Build file 'D:\workspaceNextGen\regme\build.gradle' line: 17 * What went wrong: A problem occurred evaluating root project

Re: Current Bean in Environment

2012-02-13 Thread Михаил Слободянюк
2012/2/13 derkoe > A workaround could be to create your own context and push the object to the > Environment in BeginRender of your enclosing component. > Or you could use the BeanValidationContext but then you have to add your > object as validate to the Form. > In the case if Grid Context must

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-13 Thread Julien Martin
up please Le 13 février 2012 13:07, Julien Martin a écrit : > Hello, > > I am trying to implement some tapestry tests for my pages. Here is the > test method: > > *@Test* > > * public void test() {* > * String appPackage = "com.bignibou.web";* > * String appName = "app";* > * BignibouPageTester

Re: Form error for beaneditform

2012-02-13 Thread Markus Grell
> On Mon, 13 Feb 2012 18:11:17 -0200, Markus Grell > wrote: > > >> Greetings! >> >> >> For my forms I use something like the following: >> >> >> ... >> @Component(id = "form") >> private Form form; ... >> form.recordError("Could not save blabla"); >> >> And in the template I'm using >> ... >> >>

Re: Form error for beaneditform

2012-02-13 Thread Thiago H. de Paula Figueiredo
On Mon, 13 Feb 2012 18:11:17 -0200, Markus Grell wrote: Greetings! For my forms I use something like the following: ... @Component(id = "form") private Form form; ... form.recordError("Could not save blabla"); And in the template I'm using ... ... Is there something similar for the bean

Re: Display blob image store in session

2012-02-13 Thread David Canteros
Hi! Check this set of mails : http://tapestry.1045711.n5.nabble.com/Uploading-then-displaying-Images-td3423946.html It could help you. Regards! -- David Germán Canteros 2012/2/8 tommy_tape5 > guys i need help immediately...i won

Form error for beaneditform

2012-02-13 Thread Markus Grell
Greetings! For my forms I use something like the following: ... @Component(id = "form") private Form form; ... form.recordError("Could not save blabla"); And in the template I'm using ... ... Is there something similar for the beaneditform? Markus -

Re: PageTester with an application that uses tynamo

2012-02-13 Thread donarus
*Hi...* It is some time from my last visit, but now I have working example. Thanks to the http://shiro-user.582556.n2.nabble.com/Testing-with-Shiro-td5765075.html Testing with Shiro @ nabble mailing list (user mbrictson) package cz.donarus.checker.web; import static org.mockito.Mockito.reset;

Re: Contributing to Tapestry...

2012-02-13 Thread Julien Martin
Hi Thiago, Thanks for the info! Regards, Julien. Le 13 février 2012 20:31, Thiago H. de Paula Figueiredo a écrit : > On Mon, 13 Feb 2012 15:48:37 -0200, Julien Martin > wrote: > > Hello, >> > > Hi! > > > I am a Tapestry user and sometime in the remote future (when I am more >> proficient with

Re: Contributing to Tapestry...

2012-02-13 Thread Thiago H. de Paula Figueiredo
On Mon, 13 Feb 2012 15:48:37 -0200, Julien Martin wrote: Hello, Hi! I am a Tapestry user and sometime in the remote future (when I am more proficient with T5), I might be interested in contibuting ideas/issue reports or patches to Tapestry (if that is possible of course). I feel I need quit

Re: implementing a sortable list with jQuery

2012-02-13 Thread Guerin Laurent
Try with exanpe.version in your properties and not exanpe-version Envoyé de mon iPhone Le 13 févr. 2012 à 18:33, "sommeralex" a écrit : > Hi Guerin, > > i have the error: ArtifactDescriptorException: Failed to read artifact > descriptor for fr.exanpe.ex (Click for 91 more) > > >

Contributing to Tapestry...

2012-02-13 Thread Julien Martin
Hello, I am a Tapestry user and sometime in the remote future (when I am more proficient with T5), I might be interested in contibuting ideas/issue reports or patches to Tapestry (if that is possible of course). I feel I need quite a few more months of T5 experience before being able to contribute

Re: implementing a sortable list with jQuery

2012-02-13 Thread sommeralex
sorry, my fault: i added the @submodule to my page-class, not the appmodule class! IT WORKS THX!!! 2012/2/13 Alexander Sommer > i just re-imported the dependency, no maven could find it. > > but implementing the component doesnt work: > > package com.scrollstory.pages; > > import java.util

Re: implementing a sortable list with jQuery

2012-02-13 Thread sommeralex
i just re-imported the dependency, no maven could find it. but implementing the component doesnt work: package com.scrollstory.pages; import java.util.ArrayList; import java.util.List; import org.apache.tapestry5.annotations.Persist; import org.apache.tapestry5.annotations.Property; import org.

RE: implementing a sortable list with jQuery

2012-02-13 Thread Guerin Laurent
This should work because we use YUI, so you shouldn't have any Javascript conflict with JQuery, but i haven't tried. To test, add exanpe-t5-lib dependency, annotate your module class with @SubModule(ExanpeLibraryModule.class) and declare the exanpe namespace on your page (xmlns:ex="tapestry-libr

RE: implementing a sortable list with jQuery

2012-02-13 Thread Guerin Laurent
Hi, We have a such component in exanpe-t5-lib, but not implemented with JQuery. You can have a look at our online demo here : http://exanpe-t5-lib.appspot.com/components/listsorter/example1 Laurent -Message d'origine- De : sommeralex [mailto:alexander.som...@gmail.com] Envoyé : lundi 13

Re: Basic DAO-"Service"-Test-Setup

2012-02-13 Thread Kalle Korhonen
On Mon, Feb 13, 2012 at 1:19 AM, stebac wrote: > What is the mock used for (particularly in this case)? > I commented out these two lines and it still worked, what is the purpose of > the SessionSource? Of course it "works" if you don't need the SessionSource (which is a T5 concept, not Hibernate

Re: implementing a sortable list with jQuery

2012-02-13 Thread trsvax
The mixin here implements sortable for any element that supports ClientElement. http://tapestry.1045711.n5.nabble.com/detect-textfield-text-change-td5477793.html You need to change the onSort event handler and do something like: -- View this message in context: http://tapestry.1045711.n5.nab

RE: implementing a sortable list with jQuery

2012-02-13 Thread Demey Emmanuel
Hi Alexander question 1: Tapestry5-jQuery insert a default CSS stylesheet. If you want to override it, you need to use the JQuerySymbolConstants.JQUERY_UI_DEFAULT_THEME constant question 2: Where this code come from ? JavaScript ? Template ? do you have a getPageName method in your Java class

Re: The prefix "p" for element "p:else" is not bound.

2012-02-13 Thread sommeralex
xmlns:p="tapestry:parameter" was it. thx! -- View this message in context: http://tapestry.1045711.n5.nabble.com/The-prefix-p-for-element-p-else-is-not-bound-tp5479368p5479424.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Current Bean in Environment

2012-02-13 Thread derkoe
Михаил Слободянюк wrote > > Hi! > Hi! Михаил Слободянюк wrote > > When i wrote bean display/edit block i must know state of other properties > of object in addition to current editable. > Why Grid, BeanEditor and BeanDisplay do not provide it possibility? > A good question - it would be help

Re: The prefix "p" for element "p:else" is not bound.

2012-02-13 Thread Michael Gentry
You have to define the p: prefix at the top of your TML: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> mrg On Mon, Feb 13, 2012 at 9:13 AM, sommeralex wrote: > Hi! > > I just want to use a simple t:if statement in my TML file, but it fails with > th

Re: The prefix "p" for element "p:else" is not bound.

2012-02-13 Thread Emmanuel DEMEY
Did you declare the "p" xml namespace ? http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"; xmlns:p="tapestry:parameter"> <.html> 2012/2/13 sommeralex > Hi! > > I just want to use a simple t:if statement in my TML file, but it fails > with > the error message The prefix "p" for element

The prefix "p" for element "p:else" is not bound.

2012-02-13 Thread sommeralex
Hi! I just want to use a simple t:if statement in my TML file, but it fails with the error message The prefix "p" for element "p:else" is not bound. empty! not empty!

Re: detect textfield text change

2012-02-13 Thread trsvax
While there are many ways to do this specifically I'd use a mixin. I you are using the Tapesty5-jQuery module there is a generic one for this called bind. If not then something like this which makes things sortable: @MixinAfter public class RowSorter { @Parameter

Re: Grid style after inplace update

2012-02-13 Thread Михаил Слободянюк
I do not get error in JS. Not in this case: void onInplaceUpdateFromGrid(String zone){ ajaxResponseRenderer.addCallback(new JavaScriptCallback() { public void run(JavaScriptSupport javascriptSupport) { javascriptSupport.addInitializerCall("updateGrid","");

Re: OpenSAML2 - Blank page

2012-02-13 Thread derkoe
Ditso wrote > > Hi everybody, > Hi! Ditso wrote > > currently we are building an application with an OpenSAML2 login. We are > using a JBOSS 6.1 environment and tapestry 5.2.6. > > Sometimes when we restart the server we are able to login and the pages > are shown. Other times we retrieve a

Re: Grid style after inplace update

2012-02-13 Thread Lance Java
In your example, you are attempting to invoke JavaScriptSupport.addInitializerCall() This requires that the javascript method being invoked is in the Tapestry.Initializer namespace. In your example, it would be trying to invoke Tapestry.Initializer.updateGrid(). If you show the javascript console

Component xxx does not contain embedded component 'yyy'.

2012-02-13 Thread Julien Martin
Hello, I am trying to implement some tapestry tests for my pages. Here is the test method: *@Test* * public void test() {* * String appPackage = "com.bignibou.web";* * String appName = "app";* * BignibouPageTester tester = new BignibouPageTester(appPackage, appName, "src/main/webapp");* * Docume

OpenSAML2 - Blank page

2012-02-13 Thread Ditso
Hi everybody, currently we are building an application with an OpenSAML2 login. We are using a JBOSS 6.1 environment and tapestry 5.2.6. Sometimes when we restart the server we are able to login and the pages are shown. Other times we retrieve a blank page from the redirect. Does anybody had any

Re: detect textfield text change

2012-02-13 Thread Thiago H. de Paula Figueiredo
On Sun, 12 Feb 2012 21:58:08 -0200, Chris Mylonas wrote: With javascript Exactly the same way as you would without Tapestry. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informaç

Re: Basic DAO-"Service"-Test-Setup

2012-02-13 Thread stebac
Hi Kalle, thank you very much for your quick response! I saw this approach before but did not understand it entirely. Maybe a shall supply a little bit more information about my situation: I have a typical t5-service consisting of an interface an the corresponding implementation. The Service is

Re: Grid style after inplace update

2012-02-13 Thread Михаил Слободянюк
13 февраля 2012 г. 10:32 пользователь Lance Java написал: > Try: > > jsSupport.addScript("someFunction('%s')", someVar) > > Where i must place this call? How someFunction has been called?

Re: Grid style after inplace update

2012-02-13 Thread Lance Java
Try: jsSupport.addScript("someFunction('%s')", someVar) On Sunday, 12 February 2012, Михаил Слободянюк wrote: > Hi! > > I use JQuery-UI for styling Tapestry. In JS modify styles presetted on > Grid. But after inplace update styles resetted. > I wroute method in my page > > void onInplaceUpdateFr