[Trinidad] Page reloads before launching the dialog

2009-02-10 Thread Walter Mourão
['novo.documento']} action=#{captacaoController.entradaDeDadosDaCaptacaoNovoDocumentoAsDialog} returnListener=#{captacaoController.returnFromNovoDocumento} partialSubmit=true immediate=true useWindow=true windowHeight=600 windowWidth=600/ Thanks in advance. Walter Mourão http

Re: Trinidad: Close dialog from javascript

2009-01-30 Thread Walter Mourão
Use javascript to click() the 'close' button. Cheers, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Jan 30, 2009 at 8:08 AM, Fred Davis freda...@gmail.com wrote: Hi, If I have a popup dialog displayed, how could I close it programmatically

Re: Trinidad or RichFaces? or both?

2009-01-27 Thread Walter Mourão
and ajaxtags to get Ajax working. I prefer Trinidad. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Jan 27, 2009 at 8:34 PM, Stephen Friedrich trini...@eekboom.comwrote: Uh, oh, a controversial topic. I have used Trinidad quite a lot and I have started

Re: calling backing bean method from Javascript

2009-01-23 Thread Walter Mourão
Quick dirt solution: 1 - link the backing bean action to a commandButton with id=hiddenButton 2 - make the commandButton hidden using css (ex. display:none) 3 - click the button using its click function (ex. document.getElementById('hiddenButton').click() ) I hope it works. Walter Mourão http

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Walter Mourão
You can use the disclosed property in showDetailItem to show/hide its content. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Jan 7, 2009 at 1:22 PM, Enrique Medina Montenegro e.medin...@gmail.com wrote: Hi, I'm using a panelTabbed component

Re: [TRINIDAD] - Change tab in panelTabbed using a button

2009-01-07 Thread Walter Mourão
As I remember I used something like disclosed=#{form.disclosedTab == 1} and set the disclosedTab number in the backing bean action. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Jan 7, 2009 at 2:09 PM, Enrique Medina Montenegro e.medin

Re: [Trinidad] check for ppr with javascript

2008-12-16 Thread Walter Mourão
No idea... maybe using the page onload event. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Dec 16, 2008 at 7:10 AM, Daniel Niklas co...@dniklas.de wrote: Hi Walter, Walter Mourão-2 wrote: Makes the generalPPRMonitor method function

Re: [Trinidad] check for ppr with javascript

2008-12-11 Thread Walter Mourão
requestQueue = TrPage.getInstance().getRequestQueue(); requestQueue.addStateChangeListener(generalPPRMonitor); } ... trh:body onload=generalOnLoad(); ... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Thu, Dec 11, 2008 at 1:44 PM, Daniel Niklas [EMAIL

Re: [Trinidad] check for ppr with javascript

2008-12-11 Thread Walter Mourão
Hi, the code: ... function generalOnLoad() { var requestQueue = TrPage.getInstance().getRequestQueue(); requestQueue.addStateChangeListener(generalPPRMonitor); } ... Makes the generalPPRMonitor method function be executed only when the PPR starts/stops. Walter Mourão http

Re: [Trinidad] dialog auto submit

2008-12-02 Thread Walter Mourão
I don't know, but it looks to me you can use the code TrPage._autoSubmit('frmDialog','tblSearchDialogResults',event,1) directly, avoiding to call the .click() Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Dec 2, 2008 at 4:03 AM, Bruno Marti [EMAIL

Re: [Trinidad] dialog auto submit

2008-12-01 Thread Walter Mourão
Try executing .onclick() instead of .click(). I'm not sure but it looks to me there is a difference because of the js code it should execute. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Dec 1, 2008 at 1:11 PM, Bruno Marti [EMAIL PROTECTED] wrote

Re: [Trinidad] dialog auto submit

2008-11-28 Thread Walter Mourão
Add a component surrounding the entire row (div or some tr:panel*): ondblclick-select the radio and close the dialog. Or... you can add the ondblclick to each component inside the row. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Nov 28, 2008

Re: [Trinidad] dialog auto submit

2008-11-26 Thread Walter Mourão
think it works. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, Nov 25, 2008 at 12:57 PM, Bruno Marti [EMAIL PROTECTED] wrote: I've got a lightweight dialog with a tr:table as result list. Where row selction is single. Everything works as expected

Re: Help with Trinidad + Facelets + Stylesheet

2008-10-21 Thread Walter Mourão
=${facesContext.externalContext.request.contextPath}/css/custom.css / trh:script source=/js/common.js/ trh:script source=/js/key-events.js/ /trh:head ... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Oct 20, 2008 at 9:29 PM, Shailaja Jain [EMAIL PROTECTED]wrote: Hi

Re: Facelets+Tomahawk+Trinidad=Disaster?

2008-10-08 Thread Walter Mourão
Are you using tomcat ? which version ? trinidad / facelets / tomahawk versions ? Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Oct 8, 2008 at 5:07 PM, mjovanov [EMAIL PROTECTED]wrote: OK, from everything I've read on this forum it seems

Re: [Trinidad] Strange subform behavior

2008-10-01 Thread Walter Mourão
Yes, maybe the wrong way... during the action I set all the components to transient... How do you use it ? Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Oct 1, 2008 at 4:25 AM, Marco Grimm [EMAIL PROTECTED]wrote: Did you try the solution

Re: [Trinidad] Strange subform behavior

2008-10-01 Thread Walter Mourão
Thank you Marco, Andrew, Simon, Bernd, Volker etc. Sorry the long thread. I think I found my ways around the question. I will rebuild the test project from scratch and try again. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Oct 1, 2008 at 8:33

Re: [Trinidad] Strange subform behavior

2008-09-19 Thread Walter Mourão
Hi Andrew, Is there a way to force all components (editable or not) to be refreshed from the bean values ? Thanks in advance, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Sep 10, 2008 at 4:04 PM, Andrew Robinson [EMAIL PROTECTED] wrote: I

Re: [Trinidad] Strange subform behavior

2008-09-10 Thread Walter Mourão
Sorry the bump, but I'm in a dead end... Does anybody know a workaround ? Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Sun, Sep 7, 2008 at 8:22 AM, Walter Mourão [EMAIL PROTECTED]wrote: Hi folks, I'm dealing with a strange behavior when using

Re: [Trinidad] Strange subform behavior

2008-09-10 Thread Walter Mourão
Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Sep 10, 2008 at 10:13 AM, Andrew Robinson [EMAIL PROTECTED] wrote: Looks like you need to add partialTriggers to the components you want to update / refresh -A On Wed, Sep 10, 2008 at 4:50 AM, Walter

Re: [Trinidad] Strange subform behavior

2008-09-10 Thread Walter Mourão
Hi Volker, I think the question is not if it was submitted or not but if all the visible references (inputText, outputText or everything else) of a property instance show its current value when the view is rendered. Regards, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http

Re: [Trinidad] Strange subform behavior

2008-09-10 Thread Walter Mourão
and tr:inputText should have a similar behavior when showing the property value. Thank you very much, guys. Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Wed, Sep 10, 2008 at 3:12 PM, Andrew Robinson [EMAIL PROTECTED] wrote: IMO, the user

[Trinidad] Strange subform behavior

2008-09-07 Thread Walter Mourão
an workaround. Thanks in advance, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br

Re: [Trinidad] PPR does not show validation error message

2008-09-03 Thread Walter Mourão
FYI: I tested with the blank application with 1.0.9 and 1.2.9 (and 1.2.9+facelets 1.1.14) and both are working fine... it looks the problem is related with my application... Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Mon, Sep 1, 2008 at 6:11 PM

Re: [Trinidad] PPR does not show validation error message

2008-09-01 Thread Walter Mourão
I've made a small test with 1.2.9 and it looks it is working now... Just to confirm, is it possible this behavior has changed from 1.0.x to 1.2.x ? Thanks, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Aug 1, 2008 at 9:09 AM, Walter Mourão

Re: [Trinidad] component like inputSuggestAjax?

2008-08-29 Thread Walter Mourão
Hi Bruno, take a look at: http://code.google.com/p/trinidadcomponents/ It is a bit buggy now but, since I added to a customer project, I will correct the bugs soon. Cheers, Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Aug 29, 2008 at 5:14 AM

Re: [Trinidad] component like inputSuggestAjax?

2008-08-29 Thread Walter Mourão
It's done. http://wiki.apache.org/myfaces/Trinidad_third_party_components?action=show Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Fri, Aug 29, 2008 at 8:52 AM, Matthias Wessendorf [EMAIL PROTECTED]wrote: cool, can you link to that from

Re: Jscookmenu/trinidad problem

2008-08-05 Thread Walter Mourão
the sender by reply email and* * destroy all copies of the original message*. -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

Re: Jscookmenu/trinidad problem

2008-08-05 Thread Walter Mourão
. Any unauthorized review, use, disclosure or distribution* * is prohibited. If you are not an intended recipient, please contact the sender by reply email and* * destroy all copies of the original message*. -- *From:* Walter Mourão [mailto:[EMAIL PROTECTED

Re: [Trinidad] PPR does not show validation error message

2008-08-01 Thread Walter Mourão
PROTECTED] wrote: There is talk of alternatives at the framework level, but it could be a while before I can present the ideas to the entire dev team. On Thu, Jul 31, 2008 at 11:57 AM, Walter Mourão [EMAIL PROTECTED] wrote: Hi Andrew (and folks), I'm back to this issue... I'm going to try

Re: [Trinidad] PPR does not show validation error message

2008-07-31 Thread Walter Mourão
to handle these situations. They were not accepted by the community, so now they sit in the branch indefinitely. I may re-visit this issue again with the dev list with a different approach at a later time. -Andrew On Dec 19, 2007 9:29 AM, Walter Mourão [EMAIL PROTECTED] wrote: Thank you

Re: [Trinidad] panelPopup showed by default

2008-07-09 Thread Walter Mourão
think I suggested this in a forum once, but it looks like I never created an issue for it. A workaround hack is to send your own javascript down to call the popup function for the component. On Tue, Jul 8, 2008 at 1:44 PM, Walter Mourão [EMAIL PROTECTED] wrote: Hi folks, is there a way

[Trinidad] panelPopup showed by default

2008-07-08 Thread Walter Mourão
Hi folks, is there a way to make a panelPopup be shown by default ? something like: if it is rendered, it is shown. Thanks in advance, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

Re: [TRINIDAD] include jsp using param

2008-06-18 Thread Walter Mourão
. -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

Re: [Trinidad] [Solved] Showing images stored in pageflowscope

2008-05-09 Thread Walter Mourão
has access to the request context and the flow scope Cheers, On Thu, May 8, 2008 at 5:05 PM, Walter Mourão [EMAIL PROTECTED] wrote: Hi folks, I would like to show images stored in the page flow scope. I could not get the page flow scope reference in the servlet request. Is there a way to do

[Trinidad] Showing images stored in pageflowscope

2008-05-08 Thread Walter Mourão
Hi folks, I would like to show images stored in the page flow scope. I could not get the page flow scope reference in the servlet request. Is there a way to do that ? Is there a pattern or example about this kind of thing ? Thanks in advance, -- Walter Mourão http://waltermourao.com.br http

Re: [Trinidad] Autocomplete component

2008-03-25 Thread Walter Mourão
trinidad renderkit. I agree but he mentioned a google code project and not that this should be shipped w/ plain trinidad -M Scott Walter Mourão wrote: No way... it uses the facelets engine to be rendered. On Mon, Mar 24, 2008 at 2:31 PM, Scott O'Bryan [EMAIL PROTECTED

Re: [Trinidad] Autocomplete component

2008-03-24 Thread Walter Mourão
No way... it uses the facelets engine to be rendered. On Mon, Mar 24, 2008 at 2:31 PM, Scott O'Bryan [EMAIL PROTECTED] wrote: I'd be interested in seeing it in Trinidad, but the facelets dependency kind of worries me. Any chance this would work with Trinidad alone? Scott Walter Mourão

[Trinidad] Autocomplete component

2008-03-22 Thread Walter Mourão
/trinidadcomponents/ Best regards, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

[Trinidad]

2008-03-12 Thread Walter Mourão
... tr:panelLabelAndMessage ... partialTriggers=newCategoriaPessoaInstance ... tr:commandButton id=newCategoriaPessoaInstance ... partialSubmit=true useWindow=true windowWidth=500 windowHeight=450/ /tr:panelLabelAndMessage ... /tr:form Any hints ? Thanks in advance, -- Walter Mourão http

Re: [Trinidad] Something like InputSuggest

2008-02-27 Thread Walter Mourão
powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

Re: [Trinidad] How to disable the messages handling on input components

2008-02-24 Thread Walter Mourão
display the messages on my own. How do i disable the message handling for example on tr:inputFile component? Thanks, Gena -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

Re: [Trinidad] tr:inputText read-only

2008-02-18 Thread Walter Mourão
, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br On Thu, Feb 14, 2008 at 6:02 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: Is there a way to make the inputText writable when it gets its value from an EL

Re: [Trinidad] tr:inputText read-only behaviour

2008-02-17 Thread Walter Mourão
. I'm glad it is almost ready to be shown. So, I will try another path to finish the component. If somebody knows a workaround to make the inputText writable without the setter, please let me know. Thanks, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http

Re: [Trinidad] tr:inputText read-only

2008-02-17 Thread Walter Mourão
. I'm glad it is almost ready to be shown. So, I will try another path to finish the component. If somebody knows a workaround to make the inputText writable without the setter, please let me know. Thanks, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http

[Trinidad] tr:inputText read-only behaviour

2008-02-13 Thread Walter Mourão
an EL expression ? Thanks in advance, -- Walter Mourão http://waltermourao.com.br http://waltermourao.blogspot.com http://arcadian.com.br

[Trinidad] tr:inputText read-only behaviour

2008-02-13 Thread Walter Mourão
for the value points to a bean property with a getter but no setter, and this is an editable component, the component will be rendered in read-only mode. Is there a way to make the inputText writable when it gets its value from an EL expression ? Thanks in advance, -- Walter Mourão http

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Walter Mourão
I see... by the way: is this the correct way to know when a specific component started the PPR ? -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br 2008/2/1, Matthias Wessendorf [EMAIL PROTECTED]: not really. in case you do a ppr submit, u could use this: function loader

Re: [Trinidad] Is there a way to have a custom JavaScript function be called when a validation error occurs?

2008-02-01 Thread Walter Mourão
} } TrPage.getInstance ().getRequestQueue().addStateChangeListener(myCallback); // ]] /script I hope it helps. -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br 2008/1/31, Richard Yee [EMAIL PROTECTED]: Everyone, I am

Re: (Trinidad) Session Expiry in dialog window

2008-01-31 Thread Walter Mourão
window, I am able to navigate to the login screen. Thanks in advance; ~Sandeep -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br

Re: [Trinidad] CommandLink not working inside dialog

2008-01-29 Thread Walter Mourão
trigger inside a tr:form? On Jan 29, 2008 9:40 AM, Walter Mourão [EMAIL PROTECTED] wrote: Hi folks, the following code works fine outside dialogs. Inside dialogs the action and actionListener are not executed: ... tr:table id=searchResult allDetailsEnabled=true var=row

Re: [Trinidad] PPR does not show validation error message

2007-12-19 Thread Walter Mourão
you described ? Thanks in advance, -- Walter Mourão http://waltermourao.com.br 2007/12/7, Andrew Robinson [EMAIL PROTECTED]: https://issues.apache.org/jira/browse/TRINIDAD-663 There is no built in way. I plan on bringing this back up some day. You can use my branch to see components

[Trinidad] PPR does not show validation error message

2007-12-07 Thread Walter Mourão
, for example). Any hints ? Thanks in advance, -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br

Re: [Trinidad] PPR does not show validation error message

2007-12-03 Thread Walter Mourão
Sorry, the expected message isn't not found, it is field name is required. Is there anybody here using subforms with validation and PPR ? 2007/11/30, Walter Mourão [EMAIL PROTECTED]: Hi folks, I have a facelets/trinidad page with one form, two subforms and client side validation=false

[Trinidad] PPR does not show validation error message

2007-12-02 Thread Walter Mourão
? Thanks in advance, -- Walter Mourão http://arcadian.com.br http://waltermourao.com.br

<    1   2