Re: New Tynamo releases: Tapestry-security 1.0.0 & tapestry-resteasy 1.0.0 released for Tapestry 5.9.0

2025-07-04 Thread Christopher Dodunski (Tapestry)
Hi Kalle, Thank you for maintaining these two projects. You've clearly invested significant time and effort in bringing both to fruition, and I commend you for that. Nice, clear documentation too! I wish I'd discovered tapestry-security when starting work on one particular web a

Re: Fieldless form

2025-07-04 Thread Christopher Dodunski (Tapestry)
Hello Ben & Thiago, Thanks, both, for coming with those excellent ideas and suggestions! In the end I opted not to use a form, employing simple EventLinks instead (as suggested). The functionality Tapestry forms provide out-of-the-box - validation and error reporting - I decided I could

Fieldless form

2025-07-02 Thread Christopher Dodunski (Tapestry)
Hi all, I have a simple but unusual use case for a Tapestry form, whereby its output will be one of 27 options: A to Z plus an asterisk (for all). Obviously I could take the conventional approach of using 27 radio buttons along with a submit button. This would require two clicks from the

Tapestry + ETag headers

2024-10-04 Thread Christopher Dodunski (Tapestry)
Hello all, I’m exploring the possibility of adding ETag headers to images my Tapestry application is serving, to help improve performance on slower networks. It seems that Apache Server automatically adds ETag headers to images sourced from static files (Tapestry @Asset), but not when

Re: RequireJS timeout error

2024-09-17 Thread Christopher Dodunski (Tapestry)
Conclusion: The callback mechanism for modifying RequireJS's configuration on the go seems to have done the trick. I was able to disable RequireJS's default 7 second timeout. Not being entirely sure of when in the page's lifecycle the JS gets sent and the timeout clock starts ticking, I mad

Re: RequireJS timeout error

2024-09-17 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for those suggestions. In my case, RequireJS is pulling a remote JavaScript library as per the @Import annotation (below) on the pages’s class, so not a local jQuery module. The issue seems to arise when a user expands/refreshes a particular zone containing a large number o

RequireJS timeout error

2024-09-16 Thread Christopher Dodunski (Tapestry)
Hi team, Starting with version 5.4, Tapestry uses RequireJS modules internally, and provides support for using RequireJS modules in our own Tapestry applications. I'm wondering whether there is a mechanism in place for configuring RequireJS from my AppModule? On networks with

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-13 Thread Christopher Dodunski (Tapestry)
e released back to the pool. This was the only little glitch encountered in getting Tapestry working hand-in-hand with the WebSocket API, and I'm glad to have it sorted. I appreciate your pointers which certainly saved me much time. /** * Method to manually instruct registry to

Re: Tapestry-hibernate module seemingly leaking connections

2024-06-11 Thread Christopher Dodunski (Tapestry)
ation I've been able to narrow down exactly which calls to HibernateCrudServiceDAO produce these leaked connections. When this DAO service is invoked using dependency injection - as it is in most cases - connections do not get leaked. So, for the most part the tapestry-hibernate module

Tapestry-hibernate module seemingly leaking connections

2024-06-04 Thread Christopher Dodunski (Tapestry)
Hi, My application's DAO class is employing an injected Hibernate Session for accessing a MySQL DB. Connection pooling is provided by C3PO. My understanding is that the Tapestry Hibernate IoC (per thread) service takes care of closing DB connections under the hood, releasing them bac

Re: Illegal char <<> at index 18: StreamableResource

2024-05-20 Thread Christopher Dodunski (Tapestry)
Thank you Ben, also for detailing a workaround. Glad to hear you are on the matter. The web application I upgraded isn't particularly busy and I've opted to disable minification, as below, until a permanent fix is in place, possibly version 5.8.7. configuration.override(SymbolConstants.M

Illegal char <<> at index 18: StreamableResource

2024-05-20 Thread Christopher Dodunski (Tapestry)
Hi all, Today I encountered the below exception after upgrading from Tapestry 5.8.2 to 5.8.6, and am wondering what changed between these versions that might have led to this. A dependency incompatibility perhaps? Evidently not liking the angle bracket immediately following

Re: Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-10 Thread Christopher Dodunski (Tapestry)
Hi Ben, Thank you for your investigative efforts, even though you weren't yet able to pinpoint the exact cause. And thank you, you and Vangel, for sharing that workaround. Occasionally, this HibernateCrudServiceDAO method works as expected. Most times not. This seeming randomness fits wit

Problem running Tapestry 5.8.2 with Hibernate 5.4.32.Final

2023-06-09 Thread Christopher Dodunski (Tapestry)
Hello, I've encountered an issue after upgrading from Tapestry 5.6.4 to 5.7.3. This included moving from Hibernate 5.1.0.Final to 5.4.32.Final (as per the guidelines). The HibernateCrudServiceDAO method below is now failing to fetch named queries via the injected org.hibernate.Se

Tapestry 5.7.0 migration tool

2023-06-06 Thread Christopher Dodunski (Tapestry)
Hello, Today, with the help of the handy migration tool, I upgraded from Tapestry 5.6.4 to 5.7.3. Below are some packages which it missed. Just letting you know in case you might like to add these to the tool's properties file for future users. org.apache.tapestry5.beaneditor.Bean

Re: Tapestry Grid encoder

2022-05-13 Thread Christopher Dodunski (Tapestry)
Thank you for those suggestions, Volker. The common theme seems to be that I should allow Tapestry to create a default BeanModel rather than create a new instance of one in my Java class, correct? Your second suggestion is nearest to what I've done, except that I return a new Bean

Tapestry Grid encoder

2022-05-13 Thread Christopher Dodunski (Tapestry)
Hi all, I'm trying out the Tapestry Grid component for the first time in one of my projects. During rendering I'm presented with the below exception. "Render queue error in BeginRender[vessel/Read:grid.rows]: Failure writing parameter 'row' of component vesse

Re: Navigation to section of a page

2022-03-24 Thread Christopher Dodunski (Tapestry)
Hi Ben and Thiago, Thank you for your well considered suggestions on accommodating anchor points in returned pages. I've stored them away for possible future use. I wound up solving the original problem in a rather different way, using a RequireJS module. Background: My web application has

Navigation to section of a page

2022-03-20 Thread Christopher Dodunski (Tapestry)
Hi, Quick question: Tapestry is flexible when it comes to return types for page navigation. "When a string is returned, it is expected to be the logical name of a page." Although I've not tried it, presumably this means the likes of "Index#footer" isn'

Re: File downloading in Tapestry

2021-11-16 Thread Christopher Dodunski (Tapestry)
Thank you, Charles and Ben, for the helpful pointers and code snippets! You've both implemented StreamResponse in a nice and versatile way, and I will now tailor something similar for my needs. Thanks & regards, Chris - To u

File downloading in Tapestry

2021-11-15 Thread Christopher Dodunski (Tapestry)
Hi all, Inserting a simple type link in a Tapestry template so visitors can download a PDF is straightforward enough. I'd like to shift this to inside the controller, however, so that some code for analytical purposes can be added. A quick Google search revealed the code example

Browser automatically scrolls to contact form in footer (undesirable)

2021-10-27 Thread Christopher Dodunski (Tapestry)
normally invoke this behaviour, which has me thinking that some JavaScript may be involved. Either on the part of Tapestry, or Bootstrap which it employs. If blocking forms from grabbing focus is possible with a simple CSS directive then I've not found it. What would be the simplest or

Re: Upgrading to Tapestry 5.6.4

2021-05-07 Thread Christopher Dodunski (Tapestry)
Hi Ben, You were 100% correct! Adding the below dependencies to my POM fixed the issue. I really appreciate the quick response you gave. Perhaps Thiago or Bob might like to make mention of this on the Tapestry Upgrade page? com.sun.xml.bind

Upgrading to Tapestry 5.6.4

2021-05-06 Thread Christopher Dodunski (Tapestry)
Hi team, I have moved to upgrade a Tapestry webapp from version 5.4.3 to version 5.6.4, after first checking the page below for known compatibility issues. https://cwiki.apache.org/confluence/display/TAPESTRY/Supported+Environments+and+Versions Reportedly, Tapestry 5.6.4 is compatible with

Re: Tapestry services lifecycle

2020-09-22 Thread Christopher Dodunski (Tapestry)
Thanks, Thiago, for confirming that. And I'm glad to hear news of Tapestry 5.6.1 release. Good work! Regards, Chris. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Tapestry services lifecycle

2020-09-15 Thread Christopher Dodunski (Tapestry)
Hi all, just a quick question... Once a Tapestry service implementation gets instantiated, and that service's status moves to "realised", at what point does that implementation get destroyed? Tapestry instantiates a service implementation the first time a service method gets

Re: Making certain BeanEditForm fields 'read only'

2020-08-27 Thread Christopher Dodunski (Tapestry)
Hi Thiago, A couple of years' ago I extended Tapestry's AbstractField to create a DateTimeField, as DateField's standard JavaScript calendar looks a little dated (pardon the pun). DateTimeField leverages the HTML5 datetime-local input type, and one of its parameters is 'boolean readOnly'. I

Re: Making certain BeanEditForm fields 'read only'

2020-08-26 Thread Christopher Dodunski (Tapestry)
Thanks Thiago. I guess it's something worth considering in the future - updating BeanEditor and related components to better leverage HTML5 features. A workaround in my case was to have SelectModelFactory reduce the number of selectable elements down to one, making selecting something differe

Making certain BeanEditForm fields 'read only'

2020-08-18 Thread Christopher Dodunski (Tapestry)
Hi all, I'm just wondering whether there is a simple and elegant way of making certain BeanEditForm fields 'read only' within the controller class, rather than in the view template? In certain circumstances I wish to dynamically prevent users from modifying certain fields (a pretty common sc

Re: Tapestry 5.5 progress

2020-01-10 Thread Christopher Dodunski (Tapestry)
I'm much looking forward to Tapestry 5.5's pending release. Regarding glyphicons, I recall not being able to get these displaying even with a Tapestry app built extending the quickstart project (bootstrap 3). So the date pickers are iconless, palette arrows absent, etcetera

pac4j with tapestry-security

2017-04-27 Thread Tapestry
Hey all! I am trying to use pac4j (https://github.com/bujiio/buji-pac4j) with tapestry-security since my client requires SAML2. But seeing that I can't use shiro.ini, I can't come up with a way to implement. Has anybody use this library before? Thanks! Miguel

Re: Data export

2016-12-23 Thread tapestry
On 23-12-2016 10:47, christophe.foi...@valdoise.fr wrote: Thanks Jay ! -Jay Ginete a écrit : - A : Tapestry users De : Jay Ginete Date : 23/12/2016 09:52 Objet : Re: Data export Here's an example on Tapestry5 with JasperReports. http://killertilapia.blogspot.com/20

Re: T5.2 form reset on back button

2011-10-03 Thread Rendy Tapestry
e behaviour may be due > to a Firefox 4 "security feature". > > On 03/10/2011, at 3:04 PM, Rendy Tapestry wrote: > > > Hi Geoff, > > > > I am using Firefox 6.0.2 and accessing > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/state/shar

Re: Custom component

2011-10-02 Thread Rendy Tapestry
rride processSubmission() method. > > Otherwise you can @Inject FormSupport and then use > FormSupport#storeAndExecute() to execute a ComponentAction > > regards > Taha > > On Oct 2, 2011, at 9:18 PM, Rendy Tapestry wrote: > > > Hi All, > > > > Is it

Re: T5.2 form reset on back button

2011-10-02 Thread Rendy Tapestry
; then when you refresh your page, there is no reason why your fields > should not display said data. > > > > On 3 October 2011 09:10, Geoff Callender > wrote: > > I haven't seen this problem. Can you find an example in JumpStart that > has this behaviour? > >

Re: T5.2 form reset on back button

2011-10-02 Thread Rendy Tapestry
Anyone resolved this problems ? I encountered the same things. Thank you, Rendy. On Fri, Sep 23, 2011 at 5:13 AM, Christoph Jäger < christoph.jae...@derwald.at> wrote: > Hi, > > I am migrating an application from Tapestry 5.0.16 to 5.2.6. There were > some things to change,

Custom component

2011-10-02 Thread Rendy Tapestry
Hi All, Is it possible to have a custom component with a method that will getting called when the enclosing form is being submitted ? In that method, I want to change some parameter of that custom component. Thanks, Rendy.

Re: Problem pushing application to production

2011-09-19 Thread tapestry account
cting, I guess. So the root problem is still the fact that when Tapestry sends a redirect, it is ignoring my custom BaseURLSource class inside the AppModule.java class. I'm still hoping someone can tell me what I'm doing wrong with this implementation. @Contribute(ServiceOverride.

Re: Problem pushing application to production

2011-09-18 Thread tapestry account
The URL for the login form does not contain the full URL to the server, so why does Tapestry respond with the IP address? --Michael On Mon, Sep 19, 2011 at 1:07 AM, Michael Molloy wrote: > One other thought. Looking over the http://tapestry.apache.org/https.htmlpage > again, I notice t

Re: Run javascript after a zone is updated

2011-09-13 Thread Rendy Tapestry
;t work > with zones !! > > If any of this sounds crazy..it's because I'm new to ajax with tapestry. > > > On Mon, Sep 12, 2011 at 7:54 PM, derkoe > wrote: > > > > Muhammad Gelbana wrote: > >> > >> I have a table with many cells being updat

Re: Localization Problems

2011-09-13 Thread Rendy Tapestry
help. Rendy. On Tue, Sep 13, 2011 at 12:33 AM, derkoe < tapestry.christian.koeb...@gmail.com> wrote: > > Rendy Tapestry wrote: > > > > Hi Christian, > > > > Thank you for taking time to help. I try to solve my problem using second > > approach from your s

Re: tapestry ready for production?

2011-09-11 Thread Taha Tapestry
This is a question for which are are going to get a lot if responses. Here is mine On Sep 11, 2011, at 2:26 PM, Alfonso Quiroga wrote: > Hi! I've used tapestry 5.0 some time ago, in a small app at home. Now > in my work I've to decide which framework we will use for a state

Re: Localization Problems

2011-09-09 Thread Rendy Tapestry
Can anyone explain that this approach will work for my problem or not ? Thanks, Rendy. On Sat, Sep 10, 2011 at 12:02 AM, Rendy Tapestry wrote: > Hi Thiago, > > Thanks for such fast response, after setting it to false, my page is > showing up again but, the solution still not working. >

Re: Localization Problems

2011-09-09 Thread Rendy Tapestry
, tapestry still picking value from test.properties. What might be wrong with my code ? Thanks, Rendy. On Fri, Sep 9, 2011 at 11:37 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 09 Sep 2011 12:54:23 -0300, Rendy Tapestry < > rendy.tapes...@gmail.com&

Re: Localization Problems

2011-09-09 Thread Rendy Tapestry
nfiguration configuration) { configuration.addInstance("Localization", LocalizationDispatcher.class, "before:PageRender"); } What seems to wrong here ? Thanks, Rendy. On Fri, Sep 9, 2011 at 12:26 AM, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > 2011-09

Re: Localization Problems

2011-09-08 Thread Rendy Tapestry
Yes, I just set as you do, but it doesn't work. This is because what browser send through request header is US locale. Based on tapestry mechanism looking up for locale, it will search the nearest locale that is en. That why ordering like that doesn't work. Any other idea ? Sorry

Localization Problems

2011-09-08 Thread Rendy Tapestry
Hi all, I build an application that will support two locale, that is in_ID and en. I am using PersistentLocale to accomplish this and as consequences all my application url are encoded with selected locale (user set it manually through application menu). So if my application name is xyz and in_ID

Re: Eid Mubarak

2011-09-06 Thread Taha Tapestry
Hi Gunnar Nice one. I just can't stop laughing :) BTW 'jihad' means "struggle/effort to achieve a particular goal" So it won't be wrong to say We in this mailing list jihad to learn and help others to learn tapestry. But unfortunately this word is being misused a

Re: Passing parameters from one page to another

2011-08-17 Thread Taha Tapestry
Check if nombre has any value for each row. Regards Taha On Aug 18, 2011, at 8:24 AM, ixcoatl wrote: > The url is this: > > http://localhost:8080/Volumetria/seguridad/borrarusuario > > So, no parameters shown, right? > > Cheers! > > -- > View this message

Re: t:type="grid" "Excerpt" column

2011-08-17 Thread Taha Tapestry
first 100 characters. > > What is the best way to do this? With minimal codes in Tapestry 5? > > Thanks. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/t-type-grid-Excerpt-column-tp4708859p4708859.html > Sent from the Tapestry - Use

Re: Class Transformation problem

2011-08-14 Thread Rendy Tapestry
lication(Configuration > > singletons, ObjectLocator locator) > > { > >singletons.add(locator.autobuild(MyDomainObjectResource.class)); > > } > > > > Disclaimer: I have never used tynamo-resteasy and this information is > > based on http://tynamo.org/tapestry-

Re: Zone inside a form with fadeout works each second time ...

2011-08-13 Thread Taha Tapestry
How are you persisting your message ? For a post request tapestry uses redirect after post and so if you don't persist the message it will be lost. For such situations we have @Persist(PersistenceConstants.Flash) which stores the value in a session till it is read for the first time Re

Re: Class Transformation problem

2011-08-05 Thread Rendy Tapestry
isclaimer: I have never used tynamo-resteasy and this information is > based on http://tynamo.org/tapestry-resteasy+guide. > > On Fri, Aug 5, 2011 at 8:16 AM, Rendy Tapestry > wrote: > > Hi Josh, > > > > Might you please elaborate your answer ? I don't get it

Re: Class Transformation problem

2011-08-04 Thread Rendy Tapestry
tc in 5.3+). > > > > Can you elaborate on your problem ? > > > > On Thu, Aug 4, 2011 at 7:25 PM, Rendy Tapestry > > wrote: > >> Hi all, > >> > >> I have problem with class transformation, my question, will this class > >> transf

Re: Class Transformation problem

2011-08-04 Thread Rendy Tapestry
canning service. > > > > As far as class transformation is concerned, you can transform an > > existing class or create a new one by using ClassFab etc classes which > > are based on javassist in 5.2+ (on PlasticClass etc in 5.3+). > > > > Can you elaborate on

Class Transformation problem

2011-08-04 Thread Rendy Tapestry
transformation ? If yes, how could I solve my problem ? Thanks, Rendy. ps. I am using tapestry 5.2.5 (ComponentClassTransformWorker)

Re: ioko-tapestry-commons problem

2011-07-28 Thread Taha Tapestry
The documentation says you have to annotate the page class with @Import(stack='jquery') Regards Taha On Jul 28, 2011, at 8:54 PM, dick_hu wrote: > when I use the ioko-tapestry-commons's mixins Overlay there is exception > occur > >

Re: onValidate called multiple times ...

2011-07-27 Thread Taha Tapestry
Hi OnValidate is called for each form component and the form so if you want it only for the form try onValidateFromForm() Regards Taha On Jul 28, 2011, at 11:56 AM, Gunnar Eketrapp wrote: > Hi! > > Maybe a newbie question but I have been on vacation for a month. > > Why does onValidate get

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
You can check it at http://tawus.wordpress.com/2011/04/16/tapestry-magic-2-ajax-with-graceful-degradation/ I can file a jira and patch for it Regards Taha On Jul 18, 2011, at 10:33 PM, Josh Canfield wrote: >> I think @XHR can be included in tapestry-core. I use it all the time to &g

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
I think @XHR can be included in tapestry-core. I use it all the time to avoid these problems Regards Taha On Jul 18, 2011, at 8:17 PM, "Thiago H. de Paula Figueiredo" wrote: > On Mon, 18 Jul 2011 11:08:42 -0300, CHAUVEL wrote: > >> Hi, > > Hi! > >&g

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
You should always check request.isXHR() and if it returns true then it is an Ajax call otherwise it is a non-Ajax call. The reason might be an error in ie9 which causes a non-Ajax call Regards Taha On Jul 18, 2011, at 7:38 PM, CHAUVEL wrote: > Hi, > I have a tapestry 5 app. I h

Re: javascript & layout problem

2011-07-18 Thread Rendy Tapestry
I was try it, but its still not working. Thanks, Rendy. On Sat, Jul 16, 2011 at 11:26 PM, Taha Tapestry wrote: > Did you try directly inserting the script in layout by using script tag > inside head tag > > Regards > Taha > > On Jul 16, 2011, at 9:35 PM, Rendy Tapestry >

Re: javascript & layout problem

2011-07-16 Thread Taha Tapestry
Did you try directly inserting the script in layout by using script tag inside head tag Regards Taha On Jul 16, 2011, at 9:35 PM, Rendy Tapestry wrote: > Hi Mihail, > > Thank you for your response. If that is how the correct thing should > happened, I will accept it. I come to t

Re: javascript & layout problem

2011-07-16 Thread Rendy Tapestry
Hi Mihail, Thank you for your response. If that is how the correct thing should happened, I will accept it. I come to this question because in Tapestry 4, I am using decorator to build a template. In default.jsp I put an import to jquery lib once and never import it again in every page that use

javascript & layout problem

2011-07-16 Thread Rendy Tapestry
Hi All, I am using tapestry layout component, in page class I add @Import annotation to import jquery library. I have another page that is being used along with the layout component and having @Import annotation to import specific javascript for that page. That javascript used jquery inside it

Re: Another case of "Block parameters are only allowed directly within component elements."

2011-07-13 Thread Taha Tapestry
://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> > > DYNAMIC ADVANCED > SEARCH FORM > > > > > > >${message:advancedsearchcomponent.found} > > > >${message:advancedsearchcomponent.notfound} > > > > > > > &

Re: IOC Classes in a package

2011-07-01 Thread Taha Tapestry
Here is an example of ClassNameLocator to create entity daos for entities in a given package http://tawus.wordpress.com/2011/04/28/tapestry-magic-9-integrating-with-hibernate-and-multiple-database-support/ Regards Taha On Jul 1, 2011, at 6:55 PM, "Thiago H. de Paula Figueiredo" wr

Re: Optimal Page to List Edit and Create

2011-06-30 Thread Taha Tapestry
ion tests > The component entitygrid does all this and more and all you have to do is > set the column names. It uses table instead of div for rendering forms. This > component is an example of the real power of tapestry > > Regards > Taha > > -- > View this message in context

Re: Java Magic has 10000+ hits

2011-06-29 Thread Taha Tapestry
e's RSS reader just checks for an >> updated feed. >> >> Mark >> >> On Tue, Jun 28, 2011 at 6:07 PM, Taha Tapestry >> wrote: >>> Then may be all of these hits are really rss feeds and wordpress is keeping >>> me happy :( >>> >

Re: Tapestry 5.25 & Spring Integration

2011-06-28 Thread Rendy Tapestry
, Christian Köberl < tapestry.christian.koeb...@gmail.com> wrote: > On 2011-06-27 13:35, Rendy Tapestry wrote: > >> I was follow the instruction here >> http://tapestry.apache.org/**integrating-with-spring-**framework.html<http://tapestry.apache.org/integrating-with-s

Re: Java Magic has 10000+ hits

2011-06-28 Thread Taha Tapestry
Hi >>>>>>> >>>>>>> More than 1 hits in two and a half months, not bad. >>>>>>> >>>>>>> regards >>>>>>> Taha >>>>>> >>>>>> >>>>>> -

Tapestry 5.25 & Spring Integration

2011-06-27 Thread Rendy Tapestry
Hi, I was follow the instruction here http://tapestry.apache.org/integrating-with-spring-framework.html to integrate spring with tapestry. I have one special class that implement Spring's ApplicationContextAware. But when application starting it never invoke setApplicationCo

Re: JavaScript-Component in a Java project(jar)

2011-06-27 Thread Taha Tapestry
Hi JavaScript is a resource and if you are packaging it in a jar you can use the resources folder typically src/main/resources. Also it is a good convention to put the file in the same hierarchy as the java file using/importing it e.g if the class file is a.b.MyClass which is importing the reso

Re: TAP5.3.0 onValidate

2011-06-25 Thread Taha Tapestry
Hi Tony If your form's name is myForm then You should call onValidateFromMyForm(). If you do not append "FromMyForm" then the method " onValidate" will be called for each form field as well as for the form itself. Other alternative is to name the method anything else and annotate with @OnEve

Re: T5 Reference page attributes from a component

2011-06-24 Thread Taha Tapestry
Hi There are two phases after you submit a form. First comes the action phase and then the render phase. You are pushing an object in the render phase so at the time of action the object is not there. Regards Taha On Jun 24, 2011, at 10:47 PM, Tony Nelson wrote: > On Jun 23, 2011, at 6:27

Re: T5.2.5 - loop, zones and a save button

2011-06-24 Thread Taha Tapestry
Taha >> >> On Fri, Jun 24, 2011 at 7:01 PM, Alexander Rosemann >> wrote: >>> >>> Hi, >>> >>> I asked this before but couldn't resolve the issue based on the information >>> that Taha forwarded me. >>> (http://tapestry.1045711.

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
Sorry @InjectCompoment not @inject Regards Taha On Jun 20, 2011, at 8:32 PM, Taha Tapestry wrote: > There are two ways of doing this > One way is to use parameters. Create a parameter display in the component > which will be readonly for the page and to which the component assigns a

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
the component as the information I need passed > back to the page is only in the component not the page. > > From reading the tapestry API it seems that it is more cleaner to push and > pop the objects in the same component rather than popping and pushing in > different components?

Re: Using environment to access object in component from calling page

2011-06-20 Thread Taha Tapestry
iggering, etc commands for Form to execute while handling > a form submission. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.a

Re: ActionLink not Search Engine safe?

2011-06-15 Thread Taha Tapestry
7:35:14 -0300, PXZ wrote: > >> hi, I'm new to Tapestry. > > Welcome! > >> I was trying out the Vote Youtube tutorial/video, >> and looks like that ActionLink doesn't seem to be safe for search engines? > >> The problem with this code is that the

Re: Including jquery

2011-06-14 Thread Taha Tapestry
t; >> Obrigado cara, td deu certo! >> :) > > You're welcome! But don't forget that you should post in this mailing list in > English always. :) > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,

Re: let tapestry handle hibernate or use spring ?

2011-06-08 Thread onj888-tapestry
於 2011/6/8 22:35, Thiago H. de Paula Figueiredo 提到: > On Wed, 08 Jun 2011 11:31:56 -0300, wrote: > >> Hi, what is the pros and cons of using tapestry to handle hibernate >> instead of spring ? >> I did a little bit research on google, but only most of them are howto >

Re: RE : Eclipse IDE and TML code completion

2011-06-08 Thread onj888-tapestry
Hi Finally, get it working according to http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse . I don't know why, but http://tapestrytools.googlecode.com/svn/trunk/TapestryTools_UpdateSite/ just doesn't work for me. :( Thanks John 於 2011/6/9 0:10, onj888-tapes...@yahoo

Re: RE : Eclipse IDE and TML code completion

2011-06-08 Thread onj888-tapestry
the quick-start index.tml with jsp editor, type Mark is right, you have to use the JSP editor. > So, i have tested with Eclipse Helios and it work for me. > > Laurent. > > -Message d'origine- > De : Mark [mailto:mark-li...@xeric.net] > Envoyé : mercredi 8 juin

let tapestry handle hibernate or use spring ?

2011-06-08 Thread onj888-tapestry
Hi, what is the pros and cons of using tapestry to handle hibernate instead of spring ? I did a little bit research on google, but only most of them are howto or integration tutorials. would anyone please give me a link if it has been discussed somewhere? Thanks John

Re: RE : Eclipse IDE and TML code completion

2011-06-06 Thread onj888-tapestry
Thanks Laurent, yes, the temlate is good, I managed to import it in eclipse, but it doesn't response when I type Hi, > > you're right, the file is broken. > I have updated the wiki page. > You can also get the proper version here : > https://github.com/downloa

Re: Clearing @SessionState

2011-06-06 Thread Taha Tapestry
the session. > > @SessionState > private User user; > > onSubmitFromLogout(){ > user = null; > return index; > } > > Is there a specific way to do it? > Cheers > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Clearing-SessionSta

Re: Clearing @SessionState

2011-06-06 Thread Taha Tapestry
FromLogout(){ > user = null; > return index; > } > > Is there a specific way to do it? > Cheers > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Clearing-SessionState-tp4458525p4458525.html > Sent

Re: Eclipse IDE and TML code completion

2011-06-05 Thread onj888-tapestry
is a broken one? Thanks John ? 2010/9/22 16:50, Laurent Guerin ??: > For those interested in using Eclipse code completion with tml files, > EXANPE Team (Julien Maupoux, Katia Aresti and myself) has developped a > Maven plugin that allow you to generate a tld describing any Tapestry

Can't import template from Tapestry5JSPEditorEclipse howto into eclipse 3.6.2

2011-06-04 Thread onj888-tapestry
Dear List, I followed the steps in http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse, but I can't down load the NewTMLTemplate.xml from the it, so I download the template from https://issues.apache.org/jira/browse/TAP5-120 instead, but I can't import the template as describe

Re: updating a zone on form submit

2011-06-01 Thread Taha Tapestry
Is it an Ajax submission. Have u set zone parameter of form to a proper zone value Regards Taha Sent from my iPhone On Jun 1, 2011, at 7:09 PM, Ray Nicholus wrote: > Any idea how I can do this? When I return a MultiZoneUpdate from my submit > handler, I get the following exception: > > Retu

Re: BeanEditForm for hibernate entity with version field

2011-05-29 Thread Taha Tapestry
> had an option (maybe even the default?) for proper handling of columns > marked with @Version. I think I'll open an issue for it. > > Donny > > On Sun, May 29, 2011 at 12:59 PM, Taha Tapestry > wrote: > >> Check this out >> >> https://forum.hibernate.o

Re: BeanEditForm for hibernate entity with version field

2011-05-29 Thread Taha Tapestry
still don't understand why that didn't work. > > Donny > > On Sun, May 29, 2011 at 12:24 PM, Taha Hafeez wrote: > >> Hi Donny >> >> One way I can think of is extend AbstractSessionPersistentFieldStrategy as >> is done by EntityPersistentFieldStrategy

Re: Auto Refresh Zone?

2011-05-12 Thread Taha Tapestry
econds? Or should i create a > button then a javascript will click that button every 10 seconds? > > What is the best options? > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Auto-Refresh-Zone-tp4391670p4391670.html > Sent from the Tapest

Re: [Bulk] Re: 10 Minute Web Application Demo

2011-02-21 Thread onj888-tapestry
good point 於 2011/2/18 4:06, Howard Lewis Ship 提到: > I spend a lot of time when teaching Tapestry getting people to do One > Small Step at a time. Everyone feels the need to jump from a blank > page to the final solution in one go, and that's really hard. I do a > lot of "

any good wyswyg web editor recommend?

2011-02-11 Thread onj888-tapestry
Hi list, I found that's quite troublesome using dreamweaver to edito tml pages, any better solution? Thanks John - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapest

Timeouts and how to handle them?

2010-12-18 Thread tapestry
Hi, I would like to know what the best practice is for handling timeouts on pages, both in the normal sense and for those that have AJAX components? After 30 minutes the standard session timeout kicks in and if a user then clicks on an image in my Lightbox I get a NPE or if they hit an

Re: Problems with Tapestry-Spring-Hibenrnate

2010-12-05 Thread tapestry
Thank you very much Jonathan, It looks like you're using tapestry-hibernate as well as tapestry-spring. I've done a bunch of 2+ database stuff using tapestry-spring + hibernate, and I've done single-db stuff using tapestry-hibernate, but I've never mixed hibernate c

Problems with Tapestry-Spring-Hibenrnate

2010-12-04 Thread tapestry
Hi! I am wanting to connect to two databases. In the past I've written Tapestry apps with just one DB and Spring and Hibernate - no problems. I see that (currently) there is no way to connect to multiple DBs with just tapestry-hibernate (although I read on the list archive that the

Re: problme learning t5+spring+hibernate

2010-11-29 Thread onj888-tapestry
rvices into Spring > beans as well as the the other way around. The downside is that now you are > restricted to only a single Spring bean for each service type that you want > to inject into a Tapestry page or service (you no longer get to pick your > bean id so you don't need the

  1   2   >