Ajax update of a zone using javascript

2008-11-03 Thread Patrick Klein
be to provide a @BeginRender method 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 --

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. Szena

Re: How to use DatePicker in tapestry 4.1.3 without tacos?

2008-03-06 Thread Patrick Klein
Hello! Im getting javascript error "calendar.DatePicker_7 is undefined" while clicking tacos:DatePicker component in tapestry 4.1.3. It was working fine in tapestry 4.0. After the upgradation of tapestry 4.1.3 only its throwing this JS error. Is there any alternative to use datepick

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, application_

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: In the .xhtml file, I place a PropertySelection component (model and value a

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

2007-10-04 Thread Patrick Klein
pened 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 c

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

2007-10-03 Thread Patrick Klein
re what you mean 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 >

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 con

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 sepe

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 getRequestCycle().getRepsonseB

[T4.1.2] Problem with Listeners and abstract page-variables?

2007-08-15 Thread Patrick Klein
Hi! Something i stumbled upon in the last days: I'm using an upload component which stores it's data into ognl:uploadFile. The listener is also name uploadFile and triggered using a submit button. In this combination, everytime i someone hits the buttom an exception (see below) is thrown into the

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

2007-08-09 Thread Patrick Klein
don't think it would 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 abstrac

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 lis

Re: T4.1.1 -> T4.1.2 Session handling changed?

2007-07-27 Thread Patrick Klein
Hello, again, problem was a stateful=false statement in the login form i missed. setting it to true again did the trick. Regards, Patrick Hello! Our application is user based and therefore the first page shown is the login page. As soon as the page is entered a new session for the user

T4.1.1 -> T4.1.2 Session handling changed?

2007-07-27 Thread Patrick Klein
Hello! Our application is user based and therefore the first page shown is the login page. As soon as the page is entered a new session for the user is created. In Tapestry 4.1.1 this session was used for this user as it should be. After switching to Tapestry 4.1.2 however, as soon as the use

[T4.1.2] DirectLink and stateful

2007-07-26 Thread Patrick Klein
Hi! I just noticed that the behavior of directlink seems to have changed from 4.1.1. We have the following directlink in your page: listener="listener:logoutUser" href="#"> ... Problem is now that the listener does not get called, but the RedirectException inside the listener seems to get

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 meth

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 @EventListener(elements={DOM-IDs}

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: [...] [...] Each of the row components generates it's unique set of ids for it's subcompon

Re: Tap4.1.2: problems with ajax-response

2007-07-11 Thread Patrick Klein
Hello again! Problem was a instead of 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

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: [...]

Re: T4.1.2: problems with async EventListener

2007-07-10 Thread Patrick Klein
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

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 ar

T4.1.2: problems with async EventListener

2007-07-02 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 '/t

Re: "Choose One" option for Selects

2007-04-15 Thread Patrick Klein
Hi! > In my domain model, I have the ubiquitous "Person" class and lists of > these objs. to display in 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
ith very similar code to that one... 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

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

If-component and T4.1.2-Snapshot

2007-03-28 Thread Patrick Klein
Hello, i'm experiencing some trouble here with Tapestry4.1.2 SNAPSHOT and ognl-expressions. I've got the following construct in a table-component in my template: value="ognl:orderPosition.price.netPrice" size="6" translator="translator:bisoNumber,pattern=#0.00#" displayName="message:P

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 u

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

2007-03-07 Thread Patrick Klein
egards, 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 2007 10:46 An: Tapestry users Betreff: Re:

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

2007-03-06 Thread Patrick Klein
too easy if it had worked that way... Does 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:[EMAI

Re: Problem with assignment of variables between pages

2007-03-06 Thread Patrick Klein
I can think of where 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

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

2007-03-06 Thread Patrick Klein
d kind regards -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 t

Re: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
start-page. 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&#

@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: http:

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

Problem with assignment of variables between pages

2007-02-27 Thread Patrick Klein
milar problem 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: 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: 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

Setting Focus to a formcomponent (4.1.2 SNAPSHOT)

2007-01-16 Thread Patrick Klein
Hi! I'm trying to set the focus using the example script on tapestry's @Script-component page but every time i try the resulting page using firefox firebug shows me the error "document.reportForm has no properties" even though the script is completely defined after the form. I checked the gen

Re: Submit form and bypass validation

2007-01-16 Thread Patrick Klein
Hi! Is it possible to have a submit button on a form that can call a listener bypassing any validation set for the form (without having to explicitly code around validation in the listener)? This is useful when buttons modify the structure of the form: e.g add or remove form components. You co

Re: Problem with Number Translator in Tapestry 4.1.2 Snapshot

2007-01-09 Thread Patrick Klein
taperstry's NumberTranslator (4.1.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 NumberTr

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 doe

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
ore 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

Re: Tapestry 4.1.1, Problems with IE and AJAX [update]

2006-12-04 Thread Patrick Klein
Hi! Last fridays SVN-Snapshot gives me the following error using firefox when changing one of the components an eventlistener is attached to: ERROR: 10:43:16: Error evaluating script: // SyntaxError : missing ; before statement : http://localhost:8080/HelloWorld/app?service=asset&path=%2Ftap

Re: Tapestry 4.1.1 and url rewriting

2006-11-30 Thread Patrick Klein
st" up to date version 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 application

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

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 Propert

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" Pr

Re: Ajax, For-Loops and PropertySelections

2006-11-22 Thread Patrick Klein
o be altered from the DOM-id causing the event additionally to the DOM-Nodes to be updated. Thats basically the solution i'm using. Downside is, as mentioned above, the static way. Another problem was that in the last tests it didn't work with IE but i guess there's only a bit

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
makes it much 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

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 th

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
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 the problem using this approach. Now another question came up: Using an Ev

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: updateComponents="ognl:updateComponents"> Test Result Target value="ognl:dat

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

2006-11-02 Thread Patrick Klein
put the information i need 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

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