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
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
setupRender() ?
John.
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?
> >
> &
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
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
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
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
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
version of tapx from somewhere?
Regards,
John
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
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
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
:
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
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
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
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
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
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
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
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
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
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
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
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
() {
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,
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
-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
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
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
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.
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
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
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
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
zones are revealed inconsistent?
regards,
John
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
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
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
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
(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
/QvCwAYFYUNqLBYcbukZxhpmJ6uHKRjZQxuUI6xo6Ku06R2O5JSyxW2W2k1G9NFAO1Q06XGzp8/ly8n3z9vs1g7uGskyEL12rbG5z7HY64SshhtTWNHNYeTh+mkzsc6Ale4cjDMte3f73PBs0YNNb9MkmHFoWr1XJPe4NjL9wLl6kLE8wNFqiEE29qfvOskukPTKcHSe4=";>John
Doe
I've recall seeing this sometime before, I think Tapetsry is trying to
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
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
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
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
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
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
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
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
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
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
; -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
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
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
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
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
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
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) {
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
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
://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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>>>>> 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
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
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
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
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
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
does @Cached work in only pages, or should it work in components too?
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
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
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}
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
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
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:
>
: 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,
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
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
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
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
instantiated but of course the
services are null.
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,
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
please ignore this subject
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
t the scrollbar retains is original position?
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 - 100 of 351 matches
Mail list logo