On Jan 25, 2006, at 9:44, Geoff Longman wrote:
Rather than start a long debate about licenses.. anybody interested in
coming over and implementing an ant task for validating Tapestry
projects? Although I think it would be tough to handle the annotations
at this point in time. I think there's so
On Jan 25, 2006, at 20:21, Alexander Varakin wrote:
in Wicket that for each form control one has to create an
instance of a class and bind it to html page. IMO this violates the
DRY(do
not repeat yourself) principle.
Tapestry 3 also has some replications (.page file vs. backing Java
cod
I changed the name of the cookie and everything started working... It was
probably a difference in domains since the original cookie was set by my T3
code.
Thanks.
I noticed that CookieSource doesn't write persistant cookies, is there
something else that's built in I can use to do this?
Am
Some more tests showed: Tapestry.register_Form('..') related to the select
component. If I remove register_Form, I will not get the problem.
On 1/26/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> I believe that this is something with select component. I did some other
> tests. It seems that the pro
I have posted a issue in JIRA at:
https://issues.apache.org/jira/browse/TAPESTRY-846
best regards.
Raul Raja.
Geoff Longman wrote:
This is deep deep nitty gritty Tapestry internal stuff. I would
suggest you log a bug. You'll catch Howards attention quicker and
he'll know exactly the right ques
I believe that this is something with select component. I did some other
tests. It seems that the problem will not happen if the first component is
not a Select component.
On 1/26/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> I seem to remember having some sort of problem with that function a
I seem to remember having some sort of problem with that function as well at
some point. It was something about the property being null? I don't
remember.
On 1/26/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> I have a very strange problem.
>
> I have a Tapestry 4.0 page. The page includes 2 forms
I have a very strange problem.
I have a Tapestry 4.0 page. The page includes 2 forms and one dojo Tree and
some html tables for layout. The page showed up without any problem, but
when I close the page, IE will crash with an error: "The instruction at
"0x10005fbe" referenced memory at "0x10005fbe"
Before settling on Tapestry, I tried comparing Tapestry and Wicket and I
didn't like in Wicket that for each form control one has to create an
instance of a class and bind it to html page. IMO this violates the DRY(do
not repeat yourself) principle. This could be OK if Wicket was backed by some
Got it. Thanks.
On 1/25/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> When I do a contribution to replace the global in my hivemind module, I
> got a duplicate exception:
>
>
>
>
>
>
> Any thing wrong? Or I can not overwrite?
>
> Thanks.
>
When I do a contribution to replace the global in my hivemind module, I got
a duplicate exception:
Any thing wrong? Or I can not overwrite?
Thanks.
If you want to "sell" Tapestry to management, here are some points to
consider:
1) The Java "ecosystem" is far more mature than the .Net ecosystem --
there are more experienced programmers, more tools, more libraries,
etc. It's relatively easy to find a library that does what you need,
es
This is deep deep nitty gritty Tapestry internal stuff. I would
suggest you log a bug. You'll catch Howards attention quicker and
he'll know exactly the right questions to ask you.
Geoff
On 1/25/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote:
> I have your same problem and haven't found a solut
I have your same problem and haven't found a solution yet.
refer to post:
Possible bug: Property " " has already been accounted for by the element
at Annotation ...
both in the user and devel lists.
best regards.
Raul Raja,
Chris Chiappone wrote:
Actually this seems to be random behavior.
The stateful flag is still there in 3.0, isn't it? So you setting
stateful="false" on your link should solve the problem regardless of
version.
--- Pat
> -Original Message-
> From: Mark Stang [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 4:32 PM
> To: Tape
I have heard about this new tapestry 4.0, but I don't think I want to get
abandon 3.x. Seems too new-fangled and weird.
-Original Message-
From: Robert Zeigler [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 5:24 PM
To: Tapestry users
Subject: Re: session=T
It's tap4. Use the source, Lu
It's tap4. Use the source, Luke. :)
You're using direct links, which also record whether or not they're
stateful. (Defaults to true if there is a current http session, false
otherwise). Set the "stateful" parameter to false on those links.
Alternatively (and this is a better approach, really),
Tapestry 4
Mark Stang wrote:
Lindsay,
Tap 4 or Tap 3?
Mark
-Original Message-
From: Lindsay Steele [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 5:04 PM
To: Tapestry users
Subject: Re: session=T
Hi Mark,
Thanks for the response.
The thing is there are no forms on the
Looks like you're using DirectLink without setting the "stateful"
parameter to false. It defaults to true, so if you have any DirectLinks
without a "stateful" parameter you should add "stateful='false'" to
them.
jeff
-Original Message-
From: Mark Stang [mailto:[EMAIL PROTECTED]
Sent: We
Lindsay,
Tap 4 or Tap 3?
Mark
-Original Message-
From: Lindsay Steele [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 5:04 PM
To: Tapestry users
Subject: Re: session=T
Hi Mark,
Thanks for the response.
The thing is there are no forms on the page. As there is no
document
Hi Mark,
Thanks for the response.
The thing is there are no forms on the page. As there is no
documentation for the current table in Tapestry 4.0, I went and had a
look at the table documentation in version 3 - there is nothing there
about being stateful. In any case I tried
Yes, "service-property:" is used to find a service and extract a
property of that service. Occasionally useful, but not what to use
here.
In fact, there's more than one way to do this. The following are
effectively the same:
service:tapestry.url.LinkFactory
infrastructure:LinkFactory
The "infra
Hi,
I would like to create a Service with:
But set-contribution is not supported for services...
How should I do that?
Thanks a lot
-jec
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
try service: instead of service-property (link factory is a service not
a property of a service... )
Cheers,
ROn
[EMAIL PROTECTED] wrote:
Hi,
I am trying to inject LinkFactory but I am not sure what the exact syntax is.
I tried this:
@InjectObject("service-property:tapestry.url.LinkFac
Ok, issue fixed. Looked a bit closer in the trace and one of the
components in the page to be activated was subclassing a BasePage
instead of a BaseComponent. Goofy me ;)
Thanks for the quick advice though.
Mark Stang wrote:
Is it in the .application file?
-Original Message-
From:
It's not in the .application file but I did put it there thinking it may
aliviate the issue (even though I've never done that before and
everything worked fine in other sites) but it didn't.
Mark Stang wrote:
Is it in the .application file?
-Original Message-
From: Patrick Casey [ma
Yeap, tried that. Actually traced it to the getPage method and it seems
to be dieing inside the PageSource class when it tries to call loadPage
on the PageLoader class.
Patrick Casey wrote:
Did you try (for debugging if nothing else):
IPage page = cycle.getPage("foo");
Is it in the .application file?
-Original Message-
From: Patrick Casey [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 4:23 PM
To: 'Tapestry users'
Subject: RE: Tap 3 getPage problem.
Did you try (for debugging if nothing else):
IPage page = cycle.getPage("foo");
Did you try (for debugging if nothing else):
IPage page = cycle.getPage("foo");
if (page != null)
cycle.activate(page);
else
Log.error("Strange things are afoot at the circle K");
--- Pat
> -Original Message-
> From
Hi, I'm still using Tapestry 3 and am running into something strange
when calling the getPage() method on the IRequestCycle object. In the
current application I'm working on the user logs in and is then
forwarded to another page via cycle.activate(somePage). I've done this
for 3 other sites and
It might be:
statefulboolean in no trueIf true (the default), then the
component requires an active (i.e., non-new) HttpSession when triggered.
Failing that, it throws a StaleLinkException. If false, then no check is
necessary. Generally, forms are stateful, but it is poss
I have a site and I am trying to make it so that users can bookmark
pages.Some of the site is protected but other sections are quite
simple. I want users to be able to bookmark them, send them as links
or search engines to return to the pages.
The problem is that, in many links there is
Is there any way to set page-class-packages in hivemind instead of the
.application file?
-Aj
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
They are; I should have mentioned that. I'm likely to still be on
3.0 for at least the next few months.
--- Pat
> -Original Message-
> From: Cliff Zhao [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 1:22 PM
> To: Tapestry users
> Subject: Re: Wiring up an E
Are these Tapestry 3 or 4? They seems to be Tapestry 3.
On 1/25/06, Patrick Casey <[EMAIL PROTECTED]> wrote:
>
>
> Steve,
>
> Probably the easiest way to invoke a service is to link directly
> to
> it rather than use a directlink, have the page listener fire, and then
> invoke the
I am posting this here because betterpetshop seems dead.
Was looking betterpetshop's spring configuration file and noticed the
settings below.
If "petshopService" bean references "petshopServiceTarget" directly,
what is the purpose of setting "poolTargetSource" and "businessObject"
bean??
R
What timing. I checked the link went I sent the response, and it was up,
but it is indeed coming up blank now.
Google cache to the rescue!
Here is the bit that deals with the Introspector. You should still check
the page sometime later for the other possible causes and fixes, however, as
there
Hi,
I am trying to inject LinkFactory but I am not sure what the exact syntax is.
I tried this:
@InjectObject("service-property:tapestry.url.LinkFactory")
public abstract LinkFactory getLinkFactory();
but I get the following error message:
'tapestry.url.LinkFactory' is not a valid loca
I got a blank page for the link. Can you get the page now?
On 1/25/06, Spencer Crissman <[EMAIL PROTECTED]> wrote:
>
> I haven't had this happen recently, so I'm not sure if this is the same as
> the Perm Gen error, but the following link details several causes of the
> JVM
> potentially running o
anyone? :(
- Original Message -
From: "Daniel Lydiard" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, January 25, 2006 2:51 AM
Subject: T4 CookieSource and persistant cookies.
I noticed that CookieSource doesn't write persistant cookies, is there
something else that's bui
Actually this seems to be random behavior. Even if I don't fill any
fields it sometimes works, other times I get the exception. Here is
more of the stack trace if anyone is interested:
org.apache.tapestry.spec.ComponentSpecification.claimProperty(ComponentSpecification.java:674)
org.apache.tapes
I setup the following simple test application which works:
test.application:
web.xml:
Tapestry4.0-test
Test
org.apache.tapestry.ApplicationServlet
1
Test
/app
hivemodule.xml:
I have been getting this exception on one of my pages. Its basically
a search page with some optional fields. If I fill out at least one
field everything seems fine. If I search with all fields empty I get
the following exception. Which I never used to get before I moved
over to annotations ins
Hello,
What about using the diabled parameter of TextField itself? This can be
the value of "readOnly".
Ivano wrote:
Had the same problem.
I opted to substitute readonly fields with Insert components using a
Conditional (or better yet an If / Else combination).
Or you could implement your ow
Inge,
I noticed you have:
It seems that there should be a /app/ in there. I don't believe your tapestry
servlet and your jsp servlet are one. In your web.xml I thin you have
specified
22
23 HuronPeak
24 /app
25
My URL's are of the form:
https
I have considered it in the past and decided not to do it. ASL is
ideally suited for frameworks and not end user tools. Spindle is
currently MPL and in my mind a better license for end user apps. GPL
is not compatible with the EPL (Eclipse license) .
Rather than start a long debate about licenses.
Not sure if I know excactly what you mean, but it's all in the same context,
meaning that the JSP is in the same web application as my tapestry pages.
I've tried stepping through this with the eclipse debugger to try to see
where the tapestry ApplicationServlet or other Tapestry classes decide to
Steve,
Probably the easiest way to invoke a service is to link directly to
it rather than use a directlink, have the page listener fire, and then
invoke the service. So what I'd recommend is that you see if you can use the
existing ServiceLink component to invoke your service or,
Had the same problem.
I opted to substitute readonly fields with Insert components using a
Conditional (or better yet an If / Else combination).
Or you could implement your own subclass of TextField that checks for a
formal
parameter readonly="true/false" and writes the output attribute only
wh
Hi,
I have a form with for loop.
the for loop generates a list of textfields.
Some of the fields are readonly and some are not.
I know if a field is readonly by using ognl function that return true or false.
however the readonly attribute is not set as readonly=true or readonly=false.
It sets a
I haven't had this happen recently, so I'm not sure if this is the same as
the Perm Gen error, but the following link details several causes of the JVM
potentially running out of memory on hot redeploys of web applications. We
had one web app that was doing this fairly often, and implementing the
Thanks Howard. In Tapestry 3.0, we did our application level context
initialization via the BaseEngine method setupForRequest(RequestContext
context). This mechanism isn't available in 4.0. Is there a recommended
alternative in 4.0?
Gary Reed
McKesson, Horizon Lab Development
---
Could it be that, redeploying the application, JBoss creates a new
associated classloader, without releasing old classes and thus filling
up the memory space?
Ivano Pagano
Jason Dyer wrote:
I can't find the link right now, but I remember reading that when you load a
class, it gets stored in
Inge,
Are they both off of the same context?
hth,
Mark
-Original Message-
From: Inge Solvoll [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 7:28 AM
To: Tapestry users
Subject: Re: Including tapestry page with jsp:include doesn't work
Same result with and by the way. They all probably
We wrote one for Tapestry 3. We wrote a service and then in our HTML we have
an IFrame.
The code sets up the "blob". Which when the HTML is displayed automatically
creates the download.
/* one example download */
DownloadService ds = (DownloadService)
I can't find the link right now, but I remember reading that when you load a
class, it gets stored in PermGen memory. The problem is that (apparently and
AFAICR) when a new version of a class is loaded, the old version is never
released from PermGen (Permanent Generation memory...)
This was
Geoff,
Have you considered bringing it under the Apache/Tapestry umbrella? I am sure
others would love to help...
regards,
Mark
-Original Message-
From: Inge Solvoll [mailto:[EMAIL PROTECTED]
Sent: Wed 1/25/2006 5:09 AM
To: Tapestry users
Subject: Re: Eclipse (with spindle 3.2.13) + T
Here is more
http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions
Jason, what makes you think it is a JVM issue?
Sergiy
> -Original Message-
> From: Jason Dyer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 25, 2006 5:44 PM
> To: Tapestry users
> Subject: Re: OutOfMemory
I had the same problem with tomcat. You can delay it by increasing permanent
memory to the JVM, but the only real fix seems to be restarting on deploy...
Apparently this is a JVM issue, not particular to any app server.
On Wednesday 25 January 2006 10:38, Cliff Zhao wrote:
> After several time
You have to allocate more space for permanent object space using
java -XX:MaxPermSize=128m
or whatever you want instead of 128 MB.
Sergiy
==
Multiplex Systems LLC
http://www.mpxsys.com
==
> -Original Message-
> From: Cliff Zhao [mailto:[EMAIL PR
> public abstract class BoxInventory {
should be
public abstract class BoxInventory implements IComponent {
and you also should care that the page class extends BasePage
... youre familiar with java, right ?
regards
Korbinian
> -Ursprüngliche Nachricht-
> Von: Schabek Lukasz [mailt
import org.apache.tapestry.AbstractComponent;
import java.util.Date;
import java.text.Format;
import java.text.SimpleDateFormat;
public abstract class BoxInventory extends AbstractComponent {
private Format _dateFormat;
public Format getDateFormat()
{
i
After several times redeploy my war file in JBoss 4.0.3SP1, I get this
error: java.lang.OutOfMemoryError: PermGen space
Any advice?
Thanks.
Great! It works.
Thank you very much.
On 1/25/06, Hugo Palma <[EMAIL PROTECTED]> wrote:
>
> Try
>
>
>
> On 25/01/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
> >
> > Thanks. But how to write it?
> > ognl:new java.lang.Object[]{asset:s1, asset:s2}
> >
> > Not work.
> >
> > Thanks.
> >
> > On 1/25/06,
I just updated the plugin from within IDEA, and it downloaded and
installed without any problems. It's looking really good!
Shawn
Quoting Hugo Palma <[EMAIL PROTECTED]>:
> Tapidea release 0.2 is out
>
> Changes are:
>
> - Added new step in Tapestry module type to select the descriptors
Hi!
I've create some components inside page of my application.
Edit.html
==
Edycja
===
Edit.page:
===
http://jakarta.apache.org/tapestry/dtd
Try
On 25/01/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> Thanks. But how to write it?
> ognl:new java.lang.Object[]{asset:s1, asset:s2}
>
> Not work.
>
> Thanks.
>
> On 1/25/06, Eric Schneider <[EMAIL PROTECTED]> wrote:
> >
> > There's a "stylesheets" binding where you can pass the Shell compo
Thanks. But how to write it?
ognl:new java.lang.Object[]{asset:s1, asset:s2}
Not work.
Thanks.
On 1/25/06, Eric Schneider <[EMAIL PROTECTED]> wrote:
>
> There's a "stylesheets" binding where you can pass the Shell component
> an Array of IAsset objects.
>
> http://jakarta.apache.org/tapestry/tap
There's a "stylesheets" binding where you can pass the Shell component
an Array of IAsset objects.
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html
http://jakarta.apache.org/tapestry/tapestry/apidocs/org/apache/tapestry/IAsset.html
Hope that helps.
Eric
On 1/25/06, Cliff
Use the stylesheets property.
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html
On 25/01/06, Cliff Zhao <[EMAIL PROTECTED]> wrote:
>
> How to specify multiple stylesheets in Shell component?
>
>
How to specify multiple stylesheets in Shell component?
Liu,
My solution is to patch org.apache.tapestry.portlet.PortletRendererImpl
to catch PageRedirectException thrown during renderPage():
public void renderPage(IRequestCycle cycle, String pageName) throws IOException
{
try {
cycle.activate(pageName);
...
writ
Same result with and by the way. They all probably use the same mechanism for
including content.
Maybe tapestry depends on some kind of request information that isn't there
when the webserver performs an include like this?
On 1/25/06, Inge Solvoll <[EMAIL PROTECTED]> wrote:
>
> I have the follo
I have the following problem:
Old parts of my application is implemented in struts, while new parts are
implemented in tapestry. This causes a need for quite a few integration
points, which have been no problem so far.
Now I need to include a tapestry page from a jsp, or get the html response
of
hi Raphael,
What's your solution to this problem?
Regards,
Liu Yan
- Original Message -
From: "Raphaël Jean" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, January 25, 2006 6:26 PM
Subject: RE: PageRedirectException throws a NullPointerException in a Portlet
Hi Liu,
I en
I hope to not mislead you...
My knowledge is that your component/page will call the service and pass
as an argument to the service, the data values necessarily to construct
a URL to that service.
The service, when it receives the request, having constructed the URL,
will have the knowledge to
Your listener could return an ILink which would be a service-link created
by your service's getLink() method which contains all necessary parameters.
Or you could display a result-page with an appropriate download link to you
service (ServiceLink component)
> -Original Message-
> From: S
Yes, that sounds like an awful lot of work for one guy. You're all alone on
this? I'm surprised there isn't a community behind this plugin, with it's
huge popularity.
Spindle for tapestry 3 was a life saver for me in 2005, thanks a lot!
Inge
On 1/24/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
>
Hi Ryan, hi Kent,
thank you for the feedback !
So I think using the 'good, old' solution to split the sentence into 3 parts
would be the lesser evil :)
Until there is a solution provided by Tapestry directly, like
'messages.parseMessage()' ?
So it could be possible to include a simple compon
Tapidea release 0.2 is out
Changes are:
- Added new step in Tapestry module type to select the descriptors to
generate and their path.
- Added actions for every framework and contrib component.
- You can now edit the template used to generate the Tapestry descriptors.
- You can filter th
I noticed that CookieSource doesn't write persistant cookies, is there
something else that's built in I can use to do this?
Am I doing things wrong, or do I just do things the old fashion way?
I'm doing:
@InjectObject("infrastructure:cookieSource")
public abstract CookieSource getCookieSource
Hello everyone,
two issues which are kind of bothering me right now, hopefully
somebody can help.
1. depending on whether a request was handled successfully or not
(i.e. validation failed) I use the redirect-after-post pattern. In
particular that means that for successful operations I redirect to
Hi Liu,
I encountered the same problem. Unfortunately, you cannot throw a
PageRedirectException when rendering a portlet page. This can only be done in a
listener or during form rewind (that is, during portlet action processing).
Raphael Jean
EntropySoft
> -Original Message-
> From: Li
> This is an interesting poll: the first result was that Wicket is the one,
now
> it is Tapestry
I've seen the comparison of Tapestry vs JSF, but it seems one comparing to
Wicket is in order. Can anyone briefly summarise the approach and pros/cons
when comparing them?
John
---
Like many folks I have a requirement to stream out reports (or whatever)
in various formats eg pdf, xls
Following some threads here I've started writing a Service to handle
this but am having trouble wiring it into my pages (some basic Tap
knowledge is eluding me here)
The basic flow is:
ReportC
85 matches
Mail list logo