Ajax update of a zone using javascript

2008-11-03 Thread Patrick Klein
to update the zone in the java code but i have to admit i don't know to do this. In Tap4.1 this is easily done on any id i know but i can't wrap my head around a proper Tap5-way. Any help would be appreciated :) Regards, -- Patrick Klein bi-so gmbh business

Re: Localization Problems in 4.1.5

2008-03-14 Thread Patrick Klein
Hello, i took a dive into the sourcecode and added a patch to https://issues.apache.org/jira/browse/TAPESTRY-1765 making the fallback work again :) Regards, Patrick Hello, I just tested if i can switch to 4.1.5 just to realize that the localization issue is only partially fixed.

Localization Problems in 4.1.5

2008-03-03 Thread Patrick Klein
Hello, I just tested if i can switch to 4.1.5 just to realize that the localization issue is only partially fixed. Szenario: Application with fallback localization, german and english properties application.properties, application_en.properties, application_en_GB.properties,

Re: Form submission fails only after the 1st time, T4.1.3 bug?

2007-10-15 Thread Patrick Klein
Hello, javascript: is not needed, just onChange=this.form.submit(); Regards, Patrick I am facing this strange behaviour if Tapestry 4.1.3: I have a form, declared in the .page as: component id=quoteForm type=Form binding name=listener value=listener:quoteSubmit/ binding

Re: T4.1.3: Upgrade from 4.1.2 problem with messages

2007-10-04 Thread Patrick Klein
it Malin, i'm wondering, what's the VM's default locale? Patrick Klein wrote: Hello! Thanks Patrick - feels good I might have some sanity left then :) So - is this a bug? Good question, looks like one to me, but I'm not 100% sure... At least it is a change in the localization

Re: T4.1.3: Upgrade from 4.1.2 problem with messages

2007-10-03 Thread Patrick Klein
Hello! I can confirm this behavior. It looks like the fallback to the default property file is not done in case there is no match for the given key in the current locale's property file... Additionally there is a change in the table colums handling which breaks your localization if the keyword

Re: T4.1.3: Upgrade from 4.1.2 problem with messages

2007-10-03 Thread Patrick Klein
with the table columns handling and the '_'/'.' - what's that? The column heads of tables seem to be transformed from SOME_VALUE to SOME.VALUE before piping them through the localization. Regards, Patrick \\Malin On 10/3/07, Patrick Klein [EMAIL PROTECTED] wrote: Hello! I can confirm

Localization issues in Tap4.1.3

2007-10-02 Thread Patrick Klein
Hi! After switching to [4.1.3] I got many unteranslated fields in our application again for which there are definitively translations in our ressource bundle. The localization problems in our table columns seem to be caused by the fix of jira TAPESTRY-234. Our columns contains _ as word

Re: T4.1 :: async form auto-submit

2007-08-24 Thread Patrick Klein
Hello, How can I make a PropertySelection auto-submit an async form when changed? Create an EventListener in your java file listening for the onchange event for this element or target. Inside this method you can trigger an async update of the page using

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Patrick Klein
Hello Paolo, page a should hold an (persist) abstract getter and setter for the list, page b hold a persist abstract getter and setter for the name of the calling page which is set when page b is accessed and maybe reset if needed in the button's listener. When you are done with compiling your

Re: [T4.1]Returning a list to a page

2007-08-09 Thread Patrick Klein
work the page.setList(composedList); maybe not even compile. Paolo Patrick Klein wrote: Hello Paolo, page a should hold an (persist) abstract getter and setter for the list, page b hold a persist abstract getter and setter for the name of the calling page which is set when page b

Re: T4.1.2 EventListener _ symbol in the name of element

2007-07-18 Thread Patrick Klein
Hello, I can confirm this behavior. This problem was bugging me for at least two days now. Thanks for this info :) Regards, Patrick Hello I'm found one strange bug in EventListener, EventListener method not execute if '_' symbol occurs in in the name of element, pageBeginRender method

Re: T4.1.2, Ajax and EventListeners

2007-07-17 Thread Patrick Klein
Hello, again, i found a workable solution for the problem below. I simply make sure some active element is present for each element i use a listener for. Not elegant but it works. Now i stumbled over another oddity/problem: My eventlisteners look very much like

T4.1.2, Ajax and EventListeners

2007-07-16 Thread Patrick Klein
Hello, i got the following stituation at hand for which i search for a workable solution. The construct in the html-template looks like the following: div jwcid=@Any id=ognl:wrapper1 table div jwcid=rowcomponent_1/ [...] div jwcid=rowcomponent_n/ /table /div div

Re: T4.1.2: problems with async EventListener

2007-07-11 Thread Patrick Klein
] /div /div if one updates 2 and 1 in the same response, IE seems to ignore it completely... Regards, Patrick At least the first problem you had sounds like cache inconsistency Patrick Klein wrote: Hallo, strange... after letting it be for a few days and retrying today it works

Tap4.1.2: problems with ajax-response

2007-07-11 Thread Patrick Klein
Hallo! I'm still fighting my way through the ajax functionality. It's at least partially working now but i got a very strange behavior which i'm circling around for quite some time. The page-template looks something like this: [...] form jwcid=[EMAIL PROTECTED] delegate=bean:delegate

Re: Tap4.1.2: problems with ajax-response

2007-07-11 Thread Patrick Klein
Hello again! Problem was a br instead of br/ which prevented dojo from completing it's task :| Regards, Patrick Hallo! I'm still fighting my way through the ajax functionality. It's at least partially working now but i got a very strange behavior which i'm circling around for quite some

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Patrick Klein
Hallo, strange... after letting it be for a few days and retrying today it works :| Now another problem has arisen: The whole thing works fine using firefox but nothing works with internet explorer. i've got eventlisteners for property selections. i can see that the listeners in the java class

T4.1.2: problems with async EventListener

2007-07-03 Thread Patrick Klein
Hi! I just tried to switch over to Tapestry 4.1.2 and use the EventListeners and AJAX functionality. However, as soon as i add an EventListener to any page-class file i get the following log output: 02.07.2007 15:46:00 org.apache.tapestry.asset.AssetService service WARNUNG: Classpath resource

Re: Choose One option for Selects

2007-04-16 Thread Patrick Klein
Hi! In my domain model, I have the ubiquitous Person class and lists of these objs. to display in select elements. I have written a ValueEncoder and SelectModel for the class, and that works fine. I'd also like to have an elegant way to add a Choose One option in the list (at the top).

Re: [announce] ognl 2.7 fail-safe enabled

2007-04-05 Thread Patrick Klein
Hi, Jesse, I just tried the latest snapshot of tapestry but still got the same result as in my last post (If-component and T4.1.2-Snapshot) from the 28th of march. Rendering of the page differs major between T4.1.1 and T4.1.2 Snapshot. Regards, Patrick I think I've resolved most of the

Re: [announce] ognl 2.7 fail-safe enabled

2007-04-05 Thread Patrick Klein
... Regards, Patrick I have no idea what you are talking about Patrick. Was there something more specific you found problems with? On 4/5/07, Patrick Klein [EMAIL PROTECTED] wrote: Hi, Jesse, I just tried the latest snapshot of tapestry but still got the same result as in my last post

Re: public abstract Boolean isQuery()

2007-03-13 Thread Patrick Klein
Hello, i think the problem is that you used the Object-type Boolean not the simple-type boolean. For some reason (bug?) it's booleanValue() method is not called... I personally never tried using Boolean as persist variables in my pages. Regards, Patrick Hi all Just trying to clarify my

@Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
Hello! I'm using the @Shell component's refresh tag to set trigger the reload of a given page every 10 seconds. All works fine using Firefox. However, using IE all goes havoc as IE seems to drop at least parts of the reload url. The refresh part of the page looks like the following: meta

Re: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
. instead of a meta-tag you might use javascript for page-refresh as a workaround. kind regars -Ursprüngliche Nachricht- Von: Patrick Klein [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 10:20 An: Tapestry users Betreff: @Shell component, refresh and IE Hello! I'm using

Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
-Ursprüngliche Nachricht- Von: Patrick Klein [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 10:46 An: Tapestry users Betreff: Re: AW: @Shell component, refresh and IE Hi, Peter, somehow i allready thought it was something like that. Thanks for the answer :) Switching to using cookies also

Re: Problem with assignment of variables between pages

2007-03-06 Thread Patrick Klein
this would happen as you've described it. I'd add some breakpoints to your code and run them in any of the standard ide debuggers to find out definitively what is happening if it were me. They leave 0 room for doubt in these situations. On 2/27/07, Patrick Klein [EMAIL PROTECTED] wrote: Hi! cache

Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
anyone have another idea for a workaround? Regards, Patrick hi patrick, you may also try to url-encode the tapestry-url so that ; will be %3B and IE wont get confused kind regards -Ursprüngliche Nachricht- Von: Patrick Klein [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März

Problem with assignment of variables between pages

2007-02-27 Thread Patrick Klein
and if yes, give me a hint of where to look or how to fix it? Regards, Patrick Klein - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with assignment of variables between pages

2007-02-27 Thread Patrick Klein
Hi! cache is not disabled. Regards, Patrick Are you disabling the cache ? On 2/27/07, Patrick Klein [EMAIL PROTECTED] wrote: Hallo! I'm hoping I'm not completely OT with this problem here... We are using setters and getters to pass over objects between pages, like (in pseudo-java

Re: Setting Focus to a formcomponent (4.1.2 SNAPSHOT)

2007-01-16 Thread Patrick Klein
Hi again! Found a working solution for my case Emptying the body part and simplifying the initalization part to document.getElemtentById(submittedId).focus() does the trick (parameters have to be adjusted, too) Regards, Patrick Hi! I'm trying to set the focus using the example script

Re: Tap 4.1.2 : Asynchronous Selection Boxes does not work with Internet Explorer 6/7

2007-01-16 Thread Patrick Klein
Hi! To my knowledge there is none yet. This is the one thing that keeps us here from switching completely to Ajax... :| If you don't need a asynchronity, you could use synchronous updates for now... Regards, patrick I have run into the same problem of updating a child SelectionProperty

Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-01-09 Thread Patrick Klein
.x, omitZero=true) the RequiredValidator lets the field pass as valid as the underlying value is not empty... Regards, Patrick On 1/8/07, Patrick Klein [EMAIL PROTECTED] wrote: Hi! After a little testing: The behaviour of the NumberTranslater is persistent in version 4.1.1. Switching back

Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-01-08 Thread Patrick Klein
Hi! After a little testing: The behaviour of the NumberTranslater is persistent in version 4.1.1. Switching back to 4.0.2 for now, which is nothing i want to do as i'd like to use the ajax functionality of tap 4.1.x ... Regards, Patrick Hi! I just recognized that the NumberTranslator

Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-01-05 Thread Patrick Klein
Hi! I just recognized that the NumberTranslator does not seem to work correctly. OmitZero=true results in no value shown in the form-field after a rewind but the value 0 is stored inside the corresponding Long- (or Integer / BigDecimal / ...) variable. OmitZero=false shows the stored 0 in

Re: Tapestry 4.1.1 and url rewriting

2006-12-04 Thread Patrick Klein
definitive test case to proceed further. Mine involved simply disabling cookies on the client side browser. On 11/30/06, Patrick Klein [EMAIL PROTECTED] wrote: Hi! I'm using last night's svn-snapshot... I recognized this problem first when i switched to tapestry 4.1 and it is persistent till now

Tapestry 4.1.1, Problems with IE and AJAX

2006-11-30 Thread Patrick Klein
Hello! I'm still having some trouble with my test-application and IE. The intended functionality is the following: Page consists out of three PropertySelections, one TextField and one Checkbox. PropertySelection 1 affects the content of PropertySelection 2 and possibly the content of

Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Patrick Klein
Hi! For some reason, url-rewriting doesn't work since i switched from tapestry 4.0.2 to 4.1.1 As in the old setup, cookies=false is set in the Contrext-tag of the applications context.xml but the session-context is lost after the first click as the session is not encoded into the url. Adding

Re: Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Patrick Klein
of Tapestry possible. On 11/30/06, Patrick Klein [EMAIL PROTECTED] wrote: Hi! For some reason, url-rewriting doesn't work since i switched from tapestry 4.0.2 to 4.1.1 As in the old setup, cookies=false is set in the Contrext-tag of the applications context.xml but the session-context is lost after

AJAX and Internet Explorer

2006-11-23 Thread Patrick Klein
Hi! I'm still working my way through ajax functionality in tapestry 4.1.1 and stumbled upon the following behaviour: If i'm accessing my test-page using IE the ajax-functionality seems to fail. The first call of an asynchronous EventListener works (at least kind of) but e.g. the dynamic

Re: Ajax, For-Loops and PropertySelections

2006-11-22 Thread Patrick Klein
easier for other folks to find it later. --sam On 11/21/06, Patrick Klein [EMAIL PROTECTED] wrote: Nevermind, found it 2 minutes after hitting the send button :) Patrick Hi! I scraped the for-loop in favor of a hardcoded list of components which does the trick for our needs here. It would

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
Nevermind, found it 2 minutes after hitting the send button :) Patrick Hi! I scraped the for-loop in favor of a hardcoded list of components which does the trick for our needs here. It would have been nicer the way below (and much more flexible) but i could not find a working solution for

Ajax, For-Loops and PropertySelections

2006-11-17 Thread Patrick Klein
Hi! I'm trying to use Ajax to update the content of a for-loop containing PropertySelections. The template for the table i want to update looks like this: form jwcid=[EMAIL PROTECTED] async=ognl:true updateComponents=ognl:updateComponents table tr thTest/th

Addressing of components inside a For-loop in a listener

2006-11-02 Thread Patrick Klein
Hi! I got a small problem with a Tapestry application regarding components in a for-loop. Inside this loop reside a couple of TextFields and PropertySelection which i need to validate after all the data is written to the beans. Problem now is that i need to address the components to show the user

Re: Addressing of components inside a For-loop in a listener

2006-11-02 Thread Patrick Klein
into... Regards, Patrick Regards, Robert Patrick Klein schrieb: Hi! I got a small problem with a Tapestry application regarding components in a for-loop. Inside this loop reside a couple of TextFields and PropertySelection which i need to validate after all the data is written