I suggest that you get the latest versions and try it out yourself.

-R

Sent from my iPhone

On Mar 16, 2009, at 1:43 AM, bangou <afco...@gmail.com> wrote:


Hi,
I will be happy to know  if there is any result in fixing this bug?

I want to use the sandbox modalDialog, and want to call an action from the
dialog. But the action is not executed.
here are my libs:
MyFaces Tomahawk 1.1.8
MyFaces imp.  1.1.4
MyFaces api 1.1.4
tomahawk-sandbox-1.1.7-SNAPSHOT

Here is a snipped from my code:
<s:modalDialog dialogId="FormDialog" dialogVar="dojoDialogOuterform"
           dialogAttr="bgColor='white' bgOpacity='0.5' toggle='fade'
toggleDuration='250'"
           hiderIds="cancel1Outerform"
           styleClass="dojoDialog"   >

           <h:panelGrid columns="1">
<h:panelGrid columns="2" id="firmadata" border="0" cellpadding="0" cellspacing="0" columns="2" columnClasses="formLabel, formInput">

                   <h:panelGroup>
                       <h:outputLabel for="Firma"
                           value="#{key.lFirma}" />
                       <h:outputText value="* " />
                   </h:panelGroup>

                   <h:panelGroup>
                       <t:inputText id="firma"  forceId="true"
value="#{user.selectetedUnternehmen.data.firma}"
                           size="45" required="false" />
                       <t:message id="firmaError" for="firma"
                           styleClass="error" />
                   </h:panelGroup>
               </h:panelGrid>



               <h:panelGroup>
<t:commandButton id="cancel1Outerform" forceId="true"
                           value="Cancel"
onclick="dojo.widget.byId('FormDialog').hide();"/>

                   <t:commandButton id="saveButton2"
                       action="#{user.selectetedUnternehmen.save}"
                       value="#{key.bSave}" />

<%----- or this one----------%>

               </h:panelGroup>
<t:commandLink id="outerformsubmit" value="#{key.bSave}"
action="#{user.selectetedUnternehmen.save}}" />


           </h:panelGrid>
       </s:modalDialog>
it doesn't really work :( !
could you tell me what's wrong?
king regards!
bangou

--
View this message in context: 
http://www.nabble.com/modalDialog-and-commandButton-action-tp22533776p22533776.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to