java - commandLink does not work on the first click -


i've found questions seem related one, none describes exaclty happening web app.

here goes: it's simple app, left menu bar, header , central panel show texts. menu bar has lot of commandlinks define page going loaded in central panel. strange problem none of these links work when page loaded. in other words, first click nothing. second click on, links work.

i'm using jsf 1.2 , icefaces 1.8.1. code snippet first commandlink (all of others similar):

<f:view>     <html>     <head>     <ice:outputstyle href="./xmlhttp/css/rime/rime.css" />     </head>     <body>     <ice:form id="nav_form" partialsubmit="true">         <ice:messages />         <ice:panelgrid columns="1" width="152">             <ice:panelcollapsible expanded="true">             <f:facet name="header">                 <ice:panelgroup>                     <ice:outputtext value="cliente"                         style="font:bold 12px;color:#484848" />                 </ice:panelgroup>             </f:facet>                 <ice:panelgrid columns="1">                     <ice:commandlink actionlistener="#{cliente.definetext}"                          action="cliente" id="consulta">                         <ice:outputtext value="consulta" />                     </ice:commandlink> 

important remarks:

  • i'm using includes, there no nested forms.
  • there no data model. @ time app prototype, links , static texts.
  • i'm using regular html <table> ... </table> tags design main page, though know not best choice.

same answer one: page not refresh after action called

i removed jsf 1.2 apache myfaces , substituted sun ri jars.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -