Hi all!
We are developing an intranet application for an institution and we have
developed some components. Most of them are not reutilizable outside our
application (because them are targeted to the app business logic or have
to wait to some refactoring to be separable from the rest.) So far we
h
Howard Lewis Ship wrote:
Getting the FieldLabel to work with the various field components
(TextField, etc.) is problematic, and only works if the FieldLabel
precedes the field itself. I'm not certain this can be properly fixed.
I think a more proper way to see it, it's that it's not easy to fi
Perhaps the checkbox (etc.) could be responsible for rendering its
own label, and this could be optional for backward compatibility. Or
offer both a "checkbox" component and a compound "labeledCheckbox"
component.
Todd is right that the current situation interferes with localization
and s
The Problem:
Tapestry links, like most everybody’s generated links (this isn’t
something specific to Howard’s code), are vulnerable to attack by
somebody who decides to change the url.
Let’s say, for example, I have a DirectLink that takes as its parameter a
This problem is probably very important for those of us that localize our
pages for languages that read from right to left, or checkboxes that
sometimes look more aesthetically pleasing when they appear before the
label.
On 11/10/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Getting the Fie
Getting the FieldLabel to work with the various field components
(TextField, etc.) is problematic, and only works if the FieldLabel
precedes the field itself. I'm not certain this can be properly fixed.
On 11/10/05, mike jones <[EMAIL PROTECTED]> wrote:
> Hi
> I have the following in one of my htm
Hi ,
I have been searching the archives for this answer , but most solutions are
for 3.0 and don't work with 4.0 anymore . I was able to achieve this by
overwriting the renderPage method of a custom BasePage obj :
public void renderPage(IMarkupWriter writer, IRequestCycle cycle) {
Much appreciated !
As for the procedure , once again goes to show how smart tapestry is built .
Cosmin
- Original Message -
From: "Jeff Lubetkin" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Thursday, November 10, 2005 3:59 PM
Subject: RE: How to change content-type of rendered page
Hi,
No , not really so.
HiveTranse is indeed compatible with HiveMind 1.1 (since version 0.5.0) but
it does not provide support (yet?) for Cayenne.
However, in the HiveMind WIKI I saw some posted code that shows Cayenne
integration, it would be worth a look, I believe.
Cheers
Jean-Franc
Hi
I have the following in one of my html files.
When both fields are not filled in I get the following messages from the
validation delegate when I loop through the formerrors
- You must enter a value for Title.
- You must enter a value for Text.
- You must enter a value for Text
Is it possible to use interceptors for page validation rather than
writing the validation stuff into the page itself and if so could
someone give a point in the right direction?
--
Dan Adams
Software Engineer
Interactive Factory
---
I'm sure somebody out there has already done up a page on how to
do this, but my googling skills don't appear up to the job of finding it.
I'm on Tapestry 3.0.3. I want to change the system's default
datasqeezer that the prebuild link generators (DirectLink, PageLink,
In your page class, override getResponseContentType:
public ContentType getResponseContentType()
{
return new ContentType("application/xml");
}
jeff
-Original Message-
From: Cosmin Bucur [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 10, 2005 1
Hi ,
I have been searching the archives for this answer , but most solutions are
for 3.0 and don't work with 4.0 anymore . I was able to achieve this by
overwriting the renderPage method of a custom BasePage obj :
public void renderPage(IMarkupWriter writer, IRequestCycle cycle) {
HttpServletRe
And, as I said, it works fine for me. As I write this, my eclipse is
paused on the renderComponent method of the @Any component, right on the
breakpoint I put there.
--- Pat
> -Original Message-
> From: Dan Adams [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 10, 20
Like I said, that works fine when I write the code but if you try to set
a breakpoint in one of the **TAPESTRY** components it doesn't work even
if you have the src jar attached.
On Thu, 2005-11-10 at 09:53 -0800, Patrick Casey wrote:
> What version of eclipse and Tapestry are you on? I have
Not so much a SecurityException as a pre-defined page redirect to the
naughty page.
On 11/10/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
>
> I could *imagine* that the "right" way would be adding a hivemind
> interceptor to the direct service.
> This should be as easy as contributing anything to hi
Yah, I know I could use pageValidate for everything, but that's sort
of bodgy because it's really meant to validate, well, pages, not resources.
So if both users and administrators can see the "change Password" page, it's
awkward to recode it as "users can see the change Password page if a
What version of eclipse and Tapestry are you on? I have had zero
problems debugging into enhanced classes via eclipse 3.1 and Tapestry 3.0.3;
class enhancement is pretty common these days (it's how Hibernate works for
example), so if there was an intrinsic debugging problem with Eclipse an
One last thing:
I have looked at the example application, PartialForms page, for several
times, and I just don't get it. Why does it work if none of the
PartialForm components include the refreshParts attribute?
I have tried to make it work in my application, but the forms just keep
refreshi
Ron,
I had the script element, the problem was that I had a servlet filter that had
prevented its
download, so it's all working now. Thanks!
-Amir
Ron Piterman <[EMAIL PROTECTED]> wrote:
look if there is a script element just after the
something like
src="/port/app?digest=b4909c59529064c46
A couple of more iterations around the problem, and I'm having problems.
I'm using nesting of PropertySelection components on the page, where
another PropertySelection component is rendered in a Part, when the
value of the first one changes. And a third PropertySelection of the
same kind if the
We use the method Rob Zeigler mentioned almost exclusively here at
work. Works like a charm. (IIRC this is also in Ship's Tapestry book,
but I may be off about that.)
Phil
On 11/10/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> What about page attache listener?
>
>
> ציטוט Patrick Kelly:
> > I hav
What about page attache listener?
ציטוט Patrick Kelly:
I have been playing around with pageBeginRender to set some vars when
the page first loads. The problem is that I have a form with a submit
and I don't want the vars to be set again, but pageBeginRender is always
called when the form is
How about:
if (!cycle.isRewinding()) {
//set vars
}
?
(cycle.isRewinding will return false when the page is first being
rendered, and true when the user submits the form)
Robert
Patrick Kelly wrote:
> I have been playing around with pageBeginRender to set some vars when
> the page firs
Not sure if it's the "correct" approach, but I use finishLoad() for
initialising properties to their defaults.
On Thu, 10 Nov 2005 17:58:11 +0100, Patrick Kelly <[EMAIL PROTECTED]>
wrote:
I have been playing around with pageBeginRender to set some vars when
the page first loads. The prob
I have been playing around with pageBeginRender to set some vars when
the page first loads. The problem is that I have a form with a submit
and I don't want the vars to be set again, but pageBeginRender is always
called when the form is submitted. Is there a way to know when the page
is first
I once had a similar problem and turned out I hadn't changed the name
of the Tapestry servlet in web.xml to the name of the new context...
On 11/10/05, Ron Piterman <[EMAIL PROTECTED]> wrote:
> Its hard to tell - maybe a problem in web.xml ?
> maybe try to deploy it on your local machine to anothe
Tap 4 can be done the same with pageValidate.
On 11/10/05, Damian Krzeminski <[EMAIL PROTECTED]> wrote:
> Patrick Casey wrote:
> >
> >
> >
> > Now, in theory, I'm vulnerable to a malicious user who could
> > gain a user account and then submit synthetic directlinks referencing admin
>
Patrick Casey wrote:
Now, in theory, I'm vulnerable to a malicious user who could
gain a user account and then submit synthetic directlinks referencing admin
type resources. Just because my gui didn't render him a link to the
administrator's user record doesn't mean that he can't
Well, thats what I'm saying. If I set a breakpoint in a normal method in
a component class eclipse opens up an editor window for the enhanced
class even though I've got the source window open already and complains
it can't find the source. Note that I'm talking about setting
breakpoints in like the
Hi,
I am having some problems with Tapestry 3.0.3
After some complicated operations I get a NullPointerException in
AbstractResourceLocation in getRelativeLocation, because all the private
fields are null (_path, _name, ...)
This is caused because getServletPath() in Tapestry.java line 1143
I think there is one at hivetrans (sourceforge) - which is now
compatible with hivemind 1.1
Cheers,
Ron
ציטוט John Coleman:
I'm looking for a very simple example of using Tapestry 4 and delivering
persistence using a Hivemind service.
Rather than doing lookups, I'd like the Tapestry classes
I could *imagine* that the "right" way would be adding a hivemind
interceptor to the direct service.
This should be as easy as contributing anything to hivemind -
now you can add such an interceptor to the direct service - question is
how to nicely configure it to match direct requests
Its hard to tell - maybe a problem in web.xml ?
maybe try to deploy it on your local machine to another context, so you
see if the .war works...
cheers,
ROn
ציטוט Jelena Jovanovic:
Hi everyone,
I have problems deploying a Tapestry (3.0) application I developed. I work with Tomcat
5.5 Web S
Hi,
Take a look at Tomcat logs. You will find why the application is not started.
--
Serge
--
Serge
m2f
Sent from www.TapestryForums.com
Read this topic online here: <>
http://www.tapestryforums.com/viewtopic.php?p=10563#10563
---
Thanks Barry, I did something similar this way (you should understand the
xdoclet annotations..)
Imagine this page flow: SomePage -> PageWithBack -> SomePage (accessed
through the 'back' link)
/**
* @tapestry.page-specification
* @tapestry.direct-link id="linkToPageWithBack"
listener="listener:doG
In my page class I have this
public void setCallback(ICallback c) {
this.callback = c;
}
public ICallback getCallback() {
return this.callback;
}
public void doCallback(IRequestCycle cycle) {
if ( getCallback() != null ) {
getCallback().performCallback(cycle);
}
}
In the page you want to return
Hi everyone,
I have problems deploying a Tapestry (3.0) application I developed. I work with
Tomcat 5.5 Web Server. When I deploy the application on the local machine
(local host) and start it everything is fine. However, when I tried to deploy
it on a remote machine (working under Linux), the
Hi guys,
Is there a way in T4 to know which page called the current rendering page?
I'd like to implement a generic "back" button..
Paolo
After reviewing the problem for a while, I have the following idea to a
solution:
The Partial link renders the following html:
onclick="return new PartRequest(this.href,
['test1','test2']).send();">Link
My solution is a hack, hiding the html generated by PartialLink using
DHTML, and referen
I have the following scenario:
I have a select at the top of my page. When the value of the select
changes, another section of my page should be reloaded. Much like the
behaviour of PartialLink, but using a PropertSelection component for
refreshing parts.
Does this exist (or something simila
I'm looking for a very simple example of using Tapestry 4 and delivering
persistence using a Hivemind service.
Rather than doing lookups, I'd like the Tapestry classes to be injected with
the necessary reference for the service interface. Ideally the example should
be using Cayenne. Cayenne pro
tor, 10,.11.2005 kl. 08.10 +0100, skrev Olve Hansen:
In a cluster of tomcats, should the session count be equal in all three webapp listings (the sum of all sessions, since they are replicated) in the separate managers, or does the manger only count sessions created on the tomcat instance
44 matches
Mail list logo