Hi,
tapestry 5 is great and it is fantastic how easy it is to write new
components for tapestry.
One problem we have though is that using injected variables at times breaks
the application in unpredictable ways. A typical example is as follows:
Getting some information from a wrapping component
Hi,
anybody had any luck with this? I tried
Show
But get
Component id '${zoneId}' is not valid; component ids must be valid Java
identifiers: start with a letter, and consist of letters, numbers and
underscores.
So it looks as if only literal values are accepted here?
And how do I deal with
Hi Howard,
More information. The actual error is
"bad frame_type in StackMapTable"
and is thrown from javassist.bytecode.StackMapTable.stackMapFrames(int,int).
Not sure whether this helps, but it looks as if the stack is messed up.
There is a try {...} finally{..} in the code, and if I remove t
Hi,
I did some more research into this, and the root cause is a a BadBytecode
exception in line 213 in javassist.expr.FieldAccess in the method replace0,
where the error occurs in the insertGap method. It is attempting to insert a
gap of length 11, which looks innocuous enough. I got somewhat lost
> done this a few times before a later release of Javassist fixed the
> problem ... or so I thought.
>
> You may also do ok by getting the value from the parameter into a
> local variable outside the try ... finally block. try ... finally
> support is a late addition to Javassist a
Hi,
as I mentioned previously on this list we've been having some issues
with class transformation errors out of javassist. Recently we had a
case where everything was running fine under eclipse, but the same
code would not run on the server. Here a description from one of our
guys:
*Tapestry 5 a
Hi,
putting a grid in a form is really fantastically simple. I have one
issue though: if a user modifies some fields on one page and then goes
to the next using the pager, the changes are lost (there is no submit
of the form). I can see why it was implemented this way, but believe
that this is goi
Thanks for the example, Francois. I'll have a play with these ideas
and see how I get on.
Cheers,
Adriaan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm having a problem with returning a JSON object from an actionlink
in (5.0.11-SNAPSHOT). I have some javascript that submits a request,
which works great, and the actionhandler returns a JSONObject as
follows
Object onUpdate() {
JSONObject json = new JSONObject();
Hi,
I have a form that needs to change the view in a zone on a page. So I
use the new (5.0.11-SNAPSHOT) form with a zone (fantastic stuff,
Howard!)
Show liquidated funds
Thanks!
I've added it in JIRA as TAPESTRY-2209
Cheers,
Adriaan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
echoing Peter, it would be great to see support for a trailing suffix.
I put in a JIRA
https://issues.apache.org/jira/browse/TAPESTRY-2236
for this, with the few lines of code that should fix this issue. Any
chance of putting these into the 5.0.12 snapshot?
Cheers,
Adriaan
--
Excellent! Thanks a lot Howard!
Adriaan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I had an issue with triggering a form fragment with a radio button. I
came up with the following solution, and thought I'd share and ask for
comments - perhaps it is possible to come up with something that can
be included in Tapestry.
The .tml looks as follows:
Hi,
I've got the following problem: I have a list of relatively complex
data objects that I need to edit, which leads to the following form:
So far so great, but I'm having real problems with the MyCons
Hi,
I added a couple of validators to check for int/double values in text
fields. All works great, except that Tapestry cannot find my messages.
I've put messages in app.properties and also in
ValidationMessages.properties, but no matter where I put them they are
not being picked up. Anybody got a
Excellent, thanks a lot, Peter. Looked in the tapestry init for the
registration of the validation functions, but not for the message
catalogs.
I've added a page to the wiki with a description of adding validators.
For anybody else with the same problems look at
http://wiki.apache.org/tapestry/Ta
Hi,
thought I'd post my experiences with a form with multiple components in a loop.
My initial (preferred) solution was to have a single form with a
series of components in a loop. As far as I can tell this is simply
not possible with Tapestry at the moment. What can be done is:
1. Inject FormSu
Hi,
since starting to use firefox 3 (upgrade to new ubuntu!), the tapestry
javascript has stopped working. In particular the registration
functions now come up as undefined, so I get errors such as
Tapestry.linkTriggerToFormFragment is not a function
Same for zone initialisation. I haven't had m
False alarm - once I had wiped my maven repository and got a fresh
snapshot of tapestry down things started working again.
Cheers,
Adriaan
On Tue, May 6, 2008 at 9:50 AM, Adriaan Joubert <[EMAIL PROTECTED]> wrote:
> Hi,
>
> since starting to use firefox 3 (upgrade to new ubuntu!
Hi,
We are using T5 IOC in a standalone application and it is great. Most
tests we can implement with a few mock classes and instantiating an
instance of the implementation of a service. There are however cases
where it is easier to use the IOC registry to stitch things together,
but only replace
gt; On Mon, Nov 2, 2009 at 10:45 AM, Adriaan Joubert wrote:
>> Hi,
>>
>> We are using T5 IOC in a standalone application and it is great. Most
>> tests we can implement with a few mock classes and instantiating an
>> instance of the implementation of a service. There a
Thanks, Howard. I've put it in as
https://issues.apache.org/jira/browse/TAP5-918. Let me know if there
is something I can do to help.
Thanks,
Adriaan
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional
Hi Paul,
thanks a lot for your mail. Not having to rebuild the registry between
tests is indeed a major consideration. I like your idea of a special
proxy that can be 'cleaned' and refreshed from a pool.
I do not need the multi-threaded testing on our web applications right
now. I mainly need it
Hi,
we hit some performance issues using the tapestry IoC. The problem is
that we have legacy apps where we do need to do a lot of registry
look-ups - takes a while to rewrite everything to have services
injected via constructors everywhere. In our particular case we have a
few hundred services an
keys services you want. Inject those other services into its
> implementation. Obtain it from the Registry. Store it in a global and
> use that for non-service code to gain access to IoC services.
>
> On Mon, Nov 9, 2009 at 2:15 AM, Adriaan Joubert wrote:
>> Hi,
>>
>>
Hi,
we have a large application that has a fat client interface as well as
a tapestry 5 web front end.
Tapestry 5 IOC is marvelous and we would like to use it in our client
application. Using tapestry standalone turns out to be easy, however I
have two related issues:
1. I'd love to use @Inject
Hi Igor,
thanks for your mail!
2009/7/25 Igor Drobiazko :
> ComponentClassTransformWorker is supposed to transform only component (and
> page) classes.
> The ijection mechanism can be extended in two ways:
> - by contributing a org.apache.tapestry5.ioc.ObjectProvider
> - by contributing a org.apa
So, I have been trying a number of approaches with varying success.
Using a service in a standalone implementation and retrieving the
service with a call to getService() on the registry works as expected.
Any @Inject annotations on fields work great.
I have had less joy with the class factory. I'
Hi,
we love the IOC and are using it in our standalone Java applications as
well as our web applications. I do however have a problem with overriding
services. When using the suggestions from the cookbook (
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html) to
override a service
Hi,
I tried to build a rough-and-ready timer for service method calls by
using an advisor. We already use these for transaction management etc
and never had an issue. However after many successful calls I suddenly
get:
Exception in thread "Thread-26" java.lang.VerifyError: (class:
Invocation$Mont
> Which Tapestry-IoC version are you using?
I tried with both 5.1.0.5 and 5.2.4.
I should also mention that I thought this may have something to do
with other advisors (we use them for transaction management as well as
checking that a slave database has caught up to a certain point). I've
marked
... a bug in the
> wrappers around Tapestry or a bug in Javassist. I'm hoping that the
> 5.3 code, based on wrappers around ASM, will be faster, more
> efficient, and more stable.
>
> On Sun, Apr 17, 2011 at 12:30 AM, Adriaan Joubert
> wrote:
>>> Which Tapestry-Io
Hi,
I'm somewhat non-plussed by a javascript error in Tapestry.js on IE8
(this works fine on firefox/chrome).
We have several zones on a page, and in Tapestry.onDOMLoaded there is a call
Tapestry.init({
"formEventManager" : [
{
"formId" : "GlobalSearch",
"validate" : {
Hi,
we are also very interested in seeing 5.5 released. If there is a
company/consultant supporting Tapestry we would be interested in seeing
whether there is some way to support this development.
Best regards
Adriaan
On Wed, 17 Oct 2018 at 10:03, gard sæbø
wrote:
> Hi Bob!
>
> Sorry for late
iag...@gmail.com> wrote:
> On Wed, Oct 24, 2018 at 12:58 PM Adriaan Joubert
> wrote:
>
> > Hi,
> >
>
> Hello!
>
>
> > we are also very interested in seeing 5.5 released. If there is a
> > company/consultant supporting Tapestry we would be interested
Yes, thanks a lot! Tapestry is still one of the best and most productive
frameworks out there - we have thousands of lines of tapestry code and
multiple websites with complex applications, and keep on adding.
Cheers,
Adriaan
On Sat, 20 Mar 2021 at 03:41, Liu Yong wrote:
> Thiago,
>
> Thanks fo
Hi,
we intermittently see coercion errors for JSONObject - which we use
frequently for ajax context information.
The relevant bit of stack trace is
- Caused by: java.util.ConcurrentModificationException
- at
java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:
a concurrent environment.
>
> Maybe you could use another type of thread-safe data structure in your
> session, and convert it to a JSONObject before sending it back to the
> client?
>
> Cheers,
> Ben
>
>
> On Tue, Oct 5, 2021 at 2:50 PM Adriaan Joubert
> wrote:
&g
related code into a utility able to
> convert a JSONObject to a String and contribute a type coercer using it.
>
> Another option would be a custom tapestry-json version by vendoring the
> whole tapestry-json code into your project and adapt it to your needs.
>
> Cheer
Hi,
We are starting to use a library called fancytree (
http://wwwendt.de/tech/fancytree/demo/index.html). For basic trees this
integrates really easily with tapestry.
However for tree tables the simplest way to render the trees client-side is
to ship the contents of the tree table down in a json
Oh excellent! Thank you very much!
Adriaan
On Thu, 14 Oct 2021 at 22:33, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Mon, Oct 11, 2021 at 12:47 PM Adriaan Joubert
> wrote:
>
> > Hi,
> >
>
> Hello, Adriaan!
>
>
> > We are starting
42 matches
Mail list logo