[T5] 5.0.16 Spanish special characters

2008-12-02 Thread Ray
. Cheers, Ray.

Re: [T5] 5.0.16 Spanish special characters

2008-12-04 Thread Ray
; Em Wed, 03 Dec 2008 14:58:39 -0300, Imants Firsts <[EMAIL PROTECTED]> > > escreveu: > > > > Hi Ray! > >> > >> The properties files should be in ascii encoding and the unicode > >> characters should be escaped with \u, for example "\u0161"

Re: [T5] 5.0.16 Spanish special characters

2008-12-05 Thread Ray
-compiler-plugin >> >>1.5 >>1.5 >> true >>*UTF-8* >> >> >> >> Hope this will help. >> >> On Thu, Dec 4, 2008 at 10:08 AM, R

Re: t5: how to use Blackbird?

2009-06-19 Thread Ray
To use the Blackbird logging in Tapestry, you need to use 'Tapestry.Logging' instead of the 'log' prefix e.g Tapestry.Logging.info('test'); This is defined in the blackbird.js file in the core Tapestry package. On Thu, Jun 18, 2009 at 6:05 AM, Angelo Chen wrote: > > i did: > log.info('test')

Javascript access to Tapestry Image Asset

2011-10-20 Thread Ray
n locale. So what I was hoping that perhaps I could use a Tapestry Asset with a fixed path and access it from javacript. Is this possible? Any assistance would be greatly appreciated. Cheers, Ray.

Re: Javascript access to Tapestry Image Asset

2011-10-20 Thread Ray
Hi, Thanks for the great responses Muhammad and derkoe. Setting the variable through JavascriptSupport was just the ticket. Again, thanks for your assistance. On Thu, Oct 20, 2011 at 10:43 AM, derkoe < tapestry.christian.koeb...@gmail.com> wrote: > > Ray Fortycoats wrote: &g

Tapestry checklist without page submit.

2012-07-25 Thread Ray
Hi all, Just wondering with the Checklist component, is there any way of getting this to listen on an update or selection event as opposed to having to submit the entire page? If not, are there other options available? Cheers, Ray.

Re: Tapestry checklist without page submit.

2012-07-25 Thread Ray
Thanks Thiago, ill give an attempt at it. On Wed, Jul 25, 2012 at 2:59 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 25 Jul 2012 08:14:31 -0300, Ray wrote: > > Hi all, >> > > Hi! > > > Just wondering with the Checklist component,

Unit testing Tapestry 4.1 components with TestNG and Easymock

2007-06-01 Thread Ray McBride
'm not sure to the best way to create a session so that my if statement will be true. I'm trying to use webRequest.getSession(true), but it doesnt seem to work and I don't know if there is a better way or if I have

Re: Unit testing Tapestry 4.1 components with TestNG and Easymock

2007-06-01 Thread Ray McBride
aving, 0.02); } catch(RuntimeException e){ System.out.println(e.toString()); } Thanks for any help Ray Jesse Kuhnert wrote: You still need to call the replay() / verify() easymock methods, which can be examined further here: http://easymock.org/EasyMock2_2_Documentation.html I

Re: Unit testing Tapestry 4.1 components with TestNG and Easymock

2007-06-04 Thread Ray McBride
nd I'm not sure how to get access to it. Any help will be much appreciated Ray Jesse Kuhnert wrote: Hmm .I can't pinpoint the exact problem but if it were up to me I would start out by changing things to look more like: public void setUp() { ... webRequest = createM

Re: Problems with ognl 2.7

2007-06-28 Thread Ray Fortycoats
perhaps this was posted in relation to the second issue? http://jira.opensymphony.com/browse/OGNL-96 On 6/28/07, Maximilian Weißböck <[EMAIL PROTECTED]> wrote: Thanks for your feedback, I filed an Issue at OGNL Jira. And also Thanks for the great work you did in both Tapestry and OGNL. Ta

page redirection and caching

2007-07-04 Thread Ray McBride
moved to the production server. Is there a way in Tapestry to prevent this page from being cached or is there a better way of causing the redirect. I'm using tapestry 3.0.4 Thanks for any help Ray __ This email has

Re: FineUploader implementation?

2015-01-03 Thread Ray Nicholus
I’ll chime in as I’ve been maintaining Fine Uploader since mid-2012, and my employer uses it in a few of our products, each of which also use Tapestry. Our setup is fairly simple.  We register a servlet to handle any requests from Fine Uploader (such as the upload and delete requests for traditi

HTMLUnit & Tapestry 5

2011-04-16 Thread Ray Nicholus
I have written some fairly basic tests that all pass on IE & FF, but fail when I use HTMLUnit. I'm using 2.0b3 for all webdriver deps & geb 0.5.1. Looking at the HTML left by GebReportingSpec for the HTMLDriver, the "sign in" button that it is supposed to click is not appearing as an anchor, rath

Re: HTMLUnit & Tapestry 5

2011-04-17 Thread Ray Nicholus
t? See > http://htmlunit.sourceforge.net/faq.html. > > Kalle > > > On Sat, Apr 16, 2011 at 8:56 PM, Ray Nicholus wrote: >> I have written some fairly basic tests that all pass on IE & FF, but fail >> when I use HTMLUnit. I'm using 2.0b3 for all webdriver deps & geb 0.5.1. &g

Re: HTMLUnit & Tapestry 5

2011-04-17 Thread Ray Nicholus
It would help if I turned on js support in HTMLUnit. Oops. On Sun, Apr 17, 2011 at 4:21 PM, Ray Nicholus wrote: > Geb has a waitFor feature that should handle this situation, but i still am > not able to overcome this. Has anyone tried htmlunit using tapestry5 and > run into this iss

Re: HTMLUnit & Tapestry 5

2011-04-18 Thread Ray Nicholus
a > scripted page that would work in "real" browsers but wouldn't work in > HTMLUnit. I use it all the time to test Tapestry5 pages, both at > tynamo.org and proprietary projects. > > Kalle > > > On Sun, Apr 17, 2011 at 5:01 PM, Ray Nicholus wrote: > > It

automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
Any idea how I can easily do this? Ideally, I'd like to only make this happen if a specific JVM arg is present.

Re: automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
Taha Hafeez wrote: > You can add it to your layout as > > @Import(library = "yourlibraryname.js") > public class Layout { > } > > or > > You can also add it by contributing to MarkupRendererFilter > > regards > Taha > > > On Wed, May 4, 20

Re: automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
n/m, I found an example at http://tapestry.1045711.n5.nabble.com/Global-stylesheets-and-Javascripts-documentation-proposal-td2433280.html On Wed, May 4, 2011 at 9:05 AM, Ray Nicholus wrote: > I looked at the documentation for contributeMarkupRenderer, and I'm not > even sure what th

Re: automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
Sigh, that didn't work. Surely it can't be this difficult to add a js library to all pages in Tapestry. I must be doing something wrong. Note that I cannot use the import in my layouts as I can only add this library conditionally. On Wed, May 4, 2011 at 9:09 AM, Ray Nicholus wrote:

Re: automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
Nevermind, it isn't that difficult. User error. On Wed, May 4, 2011 at 9:21 AM, Ray Nicholus wrote: > Sigh, that didn't work. Surely it can't be this difficult to add a js > library to all pages in Tapestry. I must be doing something wrong. Note > that I cannot use

Re: automatically add a js library to every page in the app

2011-05-04 Thread Ray Nicholus
; > } > } > > regards > Taha > > > On Wed, May 4, 2011 at 7:51 PM, Ray Nicholus wrote: > > > Sigh, that didn't work. Surely it can't be this difficult to add a js > > library to all pages in Tapestry. I must be doing something wrong. Note > >

how can I clear the page context?

2011-05-20 Thread Ray Nicholus
...so that the context is not included after the page initially loads when I, say, refresh the page via the browser's refresh button? In other words, how can I load a page with context parameters once and then discard them so subsequent refreshes oft hat page do not use these parameters?

updating a zone on form submit

2011-06-01 Thread Ray Nicholus
Any idea how I can do this? When I return a MultiZoneUpdate from my submit handler, I get the following exception: Return type org.apache.tapestry5.ajax.MultiZoneUpdate can not be handled.

Re: updating a zone on form submit

2011-06-01 Thread Ray Nicholus
parameter of form to a proper > zone value > > Regards > Taha > > Sent from my iPhone > > On Jun 1, 2011, at 7:09 PM, Ray Nicholus wrote: > > > Any idea how I can do this? When I return a MultiZoneUpdate from my > submit > > handler, I get

Re: updating a zone on form submit

2011-06-01 Thread Ray Nicholus
Thanks for the info. Where exactly do I put the javascript dragon listed? On Wed, Jun 1, 2011 at 9:02 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 01 Jun 2011 10:51:09 -0300, Ray Nicholus > wrote: > > I guess I'm not sure what zone I need to

Re: updating a zone on form submit

2011-06-01 Thread Ray Nicholus
it in a submit element like this: > > onchange="$('formId').fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);" > > > Cheers, > Dragan Sahpaski > > > > On Wed, Jun 1, 2011 at 4:04 PM, Ray Nicholus wrote: > > > Thanks for the info. Where exactly do

Re: updating a zone on form submit

2011-06-01 Thread Ray Nicholus
, dragan.sahpas...@gmail.com < dragan.sahpas...@gmail.com> wrote: > It works good for me. > Paste the entire code here. > > Cheers, > Dragan Sahpaski > > > > On Wed, Jun 1, 2011 at 4:22 PM, Ray Nicholus wrote: > > > This is causing all sorts of other odd issues. Firs

Re: updating a zone on form submit

2011-06-01 Thread Ray Nicholus
works now. thanks! On Wed, Jun 1, 2011 at 9:32 AM, Ray Nicholus wrote: > > > : > onchange="$('addToLightboxForm').fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT);" > value="selectedLightboxName" label="literal:Add

updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
Here is a fragment of some template code inside of a tapestry form: .. As soon as I add the zone parameter to the 1st select & reload, I get a NPE when I attempt to change the value in the 1st select. It claims that the currentSe

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
elect. Shouldn't I just be able to refresh the 2nd select via a zone update? On Mon, Jul 11, 2011 at 11:26 AM, Taha Hafeez wrote: > Hi Ray, > > Where are you initializing currentSetting.fileMetadataTyp?e and is this > value @Persisted as you are using it across multiple requests. > &g

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
I do not need to persist the "currentSettings" variable? On Mon, Jul 11, 2011 at 11:45 AM, George Christman wrote: > I think your going to want to set a unique id for your > fileMetadataSelectZone > Zone example > > and your going to need to persist autoImportFileMetadataModel selectModel. > > -

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
I'm also not quite sure how I can set a unique ID to my zone and then retrieve this zone id in the previous select. On Mon, Jul 11, 2011 at 11:45 AM, George Christman wrote: > I think your going to want to set a unique id for your > fileMetadataSelectZone > Zone example > > and your going to nee

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
ring ajax update. In case it is not, then you have > to > keep the variable in session so that you can use it across multiple > requests. > > regards > Taha > > > On Mon, Jul 11, 2011 at 10:17 PM, Ray Nicholus > wrote: > > > Hello Taha, > > > > I gu

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
bmission. > > regards > Taha > > > On Mon, Jul 11, 2011 at 10:37 PM, Ray Nicholus > wrote: > > > I'm not sure what variable you are talking about. Do you mean > > "currentSetting"? There is no "currentSettings" variable. If so, > >

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
Eh, it may be because I'm not updating the correct currentSetting object. The behavior I want to support is fairly simple, but seems to be quite complex to get working in Tapestry, unless I'm missing something. On Mon, Jul 11, 2011 at 1:12 PM, Ray Nicholus wrote: > It sounds like

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
which only refreshes a zone inside the loop, the > > current loop value(currentSetting in our case) is null as the decoding > using > > value-encoder does not happen without a submission. > > > > regards > > Taha > > > > > > On Mon, Jul 11, 2011 at 10

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
No, indeed it looks like I cannot use a submit button here. Surely I can't be the first person who wanted to update a select via a zone update inside of a loop. Isn't there a straightforward way to make this happen? On Mon, Jul 11, 2011 at 1:16 PM, Ray Nicholus wrote: > Eh, it m

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
(the one inside the zone) is updated, changes I make to the selection in that select are ignored unless I submit and then choose an option in that select. On Mon, Jul 11, 2011 at 1:45 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 11 Jul 2011 15:34:58 -0300, R

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
Note: I just noticed that the select component page for the select element includes an example that illustrates updating a select inside of a form via a zone update. I'm essentially trying to do the same thing, only with dynamically generated selects. On Mon, Jul 11, 2011 at 1:48 PM

Re: updating a zone inside of an ajaxformloop

2011-07-11 Thread Ray Nicholus
s correctly. On Mon, Jul 11, 2011 at 2:19 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 11 Jul 2011 15:54:02 -0300, Ray Nicholus > wrote: > > Note: I just noticed that the select component page for the select element >> includes an example th

Re: updating a zone inside of an ajaxformloop

2011-07-12 Thread Ray Nicholus
this time, I've decided to resort to writing some javascript, instead of using a zone update, to change the choices in my 2nd select when the value of the 1st select changes. On Tue, Jul 12, 2011 at 7:34 AM, George Christman wrote: > Ray, I'm not sure if this helps, but here is an ex

Re: updating a zone inside of an ajaxformloop

2011-07-12 Thread Ray Nicholus
When the select in your loopZone reloads after the zone update, it uses purchaseRequest to determine it's value. However, after the loop has already executed, purchaseRequest, which you persist, points to the last purchaseRequest instant enountered by the ajaxformloop. Correct? On Tue, Jul 12, 2

how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
In my ajaxformloop, I specify an clientId for each of my selects. I am working around an issue/shortcoming in Tapesty regarding zone updates in a form loop. To do this, I must be able to specify the IDs of my form elements. For one particular element, in each row of the form loop, I specify a cl

Re: how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
one, the ajaxformloops addRow event requires the server side to create a new row and commit it to the DB, which is a bit difficult to do before obtaining input from the user regarding the values of the form elements in the row. On Tue, Jul 12, 2011 at 3:22 PM, Ray Nicholus wrote: > In my ajaxformloo

Re: how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
sted > entities (don't know if you're using hibernate or not, but... sounds like > it). > > Robert > > On Jul 12, 2011, at 7/124:08 PM , Ray Nicholus wrote: > > > Nevermind, I'm ditching ajaxformloop - too many shortcomings/problems. > This &

Re: how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
implementation. It could be a really > simple implementation that just returns the string representation of the > object's index in your list of objects. > > Robert > > On Jul 12, 2011, at 7/124:36 PM , Ray Nicholus wrote: > > > Can't I simply maintain

Re: how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
Sorry, I figured it out. I haven't played with custom value encoders before, and that seems to have it's own set of new challenges for me. On Tue, Jul 12, 2011 at 5:42 PM, Robert Zeigler wrote: > Hard to say without seeing more code :) > > Robert > > On Jul 12, 2

Re: how do I stop tapestry from appending to the id of a form element added via the add row link (ajaxformloop)

2011-07-12 Thread Ray Nicholus
Yet another issue: syncValue in ajaxformloop is never called on form submit for rows that have been added after the form renders. Everything seems to work ok for original rows. On Tue, Jul 12, 2011 at 6:01 PM, Ray Nicholus wrote: > Sorry, I figured it out. I haven't played with cust

ajaxformloop: syncValue is never called for added rows on form submit

2011-07-12 Thread Ray Nicholus
Note that I am using a custom value encoder. When I click submit, the values in the rows that were rendered during form load are synced, resulting in calls to getValue of my value encoder, but this does not happen for rows added via the addrow event.

Re: ajaxformloop: syncValue is never called for added rows on form submit

2011-07-13 Thread Ray Nicholus
Anyone? I'm returning a new unpersisted entity from my addrow listener, modifying it in the UI, then clicking submit. Ajaxformloop never attempts to update the values server-side for this new row. On Tue, Jul 12, 2011 at 7:27 PM, Ray Nicholus wrote: > Note that I am using a cust

Re: ajaxformloop: syncValue is never called for added rows on form submit

2011-07-14 Thread Ray Nicholus
with them again. > > Mark > > On Wed, Jul 13, 2011 at 11:59 AM, Ray Nicholus > wrote: > > Anyone? I'm returning a new unpersisted entity from my addrow listener, > > modifying it in the UI, then clicking submit. Ajaxformloop never > attempts > > to

Re: ajaxformloop: syncValue is never called for added rows on form submit

2011-07-14 Thread Ray Nicholus
1 at 10:57 AM, Mark wrote: > On Thu, Jul 14, 2011 at 8:16 AM, Ray Nicholus wrote: > > It turns out that my encoder is not the problem. In fact, this appears > to > > be an issue with Tapestry. I was not using the id from Hibernate and I > > verified beforehand that my en

t-prevent-submission

2011-07-14 Thread Ray Nicholus
Why is tapestry adding this class to my form? It only seems to happen when add a zone param to the form.

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
e the normal form submission via ajax. > > Robert > > On Jul 14, 2011, at 7/142:33 PM , Ray Nicholus wrote: > > > Why is tapestry adding this class to my form? It only seems to happen > when > > add a zone param to the form. > > > ---

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
It looks like there is some issue with the update component and zone updates involving a form. When I comment out the upload component (which I am using in my form), I can submit again. On Thu, Jul 14, 2011 at 2:41 PM, Ray Nicholus wrote: > This seems to prevent submission of the form tho

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
x-upload-for-tapestry/ if you > want ajax-based uploads. > > Robert > > On Jul 14, 2011, at 7/143:44 PM , Ray Nicholus wrote: > > > It looks like there is some issue with the update component and zone > updates > > involving a form. When I comment out the upload com

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
doh! On Thu, Jul 14, 2011 at 4:16 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 14 Jul 2011 18:08:50 -0300, Ray Nicholus > wrote: > > My upload component is not actually in a zone. Rather, it is in a form, >> and the form has a zone paramet

Re: t-prevent-submission

2011-07-14 Thread Ray Nicholus
of coordination that needs to happen to make it all behave > nicely but it can be done. > > Kalle > > > On Thu, Jul 14, 2011 at 2:25 PM, Ray Nicholus wrote: > > doh! > > > > On Thu, Jul 14, 2011 at 4:16 PM, Thiago H. de Paula Figueiredo < > > thiag...@g

submit form (via linksubmit button) on enter key

2011-08-08 Thread Ray Nicholus
It looks like, by default, hitting the enter key while on the last textfield in a form does not trigger linksubmit. Is there any (simple) way to make this happen? I'm sure there is a way to do this w/ js, but I'm wondering if there is a dirt-simple way to make this happen that I am simply not awa

MultiZoneUpdate to JSON

2011-08-15 Thread Ray Nicholus
How can I take a MZU instance and convert it to JSON? I know that, somewhere, somehow, a MZU is converted to a JSON Object with a key of "zones" but I can't figure out how or where. Can someone point me in the right direction?

Re: MultiZoneUpdate to JSON

2011-08-15 Thread Ray Nicholus
va > > > On Mon, Aug 15, 2011 at 8:08 PM, Ray Nicholus wrote: > > How can I take a MZU instance and convert it to JSON? I know that, > > somewhere, somehow, a MZU is converted to a JSON Object with a key of > > "zones" but I can't figure o

Re: Jumping to a new page

2011-08-17 Thread Ray Nicholus
Instead of a page for the confirm dialog, why not use an eventlink w/ a "confirm" mixin? On Wed, Aug 17, 2011 at 12:05 AM, ixcoatl wrote: > Everything worked as you said, t:pagelink instead of t:actionlink, and > @InjectPage instead of @Inject. > > The silly part is that I had used both techniqu

firing FORM_PROCESS_SUBMIT_EVENT, but form is not submitted

2011-08-25 Thread Ray Nicholus
I've confirmed that the following line of code in my js is executed: $(spec.formId).fire(Tapestry.FORM_PROCESS_SUBMIT_EVENT); I've also confirmed that $(spec.formId) is the correct form element, and the form element exists. However, this line does NOT submit my form. Any idea what might cause t

Re: firing FORM_PROCESS_SUBMIT_EVENT, but form is not submitted

2011-08-25 Thread Ray Nicholus
I fixed it by setting the zone param on the form to an empty zone. No idea why I have to do that, but apparently I do. On Thu, Aug 25, 2011 at 10:44 AM, Ray Nicholus wrote: > I've confirmed that the following line of code in my js is executed: > > $(spe

modifying the List of error messages in ValidationTracker

2011-09-23 Thread Ray Nicholus
I'm trying to figure out a way to clear the list of error messages in ValidationTracker without also clearing the state of the field tracker. I am attempting to create an aggregate of error messages for fields with the same name in the ValidationTracker. So far, I'm not seeing a way to accomplish

parameter binding lost

2011-09-29 Thread Ray Nicholus
I have a component with two levels of embedded components, like so: In component 1, I declare a static String with the property annotation. That property is passed to component 2, and component 2 passes it on to component 3. So, the property in component 3 is bound to t

Re: parameter binding lost

2011-09-29 Thread Ray Nicholus
n/m, it turns out there was another, non-tapestry-related cause for the problem I am seeing On Thu, Sep 29, 2011 at 8:27 AM, Ray Nicholus wrote: > I have a component with two levels of embedded components, like so: > > > > > > > > > > &

setupRender not called on some components

2011-10-14 Thread Ray Nicholus
We are using T5.3 beta 19. Within the last few days, I noticed compassion where setupRender is never called on a rendering component. This does not happen with all components. It seems like this happens on the affected components almost every time. Occasionally, setupRender IS called on these c

Re: setupRender not called on some components

2011-10-14 Thread Ray Nicholus
No idea where "compassion" came from. I meant to say that I noticed situations where setupRender is never called. On Fri, Oct 14, 2011 at 9:35 AM, Ray Nicholus wrote: > We are using T5.3 beta 19. Within the last few days, I > noticed compassion where setupRender is never calle

Lost parameter binding after zone update

2011-11-05 Thread Ray Nicholus
I posted on this before and thought I had resolved it, but I'm seeing it again. When I update a zone by returning a MultiZoneUpdate from an event handler (via an ajax call), one of the components re-rendered as a result of the update has a parameter that is no longer bound. The zone update occurs

prevent multiple form submits

2011-11-21 Thread Ray Nicholus
I'm sure I am not the first one to encounter this problem, and before I go about re-inventing the wheel, I wanted to see if this is something that has already been elegantly solved in the tapestry circle. Anyone?

Re: prevent multiple form submits

2011-11-21 Thread Ray Nicholus
gle.com/p/flowlogix/ > > > > On Nov 21, 2011, at 4:07 PM, Ray Nicholus wrote: > > > >> I'm sure I am not the first one to encounter this problem, and before I > go > >> about re-inventing the wheel, I wanted to se

Re: prevent multiple form submits

2011-11-21 Thread Ray Nicholus
er natively, not naively. On Mon, Nov 21, 2011 at 3:51 PM, Ray Nicholus wrote: > Looks interesting, and I do think a mixin is a good way to go here. > However, I'm trying to think of a case where multiple submits would be > permissible. If there is no such case, perhaps it woul

Re: prevent multiple form submits

2011-11-21 Thread Ray Nicholus
ny Primak wrote: > Multiple submits are allowed in the mixin. Perhaps I am misunderstood your > us case. > > > > On Nov 21, 2011, at 4:51 PM, Ray Nicholus wrote: > > > Looks interesting, and I do think a mixin is a good way to go here. > > However, I'm tryi

Re: prevent multiple form submits

2011-11-21 Thread Ray Nicholus
Thiago or Howard:Is there any chance Tapestry will natively prevent multiple form submissions in a future version? On Mon, Nov 21, 2011 at 4:59 PM, Lenny Primak wrote: > I just did a quick test with form/zone/clientValidations and the mixin > works correctly. > > On Nov 21, 2011, at 5:45 PM, Len

Re: Ajax Upload for Tapestry

2012-09-09 Thread Ray Nicholus
2. The only other option is for the upload library to set a more specific the content type based on the file extension. Even in this case you would need to formally identify the file server-side, since there is no guarantee that this type is correct. 3. You'll have to provide more details, such

Re: Ajax Upload for Tapestry

2012-09-11 Thread Ray Nicholus
e at https://github.com/valums/file-uploader. I'm not sure the Tapestry component will work with this version or not since I haven't spent much time looking at the Tapestry component you referenced. On Tue, Sep 11, 2012 at 6:46 AM, Amr Mohamed Mahmoud Hassanien < amr.hassan...@ey.ae> wrote:

Re: Ajax Upload for Tapestry

2012-09-15 Thread Ray Nicholus
Hassanien < amr.hassan...@ey.ae> wrote: > Hi Ray, > > Thanks for your reply. > > > 1.For the first point, I get this error on click remove for any attachment. > "Communication with the server failed: Request event 'removeupload' (on > component video/Submit

Re: Confirm mixin with form validation errors

2012-09-17 Thread Ray Nicholus
You should be using the on function instead of bind, in jquery 1.7+ On Sep 17, 2012 5:41 AM, "Taha Siddiqi" wrote: > Hi > > You are using tapestry-jquery and trying to access a prototype library > method. Try bind instead of observe > > regards > Taha > > On Sep 17, 2012, at 4:00 PM, ZKN __ wrote

Re: onValidate get list of fields containing validation errors.

2012-10-01 Thread Ray Nicholus
You can't override any methods in that class as it has a final modifier. On Mon, Oct 1, 2012 at 8:18 AM, George Christman wrote: > Hi Lance, I'm seeing the following compiling error "cannot inherit from > final > ValidationTrackerImpl". Any thoughts? > > > > -- > View this message in context: > h

Re: prevent multiple form submits

2012-01-09 Thread Ray Nicholus
Submitted JIRA case 2787 w/ code. On Mon, Nov 21, 2011 at 8:21 PM, hongdengdao wrote: > great !! > thanks for sharing!! > > > On 2011年11月22日 06:59, Lenny Primak wrote: > >> I just did a quick test with form/zone/clientValidations and the mixin >> works correctly. >> >> On Nov 21, 2011, at 5:45

Tapestry 5 email validator rules are not correct

2012-05-18 Thread Ray Nicholus
Examples of currently allowed (and invalid) addresses: accent char - ép...@example.com '+' in domain - test@foo+example.com '/' in domain - test@example/com wrapped in single quotes - 'f...@example.com' wrapped in double quotes - "f...@example.com" Is there currently a case in JIRA to a

Re: Tapestry 5 email validator rules are not correct

2012-05-18 Thread Ray Nicholus
"john.smith(comment)@ > example.com", "john(comment).sm...@example.com", and "joh(comment) > n.sm...@example.com" are all equivalent to "john.sm...@example.com" > International characters above U+007F are permitted by RFC 6531, though > mail sy

"This could be because its template file could not be located"

2012-06-05 Thread Ray Nicholus
I'm starting a new T5 project, and am having some difficulty. For example, if I put my tml files alongside my java classes (com.mycompany.myproj.pages), when I startup my app, and navigate to a page, tapestry tells me that it cannot find the template file. If I then move the template file into my

Re: "This could be because its template file could not be located"

2012-06-05 Thread Ray Nicholus
7;s always the last thing you check, isn't it. On Tue, Jun 5, 2012 at 4:47 PM, Howard Lewis Ship wrote: > See my notes in an adjacent thread. > > On Tue, Jun 5, 2012 at 1:51 PM, Ray Nicholus wrote: > > I'm starting a new T5 project, and am having some difficulty. For &g

overriding a service implementation...

2012-06-07 Thread Ray Nicholus
I'm pulling in a library that also uses T5, and in it's "module" class, it contains the following method: @ServiceId (Symbols.SOME_SYMBOL) public static Something buildThisThing(SomeObj someObj) { .. } In the library, this service is injected into the constructor of ano

Re: overriding a service implementation...

2012-06-07 Thread Ray Nicholus
mentation, but in your case, you'll just ignore it. > > This can be tricky if there are other decorations on the service. > > On Thu, Jun 7, 2012 at 4:55 PM, Ray Nicholus wrote: > > I'm pulling in a library that also uses T5, and in it's "module" cla

FindBugs and the @Inject annotation on global fields

2012-06-08 Thread Ray Nicholus
Is anyone using FindBugs in a T5 project? If so, have you managed to find a way to suppress the NPE warnings when dereferencing an injected field? This doesn't appear to be possible, which makes FB useless in a T5 app, for the most part. It's not clear that any other static analysis tools provid

Re: FindBugs and the @Inject annotation on global fields

2012-06-08 Thread Ray Nicholus
The filter files do not allow you to filter by annotation. On Fri, Jun 8, 2012 at 11:11 AM, Lance Java wrote: > Not really a tapestry question but I'm in a good mood ;) > > The findbugs maven plugin accepts an "excludeFilterFile" configuration > parameter. This file can contain rules that you wis

Re: FindBugs and the @Inject annotation on global fields

2012-06-08 Thread Ray Nicholus
I'd hate to use such an annotation on every single instance. Instead, I'd love to filter out warnings based on annotation (in this case, Inject), but FB doesn't allow this in their filter files. On Fri, Jun 8, 2012 at 11:39 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri,

bridging jQuery and Prototype custom events

2012-06-24 Thread Ray Nicholus
When we switched over to jQuery from Prototype in our Tapestry app, we found that we were still tied to Prototype for a few reasons: 1. We had lots of existing Prototype javascript code. 2. We needed to fire and observe Tapestry js custom events, even in our new jQuery code. 3. We have

exception in IE on ajax request

2012-06-25 Thread Ray Nicholus
I'm seeing the following javascript exception in IE only when the ajaxRequest function is called in tapestry.js: Object doesn't support property or method 'call' I've confirmed that successHandler is not null, and call appears to be available as a native function. as one would expect. Any idea

Re: exception in IE on ajax request

2012-06-25 Thread Ray Nicholus
I would never even open IE if I had the choice. The javascript console looks like someone's high school project. It turns out that IE's exception message was, as usual, misleading. I should also mention that I was getting the same exception message when tapestry attempted to execute consolefn.ca

Re: exception in IE on ajax request

2012-06-25 Thread Ray Nicholus
out(null).map(this.rebuildURLIfIE).value(); ...seems to fix the issue for me locally. I did not do any extensive testing though, but it seems simple enough. On Mon, Jun 25, 2012 at 10:23 PM, Ray Nicholus wrote: > I would never even open IE if I had the choice. The javascript console > lo

Re: exception in IE on ajax request

2012-06-26 Thread Ray Nicholus
Thanks for the info. I have added my votes to these cases. On Tue, Jun 26, 2012 at 1:40 AM, Jochen Berger wrote: > Oh, I should have continued reading, sorry. Then, it's most likely also > TAP5-1882/TAP5-1907. > > Am 26.06.2012 05:58, schrieb Ray Nicholus: > >> Changing

Re: AJAX Events

2012-06-26 Thread Ray Nicholus
Have a look at the RequestParameter annotation. On Tue, Jun 26, 2012 at 11:05 AM, Gep wrote: > Sorry to dig out this post, but I'm having the exact same issue. > > After having a look at : > http://samroyale.blogspot.fr/2009/11/controlling-ajax-in-tapestry.html I > tried to use this trick, but I

a zone containing a loop, containing eventlinks

2012-07-20 Thread Ray Nicholus
I have a zone on a parent component. This zone contains a loop. The loop references another component, which itself contains a loop. This final loop creates eventlinks which reference the zone on the parent component. When one of these eventlinks are triggered, the zone on the parent component

  1   2   >