Re: [TOBAGO] tobago partial rendering question

2010-04-14 Thread Volker Weber
btw: please prefix the subject with "[TOBAGO]" for tobago related messages. 2010/4/14 Volker Weber : > Hi  Michael, > > not a common way, but there is always something you can do :-) > > But how exact depends on the concrete situation. > > You can put a tc:command  with action 1 as facet eg. ins

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
Hi Michael, not a common way, but there is always something you can do :-) But how exact depends on the concrete situation. You can put a tc:command with action 1 as facet eg. inside the box2 and use the onclick attribute of the button: On the button in box 1 remove the actionListner and add

Re: tobago partial rendering question

2010-04-14 Thread Michael Kakuschky
Hello Volker, I think I need the forms. I have an application which use tabs with different formulars. If I don't use subforms and set the "required" attribute on some elements on one tab and I want to submit a fomular on another tab it does not work because the element on the other tab is not

Re: tobago partial rendering question

2010-04-14 Thread Volker Weber
Hi Michael, after a more closer view to your jsp i found the problem. The tc:form arround the box is the probem, using subforms you are reduce the validation and modelUpdate only to the subform where the command is in, the other content is not processed and therfore the submitted values are reren

Re: tobago partial rendering question

2010-04-14 Thread Michael Kakuschky
Hello Volker, thanks for the response. Yes I target the panel. I use now actionListener and return null as return value. I also preset the value of string1 so that the value is always already initialized. But nervertheless the string2 is set to the new value (I debug that) but after rendering t

Re: tobago partial rendering question

2010-04-13 Thread Volker Weber
Hi Michael, for actions used in partial rendering you should always return null! I the action returns a string than a full reload is made! I suggest using actionListener for partial actions. When rendering partially only the requested subview (plus the action component if outside) is processed on

Re: tobago partial rendering question

2010-04-12 Thread kakuschky
Thanks for the tip, but the panel around did not help. Even with the panel around the forms the value I set in the action method is overwritten with the prior content of the UI Component. Any other ideas? Regards Michael > Hi, > > I haven't used more than one form so far, but I think both forms (o

Re: tobago partial rendering question

2010-04-12 Thread Helmut Swaczinna
Hi, I haven't used more than one form so far, but I think both forms (or boxes) must be reloaded (rendered partially). Try to enclose both forms in a extra panel and reload this panel () Regards Helmut Am 12.04.2010 13:10, schrieb kakusc...@elbe-net.de: Hello, I'm trying to execute an act

tobago partial rendering question

2010-04-12 Thread kakuschky
Hello, I'm trying to execute an action and partial rendering the result in an field. The tx:button which calls the action and the tx:in elements are in different forms. For some reasons after the new value is set to the underlaying value of the tx:in field the setter of this value is called from