I'm trying to upgrade to 5.1, and everything is complete except for chenillekit
components (Window and FCKEditor). I'm getting a lot of javascript errors from
them, but unfortunately the Blackbird console is getting in the way of
debugging them. When a javascript error occurs, I would like it to
Thanks for the link to jars, Kalle. Very helpful for those of us that do not
use Maven. By any chance, does anyone know where I can get the source jars/zips
as well for the 1.2 release?
Has anybody gotten ChenilleKit 1.2 working with Tapestry 5.1? Specially Window
and FCKEditor components? I'm
I'm also looking for the ability to put all my assets (and Tapestry's) on a
CDN, so that static content do not need to be served by the app server. While
combining assets is an interesting feature, I would much rather prefer to have
all static content on a CDN. Something about CDN functionality
I created a bug (https://issues.apache.org/jira/browse/TAP5-892).
So when I use tapestry-spring-5.0.18 with Tapestry 5.1.0.5, it works fine.
Whatever the problem is, it seems to have been introduced in the new version of
tapestry-spring. Hopefully, this can get fixed soon. :)
---
ether that works. It
wouldn't be ideal to only do a partial upgrade but I'll try it until I get any
replies.
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Mon, October 12, 2009 11:18:05 AM
Subject: Tapestry5.1 Upgrade Issue
I'm trying to upgra
I'm trying to upgrade to Tapestry 5.1 from 5.0.18. The Select field component
is giving me some errors.
I'm using a Spring application context that is externally maintained
(tapestry.use-external-spring-context) and have 4 instances of java.util.Locale
(named locale_DE,
locale_FR, locale_UK, lo
the interface is NOT in an internal package, than its public API. Despite
my best efforts, there's a lot of that! :-)
On Thu, Sep 17, 2009 at 11:48 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Em Thu, 17 Sep 2009 15:28:36 -0300, Dave Greggory
> escreveu:
Thanks for the response, Stefan. A simple BeanEditForm unfortunately won't
suffice for me as indicated in my previous posts, I'm doing something a little
more tricky. But thanks anyhow.
Using a ComponentSource to retrieve the components I need seems to be solving
the problem. I re-ran the same
large number of
ComponentPageElements with it. Is that an accurate?
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Monday, September 14, 2009 6:44:27 PM
Subject: Re: [T5.0.18] Out of Memory Error / Potential Leak (doesn't reduce
after forced GC)
I crea
I created a ComponentLoader component (below) based off of PropertyEditor
component and I got it working for the top most of layer of my
ubercomponent-stack. It uses PropertyEditBlock page and the existing
BeanBlockSource to provide the right Block containing my layouts / components.
Does it lo
nk it will
solve your problem. You need a little re-architecting of your approach to
get the component instance count back under control. Where are you located?
On Fri, Sep 11, 2009 at 12:03 PM, Dave Greggory wrote:
-
To unsu
er forced GC)
Em Fri, 11 Sep 2009 12:47:23 -0300, Dave Greggory
escreveu:
> I have T5.0.18 running in Tomcat 5.5 with Java 1.5 32-bit -Xms2048m
> -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=128m.
Have you tried 5.1.0.5?
--Thiago H. de Paula Figueiredo
Independent Java consultant,
fter all (though that 392,000 instances
seems troublesome).
On Fri, Sep 11, 2009 at 8:47 AM, Dave Greggory wrote:
> I have T5.0.18 running in Tomcat 5.5 with Java 1.5 32-bit -Xms2048m
> -Xmx2048m -XX:PermSize=128m -XX:MaxPermSize=128m.
>
> Configured as:
>tapestry.page-pool
I have T5.0.18 running in Tomcat 5.5 with Java 1.5 32-bit -Xms2048m -Xmx2048m
-XX:PermSize=128m -XX:MaxPermSize=128m.
Configured as:
tapestry.page-pool.active-window = 5 m
tapestry.page-pool.hard-limit = 10
Ran a JMeter Load Test with
10 concurrent users
Ramp-up time of 6
I'm attempting to contribute my own RequestSecurityManager, but if anybody else
has a better idea where I don't have to touch internal stuff let me know.
- Original Message ----
From: Dave Greggory
To: Tapestry users
Sent: Tuesday, May 19, 2009 10:51:41 AM
Subject: Re: [t5.0.
ctions working in
this situation?
Thanks so much.
Dave
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Monday, May 18, 2009 12:16:36 PM
Subject: Re: [t5.0.18] Secure Annotation / BaseURLSource
Don't worry about it, turns out our internal network is screwed up..
I believe you will need a submit notifier component.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/SubmitNotifier.html
Wrap the submit notifier around and use the AfterSubmit event to
capture its values.
- Original Message
From: mar
Don't worry about it, turns out our internal network is screwed up...
connections between users and the load balancer is secure, but not between load
balancer and app server.
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Monday, May 18, 2009 11:56:56 AM
Su
obviously, it is.
- Original Message
From: Martin Strand
To: Tapestry users
Sent: Monday, May 18, 2009 11:40:40 AM
Subject: Re: [t5.0.18] Secure Annotation / BaseURLSource
Just a guess... perhaps baseSecureURL is not an https url?
On Mon, 18 May 2009 15:15:50 +0200, Dave Greggory
I've been using BaseURLSource(since behind a firewall/load balancer) fine all
this time, and recently I needed a secure page, so I added the @Secure
annotation on that page. But that page is no longer working because @Secure
annotation ends up sending continuous redirects. What am I doing wrong
can easily get at
the page name, event name, event id, etc. when you're rewriting links. I'm not
100% satisfied with the naming; and I'm still deciding on whether directly
exposing the request parameter objects is the "right thing" to do. But I'll
commit it to
Hi Andy,
Thanks for the suggestion, but I'm not quite sure what you're doing when you're
advising the ComponentEventLinkEncoder. Since the internals are much more
different, I'm not sure how to advise the createPageRenderLink method. If you
don't mind, can you provide details of what you're do
We needed to contribute a custom version of LinkFactory to meet a business
need. I realize that it was internal and was subject to change, but now that
there is no LinkFactory present in 5.1 I would like some help figuring out how
to implement the same functionality.
We need to be able to spec
Just use RenderSupport.
I just built my own component named asset attacher for this purpose.
public class AssetAttacher
{
@Parameter(required = true, allowNull = false, defaultPrefix =
BindingConstants.LITERAL)
private StringassetURL;
@Parameter(required = true, a
d SSL port on Tapestry App
Does the Base URL Support section of this page suit your needs?
http://tapestry.apache.org/tapestry5/guide/secure.html
On Wed, Mar 25, 2009 at 9:56 PM, Dave Greggory
wrote:
>
> Tapestry does not work when using a non standard SSL port. All the form
submissions
Tapestry does not work when using a non standard SSL port. All the form
submissions and events do not send the request properly. We're using a standard
port in tomcat, but a load balancer that sits in front of tomcat server forces
all requests to go through a non standard SSL port. This is due
no way to do this?
is it even possible to have a select field and a custom eventlink like
component that fires an event with the selected value from select field?
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Wednesday, March 11, 2009 4:55:32 PM
Subject
Yeah, you're right about that.
Still I don't like the redirect-after-post for validation failures because it
needs the form data to be persisted somehow between the two requests. We can
solve it partially by using client-side persistence for simple data, but for
complex object hierarchies, th
Redirect-after-post does not really solve that problem because if you hit Back
button twice, you still get the same problem.
- Original Message
From: nillehammer
To: Tapestry users
Sent: Wednesday, March 11, 2009 7:15:38 PM
Subject: Re: Implication of client side redirect
Hi Dave,
How does the redirect-after-post mechanism affect a servlet based or portlet
based Tapestry system?
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.
While I highly agree the redirect-after-post pattern is a good practice. It
only makes sense in some situations. It makes sense to use it when you're
submitting a form and the form submission was successful (ie. Tapestry
"success" event fires). But if validation fails, Tapestry should not be us
I have this ajax form loop with a select field in the AddRow section.
${currentUrl}
Add URL
and in the component class I have:
@Property
private String selectedUrl;
@Property
private String current
yeah I tried both show and update methods, didn't really work.
I finally got it to work by just adding the following to my event link.
onclick="editWindow.show('editWindow'); resizeWindow(500, 500);"
So right after (or is it before) it calls the event method it also shows the
Window. Not ideal
Thanks for the suggestion, Igor. Unfortunately, it didn't work.
So I tried doing the following in AfterRender.
renderSupport.addScript("var Pirate =
Class.create(Tapestry.ElementEffect, {" +
" showeditorzone :
function(element) {"
I'm having trouble invoking my own javascript method after a Zone is rendered
from an event.
I have a Zone inside a ChenilleKit Window. And I have an event link that
updates the Zone. That works fine, and clicking on a different link to display
the Chenille Kit Window (containing the zone) als
lution. If this component was used several
times in a page inside different FormFragments, this wouldn't exactly work.
Request params would include params that are for versions of the component that
is inside a hidden FormFragment.
Any better solutions?
- Original Message
Fro
In spring MVC, I would do the following,
How do I do the same in Tapestry?
I tried the following, but obvisously it didn't work because the Select field
is not capable of setting a value in a map.
@Component (parameters = {"source=myList", "value=myItem",
"encoder=itemPrimaryKeyEncod
Action Link using Select field value as
Context
Em Thu, 12 Feb 2009 15:16:00 -0300, Dave Greggory
escreveu:
> This javascript is added to the page by Tapestry and how can modify it to
> include select field value?
>
> "/my-web/stuff/create.showmystufflink/" + getSelectF
igueiredo
To: Tapestry users
Sent: Thursday, February 12, 2009 1:02:45 PM
Subject: Re: [T5] Updating Zone with Action Link using Select field value as
Context
Em Thu, 12 Feb 2009 13:32:13 -0300, Dave Greggory
escreveu:
> But Tapestry does not use the showStuff(Item selectedItem) method and
When the user clicks on the action link, I want to get the currently selected
value from select field and use that as the context when calling the event.
@Component
private Zone myZone;
@Component(parameters = {"context=selectedItem", "zone=myZone"})
private ActionLink showMyStuffLink;
that make it easier?
Jonathan
On 08/02/2009 14:07, Dave Greggory wrote:
> So, tell me whether I have this straight.
>
> In order to create Asset instances based on URL (actual asset CSS files
> residing on a completely different web server = CDN) like below:
>
> @Inject
>
nvironment properties. You could
reuse this approach also (e.g. for different DB-modes and connections).
Generally I would not put such an environment setup thing to the
asset-declaration but encapsulate it somewhere else
(EnvironmentModeService + injecting this to AssetFactory).
Dave Greggo
namic Variables in Asset declarations
Instead of passing ${server_host}${css_root} to the asset annotations you could
use plain old properties which are then loaded to the environment and passed to
the AssetFactory.
@Inject
@Path("cdn:path/aboveRoot")
private Asset asset;
Dave Greggo
s files are on a separate
server (on a CDN) and I'd rather not create a HTTP connection just to make sure
they exist (for performance reasons). Is there a cleaner and simply better way
of handling this? Also I'd rather not give up localization.
Thanks so much,
Dave
----- Origin
onfusing. Can anyone clarify to me
how all these fit together?
Thanks,
Dave
- Original Message
From: Dave Greggory
To: Tapestry users
Sent: Wednesday, February 4, 2009 12:27:37 PM
Subject: Re: Dynamic Variables in Asset declarations
That could be an option but I thought
different page entirely ... a block acts like a closure on its
containing page. This is a very powerful concept, the highest order
of Tapestry skill is when you "grok the block".
On Fri, Feb 6, 2009 at 7:07 AM, Dave Greggory wrote:
>
> I am using the delegate, but it's getting
Figueiredo
To: Tapestry users
Sent: Friday, February 6, 2009 5:57:53 AM
Subject: Re: [T5] Dynamically getting a component from IoC
On Thu, Feb 5, 2009 at 10:33 PM, Dave Greggory wrote:
> Is it possible dynamically (programmatically) request a component from
> tapestry's IoC (without us
Is it possible dynamically (programmatically) request a component from
tapestry's IoC (without using @Inject or passing component via parameter)?
I have this MyComponentInterface and a whole bunch of components that implement
it (ie. MyComponent1, MyComponent2, etc). I do not know until runtime
and
included in the page's section.
- Original Message
From: Thiago H. de Paula Figueiredo
To: Tapestry users
Sent: Wednesday, February 4, 2009 12:58:03 PM
Subject: Re: Dynamic Variables in Asset declarations
Em Wed, 04 Feb 2009 13:54:51 -0300, Dave Greggory
escreveu:
&
On 31/01/2009, at 2:36 AM, Dave Greggory wrote:
> Yep, I'm trying to have a dynamic URL for my CSS (not dynamic
> content). I'll checkout chenillekit, thanks for the suggestion.
>
>
>
> - Original Message
> From: Sven Homburg
> To: Tapestry users
Yep, I'm trying to have a dynamic URL for my CSS (not dynamic content). I'll
checkout chenillekit, thanks for the suggestion.
- Original Message
From: Sven Homburg
To: Tapestry users
Sent: Friday, January 30, 2009 7:00:22 AM
Subject: Re: Dynamic Variables in Asset declarations
The U
Hello,
I'm trying to declare an asset but with a dynamic variable used for
declaration. I need a dynamic variable (similar to an expansion in a tml)
because the css is selected based on some user selected parameters from the
request.
E.g.
@Inject
@Path("${myCssRoot}/style.css")
private
52 matches
Mail list logo