Re: T5: Persist or not? help me understand this
Angelo, We had a situation using T4.1 where some non-persistent properties where reused in listeners after the page was rendered. It used to work relatively fine but as the page got more properties it begun to fail. Sometimes it got the right value, other times an old value (?!?!) and - what happened more often - it switched from null to the right value as I clicked again and again in the link for the listener. Setting it to persistent seems to have fixed the problem. -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [4.1] EventListener within a component
I knew this got to me easy and elegant! Thanks! 2007/9/27, [EMAIL PROTECTED] [EMAIL PROTECTED]: You should be ablet to use the component-id with @EventListener's targets-Parameter. sth like: @EventListener( targets=textField, events=onchange ) public void doIt(){...} @Component public TextField getTextField() -Original Message- From: Marcelo C. de Freitas [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 8:55 PM To: Tapestry users Subject: [4.1] EventListener within a component Hello there, I have a issue that might be quite simple to solve but I'm completely lost. I have a component, let's call it !EditableCell, that has a TextInput whose id is dynamically created. How can I create an onchange EventListener for it in the component's class? -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[4.1] EventListener within a component
Hello there, I have a issue that might be quite simple to solve but I'm completely lost. I have a component, let's call it !EditableCell, that has a TextInput whose id is dynamically created. How can I create an onchange EventListener for it in the component's class? -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Submitting Forms with Parameters with Tapestry
try using @Any instead of @Insert 2007/9/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I am new to Tapestry. I have a requirement that I submit a form with parameters (userid and password) to Oracle CoreId which is an authentication system. The submit needs to have userid and password in the form. My code below will submit the form, but it does not pass the userid and password. If I change the value on the userid and password to literal values like value=userid and value=password, then it works. form name=SubmitWebGate method=post style={margin:0px} action=/access/oblix/apps/webgate/bin/webgate.dll?/oa/Router.jsp input type = hidden name = userid jwcid=@Insert value=ognl:userId/ input type = hidden name = password jwcid=@Insert value=ognl:password/ SCRIPT LANGUAGE=JavaScript SubmitWebGate.submit(); /SCRIPT /form I would appreciate any help I can get on this. Thanks, Debbie -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Who Use Tapestry
isn't it time for us to create a Tapestry Brasil comunity? :D Em 05/09/07, Daniel Ruiz[EMAIL PROTECTED] escreveu: You got another one from Brazil :P Daniel Andrade Ruiz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Delfino Carvalho Pinheiro Sent: Wednesday, September 05, 2007 4:33 PM To: Tapestry users Subject: Re: Who Use Tapestry I only see one Brazillina users. it Have more users in Brazil? Thanks. Em 05/09/07, Carlos Delfino Carvalho Pinheiro [EMAIL PROTECTED] escreveu: thanks for all! 2007/9/5, Marcelo Lotif [EMAIL PROTECTED]: and here http://wiki.apache.org/tapestry/SuccessStories :) 2007/9/5, Daniel Jue [EMAIL PROTECTED]: Some people have reported their success here: http://raibledesigns.com/rd/entry/choosing_a_jvm_web_framework1 On 9/5/07, Carlos Delfino Carvalho Pinheiro [EMAIL PROTECTED] wrote: Hi! I need make one document for suggest to my company use Tapestry. But the Technical leader ask me about Who use Tapestry. Have one Wiki page where users can post you experiences? Thanks! -- ¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨ Carlos Delfino - [image: call_blue_white_124x52] Consultoria e Gestão de Projetos no Terceiro Setor http://www.linkedin.com/in/carlosdelfino ¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨~^.^~¨ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Atenciosamente, Marcelo Lotif -- Carlos Delfino Desenvolvimento de Softwares e Projetos TSM Project Leader SGAP Project Leader PDTec Project Champion -- Ele é Deus e não há outro deus senão Ele, Que conhece o invisível e o visível. Ele é o Clemente, o Misericordioso! Ele é Deus e não há outro deus senão ele. Ele é o Soberano, o Santo, a Paz, o Fiel, o Vigilante, o Poderoso, o Forte, o Grande! Que Deus seja louvado acima dos que os homens Lhe associam! Ele é Deus, o Criador, o Inovador, o Formador! Para ele os epítetos mais belos (59, 22-24) -- Carlos Delfino Desenvolvimento de Softwares e Projetos TSM Project Leader SGAP Project Leader PDTec Project Champion -- Ele é Deus e não há outro deus senão Ele, Que conhece o invisível e o visível. Ele é o Clemente, o Misericordioso! Ele é Deus e não há outro deus senão ele. Ele é o Soberano, o Santo, a Paz, o Fiel, o Vigilante, o Poderoso, o Forte, o Grande! Que Deus seja louvado acima dos que os homens Lhe associam! Ele é Deus, o Criador, o Inovador, o Formador! Para ele os epítetos mais belos (59, 22-24) Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.7/816 - Release Date: 5/23/2007 3:59 PM Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.7.7/816 - Release Date: 5/23/2007 3:59 PM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T4]Injecting page into a Popup
Hello Tapestry Gurus! Is there a simple way to inject a page into a popup window from an async listener in tapestry 4.1? -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T4]Injecting page into a Popup
Let me elaborate more on my issue. I want to open a page in a popup window, but I need to set some properties in it first. Hence, I thought it'd be best to use listeners and page injection to do so (returning the page with the properties set by the listener). The problem is: how can I open the returned page in a popup window? Do you think there is a better solution for doing this? Also, where did contrib:PopupLink go in t4.1 (or it's just missing in the docs)? 2007/9/4, Marcelo C. de Freitas [EMAIL PROTECTED]: Hello Tapestry Gurus! Is there a simple way to inject a page into a popup window from an async listener in tapestry 4.1? -- Marcelo C. Freitas -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T4]Injecting page into a Popup
thanks for both answers! They both work and are awesome, but I think I'll stick with the renderer approach. 2007/9/4, Jonathan Barker [EMAIL PROTECTED]: What about implementing IExternalPage for the page you want in the popup, and passing the parameters through an ExternalLink? -Original Message- From: Marcelo C. de Freitas [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 04, 2007 10:56 AM To: Tapestry users Subject: Re: [T4]Injecting page into a Popup Let me elaborate more on my issue. I want to open a page in a popup window, but I need to set some properties in it first. Hence, I thought it'd be best to use listeners and page injection to do so (returning the page with the properties set by the listener). The problem is: how can I open the returned page in a popup window? Do you think there is a better solution for doing this? Also, where did contrib:PopupLink go in t4.1 (or it's just missing in the docs)? 2007/9/4, Marcelo C. de Freitas [EMAIL PROTECTED]: Hello Tapestry Gurus! Is there a simple way to inject a page into a popup window from an async listener in tapestry 4.1? -- Marcelo C. Freitas -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4.1 :: async form auto-submit
Thanks Patrick, It didn't work as expected (well, at all), but I saw some javascript written in the HTML output. I'll just have to dig a little deeper; at least now I have the right directions. Regards. 2007/8/24, Patrick Klein [EMAIL PROTECTED]: 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().getRepsonseBuilder().updateComponent(id) Regards, Patrick I tried the ordinary onChange=this.form.submit() but it causes the entire page to reload and I just want parts of it to do so. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4.1 :: async form auto-submit
Hey there, How can I make a PropertySelection auto-submit an async form when changed? I tried the ordinary onChange=this.form.submit() but it causes the entire page to reload and I just want parts of it to do so. Thanks. -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [NOOB] Getting the Locale without injection
Sorry about my confusion regarding final classes. I meant a object from a class that's not abstract. The thing is I'm not subclassing neither *Component nor *Page and I don't see this class working as or being constructed by a Hivemind service. I'm working with 4.1. 2007/8/16, Lutz Hühnken [EMAIL PROTECTED]: Hi, which Tapestry version are you referring to? And what exactly do you mean with in a final object - are you talking about a component? In what way is the final part relevant? In Tapestry 4.0.x, the BasePage provides getLocale() and getMessages() methods. But I guess that's not what you are looking for? Lutz On 8/16/07, Marcelo C. de Freitas [EMAIL PROTECTED] wrote: Hello there, I want to get the page locale (and the page messages) in a final object without having to set them manually (meaning I can't do the @InjectObject stuff). Is there a way I can do that? I've looked for it into the Hivemind docs but I couldn't find anything really useful. -- Marcelo C. Freitas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[NOOB] Getting the Locale without injection
Hello there, I want to get the page locale (and the page messages) in a final object without having to set them manually (meaning I can't do the @InjectObject stuff). Is there a way I can do that? I've looked for it into the Hivemind docs but I couldn't find anything really useful. -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T4.1]tabs supporting listeners
it's almost working almost because the dojo's ContentPane is a DOM node inside the page. which means the page inside the TabContainer can't be a complete page (html, body, ...). Which means the listeners may not work (actualy, they didn't work at all in my tests). One solution I found is to use iframes. But there is a problem with this approach. Every single tab is loaded into the page when the user enters it, and when it's loading the iframes are shown (the JavaScript only run after the frames have finished loading). Have anyone came across this situation? Any idea? 2007/7/23, Marcelo C. de Freitas [EMAIL PROTECTED]: 2007/7/23, Shing Hing Man [EMAIL PROTECTED]: Have you tried Dojo TabContainer? The following has an example (in Tap 4.1.2). http://lombok.demon.co.uk/tapestry41Demo/app Shing -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T4.1]tabs supporting listeners
There is a simple solution for this. The Tab's divs are not visible at first, so the user can't see the iframes loading. Once the page is loaded, all divs are marked visible. 2007/8/8, Marcelo C. de Freitas [EMAIL PROTECTED]: it's almost working almost because the dojo's ContentPane is a DOM node inside the page. which means the page inside the TabContainer can't be a complete page (html, body, ...). Which means the listeners may not work (actualy, they didn't work at all in my tests). One solution I found is to use iframes. But there is a problem with this approach. Every single tab is loaded into the page when the user enters it, and when it's loading the iframes are shown (the JavaScript only run after the frames have finished loading). Have anyone came across this situation? Any idea? 2007/7/23, Marcelo C. de Freitas [EMAIL PROTECTED]: 2007/7/23, Shing Hing Man [EMAIL PROTECTED]: Have you tried Dojo TabContainer? The following has an example (in Tap 4.1.2). http://lombok.demon.co.uk/tapestry41Demo/app Shing -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4 - Problem with latin characters
something should have messed up your encoding settings. make sure you know what encoding you use in your pages and follow the instructions contained at: http://tapestry.apache.org/tapestry4.1/usersguide/configuration.html (look for encoding) good luck! 2007/7/23, Hernani Cerqueira [EMAIL PROTECTED]: Hello all, i have a T4 app that was working flawlessly until now, sudently, all the latin characters in the page were replaced by losangles with a question mark, except for the ones that come from the database, wich is postgresql. Anyone knows wath could have happened? Thanks in advance, Hernâni Cerqueira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T4.1]tabs supporting listeners
Hello there, As this is my first question in this list (and my 2nd message) I`d like to say tanks for all tapestry developers and contributors for creating this amazing framework. I have a simple question (I looked for it in the list history but I couldn`t find any useful information). I want to create a tab component with t4.1 wich loads a page using AJAX inside a div. I know that`s something that can be easily accomplished with the Block component, but there is a problem with this approach. My content pages (the ones that will be openned inside the tab) will have listeners - some of them asyncronous. But according to the Block component documentation it can`t identify the listener in the original page classes. Is there a simple solution for this? Is it even possible to accomplish with tapestry? (I know there are some tab`s components out there. I tried to use them, but with no success - mainly for the lack of documentation. Sorry if this is a redundant question). Best regards. -- Marcelo C. Freitas IM's: MSN: [EMAIL PROTECTED] ICQ: 24263609 Jabber: [EMAIL PROTECTED] GTalk: [EMAIL PROTECTED] Yahoo: baterausp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]