hi mario,

> > I'm trying to use some inputfields in the modaldialog but the input seems 
> > not to be set in my backing bean.
> 
> >             <h:panelGrid columns="2">
> >                     <h:outputText value="Name: " />
> >                     <s:inputSuggestAjax
> >                             
> > value="#{resourceManageController.newResourceTypeName}"
> >                             
> > suggestedItemsMethod="#{resourceManageController.getResourceTypes}"
> >                             autoComplete="true" maxSuggestedItems="10" />
> >             </h:panelGrid>
> >             <h:panelGrid columns="2">
> >                     <t:commandButton id="ok" forceId="true" value="Ok"
> >                             
> > onclick="window.parent._myfaces_currentModal._myfaces_ok=true; 
> > window.parent._myfaces_currentModal.hide();" />
> >                     <t:commandButton id="cancel" forceId="true" 
> > value="Abbrechen"
> >                             
> > onclick="window.parent._myfaces_currentModal.hide();" />
> >             </h:panelGrid>
> >   
> 
> Hmmm ... I think the problem is, that you immediately close the
> ModalDialog in your commandButton's onClick method.

didn't I have to close the dialog immediatly ?
without closing the dialog there wouldn't be a call to the backing bean .. ?

greetings
matze
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192

BEGIN:VCARD
VERSION:2.1
N:Imhof;Matthias;;;
FN:Matthias Imhof
EMAIL;INTERNET:[EMAIL PROTECTED]
END:VCARD

Reply via email to