Hi All,
I have a pageBeginRender listener in my page class,I am fetching default
values from the database in this listener.
During ajax calls(say ajaxlinksubmit) to update a component in the page ,the
pageBeginRender listener is again invoked.
Is there any way to bypass this listener in Ajax calls
I am trying to use the scriptPath property to set a script path. But it
says that the property not present.
Can anybody please help me with this?
Pratibha Gopalam wrote:
Thanks you very much of the inputs. It works now!
andyhot wrote:
Nick Westgate wrote:
Yet again, mourn the passing of S
Hi,
(Tap 4.0.2, Tomcat 5.5)
I have a report page "ReportXYZ" that displays a table of data.
abstract class Datapage extends BasePage
abstract class ReportXYZ extends DataPage
When I changed my Table's data source from @Persist("session") to
@Persist("client"), the links on the page stop working.
I have a method with annotation
@EventListener(targets = "companyPS", events =
"onchange",
submitForm = "myForm", async = false)
that listens to a PropertySelection component.
When an onchange event occurs in the PropertySelection
componet, the form
Back in Tap3, if you disabled form fields on the client it would
totally screw up server side validation (and some client validation
schemes). It was a technique frought with peril. I recommend going
thru a generated page with a fine tooth-comb to make sure that your
client-side disabling wasn't
If you're talking about client-side validation, you should lookinto
dojo's "around-advice" event connection model. You can use it to set
up pretty complex conditional client-side validation checks.
On 1/16/07, Ben Dotte <[EMAIL PROTECTED]> wrote:
You can also use Form's "refresh" listener to
No, I'm not using a form. Thanks nevertheless.
Manuel
-Original Message-
From: Steve Shucker [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 17. Januar 2007 17:28
To: Tapestry users
Subject: Re: Tacos:Tree - Node opens after submit only
Are you using the tree in a form? If so, it's bugged.
Are you using the tree in a form? If so, it's bugged.
http://tacoscomponents.jot.com/BugReporter/Bug32
I posted a workaround a while ago, but it assumes that you don't have
any form controls in your tree nodes.
http://mail-archives.apache.org/mod_mbox/tapestry-users/200606.mbox/[EMAIL
PROTECT
But this shouldn't be a problem, there are major differences between the
two the only thing similar is the page extension, but if I change the
page extension then I have duplicate pages and configure my entire
application to use different extensions, sometimes the same page is
called from two o
You can also include tapestry-autowire.jar into your application and
have Tap automatically inject it by doing (no annotations necessary):
public abstract HttpServletRequest getServletRequest();
Also, the port is available on the request. Try getServerPort().
On 1/17/07, Lukas Ruetz <[EMAIL P
Hi!
in case you are working with java5+ you can inject the service
into your page by adding:
@InjectObject("service:tapestry.globals.HttpServletRequest")
public abstract HttpServletRequest getServletRequest();
you can retrieve the IP-address by:
String IP = getServletRequest().getRemoteAddr();
I run into the exact same issue. The error is only occuring using IE.
Firefox is dealing fine with the response.
Using fiddler I can see that there are actually ajax-response elements
included, together with a lot of HTML as a big component is completely
reloaded.
So it looks as if the clientside
In Tap4, you can inject HttpServletRequest into a
service or page.
There is some note at the following.
http://lombok.demon.co.uk/tapestry4Demo/Inject.html
Shing
--- Chris Davies <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How is it possible to get the IP address and port of
> a visitor to a
> Page
Hi,
How is it possible to get the IP address and port of a visitor to a
Page? I've been trying to figure this out for quite a while now (so I
can insert useful information into log messages), but to no avail.
The closest (crummy) solution I've found is to use a deprecated
function to access the
hello everybody!!!
Is there some method to put checkbox into tacos:Table???
thanks!!!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i dont think that it is a good thing to name different services with same
extension.
look into the example of writing your own encoder and you will see where the
problem come from:
if you put both extionsons to html then both encoders think that the rendering
page is pointed to them.
-Urs
Hello everybody,
I tried to implement a tree using the sources of the Tacos demo (I use Tacos
4.0.0 with Tapestry 4.0.2) as a guide but the nodes won't open in Ajax style
(without page reload). When I click on a node the font gets bold and the
plus sign switches to minus but the node shows its con
You don't even need the div - just set the style attribute directly
on the input tag itself.
We too have been using this approach instead of hidden fields for
storing internal data.
- Navin
On 17-Jan-07, at 6:35 PM, Mika Tammilehto wrote:
Well, I found a workaround - in case somebody else
Hi everyone
I am having some trouble with friendly URL's. Getting them to work is
not the problem, but getting two page service encoders to work together
seems unlikely. Maybe there is a better way to do this... I don't know.
I basically want an encoder that will generate friendly URL's for h
Well, I found a workaround - in case somebody else is running into the
same problem... I replaced the hidden field with a normal text field,
but inside a hidden div:
Works fine for me.
Cheers,
mika
Hi
I've got 2 forms which both are submitted async (example below). Form 1
contains a
Thanks you very much of the inputs. It works now!
andyhot wrote:
Nick Westgate wrote:
Yet again, mourn the passing of Spindle, which would warn you that
has an invalid OGNL expression for value.
You want to pass a string, so use quotes:
or better
Cheers,
Nick.
Pratibh
Hello Bill & Jesse,
I've been working with this great Form methods to just don't use the
focus... Is working fine, but I have a problem... I'll try to explain the
problem:
I am working with IE6 (now the most used Browser), jdk5, tomcat 5.5,
tapestry 4.1.2. I have a page where there is are a form
I think we could help you better if you could ask a specific question.
Have you read all the documentation? Have you looked at the tapestry
examples from the source code? What in particular is confusing, or
what don't you understand. I'd suggest also getting Kent Tongs
excellent tapestry e-book "E
Hi, everyone,
I'm new in Tapestry. I saw the table in the workbench. But I can't
understand the principle of it.
Can you give me some explanation? Or give me some suggestion.
Any help is appreciated!
Best wishes,
Stony
Hi
I've got 2 forms which both are submitted async (example below). Form 1
contains a block (innerContainer) with a property selection that should
be updated when form 2 is submitted. This works ok, but when the
"innerContainer" is updated, the value of the hidden field "someNumber"
in form 1
25 matches
Mail list logo