Hi Alex,
I would say Tapestry 5 wins the challenge unless you plane to use T4.
Tapestry 5 uses annotations, and this is a very important advanced feature
in Java. You don't need to extend WOComponent, WebPage or what ever.
I think all frameworks will use the annotations in the future; the
on is: how should my method or my HTML looks like to be able to
receive the Product object and not an integer.
It is possible, isnt it?
Thanks in advance
John
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you Robin,
well of course I can return the index of the array and then find out the
correct Object.
Is this not so trivial and done in every Grid/Table/ For loop?
I thought, this could be done automatically by T5 itself.
Regards.
John
- Original Message -
From: "Robin Hel
Is there a working t:jquery.dialogajaxlink example? I can't get the dialog to
display using code similar to below example. I updated to 3.3.7
tapestry5-jquery. The action event is called.
1..
2.. Open
3..
btw I can get this to work with suppress prototype = true, not sure I want to
do that though!?
- Original Message -
From: John
To: users@tapestry.apache.org
Sent: Wednesday, October 30, 2013 5:46 PM
Subject: t:jquery.dialogajaxlink
Is there a working
prototype seems to be used in other zone based dialogs for action links and
ajax form submits zone="^", so when I suppress prototype these bits of the app
are unresponsive
John
- Original Message -
From: Thiago H de Paula Figueiredo
To: Tapestry users
Sent: Wednesda
I'm having problems getting jquery operational without suppressing prototype.
If I do not supress prototype then jquery components are unresponsive, I
thought I could use both libraries at the same time?
If I suppress prototype then components with action links and submits become
unresponsive,
th jquery?
The user needs to be able to put in a key field value and have this passed to
the server for a lookup to auto complete some form fields.
John
- Original Message -
From: John
To: users@tapestry.apache.org
Sent: Thursday, October 31, 2013 2:13 PM
Subject: proto
ource:
${currentEvent.event.from.time}${currentEvent.event.to.time}
original correct rendering
21:0023:00
incorrect rendering after switching back within a tab
21:0023:00
How to fix this, has anyone seen this before and figured it out?
John
Thanks for that Thiago, I have had a look at the Tesestry docs and not seen
anything helpful.
I have also added an id="value" attribute to the component but it is ignore, I
just get a similar result. (see below)
Is there an example somewhere?
John
4 Nov 2013 10:52:30 -0200, John wrote:
> I have also added an id="value" attribute to the component but it is
> ignore, I just get a similar result. (see below)
Have you checked whether the zone-rendered link ids are now non-random,
which was your original proble
Hi,
I worked on a monster of an e-commerce package called Blue Martini. Their
consultants also liked to build the system where all the data was put in hidden
page fields and not use the session. This burdens the network with sending data
that is not required on the client and you cannot use get
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
t the scrollbar retains is original position?
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
please ignore this subject
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
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,
instantiated but of course the
services are null.
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
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
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
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
: 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,
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:
>
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
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
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}
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
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
does @Cached work in only pages, or should it work in components too?
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
://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
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
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'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) {
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
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
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
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
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
; -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
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
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
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
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
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
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
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
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
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
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
/QvCwAYFYUNqLBYcbukZxhpmJ6uHKRjZQxuUI6xo6Ku06R2O5JSyxW2W2k1G9NFAO1Q06XGzp8/ly8n3z9vs1g7uGskyEL12rbG5z7HY64SshhtTWNHNYeTh+mkzsc6Ale4cjDMte3f73PBs0YNNb9MkmHFoWr1XJPe4NjL9wLl6kLE8wNFqiEE29qfvOskukPTKcHSe4=";>John
Doe
I've recall seeing this sometime before, I think Tapetsry is trying to
(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
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
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
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
zones are revealed inconsistent?
regards,
John
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
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
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
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
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
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.
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
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
-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
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
() {
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,
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
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
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
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
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
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
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
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
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
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
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
Hi,
Is there a component to display a breadcrumb trail at the top of a page so
users can navigate site structure they have followed?
John
gn package.
John
This looks like just what I need.
Is there any example showing an associated page class, can I include this in a
Layout class so it goes on all pages? That would rock.
John
- Original Message -
From: Emmanuel DEMEY
To: Tapestry users
Sent: Tuesday, October 30, 2012 2:06 PM
This was really great.
I just dropped the code into my Layout class and added the dependencies. I
can't see how to customize the css though? I presume it's burried in a jar. Is
there a best approach to change the default style?
many thanks,
John
- Original Message -
From
esday, October 30, 2012 4:17 PM
Subject: Re: Configurable site navigation menu?
On Tue, 30 Oct 2012 14:14:21 -0200, John wrote:
> This was really great.
>
> I just dropped the code into my Layout class and added the dependencies.
> I can't see how to customize the
esday, October 30, 2012 4:17 PM
Subject: Re: Configurable site navigation menu?
On Tue, 30 Oct 2012 14:14:21 -0200, John wrote:
> This was really great.
>
> I just dropped the code into my Layout class and added the dependencies.
> I can't see how to customize the
rking with tapestry source?
John
- Original Message -
From: Thiago H de Paula Figueiredo
To: Tapestry users
Sent: Thursday, November 01, 2012 10:40 AM
Subject: Re: best Eclipse platform
On Thu, 01 Nov 2012 07:36:45 -0200, John wrote:
> Hi,
Hi!
> I've been
I dropped this persistence.xml in WEB-INF, but EntityManager doesn't get
injected to my DAO object. The JDBC URL and DB are fine, checked on another app.
Dump below, any clues what the issue is please?
John
from the pom.xml
org.apache.tapestry
tapestr
1 - 100 of 351 matches
Mail list logo