Actually I did it in the form listener. However, the exception was thrown
before the request hit page begin render. Hence, even i put a catch block in
my listener, is of no use.
Any idea?
K.
On Friday 19 August 2005 12:05, Patrick Casey wrote:
> What happens when you try to catch it in t
What happens when you try to catch it in the submit listener? Does
your catch block not run? Or are you trying to redirect directly from there?
If memory serves, if you want to navigate via cycle.activate() you
have to do it in the form listener method, not the submit button's lis
Check the link below:
http://jakarta.apache.org/tapestry/tapestry-annotations/index.html#Persist
--
Serge
Original Message Follows
From: "Sebastien Tardif" <[EMAIL PROTECTED]>
Reply-To: "Tapestry users"
To: "'Tapestry users'"
Subject: property-specification should be optional most of
Hi,
I'm using Tapestry's Upload component to upload files. It throws
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException when
the upload file size exceed the allow range. What I need to do is to turn
that exception to a more meaningful message before display to the HTML page
I was reading section 3.5.3 Specifying properties in the page specification
of Tapestry in Action and then realized that writing something like:
Doesn't add anything to:
(In the page class)
public abstract ToDoItem getToDoItem()
So the property-specification should be optional here. Reflection
You don't think http://spindle.sourceforge.net/ is bringing enough to live
with the imperfection of Eclipse when you do Tapestry work?
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 9:37 PM
To: Tapestry users
Subject: Re: Tapestry on Mac?
Hi,
I am subclassing BaseComponent, and in the class renderComponent()
method, I would like to render the contents of the component's template
after some logic checks are performed and determined that the component
should render.
How do I do that? I tried to use render() method but I get
st
On Aug 18, 2005, at 3:55 PM, Frank wrote:
So, I guess Eclipse is the tool of choice to use on Mac?
That's quite a personal decision. I use IntelliJ personally.
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
hey thanx a lot nick, im gonna check that solution out. it might do the
trick, il let u know how it went :)
On 8/18/05, Nick Westgate <[EMAIL PROTECTED]> wrote:
>
> Hi Mark and Muhariz.
>
> Have you considered using the LinkSubmit selected and tab parameters?
>
>
>
>
>
>
> I'm using a str
I think some of the problems you are experiencing are part of a bug I
found in the current version of protoype, which I've yet to patch back
to them. (I only found and fixed it a day or so ago).
Those interested in tapestry/ajax would benefit from taking a look at
tacos.sourceforge.net. The curren
> -Original Message-
> From: Szabo Attila [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 18, 2005 5:12 PM
> To: [EMAIL PROTECTED]
> Subject: Javascript problem
>
> Hello Howard!
>
> I`ve been working with Tapestry for 6 months. We`re writing a
> web based
> loan system for a bank
Thanks Howard! (for both answers)
-C.
On 8/18/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> There's two different pipelines that you can easily plug into to
> provide whatever pre- and post-request processing you want. The outer
> pipeline is based on the Servlet API; the inner pipeline is
Don't know if anyone still cares, but I solved the problem (with the
recommendations of others in this list) by using a servlet filter. The
servlet filter simply checks the incoming URL and rewriting any '?' to '&'
in the query string (e.g. httpRequest.getQueryString()). I must admit it is
a hac
Yeah, just add to your build file as Paul mentioned earlier.
Cheers,
Mark
On 8/18/05, Warner Onstine <[EMAIL PROTECTED]> wrote:
> I finally got it to build, but I had to modify the Tap source code as
> the HiveMind library does indeed not have the method signature that
> Tap thinks it does. I h
I finally got it to build, but I had to modify the Tap source code as
the HiveMind library does indeed not have the method signature that
Tap thinks it does. I haven't had a chance to dig into why this is
though.
I'm now dealing with the XTile issue that you were.
-warner
On Aug 18, 2005,
There's two different pipelines that you can easily plug into to
provide whatever pre- and post-request processing you want. The outer
pipeline is based on the Servlet API; the inner pipeline is based on
the WebRequest API (an abstraction around Servlets or Portlets).
There are configuration poi
It seems that cleanupAfterRequest() is no longer being called during
service() processing. I grep'd 4.0 b4 source and there seems to be no
references to the method.
In T4, what is the preferred method for releasing resources at the end
of a request?
Thanks, C.
---
Yeah, I'm totally baffled. The only things I can think of are that
maybe you're not on ant 1.6.2, or else your build.properties does not
point to the correct hivebuild directory? Even then, you shouldn't be
seeing an error like the one you're seeing. If you want, you can send
me a tarball of you
Eclipse is a tad sluggish on OS X (at least on my 1.5 GHz PowerBook with
2 GB RAM), but it continues to get faster with each release (or has thus
far). It is usable, though. That's why I suggested the 1.8/2.0 GHz G5
iMac would be faster than the iBook (the iMac has a significantly faster
front-si
nevermind didn't know you could do {...,...} in ognl.
On 8/18/05, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> Hi,
> This is probably an easy question but how does one pass mulitple
> parameters for a DirectLink inside a table row for contrib:Table?
>
>
>
> --
> ~chris
>
--
~chris
That's excactly what's going on; when IRequestCycle.activate() is
invoked, the PageValidationListeners for the new page are invoked.
Any of them may throw PageRedirectException, in which case that new
page is activated ... but if that page was already a "potential"
activatee, it's an error (becaus
On Aug 18, 2005, at 3:55 PM, Frank wrote:
Cool!
So, I guess Eclipse is the tool of choice to use on Mac?
I use it on my Mac, but be aware that the Mac version of eclipse is
not up to par with the Windows or even the Linux version. I suppose
if all you're looking to do is Tapestry devel
You're going to have trouble with that approach I think if you have
two instances of the same page up for the same session because the
persistent properties are linked to session/page, not session/page/instance.
So if you bring up:
Edit Invoice 1 -> Persist 1
Edit
Hi,
This is probably an easy question but how does one pass mulitple
parameters for a DirectLink inside a table row for contrib:Table?
--
~chris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Paul and Scott, Thanks!
-Original Message-
From: Scott Wadden [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 11:53 AM
To: Tapestry users
Subject: Re: How to close the brower Inside a Listener? (TP 3.0.3)
It might be worth noting that this example will only work in tapestry
4
Not yet, but it is currently under development. It's not easy
developing a plugin against an API that could conceivably change,
plus the API under the covers is much different from the 3.0 API.
-warner
On Aug 18, 2005, at 1:05 PM, Frank wrote:
Does spindle have a tapestry 4 version?
Regar
Tapestry is somewhat more efficient. When creating a
client-persistent page property, the properties are bundled together,
serialized to an object stream, optionally compressed, then MIME
encoded. So you have a smaller number of much larger query
parameters. You also get some security-by-obscurit
There were some bugs that were fixed in 4.0 beta-4 (the currently
available release). I am using this in my production application, so
I'm pretty sure it works.
On 8/18/05, Denis Souza <[EMAIL PROTECTED]> wrote:
> Has anyone here played around with components that don't have a
> specification fil
We use a persistant page property (the db id) and then load in pageBeginRender
which makes it a little easier to deal with validation errors and create or edit
objects using the same page.
Cheers,
Geoff
public abstract Long getCompanyId();
public abstract Company getCompany();
Does spindle have a tapestry 4 version?
Regards,
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I recommend IDEA, even without Spindle it helps alot.
--- Warner Onstine <[EMAIL PROTECTED]> wrote:
> I think in general Eclipse is the tool that you'll
> find most Tap
> developers using simply because of Spindle's
> excellent integration
> (http://spindle.sf.net). IDEA though is quite
>
I think in general Eclipse is the tool that you'll find most Tap
developers using simply because of Spindle's excellent integration
(http://spindle.sf.net). IDEA though is quite snappier than Eclipse
is, even if it doesn't have a great plugin like Spindle to aid in
Tapestry development.
-
It's pretty functional, but you can always use Emacs, Xcode, vi, IDEA
(if you have a license), etc.
My personal environment is Eclipse with the Tomcat Plugin (and
Spindle/etc) so I can launch Tomcat within Eclipse and debug the
Tapestry applications. I know some people here like Jetty as their
se
Cool!
So, I guess Eclipse is the tool of choice to use on Mac?
Regards,
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Frank,
A little over a year ago I picked 1.5GHZ Powerbook, with a GIG of
ram. I totally dig it. I can't see myself ever developing on a
window machine again.
e.
On Aug 18, 2005, at 2:59 PM, Frank wrote:
Hello,
I am thinking of getting a Mac Ibook or iMac.
Can I develop web apps usi
Thanks Seloha, but I don't think my issue is with the annotations.
Plus I've got everything set up now to build on 1.5 properly, I'm
just trying to figure out where this build error is coming from.
-warner
On Aug 18, 2005, at 12:22 PM, seloha . wrote:
I have built the cvs head with os x 10.
Thanks for the help.
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes, but load up on RAM (not from Apple, of course). Eclipse + Tomcat +
Tapestry + Cayenne/Hibernate + everything else takes up a lot of RAM.
The iMac would be faster than the iBook, too.
-Original Message-
From: Frank [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 3:00 PM
To:
I have built the cvs head with os x 10.4 using jdk1.4.2 and skipped the
annotations.
If you look in an earlier post on this forum today I have outlined which
files I changed to achieve this.
hope this is useful,
Paul
-
To
The short answer is yes.
Paul
Frank <[EMAIL PROTECTED]> wrote:
Hello,
I am thinking of getting a Mac Ibook or iMac.
Can I develop web apps using Tapestry on a Mac?
Thanks
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello,
I am thinking of getting a Mac Ibook or iMac.
Can I develop web apps using Tapestry on a Mac?
Thanks
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Has anyone here played around with components that don't have a
specification file? I heard there was some bug in a previous version o
Tapestry 4 (beta 2, I think) that wouldn't allow you to do it but I don't
know what the status is today.
I have been able to do it with pages with no problems.
It might be worth noting that this example will only work in tapestry
4. To perform the same thing in 3, you can get rid of the abstract
IPage property and @InjectPage annotation, and change the listener
method to something like this:
public void cancel(IRequestCycle cycle)
{
//do stuff
IPage
I would like to do client side validation on two form elements - e,g. there
are fields for both cellphone and homephone and neither are mandatory, but
the user must supply atleast one.
There are no customs components on this page. All I need to do here is to
register my own javascript validation f
Richard & Jesse,
That did the trick. Thanks!
e.
On Aug 18, 2005, at 11:53 AM, Hensley, Richard wrote:
Eric,
The nature of hivemind is to create a proxy for a service and
inject the
proxy where needed. In this case, the object in your component is
not an
instance of your class, but an in
BEWARE: untested code!
@InjectPage( value="CloseBrowserWindow" )
public abstract IPage getCloseBrowserWindowPage();
public IPage cancel() {
// do stuff
return getCloseBrowserWindowPage();
}
CloseBrowserWindow.html:
window.close();
Ron -
Sounds like a very useful doc but the attachment didn't seem to make
it through.
Mark
On 8/18/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> Hi all :)
> Just a small autogenerated ugly pdf, with a quick-ref to tapestry 4.0b4
> components. might be usefull...
> The PDF is generated from the
Hello there! I have Tapestry in Action and yesterday I've got my Enjoy
Web Development with Tapestry, which is a great book as well, and is
4.0 'certified". It's a nice book, mostly for those how are a bit
familiar with Tapestry. I really recommend it. I'm also looking
forward my Tapestry Live vers
If you are running firefox, you might want to install the greasemonkey
extension, and then go get the ajax request/response debuggers. They
help out a lot.
On 8/18/05, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem with returning data from an XTile request back to
> the cl
Can you provide a simple example?
Thanks.
-Original Message-
From: Paul Cantrell [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 10:01 AM
To: Tapestry users
Subject: Re: How to close the brower Inside a Listener? (TP 3.0.3)
You could try having the listener redirect to a IPage
Hi,
I'm having a problem with returning data from an XTile request back to
the client. It seems that the string being passed back to the client is
too long or something because the content gets chopped on the screen.
Has anyone experienced something similar or know of any limitation on
the s
Is there a good way for a page to initialize itself if it's being
called from the page service?
A different way of asking this might be: is there a way to initialize
values only if no listeners are being called?
I have a few situations where values on the page are populated (in,
say, page
I used to be a firm believer in that camp as well, but I'm getting a
bit more pragmatic in my old age. Keeping everything in the request can make
for a nightmare of hidden fields and ridiculously long edit links and
whatnot e.g. the "edit this dog" link has to encode:
EditTarget=D
Ok, I'm now building with 1.5 against hivemind-1.1-beta-2 checked out
from cvs and I am still getting this error:
-compile-init:
[mkdir] Created dir: /Users/warner/cvs/opensource/jakarta-
tapestry/framework/target/generated-java
[echo]
[echo]
[echo] *** Compiling Java source
The simpler approach may be to not use persistence at all -- make
everything request-based, and pass values through hidden fields as
necessary. Trying to make what you're describing work with the
session is possible, but will be a headache.
This is a good general strategy. I prefer not to k
In the setter for that page property. E.g. if your page property is
named persistKey then:
Public void setPersistKey(String key) {
fKey = key;
fCurrentEditTarget = loadFromStorage(fKey);
}
This is one of those cases where the abstra
You could try having the listener redirect to a IPage that contains
Javascript to close the browser window.
On Aug 18, 2005, at 10:43 AM, Patrick Yip wrote:
I have a simple form that have 2 submits that tied to 2 listeners.
One submit is to Save and the other is to Cancel.
Is it possible to
Pat,
Where do you intercept that value?
-Original Message-
From: Patrick Casey [mailto:[EMAIL PROTECTED]
Sent: Thu 8/18/2005 10:37 AM
To: 'Tapestry users'
Subject: RE: How to edit different data with one page (basically multiple
"instances" of one page) ?
You're going to
I have a simple form that have 2 submits that tied to 2 listeners.
One submit is to Save and the other is to Cancel.
Is it possible to programmatically close the browser inside the Cancel
listener?
Nick,
That looks like a very interesting solution. Could you explain which values
are which?
I subsituted your code into my environment and it wants deleteFormAction to be
a static variable on "my.project.PatientEdit". I tried to get it to call my
method, but my method is a listener. So, I
You're going to need to do your own persistence strategy. The
simplest solution is just to put the unique key of each invoice in the edit
form as a hidden field. If you put it on *top* of the form, then it is set
first during the rewind and you can use its being set as a trigger to
bootstr
Hello list,
newbie question:
I have a page with form to edits some data (eg. invoce1). How shall I do
it to be able to use the same page to edit different data (eg. invoice2)
at the same time, so I can edit both invoices simultanously ?
In different words user has two windows opened and works wit
On Aug 18, 2005, at 9:30 AM, Warner Onstine wrote:
Even though I've set 1.5 as the default VM.
What is ant using, is there a way to tell?
ant -diagnostics should give you a bunch of info about what it's
running.
I just wanted to let you know that although you may have set 1.5 to
be th
Eric,
The nature of hivemind is to create a proxy for a service and inject the
proxy where needed. In this case, the object in your component is not an
instance of your class, but an instance of a delegating proxy created by
hivemind and injected into your component.
If you need some custom metho
Hi all :)
Just a small autogenerated ugly pdf, with a quick-ref to tapestry 4.0b4
components. might be usefull...
The PDF is generated from the jar, so it should be quit reliable.
Cheers,
Ron
-
To unsubscribe, e-mail: [EMAIL PR
You might make your service implement an interface that extends
IEngineService, and then add in the methods you want access to in
that. your hivemodule service spec should then use that as the service
interface instead of just IEngineService . I think that will work. ?
..
jesse
On 8/18/05, Eric Sc
Hi,
I'm still very new to hivemind, so bear with me.
I'm injecting a custom IEngineService implementation into a
component. All seems to work fine until I need to call API that is
specific to my service. The problem is due to the component's
service instance variable being an instance o
Its good to know that this is *supposed* to work.
The pageValidate() is located in the superclass for the called page.
The account/signIn page derives from BasePage, so it doesnt share the
pageValidate() code.
Does anyone know what the error actually means? Is it trying to say
that a potentially
There is a component binding prefix called "state:" that returns true if the
object has been created. See
http://jakarta.apache.org/tapestry/UsersGuide/bindings.html for explanation.
- Original Message -
From: "Dustin Frazier" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, August 16, 2005
Then it follows, logically, that if you get one you will give all of us one. I
suggest we all chip in and get Warner a free pony.
-Original Message-
From: Warner Onstine [mailto:[EMAIL PROTECTED]
Sent: Wed 8/17/2005 6:38 PM
To: Tapestry users
Subject: Re: T4 version of Tapestry In Actio
My Cayenne usage with Tapestry applications involves:
1) Putting a Cayenne DataContext in my Visit object (I run stateful)
2) Grab the DataContext object (if needed) from the Visit object in my
pages
3) Do anything I need (or just use objects already fetched)
The DataContext is pretty central to
How is Cayenne with dealing with session and transaction issues and
lazy initialization problem?.
I'm not sure what you mean. Maybe you can email me personally and
explain the issues? I'd be happy to offer suggestions.
Would you say that it is easy to migrate
from hibernate to cayenne?
How is Cayenne with dealing with session and transaction issues and
lazy initialization problem?. Thats what I seem to have the most
difficulty with. Currently I seem to have to use lazy="false" with
all my persistant objects. Would you say that it is easy to migrate
from hibernate to cayenne?
I just checked out from head again (didn't see any code changes) and
am still getting this error:
-compile-init:
[mkdir] Created dir: /tmp/jakarta-tapestry/tapestry/target/
generated-java
[echo]
[echo]
[echo] *** Compiling Java sources to /tmp/jakarta-tapestry/
tapestry/tar
I can offer a few reasons why I like it better.
It's based on another excellent O/R framework (EOF, the O/R framework
bundled with WebObjects).
I think it's easier to learn, the naming is less awkward, and the
Cayenne mailing list is more helpful than the Hibernate forums.
Cayenne dynamic
Sean LeBlanc comcast.net> writes:
> Adding to this, I see that Tapestry 4.0 - beta 4 has PageRenderListener as
> deprecated. Would getting rid of the "implements PageRenderListener" get rid
> of these warnings in 3.0.3, and more importantly, would it still work the
> same?
PageRenderListener has
Is there a way to customize page or component description and template
file search algoritm?
For example, currrently I must have file Hello.page and Hello.html for
page named Hello,
but what if I want to associate page 'Hello' with
'/WEB-INF/pages/Hello.page.xml' description file and with
prefix
Hi Mark and Muhariz.
Have you considered using the LinkSubmit selected and tab parameters?
I'm using a string because I like to do naughty things: adding extra
'parameters' to the string and parsing it later. But the certified Tapestry Way
would be to use an array
Mark,
I have built the cvs with os x 10.4 and jdk 1.4 (not 1.5).
I also manually had to add :
group="servletapi"/>
to contrib build.xml file. I sent an email to the dev list about this but it
seems to have got lost (more than likely my ineptitude).
I also modified the build.xml file in
79 matches
Mail list logo