ClassCastException in ExpressionBinding.setObject

2008-02-13 Thread Paul Stanton
Hi All, I've just logged a Jira issue: https://issues.apache.org/jira/browse/TAPESTRY-2157 It's trying to cast a class of type Page2 to type Page1 and getting an exception. Had anyone encountered this before? Thanks, Paul. --

Re: T5: maintaining ASO in a service?

2008-02-13 Thread Davor Hrg
http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 On Thu, Feb 14, 2008 at 6:32 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > Here is what I use to check if a user has logged in : > > @ApplicationState > private SessionData _user; > private boolean _userExists; > > pub

T5: maintaining ASO in a service?

2008-02-13 Thread Angelo Chen
Hi, Here is what I use to check if a user has logged in : @ApplicationState private SessionData _user; private boolean _userExists; public void signIn(Long id) { if (!_userExists) { // ... } } this is in a page and working well, now I'd like to move

T5: Override default implementation of BeadEditor's TextField

2008-02-13 Thread ryanskow
Is there a way to tell the BeanEditor to use MyTextField instead of TextField for rendering parameters of type 'string'? I saw some T3/4 solutions involving xml configuration, but I'm not sure what the T5 parallel is (or if there is one). -- View this message in context: http://www.nabble.com/T

Re: [T4.1] Alternate JS library and tapestry.event.buildEventProperties

2008-02-13 Thread Andreas Andreou
Hi... good to see people starting work on that! tapestry.event.buildEventProperties is an obvious omission from skeleton/core.js - that file however is just for reference, so if you just declare buildEventProperties in your adapter js you should be able to go on. I must admit that I haven't made

[T4.1] Alternate JS library and tapestry.event.buildEventProperties

2008-02-13 Thread Jim
Howdy! I'm using Tapestry 4.1.5, and would like to use our own Dojo 1.0.2 instead of the default Dojo 0.4.3. I tried using the tacos-dojo module from the Tacos project but there are still bugs with that. I hacked a couple things in the source to get it going, but when running a simple test c

Re: T5: ActionLink/Zone components inside a loop (solved, better)

2008-02-13 Thread Corin Lawson
Awesome! Sorry, I overlooked that one ... I'm just a noob :P Thanks for sharing HugoPalma. All that I want now is the ability do away with the currentZoneId property. Could someone explain the component prefix of a binding expression. The Component Parameters page of the tapestry-core guide sim

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Corin Lawson
Hi, Thiago HP wrote: > > On 2/13/08, Corin Lawson <[EMAIL PROTECTED]> wrote: > >> I'm just a newbie so I have a perfectly naive question: Why not nest them >> all into a single zone? > > Because it defies the AJAX goal of only rendering and downloading the > info needed to update the parts of

T4.1 : clientSideValidation

2008-02-13 Thread KLessou
Hi, I would like to use a Client side Validation, but I don't understand why this simple example does not work : Thx in advance for you help. -- ~ | klessou | ~

Re: T5 5.0.10 Acegi doesn´t work

2008-02-13 Thread Robin Helgelin
On Feb 13, 2008 10:10 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote: > Thank you! I haven't been able to keep up with the latest releases, > but I'll find time this weekend. It will be the 1.0.3 release to match > 5.0.9, and a snapshot to match up with 5.0.10. I'll give notice when > I'm there. Tha

Re: T5 5.0.10 Acegi doesn´t work

2008-02-13 Thread Robin Helgelin
On Feb 13, 2008 11:56 AM, Andreas Berndt <[EMAIL PROTECTED]> wrote: > But this is just for keep on developing and not standing still. > Will there be an update for tapestry-acegi soon ? Thank you! I haven't been able to keep up with the latest releases, but I'll find time this weekend. It will be

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread Josh Canfield
I haven't looked closely at prototype.js, or the getTransport function. That said, Javascript is a dynamic language that allows you to redefine functions, why not just load prototype.js and then load your extension js with the new implementation of getTransport? Josh On Feb 13, 2008 3:45 AM, leb

Re: t5components: demo app bugs

2008-02-13 Thread Sven Homburg
wait till tommorow or friday, there comes next release that fixed these bugs 2008/2/13, Franz Amador <[EMAIL PROTECTED]>: > > (t5components version 0.5.6) > > I was browing the demo app and found two problems: > > - RatingField generates a Tapestry exception page. > > - TabSet shows the sample cod

t5components: demo app bugs

2008-02-13 Thread Franz Amador
(t5components version 0.5.6) I was browing the demo app and found two problems: - RatingField generates a Tapestry exception page. - TabSet shows the sample code for Element, not TabSet. Since TabSet is the component I'm most interested in, I'm really hoping someone can fix this. Franz

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Renat Zubairov
Indeed very nice feature. Voted for it. On 13/02/2008, Igor Drobiazko <[EMAIL PROTECTED]> wrote: > > issue already exists :) > https://issues.apache.org/jira/browse/TAPESTRY-2130 > > On Jan 11, 2008 1:51 PM, Kristian Marinkovic < > [EMAIL PROTECTED]> wrote: > > > i just thought i'd ask before i fi

Re: pageAttached() and validate()

2008-02-13 Thread Filip S. Adamsen
Ah, you're on T5... Next time, make sure to mention this. :) -Filip riccaruf skrev: Sorry Ulri!... I've missed the right post, I mean any news to know why at the pageAttached event the properties stored into session are not available yet... but I found the solution with the onActivate event ..

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Igor Drobiazko
issue already exists :) https://issues.apache.org/jira/browse/TAPESTRY-2130 On Jan 11, 2008 1:51 PM, Kristian Marinkovic < [EMAIL PROTECTED]> wrote: > i just thought i'd ask before i file a JIRA issue ... because it's still > under development :) > > > > > "Thiago H de Paula Figueiredo" <[EMAIL P

Re: T5: ActionLink/Zone components inside a loop (solved, better)

2008-02-13 Thread Hugo Palma
Regarding your request for the event attribute in ActionLink. Doesn't the component EventLink solve your problem ? http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/EventLink.html Corin Lawson wrote: > Hi All, > > I admire Travis' ambition, but he's for

Re: T5: ActionLink/Zone components inside a loop (solved, better)

2008-02-13 Thread Corin Lawson
Hi All, I admire Travis' ambition, but he's forgetting an ancient programming maxim: be lazy! By that I mean there no need to implement your own Zone component (or sub-component). I actually got this to work, but I'm not %100 satisfied. So the id attribute of zone doesn't allow property expansio

Re: Passing ApplicationObject to BuilderFactory - Tap 4.1.2

2008-02-13 Thread Andreas Andreou
I believe you just need to inject the ApplicationStateManager to your FooFactory service and from there do a manager.get("servicemanager") to get to your application object On Feb 13, 2008 8:34 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Im trying to create one instance of my ServiceMan

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Thiago HP
On 2/13/08, Corin Lawson <[EMAIL PROTECTED]> wrote: > Hi, Hi! :) > I'm just a newbie so I have a perfectly naive question: Why not nest them > all into a single zone? Because it defies the AJAX goal of only rendering and downloading the info needed to update the parts of the page that were real

Re: [T5] triggering multiple Zone component updates

2008-02-13 Thread Corin Lawson
Hi, I'm just a newbie so I have a perfectly naive question: Why not nest them all into a single zone? Cheers, Corin. kristian.marinkovic wrote: > > hi, > > is there a way to update multiple non-nested zone > components with one AJAX call? Are there any plans > to support this? > > g, > k

Re: pageAttached() and validate()

2008-02-13 Thread riccaruf
Sorry Ulri!... I've missed the right post, I mean any news to know why at the pageAttached event the properties stored into session are not available yet... but I found the solution with the onActivate event ... thanks for your reply -Rick Ulrich Stärk wrote: > > What's wrong with Filips a

Re: pageAttached() and validate()

2008-02-13 Thread Ulrich Stärk
What's wrong with Filips answer? Uli riccaruf schrieb: Hi guys, any news for this question ? thanks -Rick Filip S. Adamsen-2 wrote: That would be - as you suggest - the pageBeginRender method. -Filip Dan Adams skrev: Perhaps someone could clear something up for me. What is the order tha

Re: pageAttached() and validate()

2008-02-13 Thread riccaruf
Hi guys, any news for this question ? thanks -Rick Filip S. Adamsen-2 wrote: > > That would be - as you suggest - the pageBeginRender method. > > -Filip > > Dan Adams skrev: >> Perhaps someone could clear something up for me. What is the order that >> validate() and pageAttached() get calle

Re: T5 5.0.10 release

2008-02-13 Thread Igor Drobiazko
nope, the vote on the release is not over yet. only one day to wait :) On Feb 13, 2008 2:15 PM, Renat Zubairov <[EMAIL PROTECTED]> wrote: > Hello All, > > Is 5.0.10 release was released published? I can see the nightly builds of > 5.0.11-SNAPSHOT are already there. > > -- > Best regards, > Renat

Re: T5 5.0.10 release

2008-02-13 Thread yuan gogo
I think it's not released yet. After issuing a vote for new release, Howard will create a new version number for snapshot. 2008/2/13, Renat Zubairov <[EMAIL PROTECTED]>: > > Hello All, > > Is 5.0.10 release was released published? I can see the nightly builds of > 5.0.11-SNAPSHOT are already ther

Re: T5 5.0.10 release

2008-02-13 Thread Francois Armand
Renat Zubairov wrote: Hello All, Is 5.0.10 release was released published? I can see the nightly builds of 5.0.11-SNAPSHOT are already there. The vote is in progress. It should run for 3 days, and if it succeeds the release will come almost immediately. And I think Howard will announce the

T5 5.0.10 release

2008-02-13 Thread Renat Zubairov
Hello All, Is 5.0.10 release was released published? I can see the nightly builds of 5.0.11-SNAPSHOT are already there. -- Best regards, Renat Zubairov

disable validators using javascript

2008-02-13 Thread learner
here is how i create a textfield when i submit the form, this field will be validated whether user entered anything or not. if i want dynamic form that in certain condition, will not required validation (some html elements are hidden). how do i use javascript to turn validators="validators:re

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread lebenski
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 exactly which file

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread Hugo Palma
You don't need to modify any file, you can do it the Tapestry way, by contributing to a service. You should read this to understand the concept better: http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.html In your use case you should add the following method to you module builder class:

execute javascript from ajax eventlistener

2008-02-13 Thread Paul Stanton
Hi All. I have an Autocompleter, which has an 'onValueChanged' event listener. The event is being triggered and everything up to this point works as expected. What I'd like to do in this event listener is cause a javascript snippet to be executed on the client for example: @EventListener(tar

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread lebenski
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 exactly which file I need to modify. Many Thanks, Ben. HugoPalma wrote: > > I don't think you can remove the inclusion of

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread Hugo Palma
I don't think you can remove the inclusion of the prototype.js, but you should be able to change the base path where Tapestry looks for the scriptaculous files enabling you to provide your own implementation. Tapestry adds the "tapestry.scriptaculous.path" symbol to the factory defaults with the v

Re: Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread lebenski
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. -

Help! Turning off auto import of prorotype.js from Tapestry JAR

2008-02-13 Thread lebenski
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

Re: Howard deserves praise

2008-02-13 Thread Denis McCarthy
We are using T5 and are really happy with it. I know this probably isn't the place (but it seemed as good as anywhere else to be honest) but there's one feature we'd like to see: in the T5 site docs, the section on AJAX says under the 'Zone Limitations' subsection that 'Currently, the partial page

T5 5.0.10 Acegi doesn´t work

2008-02-13 Thread Andreas Berndt
After updating from 5.0.9 to 5.0.10 the acegi component didn´t work, no login is possible because the login page is not shown. Instead it shows an error in the @BeginRender Queue. We localized the problem in the AcegiExceptionTranslationFilter class (internal service of tapestry acegi) in the fun