How to put document.a.value info into properties file

2006-09-25 Thread Peter Dawn
guys, how can i put text which is filled up by javascript (like document.a.value="test") into properties files. i mean i want this text to be multi-lingual too and hence they need to be in properties files. any idea. thanks. -

Re: Ajax Double Combo example?

2006-09-25 Thread Karthik N
if you're on 4.1 do as jesse suggests. if you're on 4.0 then: 1. make sure your ajaxeventsubmit is declared BEFORE the combo boxes 2. make sure you got your event name right - this can be tried out by having a simple alert('hello world') to make sure the right even is in fact getting generated.

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread andyhot
Inge Solvoll wrote: > Thanks guys! > > I downgraded to tacos 4 beta 1 and the dojo version included there, > and my > system went back to normal page load times. > > I'll try with a lighter profile when I get the time. My first guess > was that > this happens when dojo goes through all the nodes in

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread Inge Solvoll
Thanks guys! I downgraded to tacos 4 beta 1 and the dojo version included there, and my system went back to normal page load times. I'll try with a lighter profile when I get the time. My first guess was that this happens when dojo goes through all the nodes in the document to make a memory map

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread andyhot
Jesse Kuhnert wrote: > Kitchen sink? Ouch ;) Maybe the default used in the demo could be > slightly > lighter. actually, the demo also uses kitchen sink ;) > > On 9/25/06, andyhot <[EMAIL PROTECTED]> wrote: >> >> tacos includes dojo0.3.1-kitchen_sink >> >> Go to http://download.dojotoolkit.org/rele

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread Jesse Kuhnert
Kitchen sink? Ouch ;) Maybe the default used in the demo could be slightly lighter. On 9/25/06, andyhot <[EMAIL PROTECTED]> wrote: tacos includes dojo0.3.1-kitchen_sink Go to http://download.dojotoolkit.org/release-0.3.1/ and try some lighter profiles ( perhaps ajax or even minimal) Do tell u

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread andyhot
tacos includes dojo0.3.1-kitchen_sink Go to http://download.dojotoolkit.org/release-0.3.1/ and try some lighter profiles ( perhaps ajax or even minimal) Do tell us if things get better. Inge Solvoll wrote: > I have a couple of html pages that contain huge amounts of hidden inputs, > about 500 kb

Re: dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread Jesse Kuhnert
Not really sure. I'm going to be going in and doing a few tiny fixes in the tacos 4 release this week, so if you put something in the tacos bug reporter that I can re-produce / see I might be able to find a solution to whatever is happening. On 9/25/06, Inge Solvoll <[EMAIL PROTECTED]> wrote: I

Re: Login/Change Pasword Component

2006-09-25 Thread Jesse Kuhnert
I think you can just call getBean("delegate") in your listener method and add your custom errors to that directly. You might want to download one of the tapestry sample applications or look the the jumpstart site to see how a somewhat fully functional application might do: http://tapestry.apache.

Re: Ajax Double Combo example?

2006-09-25 Thread Jesse Kuhnert
You can do the same thing pretty easily in Tapestry 4.1. http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html On 9/25/06, mhelmstetter <[EMAIL PROTECTED]> wrote: OK, I think that got me pointed in the right direction, but I'm still having trouble. I tried the AjaxEventSubmit exampl

Re: Doubt about implementing Ajax request

2006-09-25 Thread Jesse Kuhnert
Hmmm...It sounds like you have a lot going on here. The example given is hard to follow for me but I can give you some hints? When you specify updateComponents="" or call ResponseBuilder.updateComponent(String id) what will happen is that your components IComponent.renderComponent(IMarkupWriter w

dojo 0.3.1/tacos 4 makes ie sick

2006-09-25 Thread Inge Solvoll
I have a couple of html pages that contain huge amounts of hidden inputs, about 500 kb of html. This worked reasonably fine until recently. But after upgrading to tacos 4 with dojo 0.3.1, it takes Internet Explorer 6 about 1 minute to load the page, with tacos 4 beta 2 it took about 5 seconds. In

Re: Wrong charset in strange conditions

2006-09-25 Thread andyhot
Jean-Eric Cuendet (RPT) wrote: > I would add that it appears if I use: > MyPage myPage = ... > throw new PageRedirectException(myPage); > and: > throw new PageRedirectException("MyPage"); > > Also, after the RedirectException, the URL is not .../MyPage.html but > .../OtherPage.html where OtherPage

Re: Wrong charset in strange conditions

2006-09-25 Thread Malin Ljungh
This is almost scary - I was just about to write a post with the exact same question. But you were 30 minutes ahead. Hope someone can help us :) On 9/25/06, Jean-Eric Cuendet (RPT) <[EMAIL PROTECTED]> wrote: Hi, I have a Tapestry 4.0.2 website which works fine since months. Today I realized t

Re: Wrong charset in strange conditions

2006-09-25 Thread Jean-Eric Cuendet (RPT)
I would add that it appears if I use: MyPage myPage = ... throw new PageRedirectException(myPage); and: throw new PageRedirectException("MyPage"); Also, after the RedirectException, the URL is not .../MyPage.html but .../OtherPage.html where OtherPage is where the Redirect occurs. Is that norma

Wrong charset in strange conditions

2006-09-25 Thread Jean-Eric Cuendet (RPT)
Hi, I have a Tapestry 4.0.2 website which works fine since months. Today I realized that the charset of the site was not consistent: the webserver returned charset=UTF-8 while the html code was "charset=ISO-8859-1" The pages themselves are in UTF-8 and were displayed correctly. So I changed th

Login/Change Pasword Component

2006-09-25 Thread jake123
Hi, I am trying to write a component that will handle my login into my secure pages in my application. When I am logged in the component will display that name of the logged in user and some other information. I will also have a for where the user can change password. The form contains Old Passwor

Re: Ajax Double Combo example?

2006-09-25 Thread mhelmstetter
OK, I think that got me pointed in the right direction, but I'm still having trouble. I tried the AjaxEventSubmit example: http://tacos.sourceforge.net/components/AjaxEventSubmit.html but my listener does not seem to be invoked when the list selection changes. Any ideas? Thanks, mark karthi

Re: Improving client:page - all ServiceEncoding params are null

2006-09-25 Thread Martin Strand
Oh, I see. Thanks. Martin On Mon, 25 Sep 2006 18:41:52 +0200, andyhot <[EMAIL PROTECTED]> wrote: http://issues.apache.org/jira/browse/TAPESTRY-770 Martin Strand wrote: Seems like the only ServiceEncoding parameters that aren't null are "sp" for the direct service. Does anybody know how this

Re: BeanForm for TP3?

2006-09-25 Thread D&J Gredler
Sounds good. Keep me and/or the list updated, if you don't mind. Take care, Daniel On 9/25/06, Darío Vasconcelos <[EMAIL PROTECTED]> wrote: Thanks Daniel, I didn't recognize the title of my own post (duh!) and didn't notice you had replied to it. I will search the list and try to do the bac

Re: Improving client:page - all ServiceEncoding params are null

2006-09-25 Thread andyhot
http://issues.apache.org/jira/browse/TAPESTRY-770 Martin Strand wrote: > Seems like the only ServiceEncoding parameters that aren't null are > "sp" for the direct service. Does anybody know how this is supposed to > work? > > On Mon, 25 Sep 2006 00:02:35 +0200, Martin Strand > <[EMAIL PROTECTED]>

Re: Improving client:page - all ServiceEncoding params are null

2006-09-25 Thread Martin Strand
Seems like the only ServiceEncoding parameters that aren't null are "sp" for the direct service. Does anybody know how this is supposed to work? On Mon, 25 Sep 2006 00:02:35 +0200, Martin Strand <[EMAIL PROTECTED]> wrote: I'm trying to improve the client:page scope and prevent it from addin

Re: conditional include stylesheets using Shell

2006-09-25 Thread Andreas Andreou
No, but you can use the delegate parameter of @Shell ( see http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Shell.html ) to add anything you want inside . Also see https://svn.sourceforge.net/svnroot/tacos/tacos-4.0/trunk/tacos-demo/src/context/WEB-INF/Border.html and https://s

Re: BeanForm for TP3?

2006-09-25 Thread Darío Vasconcelos
Thanks Daniel, I didn't recognize the title of my own post (duh!) and didn't notice you had replied to it. I will search the list and try to do the backport. Losing automatic validations and other stuff doesn't worry me that much; I'm assembling a team of Tapestry newbies for a project I'm starti

conditional include stylesheets using Shell

2006-09-25 Thread Marcus Irven
Is there some way to have Shell create elements surrounded by conditionals? e.g. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding the locale into the url

2006-09-25 Thread Numa Schmeder
Well I switch the locale using a page redirection: engine.setLocale(theLocale); engine.cleanup(); IEngineService service = cycle.getEngine().getService (Tapestry.PAGE_SERVICE); ILink link = service.getLink(cycle, this, new String[]{"Home"}); throw new RedirectException(link.getURL());

Re: Problem with tacos:Grid component

2006-09-25 Thread Sam Gendler
We would need to be able to see your code in order to hypothesize about a cause. If the code works in the demo app, but not in your app, there must be some difference between them. --sam On 9/22/06, Edoardo Campagnano <[EMAIL PROTECTED]> wrote: Hi, I've been able to run the Tacos demos on my

Re: Encoding the locale into the url

2006-09-25 Thread andyhot
How do you currently switch the locale? Numa Schmeder wrote: > Hello all, > > I am checking if there is a way to encode the locale into the tapestry > generated URL, this is to avoid caching problem with browser as > currently the url is the same for whatever locale. > I am using tap3 but maybe th

Encoding the locale into the url

2006-09-25 Thread Numa Schmeder
Hello all, I am checking if there is a way to encode the locale into the tapestry generated URL, this is to avoid caching problem with browser as currently the url is the same for whatever locale. I am using tap3 but maybe this is already available in tap4? In tap3 i know i should change a