Re: Tapestry Grid Paging

2016-03-23 Thread john c
che/tapestry5/corelib/components/GridPager.html > > > > On 23/03/16 15:34, john c wrote: >> We have a big form which does a tonne of data loading from databases >> and legacy systems. Now we want to add this small grid at the top >> with paging. Clicking a paging butto

Re: Tapestry Grid Paging

2016-03-23 Thread john c
x27;t want this to happen. Is it possible to to fire an Ajax event and refresh the zone around the grid?   I cannot find an example. We are using 5.3.6. John. > I have added rowsPerPage to add paging to a Tapestry Grid (that has a  > surrounding zone). When paging buttons are pres

Tapestry Grid Paging

2016-03-22 Thread john c
setupRender() ? John.

Re: registry startup issue

2016-01-26 Thread John Coleman
of these libs. It's always a good idea to state upfront the > versions you are using to save others from the guesswork. > > Kalle > > On Tue, Jan 26, 2016 at 7:56 PM, John Coleman > wrote: > > > any ideas, some of these services won't construct? > > > &

registry startup issue

2016-01-26 Thread John Coleman
any ideas, some of these services won't construct? public EmailServiceImpl(AssetSource assetSource, Logger logger, Messages messages) throws IOException { [ERROR] ioc.Registry Operations trace: [ERROR] ioc.Registry [ 1] Creating proxy for service RegistryStartup [WARNING] Failed startup of co

Re: maven build dependency problems

2016-01-19 Thread John Coleman
You are right Kalle, I ended up removing a bunch of repos from the build and it worked. I had to obtain google kaptcha 2.3 from an archive and install it on the local repository because this also has gone off-line. John On Wed, Jan 20, 2016 at 1:40 PM, Kalle Korhonen wrote: > No, I think

maven build dependency problems

2016-01-19 Thread John Coleman
Can anyone shed light on this please? [INFO] [ERROR] Failed to execute goal on project AuditManager: Could not resolve dependencies for project **.audit:AuditManager:war:3.1.5-SNAPSHOT: Failed t o collect dependencies for [org.apache.tapestry:tapestry-core:jar:5.3.6 (compile ), org.apache.ta

Re: Multiple domains, one webapp

2015-08-02 Thread John Coleman
vs an implementation) and therefore should not inform how an application is assembled. John On Sat, Aug 1, 2015 at 11:01 PM, Bob Harner wrote: > Stephen, > > An contrary viewpoint... > > There is really nothing wrong with having two web front ends for a single > web app if you handle au

Re: Tapx: Maven repo not working: alternatives?

2015-04-14 Thread John Owen Atala
Thanks for the effort. If it helps, you can downgrade gradle to version 1.8 to make most thinks work (I use homebrew to do it gracefully). Saludos, John On Tue, Apr 14, 2015 at 6:48 PM, Howard Lewis Ship wrote: > I'm working on it now. It's going to take a bit to rebuild from

Tapx: Maven repo not working: alternatives?

2015-04-14 Thread John Owen Atala
version of tapx from somewhere? Regards, John

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
This seems to work for me, and then selecting option 25: mvn archetype:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging From: Chris Mylonas To: john c ; Tapestry users Sent: Monday, 30 March 2015, 17:25 Subject: Re: Upgrading to 5.4 Beta 28 In

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
I meant to write Quickstart, not Jumpstart. Is there an archetype for 5.4 Quickstart ? I just want to get a basic 5.4 build working to start. From: Chris Mylonas To: john c ; Tapestry users Sent: Monday, 30 March 2015, 17:25 Subject: Re: Upgrading to 5.4 Beta 28 In the pom.xml

Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
I am attempting to switch to Tapestry 5.4 Beta 28, with the Jumpstart app. I modified the release version in pom.xml like below. 5.4-beta-28 After I running mvn clean install I get this error.    Have I missed something?? Thanks. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to e

form requires dynamic radio button list

2015-02-04 Thread John Coleman
: But this does not work!? Note that I also want to fire an event when the user selects a radio button to rerender the rest of the form in response to a change of location. Any ideas how to solve this please? John

Re: persistence units

2014-10-30 Thread John
with PersistenceContext. This code has been used on a live system for years now, it's solid. Suggest you try it and report back. John /** * EntityManagerObjectProvider.java */ package org.apache.tapestry5.internal.jpa; import javax.persistence.EntityManager; import javax.persistence.Persiste

Re: How do I render zone from component A in component B

2014-10-28 Thread John
component of the page. This component then triggers ajaxResponseRenderer.addRender(zone)... for any zones that contain subordinate components to refresh. This approach produces some nice clean code. see below John In this example most the pages components need to be refreshed on login, so it might

Re: How do I render zone from component A in component B

2014-10-13 Thread John
upled with respect to the components. :) regards, John - Original Message - From: George Christman To: Tapestry users Sent: Monday, October 13, 2014 6:38 AM Subject: How do I render zone from component A in component B I have a modal login box. When a user logs in through the log

Re: Tapestry via PHP proxy

2014-10-01 Thread John
Thanks for this. My Tapestry components will inject into a number of different sites, so I think I must use LinkRewriter like Thiago suggests. This will allow me to assign the URLs dynamically depending on request I guess? John - Original Message - From: Lance Java To: Tapestry

Re: Tapestry via PHP proxy

2014-10-01 Thread John
hould all be done in PHP. John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tuesday, September 30, 2014 2:58 PM Subject: Re: Tapestry via PHP proxy On Tue, 30 Sep 2014 09:19:40 -0300, Chris Mylonas wrote: > > And wants the tap

Re: Tapestry via PHP proxy

2014-09-30 Thread John
You are right, just wondering if anyone has achieved success with this here. My main concern comes with how tapestry secures forms. John - Original Message - From: Lance Java To: Tapestry users Sent: Tuesday, September 30, 2014 12:11 PM Subject: Re: Tapestry via PHP proxy

Tapestry via PHP proxy

2014-09-30 Thread John
I'd like to be able to embed my tapestry pages including form interactions via PHP script on a remote host. Is there any simple way to accoumplish this? I need to hide the application server with my Tapestry app from the client, so I need some kind of proxy interaction. John --- This

Tapestry + Wro4j

2014-09-29 Thread John
Hi, Is there any documentation+examples for using Wro4j or other web resource compiler technologies with Tapestry please? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: select component error java.lang.String cannot be cast to

2014-09-25 Thread John
Ah, it seems the select component must recieve a list and not a set. - Original Message - From: John To: users@tapestry.apache.org Sent: Thursday, September 25, 2014 8:51 AM Subject: select component error java.lang.String cannot be cast to Rendering a select component

select component error java.lang.String cannot be cast to

2014-09-25 Thread John
sed a string and not the class instance? John pages.EmbWizard Render queue error in BeforeRenderTemplate[EmbWizard:wizard.venueworkchooser.pricelistitem]: java.lang.String cannot be cast to com.acme.webapps.bb.components.VenueWorkChooser$PriceListItemOption org.apache.tape

update zones via property set or events triggers

2014-09-22 Thread John
a parameter to both siblings, update the bound parameter and maybe catch the change with a set method and rerender the containing zone? Assuming 2 is technically feasible, then how? regards, John --- This email is free from viruses and malware because avast! Antivirus protection is active

Re: component events bubbling down?

2014-09-10 Thread John
() { setup(); if (request.isXHR()) { ajaxResponseRenderer.addZone(cartZone); } } In contrast, in the example, the server-side doesn't know the filter value but the client-side does, so the server-side asks the client-side to do the refresh. Geoff On 10 Sep 2014, at 8:46 am,

tapestry kaptcha image does not refesh after an ajax form submit?

2014-09-10 Thread John
Hi, How do I get a kaptcha image to refresh when a zone is rerendered on an ajax request? At present this only happens for a form that submits for the page. Without a new code the next validation always fails. John --- This email is free from viruses and malware because avast! Antivirus

Re: component events bubbling down?

2014-09-09 Thread John
-2383 is about > this case. There are several possible solutions mentioned in that issue/its > comments. > > -- > Chris > > > On Sun, Sep 7, 2014 at 12:16 AM, John wrote: > >> I have a situation where a child component (C) fires an event that causes

component events bubbling down?

2014-09-06 Thread John
o down the component hierarchy. I've tried to inject component B into A and directky invoke the event handler, but it throws exceptions. Is there a proper way to handle this, like pushing the event downwards? John --- This email is free from viruses and malware because avast! Antivirus protec

making small changes to js functionality without a whol enew component?

2014-09-04 Thread John
r component and make sure it is run only at the end of the page render but I quite like the idea of attaching the code to the component concernes as fa

Re: dynamic ids for zones

2014-09-03 Thread John
different, but predictable, id each time through the loop. On 3 Sep 2014 19:36, "John" wrote: > Hi, > > Because the zone is reused elsewhere in the page I don't want to > explicitly name the Id because that does not generate a unique Id for > rerendering.

Re: dynamic ids for zones

2014-09-03 Thread John
Hi, Because the zone is reused elsewhere in the page I don't want to explicitly name the Id because that does not generate a unique Id for rerendering. I need a fresh Id for each successive render, and O need to know that Id in my javascript and the page. John - Original Me

dynamic ids for zones

2014-09-03 Thread John
teh zone name, how do I implement that for my inner components? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: Tapestry ioc/registry startup exception?

2014-09-02 Thread John
This was caused by a JDK version conflict! - Original Message - From: John To: users@tapestry.apache.org Sent: Tuesday, September 02, 2014 11:08 AM Subject: Tapestry ioc/registry startup exception? Hi, Any pointers on why my app won't start pls? John ioc.Reg

Tapestry ioc/registry startup exception?

2014-09-02 Thread John
Hi, Any pointers on why my app won't start pls? John ioc.Registry Error building service proxy for service 'RegistryStartup' (at org.apache.tapestry5.ioc.internal.services.RegistryStartup(Logger, List) (at RegistryStartup.java:36) via org.a

hiding zones

2014-09-01 Thread John
zones are revealed inconsistent? regards, John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: link dead in production mode?

2014-08-30 Thread John
Thanks for that. I did a clean build and deployed then cleared browser cache and its all fine. John - Original Message - From: Chris Mylonas To: Tapestry users Sent: Saturday, August 30, 2014 10:55 AM Subject: Re: link dead in production mode? Are all the rendered/delivered

link dead in production mode?

2014-08-30 Thread John
mode?! WTF! I am using the same configs and port settings, same browser only dif I can see is the SSL cert on live server is of course a CA signed one. Any ideas please? regards, John ${message:button.change

kaptchafield won't validate after zone rerender

2014-08-29 Thread John
it works ok, otherwise I get stuck with "Enter the text displayed in the image". Is this a known bug or perhaps something I did wrong? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: bad secure links

2014-08-25 Thread John
(ok in dev mode), probably a js problem? Maybe time to look at 5.4, but I am using Tapestry5-jquery and that doesn't work with 5.4! John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Monday, August 25, 2014 12:27 AM Subject: Re: bad secu

bad secure links

2014-08-24 Thread John
/QvCwAYFYUNqLBYcbukZxhpmJ6uHKRjZQxuUI6xo6Ku06R2O5JSyxW2W2k1G9NFAO1Q06XGzp8/ly8n3z9vs1g7uGskyEL12rbG5z7HY64SshhtTWNHNYeTh+mkzsc6Ale4cjDMte3f73PBs0YNNb9MkmHFoWr1XJPe4NjL9wLl6kLE8wNFqiEE29qfvOskukPTKcHSe4=";>John Doe I've recall seeing this sometime before, I think Tapetsry is trying to

Re: zone updates prolong session life

2014-08-23 Thread John
I was hoping that maybe the jquery zonerefresh mixin could be made to mark its request in such a way to tell the container not to update the session time? I'm guessing the container part of this work would be outside Tapestry though. John - Original Message - From: Howard Lewis

zone updates prolong session life

2014-08-22 Thread John
Hi, The sessions in my app are supposed to expire after 10 minutes, but I think zone updates are keeping them alive. Is there a way to stop this behaviour? Only user generated actions should prevent a session expiring. regards, John --- This email is free from viruses and malware because

jquery events with ajax form submission of kaptcha code

2014-08-11 Thread John
ced: https://bespokebookings.com:8443/bbapp/Ad/JohnDoe1 What is wrong? regards, John ClientAccess.tml http://tapestry.apache.org/schema/tapestry_5_3.xsd"; xmlns:p=&quo

tapestry5-jquery tabs

2014-08-04 Thread John
Has anyone got code to share for a jquery tabs example where the tabs are created dynamiclly? The given example only allows for a fixed number of tabs. John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

jquery dialogajaxlink.js problem

2014-05-25 Thread John
f the click function does make the dialog container visible although it is empty, as expect since the zone update did not occur. I'm at a loss to understand why the zone update doesn't occur? Any helpful suggestions much appreciated. John (function( $ ) { T5.extendInitia

Re: js executes before dom ready?

2014-05-20 Thread John
work consistently. John (function($) { T5.extendInitializers(function() { var times = null; var settime = null; var eventLink = null; function clickmin(event, ui) { if (settime) { var el = '#time_' + parseInt(settime.sp

subcomponent that changes a parent components property

2014-05-20 Thread John
it's changed, but I also think I have a problem because I am using createEventLink to submit the request from the inner component, and that link I suspect also contains the old state. John --- This email is free from viruses and malware because avast! Antivirus protection is ac

js executes before dom ready?

2014-05-19 Thread John
Hi, I'm finding that a js component that manipulates the dom during initialisation behaves irratically. I'm wondering if the tapestry initiialising in the js executes before the dom is fully ready? Are there any tips for making sure js executes when the page is ready? John --- Thi

passing data from component class to javascript

2014-05-16 Thread John
I would in mixins using a JSONObject and call addInitialiserCall in afterRender? Or is there a better/standard approach? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: autocomplete data source

2014-05-16 Thread John
Could you cache your hibernate results for subsequent calls? - Original Message - From: Ilya Obshadko To: Tapestry users Sent: Thursday, May 08, 2014 1:33 PM Subject: autocomplete data source It turns out that running an event handler (onProvideCompletionsFrom) in the sa

Re: @CommitAfter for GenericDao

2014-05-16 Thread John
; -Original Message- > From: John [mailto:j...@quivinco.com] > Sent: Monday, May 05, 2014 1:10 PM > To: Tapestry users > Subject: Re: @CommitAfter for GenericDao > > At the risk of sounding like a fanatic... > > I would avoid using @CommitAfter or anyt

Re: @CommitAfter for GenericDao

2014-05-05 Thread John
place to code your business logic. Your page classes can then focus exclusively on delivery of page content and your DAOs on pure data access. regards, John *http://en.wikipedia.org/wiki/Facade_pattern - Original Message - From: Tony Nelson To: Tapestry users Sent: Wednesday, Ap

GWT on Tapestry

2014-04-28 Thread John
ses. Perhaps I should just pull out the methods in my page class and push them into a deeper layer for reuse? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: problems with JavaScript compression on jquery js when deployed to jetty

2014-04-14 Thread John
I see I was actually not running dev mode on Jetty stand alone, so the yui compressor was on only for the maven jetty plugin. Is there a fixed version of yui-compressor I can use with Tapestry 5.3.6? John - Original Message - From: John To: users@tapestry.apache.org Sent: Monday

problems with JavaScript compression on jquery js when deployed to jetty

2014-04-14 Thread John
but I still have the execution mode as DevelopmentMode on my stand alone servers. I had assumed I would get the same result. The application still serves but some of the jquery components don't render, as might be expected. What's the problem? John [2014-04-14 08:25:45,066] JavaScr

Re: NullPointer for service constructor

2014-04-06 Thread John
problem solved, the Logger was of course not yet injected! Duh. I wish the IoC stack dump were more helpful. J - Original Message - From: John To: users@tapestry.apache.org Sent: Sunday, April 06, 2014 6:35 PM Subject: NullPointer for service constructor I'm tryi

NullPointer for service constructor

2014-04-06 Thread John
I'm trying to constuct a service implimentation that receives references to a couple of other services that registers the objects into a super class. But I get a null pointer exception. What am I doing wrong here? public class AppModule { public static void bind(ServiceBinder binder) {

Re: Jetty or NetBeans issue?

2014-03-28 Thread John
here as well. What versions are you using? On 28 Mar 2014 10:00, "Rural Hunter" wrote: > I use netbeans+maven+tomcat+tapestry and there is no problem. > > 于 2014/3/28 16:51, John 写道: > >> I run my dev server using a Maven goal under NetBeans. Quite of

Jetty or NetBeans issue?

2014-03-28 Thread John
I run my dev server using a Maven goal under NetBeans. Quite often Jetty becomes completely unresponsive. Is this a problem of Jetty running in NetBeans, or something to do with Tapestry? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http

Re: componenent or mixin to trigger event when visible

2014-03-25 Thread John
://tawus.wordpress.com/2012/11/25/scrolling-pages-tapestry5-onscrollbeyond/ On 23 Mar 2014 09:37, "John" wrote: > I want to update a zone when the top of a scrollable div becomes visible. > The use case is to display older messages in a list of messages as the user > scto

Re: componenent or mixin to trigger event when visible

2014-03-25 Thread John
. John - Original Message - From: Lance Java To: Tapestry users Sent: Sunday, March 23, 2014 7:40 PM Subject: Re: componenent or mixin to trigger event when visible Here is some related reading http://tawus.wordpress.com/2012/11/25/scrolling-pages-tapestry5-onscrollbeyond

convert mixin to component

2014-03-25 Thread John
Has anyone changed a mixin into a component? Was it easy and could you please share the steps? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

componenent or mixin to trigger event when visible

2014-03-23 Thread John
I want to update a zone when the top of a scrollable div becomes visible. The use case is to display older messages in a list of messages as the user sctolls up. I'm thinking of using the tapestry jquery bind mixin. Any other suggestions? John --- This email is free from viruses and ma

Re: How to Declare JSONObject function ?

2014-03-21 Thread john c
script function being called. I was hoping to see the alert box on start drag. Any ideas? On Friday, 21 March 2014 4:19 AM, Boris Horvat wrote: Fir me the solution was to use ut without jsonliterl, just put the name of the fuction without brackets On 21 Mar 2014 04:31, "john c" wrot

Re: How to Declare JSONObject function ?

2014-03-20 Thread john c
ecommended anyway. Create this function in some .js file which you  include in your page or component then pass options.put("start", new  JSONLiteral("nameOfTheFunction")); On Thu, 20 Mar 2014 10:15:05 -0300, john c wrote: > With you can specify the JSONObject params like

How to Declare JSONObject function ?

2014-03-20 Thread john c
With you can specify the JSONObject params like so: t:params="params" In Java I have code like this (snippet): public JSONObject getParams() { JSONObject options = new JSONObject(); .. .. options.put("start", "function() {$(this).hide();}"); return options; } This "start" option does no

how to get a component to rerender upon receiving an event

2014-03-16 Thread John
A component interepts a componentResources.triggerEvent that indicates it needs to be rerendered. Is there a way to tell the containing parent to rerender the child? --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: display zone, jquery dialog or message after onValidate success

2014-03-16 Thread John
users Sent: Sunday, March 16, 2014 5:53 PM Subject: Re: display zone, jquery dialog or message after onValidate success On Sun, 16 Mar 2014 10:46:36 -0300, John wrote: > It's another approach to solving the click once issue on my form which > invokes a long running

Re: display zone, jquery dialog or message after onValidate success

2014-03-16 Thread John
he onValidate was successful and then the form->submit triggered. Is there any way to get that result? John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Sunday, March 16, 2014 12:33 PM Subject: Re: display zone, jquery dialog or message

display zone, jquery dialog or message after onValidate success

2014-03-16 Thread John
Is there a way to display a message (zone or dialog) of some kind after a successful onValidate just before the onSuccess method is invoked? The form is ajax style zone="^". --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: an old chestnut - how to disable form inputs after submit pressed

2014-03-16 Thread John
disappaears when the request returns. Any ideas how to do that on submit, perhaps another mixin? John - Original Message - From: Jon Williams To: Tapestry users Sent: Saturday, March 15, 2014 5:59 PM Subject: Re: an old chestnut - how to disable form inputs after submit pressed Wrap

Re: an old chestnut - how to disable form inputs after submit pressed

2014-03-15 Thread John
that would be even better thanks for the tip - Original Message - From: Jon Williams To: Tapestry users Sent: Saturday, March 15, 2014 5:21 PM Subject: Re: an old chestnut - how to disable form inputs after submit pressed Or do you want to toggle all the form elements to Read

an old chestnut - how to disable form inputs after submit pressed

2014-03-15 Thread John
The user presses submit the server takes a while during which submit can be pressed again. I need to rerender the form inputs disabled and then fire the submit. How to? John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

working with DOM and text for implementing realtime chat

2014-03-14 Thread John
How should I approach achieving this with a tapestry component. John --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com

Re: IndieGogo campaign: a month of Apache Tapestry 5

2013-12-09 Thread John Prestel
>>>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>>>> For additional commands, e-mail: users-h...@tapestry.apache.org >>>>> >>>>> >>>>> >>>>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- *John Prestel* Software Engineer Safari Books Online, LLC | http://www.safaribooksonline.com 33 Farnsworth Street Boston, MA 02210 617.235.5806 *Please update your address book with my new address*: jpres...@safaribooksonline.com

Re: Contributing an object that itself can take contributions?

2013-12-09 Thread John Prestel
Thanks very much for the help, guys! I successfully employed the approach detailed by Thiago, with a little extra finessing from the man himself, and it's working exactly the way I want. John On Sat, Dec 7, 2013 at 8:22 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote

Re: component paramter frustrations

2013-12-07 Thread John
I see what you mean Lance, yes that would be a neat solution so long as it is performant. John - Original Message - From: Lance Java To: Tapestry users Sent: Saturday, December 07, 2013 10:29 AM Subject: Re: component paramter frustrations Yep, I know. Which is why I

Re: component paramter frustrations

2013-12-07 Thread John
Dmitry helped me identify the root cause of my problem. The parameters were bound to a FLASH persisted property hence they lost their initial values after first use. I just made them CLIENT and (appart from the long client state request payload) that issue is resolved satisfactorily. John

Contributing an object that itself can take contributions?

2013-12-06 Thread John Prestel
t want the derived classes to share configuration. In other words, I want to be able to configure/contribute to each sub-class separately. Is there a way to do what I'd like to do here, or do I need to change my approach to making a configurable FooProvider? John

Re: component paramter frustrations

2013-12-06 Thread John
s bad practice, but for now I have just changed them to PersistConstants.CLIENT. This really makes my requests messy though, but it works. :( John - Original Message - From: Dmitry Gusev To: Tapestry users Sent: Friday, December 06, 2013 2:07 PM Subject: Re: component par

@Cached

2013-12-06 Thread John
does @Cached work in only pages, or should it work in components too?

Re: component paramter frustrations

2013-12-06 Thread John
parameters between requests. Just saying ;) John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Friday, December 06, 2013 11:28 AM Subject: Re: component paramter frustrations On Thu, 05 Dec 2013 21:53:44 -0200, John wrote: > here is

Re: component paramter frustrations

2013-12-06 Thread John
sm of you and your helpful replies, thank you Lance. I will certainly be changing my code to using eventlink and it seems I am burdened with swallowing these parameters by passing them through t:context! John - Original Message - From: Lance Java To: Tapestry users Sent: F

Re: component paramter frustrations

2013-12-05 Thread John
here is the template with the problematic actionlink highlighted http://tapestry.apache.org/schema/tapestry_5_3.xsd"; xmlns:p="tapestry:parameter" xmlns:tx="tapestry-library:tapx"> ${message:text.diarydenied}

Re: component paramter frustrations

2013-12-05 Thread John
nks in the browser the parameter values are all there. Why does the component sometimes not set parameters? John public class Diary { @Parameter private Integer workIdParm; @Parameter private Integer venueIdParm; @Parameter private Integer reservationIdParm; @Property

Re: Loving the eclipse-tapestry5-plugin

2013-12-03 Thread John
Seems attractive. Is there a plugin for Netbeans? +1 for that! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: component paramter frustrations

2013-12-02 Thread John
on action links, then the parameter has gone null though. - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Monday, December 02, 2013 12:05 PM Subject: Re: component paramter frustrations On Mon, 02 Dec 2013 09:35:03 -0200, John wrote: >

Re: component paramter frustrations

2013-12-02 Thread John
: component paramter frustrations I don't think you got what I tried to say: if you're persisting a parameter value, you're doing it wrong, very wrong. As a rule of thumb, I'd say that persisting parameter values is flat out wrong. On Mon, 02 Dec 2013 09:21:02 -0200,

Re: component paramter frustrations

2013-12-02 Thread John
users Sent: Monday, December 02, 2013 11:00 AM Subject: Re: component paramter frustrations On Mon, 02 Dec 2013 07:21:27 -0200, John wrote: > Hi, Hi! > I pass parameters to some of my componenets but they don't persist by > default And that's a very good t

Re: component paramter frustrations

2013-12-02 Thread John
These are useful tips, but how do you get that transient parameter into the page to begin with unless you copy it to a property value? onActivate is not called for component initialisation so doesn't help with respect to copying the parameter value. - Original Message - From: Lance

component paramter frustrations

2013-12-02 Thread John
uses the parameter. This seems inefficient and I am now considering moving the value into the session and accessing with some methods manually. Is there a better way? I think next I will add a hidden field or client type @Persist, but I'm not a huge fan of that either. John

Re: Tapetsry IoC starting a class with background task that uses an injected service

2013-11-22 Thread John
I need my setup method to run when this class is instantiated but log is null so mailDAO will also be null. John public class EmailReceiverUtil { public static final int SHOW_MESSAGES = 1; public static final int CLEAR_MESSAGES = 2; public static final int SHOW_AND_CLEAR

Tapetsry IoC starting a class with background task that uses an injected service

2013-11-22 Thread John
instantiated but of course the services are null. John

Re: Web frameworks

2013-11-18 Thread John
Haha. Maybe it's someone who's maintaining thousands of lines of evil old incomprehensible JSP, has seen the promised land (Tapestry) and feels bad about it. (Like the guy who never gets invited to parties). - Original Message - From: Lance Java To: Tapestry users Sent: Monday,

Re: zone containing a scrollable element

2013-11-18 Thread John
All I did was create a zone within the parent container and update that, works fine and saved me from a wasteful outer rerendering. John - Original Message - From: Chris Mylonas To: Tapestry users Sent: Thursday, November 14, 2013 7:01 AM Subject: Re: zone containing a

IGNORE: odd exception on deployed app: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-11-14 Thread John
please ignore this subject

odd exception on deployed app: Forms require that the request method be POST and that the t:formdata query parameter have values.

2013-11-14 Thread John
Hi, This template worked fine before I tweaked my log4j and one of my service classes, now it crashes. What is it talking about, page works fine on dev system? John An unexpected application exception has occurred. a.. org.apache.tapestry5.ioc.internal.OperationException Forms require

zone containing a scrollable element

2013-11-13 Thread John
t the scrollbar retains is original position? John

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread John
pears that there may be some dependency on prototype or other significant defects. John - Original Message - From: Ilya Obshadko To: Tapestry users Sent: Saturday, November 09, 2013 7:38 AM Subject: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true This is

  1   2   3   4   >