I meant this one:
 INFO: No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT'
found, using default value true

Try setting explicetely to true.
And also try both server- and client-state.

hth
Alexander

-----Original Message-----
From: Anatol Pomozov [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 24, 2005 11:45 AM
To: MyFaces Discussion
Subject: Re: commandLink doesn't invoked

Do you mean allow javascript in JSF or in browser??? 
Tomcat shows me the log listed below. ALLOW_JAVASCRIPT is true by default.
Javascript is turned on in browser.

BTW I am using myFaces 1.0.9, Mozilla Firefox 1.0.4, WinXP, Tomcat
5.0.28, jdk 1.4.2_07.

 INFO: No context init parameter 'org.apache.myfaces.PRETTY_HTML'
found, using default value true
(org.apache.myfaces.config.MyfacesConfig)
 INFO: No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT'
found, using default value true
(org.apache.myfaces.config.MyfacesConfig)
 INFO: No context init parameter
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value
false (org.apache.myfaces.config.MyfacesConfig)
 INFO: No context init parameter 'org.apache.myfaces.AUTO_SCROLL'
found, using default value false
(org.apache.myfaces.config.MyfacesConfig)


On 5/24/05, Jesse Alexander (KBSA 21) <[EMAIL PROTECTED]> wrote:
> Hi Anatol
> 
> Are you allowing Javascript generation?
> 
> Lately I had a problem with a commandlink not being invoked, which was
> "resolved" by allowing javascript generation. (I will have to fix that
> as we do not allow javascript for security reasons ;-) )
> 
> Maybe something you could try.
> 
> hth
> Alexander
> 
> -----Original Message-----
> From: Anatol Pomozov [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 24, 2005 11:08 AM
> To: users@myfaces.apache.org
> Subject: h:commandLink doesn't invoked
> 
> I am a newcomer in myfaces also as in JSF and probably this question
> has RTFM answer. But i have been fighting with my problem during
> several days and can't find solution.
> 
> So I have jspx file which has <h:commandLink>. As action it has
> managed-bean method. But when I click generated link method doesn't
> invoked. What is the problem?? The same (copy-and-paste) commandLink
> on another page works as expected. I have tried wrap h:commandLink
> into h:form but result the same. No errors, no warnings. I am really
> mixed-up. Please help me.
> 
> See complete page source code below. Do you need any extra info???
> 
> 
> 
> 
> <?xml version="1.0" ?>
> 
> <jsp:root version="2.0"
>   xmlns:jsp="http://java.sun.com/JSP/Page";
>   xmlns:f="http://java.sun.com/jsf/core";
>   xmlns:h="http://java.sun.com/jsf/html";
>   xmlns:x="http://myfaces.apache.org/extensions";>
> 
>   <f:view>
> 
>     <f:loadBundle basename="com.mycompany.ssm.product.product" var="msgs"/>
>     <f:loadBundle basename="com.mycompany.ssm.common" var="common"/>
>     <f:loadBundle basename="com.mycompany.ssm.workflow" var="workflow"/>
> 
>     <h:outputLink value="showCatalogs.faces" styleClass="backLink">
>       <h:outputText value="#{common['command.back']}"/>
>     </h:outputLink>
> 
>     <fieldset>
>       <legend><h:outputText value="#{msgs['label.processes']}"/></legend>
> 
>       <h:panelGrid rendered="#{empty viewCatalogController.catalogWorkflows}">
>         <h:panelGroup styleClass="messages">
>           <h:outputText value="#{msgs['message.workflow.not.found']}"/>
>         </h:panelGroup>
>       </h:panelGrid>
> 
>       <h:dataTable id="customerDivision"
> value="#{viewCatalogController.catalogWorkflows}" var="bean"
>               rendered="#{not empty
> viewCatalogController.catalogWorkflows}" styleClass="standard"
>               cellspacing="0px" width="99%" rowClasses="odd,even">
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.workflowId']}"/>
>           </f:facet>
>           <h:outputText value="#{bean.workflowId}"/>
>         </h:column>
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.workflow']}"/>
>           </f:facet>
>           <h:outputText value="#{bean.workflowName}"/>
>         </h:column>
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.customerId']}"/>
>           </f:facet>
>           <h:outputText value="#{bean.division.customer.customerId}"/>
>         </h:column>
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.customerDivisionId']}"/>
>           </f:facet>
>           <h:outputText value="#{bean.division.customerDivisionId}"/>
>         </h:column>
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.status']}"/>
>           </f:facet>
>           <h:outputText value="#{workflow[bean.workflowStatus]}"/>
>         </h:column>
> 
>         <h:column>
>           <f:facet name="header">
>             <h:outputText value="#{msgs['label.viewDetails']}"/>
>           </f:facet>
> 
>           <h:commandLink action="#{actionController.doAction}"
> value="#{msgs['label.details']}">
>             <f:param name="actionView" value="workflowHistory"/>
>             <f:param name="processId" value="#{bean.workflowId}"/>
>             <f:param name="back" value="viewCatalog"/>
>           </h:commandLink>
>         </h:column>
> 
>       </h:dataTable>
>     </fieldset>
> 
>   </f:view>
> </jsp:root>
> 
> --
> anatol
> 


-- 
anatol

Reply via email to