This is exactly what I was looking for! Thank you. Although I still notice
a strange issue. In all cases except one the following works:
componentEventLinkEncoder.decodePageRenderRequest(request) != null
Except on the request made by the autocomplete mixin
(http://tapestry.apache.org/current/
I actually got the problem wrong, it's not the fact that the null return
prevented the handler from firing, but rather my condition to determine if
it was a page request rather than a component request was insufficient:
protected boolean isPageRequest() {
return !request.is
Hi Thiago,
Ok but I don't believe that my problem is directly related to inheritance,
but point taken on the style preference. Even if I have two separate pages
with components I will still need the check in the edit page with the
redirect to the view page. In this case, how do I handle actionLi
So I have a page 'ViewCube'. This page can be accessed by anyone and does
not allow any editing rights. I then have a page 'EditCube' which extends
ViewCube and uses some extension points to allow the user with editing
rights to modify the cube (please don't worry about what a "Cube" is!)
I want
Just wanted to say a big thanks for this Lance. I ran your code and used it
extensively in my own project where I'm using a crawler to gather
information. The UI is updated every second with the new total of saved
crawled results. This taught me some stuff about threading and got me to
finally u
l better suits to your needs.
>
> Regards,
> Christophe Cordenier.
>
> 2010/5/26 lebenski
>
>>
>> I'll start by giving this problem a bit of background. I've been charged
>> with adding 'Postcode Lookup' functionality to the registration f
I'll start by giving this problem a bit of background. I've been charged
with adding 'Postcode Lookup' functionality to the registration form on our
site. When a user enters a postcode, it calls off to a third party service,
and we provide a set of possible addresses in a drop down box. The use
I have bound the zone parameter to my form:
And the zone itself:
This has been working fine until recently. I was forced to upgrade to
prototype 1.6.1 using tapx-prototype and ever since I'm observing that my
forms that were previously submitting as XHR requests are now submitting as
plai
Well I eventually got to the root of this. The problem was being caused
because the IDs I'd given to my zones started witha number! Changing them
from 1_1Zone to Zone1_1 fixed the issue.
Also got this working with MultiZoneUpdate now, I love this component.
Great job by the Tapestry devs.
--
t; with
> t:zone="prop:zoneId" (same for
> the id parameter of zone). Does that help?
>
> Uli
>
> On 01.02.2010 12:15 schrieb lebenski:
>>
>> Ah! this seems to have got to the root of the problem. Request.isXHR()
>> is
>> returning false. I und
equest (@Inject Request and
> do request.isXHR()).
>
> Uli
>
> On 01.02.2010 09:29 schrieb lebenski:
>>
>> I have a loop that contains a form and a zone. In each iteration of the
>> loop, submission of that form should update it
I have a loop that contains a form and a zone. In each iteration of the
loop, submission of that form should update it's relevant zone:
...
...
Object onSuccessFromPickCommentForm(DraftPick draftPick) {
createPickComme
Thanks - got this working!
Thiago H. de Paula Figueiredo wrote:
>
> On Sun, 31 Jan 2010 16:09:11 -0200, lebenski wrote:
>
>> Hi,
>
> Hi!
>
>> This is my code:
>>
>>
>> ...
>>
>>
&g
Hi,
This is my code:
...
This results in multiple forms getting rendered on my page; pickCommentForm,
pickCommentForm_0, pickCommentForm_1 etc.
I'm obsering that submitting this form does not fire
onSuccessFromPickCommentForm or even just onSuccess, onValidateForm etc. Is
s there a way in an event handler like onSuccess to
> find
> out which component triggered the event?
>
> On Tue, Jan 5, 2010 at 11:38 AM, lebenski wrote:
>
>>
>> Ok I think I'm missing something because I don't understand why this
>> would
>>
testing to see if it gets called. If it gets
> called,
> it means that the origin changed, and your "FromXXX" must be changed.
>
> On Tue, Jan 5, 2010 at 11:23 AM, lebenski wrote:
>
>>
>> This isn't the form I'm having trouble with. The "Submi
ce the origin changes when the event bubbles up. Change the name to
> "onSuccess" and see if gets called then.
>
> On Tue, Jan 5, 2010 at 10:47 AM, lebenski wrote:
>
>>
>> Hi Igor,
>>
>> I thought i'd spelled out this issue fairly clearly, but
answer. Please be
> more precise and post more of your code.
>
> On Mon, Jan 4, 2010 at 11:07 AM, lebenski wrote:
>
>>
>> I have a layout component that contains a login form:
>>
>>
>>> height="30"/>
>
Thanks for your reply Howard. Are you suggesting that I need to add this
onSuccess method to my confirmation page as well as keeping it in the
layout?
Howard Lewis Ship wrote:
>
> When an event bubbles up, the origin of the event changes.
>
> Initially, the success event occurs from the form
Think you might've put this in the wrong place Jim! I assume you mean't to
start a new thread?
jc1001 wrote:
>
> Has anyone got Spring Security annotations (@Secured("ROLE_XYZ") etc.)
> working with the restful web services implementation
> http://code.google.com/p/t5-restful-webservices - I'd
I have a layout component that contains a login form:
Page Class:
Object onSuccessFromLoginForm() {
try{
loggedInMember = loginManager.logUserIn(new Login(memberName,
password));
} catch(LoginException e) {
//Login Error Proce
Hi
This has been an issue for a while now - we're using prototype etc. to
manipulate elements in some of our pages but can't access it due to it being
loaded at the end of the page.
I have read on these forums before that javascript should be loaded at the
end of the page to increase load spee
This fix has addressed my issue, and its now all working as expected :clap:.
Cheers,
Ben.
Sven Homburg wrote:
>
> howard commited some changes into tapestry trunk, so the snapshot build
> starts in some minutes
>
> 2008/5/8 Sven Homburg <[EMAIL PROTECTED]>:
>
>>
great.
Sven Homburg wrote:
>
> i commited a fix into the trunk
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Apparently this message didnt get sent properly last time:
>>
>> Oh I just noticed that you said you found the problem is it because
iately, or will it be added as part of a
nightly build?
Sven Homburg wrote:
>
> i commited a fix into the trunk
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Apparently this message didnt get sent properly last time:
>>
>> Oh I just noticed that
Thanks Sven,
Any info on what was causing the issue?
Ben.
Sven Homburg wrote:
>
> i commited a fix into the trunk
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Apparently this message didnt get sent properly last time:
>>
>> Oh I jus
By using a vanilla Ajax Request wouldn't you be bypassing all the benefits
you get from the Tapestry Form Event lifecycle and Tesptry forms in general?
Sven Homburg wrote:
>
> if your requirement is a login without a page refresh
> the using of OnEvent is in this case not the right way
> becaus
Apparently this message didnt get sent properly last time:
Oh I just noticed that you said you found the problem is it because the
jsessionid is getting passed on the URL or something else?
lebenski wrote:
>
> Thanks very much Sven. I appreciate your help on this matter, let m
Oh I just noticed that you said you found the problem is it because the
jsessionid is getting passed on the URL or something else?
Sven Homburg wrote:
>
> after a debug session, a find the reason for this behavior.
> i try to find out a soloution for that
>
> 2008/5/8 l
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Yeah that sounds exactly like the problem i'm getting.
>>
>> FYI here is my initial request (onchange of username field) after
&
e the same behavior if the restart the browser?
>>
>>
>> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>>
>> >
>> > for real testing i think its better to delete the cookie and refresh
>> the
>> > page
>> > before you initiate the
esponse the session id
>
> if you delete the cookie or remove the session id from url
> the server cant handle the ajax request (not sure for that but sounds
> logical for me)
>
> for real testing i think its better to delete the cookie and refresh the
> page
> before you initi
I'm replicating the state in which a new user will hit the site, they won't
have any of the cookies set by Tapestry.
Sven Homburg wrote:
>
> why do you delete the cookies ?
>
> 2008/5/8 lebenski <[EMAIL PROTECTED]>:
>
>>
>> Hi guys,
>>
>>
Hi guys,
Ok i've got an urgent problem. I'm using tapestry to develop a web app,
which I have to present tomorrow to some very important people!
I've got a very frustrating problem. I will try to explain it as clearly as
possible.
I'm using the t5components/OnEvent Mixin to call back to Tapes
+1
I would find this functionality extremely useful. Server-side validation
onBlur has so many applications. At the moment the solution I have come up
with is:
1) Use the T5Components OnEvent annotation, and attach a blur event to the
field.
2) Do my server side validation (in this case checki
Sorry for the shameless bump, but I'd really appreciate some help on this.
lebenski wrote:
>
> Hi everyone,
>
> Ok this is what i'm looking for: A user types in their desired username,
> when the onBlur event happens on that input field (i.e. focus switches to
>
Hi everyone,
Ok this is what i'm looking for: A user types in their desired username,
when the onBlur event happens on that input field (i.e. focus switches to
the next field), IF the name is taken i'd like to utilise the standard
tapestry validation error bubble, and display a message "User Nam
Hi everyone,
I'm currently working on a Tapestry 5 project that has several
BeanEditForms. I am performing client-side validation on these forms using
the @Validate (org.apache.tapestry.beaneditor.Validate) annotation on my
form bean class.
I'd like to know if it's possible to somehow configure
Hi guys,
Does anyone know of a mechanism of utilizing IE Conditional Comments for
importing browser-specific CSS, but using the standard tapestry method of
css injection via the page class, i.e. something like:
private PageRenderSupport _pageRenderSupport;
@Inject
@Path("$path/t
With a bit of research I answered my own question!
Thanks again for your help.
lebenski wrote:
>
> This looks great thank you. I am new to Tapestry and can't find the file
> containing application defaults that you mention. Could you please
> provide further details about e
aults with the value "org/apache/tapestry/scriptaculous_1_8". All you
> should have to do is contribute the same symbol to application defaults
> with value you want.
>
> lebenski wrote:
>> Hi,
>>
>> I have a requirement to remove the auto import of the tapestry bundl
FYI I am using Tapestry 5.0.7-SNAPSHOT.
--
View this message in context:
http://www.nabble.com/Help%21-Turning-off-auto-import-of-prorotype.js-from-Tapestry-JAR-tp15456459p15456463.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi,
I have a requirement to remove the auto import of the tapestry bundled
version of prototype.js. I am implementing this:
http://www.jimbojw.com/wiki/index.php?title=SWFHttpRequest_Flash/Ajax_Utility
to facilitate cross-domain javascript. The elegant implementation of this
requires a minor ch
43 matches
Mail list logo