Command Link problem

Hi all,
Our team is developing project on JSF. I have weird problem on IE explorer.
When I click on any command link many times, but nothing is happened. If I refresh the page and then click then it will work properly. So every time I have to press refresh and then click. Weird thing is that it works fine on my other team member's IE.
I downloaded moziella browser and link works fine on moziella on my computer. So only problem with my computer and in IE.
I tried to delete all cache but the same proble.
Please help me.
Thanks in Advance.

Update your Ie, or maybe you have some option that the others don't have.

Similar Messages

  • ADF command link problem

    Hi All,
    I am using Jdeveloper 11g. I have a master-detail relationship tables Order and OrderItem. I have an Order edit page which has editable Order information and a ADF read-only table which contains a list of items associated with the current order. I have a ADF command link on the column LineItemId in the table. When I click the link, it will take me to the item edit page. The problem is, whenever I select any item in the table, I always got the first item loaded in the item edit page. Does anyone has any ideas what I did wrong?
    Here is the portion of the code related to the command link,
    <af:column sortProperty="LineItemId" sortable="false"
    headerText="#{bindings.OrderItemsView2.hints.LineItemId.label}"
    id="c4">
    <af:commandLink actionListener="#{bindings.setCurrentRowWithKeyValue.execute}"
    text="#{row.LineItemId}"
    disabled="#{!bindings.setCurrentRowWithKeyValue.enabled}"
    id="cl1" partialTriggers="::t1"
    action="goOrderItemDetail"/>
    </af:column>
    Thanks in advance,
    John
    Edited by: john wang on Aug 20, 2009 7:31 AM

    Hi Gurus,
    On a seeded page say Page1 one link is availabe which is specific to one Learning Path.
    When i click on that Learning Path's link it is redirecting me to a page say Page2 where it gives the list of different Learning Paths (including Learning Path of Page1) with a link for each Learning Path.
    If i click on that Learning Path's link it takes me to a page say Page3 where it gives the details of that perticular Learning Path.
    The requirement is , If I click on an Learning Path's link on Page1 ,it should redirect me directly to Page3 ( Skipping Page2 ).
    How can it be achieved?
    Please help!!!
    Thanks,
    Srinivas
    Edited by: ChandaS on Aug 20, 2009 8:02 AM
    Edited by: ChandaS on Aug 20, 2009 8:14 AM

  • Command Link problem-Urgent

    Hi
    I am having Tabbedpane, under that I am including three jsp files...
    which contains a dataTable , having one column data as a commandLink which inturn opens a Edit page.
    It is working with out tappedpane, When I click Command link for Edit
    in TabbedPane, I am getting java script error saying "Error on page".
    When I submit the action from commandLink from an individulal page .
    Its working fine.
    anyone help me in resolving this issue...?

    Update your Ie, or maybe you have some option that the others don't have.

  • Output Link and Command link problem

    I have this command link that I want to redirect to a certain url, a complete one with the Http://www.webpage.com.. and its value is Goto This Page..
    lets say I want it to pass through a certain backing bean before redirecting how am i supposed to do it...?
    before it was this simple:
                   <h:outputLink  value="http://www.wepbage.com">
                        <h:outputText value="Go to this page"/>
                   </h:outputLink> but this could says that the action attribute is not valid for an outputLink..
    thanks in advance.. :)

    Here's the stack trace but i can't seem to find which particular thing is causing this..
    16:30:33,921 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet
    threw exception
    java.lang.IllegalStateException: Cannot forward after response has been committe
    d
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
    ispatcher.java:313)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
    patcher.java:301)
    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatc
    h(ServletExternalContextImpl.java:415)
    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspV
    iewHandlerImpl.java:234)
    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:
    352)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exte
    nsionsFilter.java:92)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exte
    nsionsFilter.java:92)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exte
    nsionsFilter.java:122)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
    lter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
    yAssociationValve.java:175)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
    torBase.java:432)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
    e.java:74)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
    rocessConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
    int.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
    kerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)
    here's the bean
    public void link(){
             HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse();
             try {
                  searchController.setNewSearch(true);
                  response.sendRedirect("http://www.shipserv.com");
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }

  • Command link navigation problems in IE but not firefox

    Hi,
    I've developed an application using JSF and SDO. I have several pages where the user is displayed data from the database and pages where the user can add data , edit data and delete data.
    Each page has a jsp fragment contained in the page. This is based on faces and is the naviation menu. Each link in the menu is a command link and has navigation rules which are global. Now the problem I get is that when I sometimes nvaigate between pages using the navigation or command links in a page the page just refreshes and displays the same page again. But if I keep trying to click the link again then after a few attempts the link goes to the page i've requested. I've added system outs on the actions for the links to see if they are getting called when the page just refreshes. The answer is no as the system out line is never printed unless the action of the link is actually executed.
    Now the problem is that this only occurs in ie and NOT in firefox. I'm really confused now!!
    Here is some techinical details to help narrow down my situation:
    I'm using wsad 5.1.2 which has faces 1.0, ie 6, firefox 1.0.3.
    Any help would be appreciated!!

    doh! i've solved this problem now....well for now its working perfectly but i'll have to do a bit more testing.
    For anyone that has this problem here was my solution...
    - In IE i went to tools > general tab > settings
    from this menu choose check for newer versions of stored pages to automatically. I previously had every visit to the page.
    This seems to have fixed my problem and the reason why it worked in firefox was because the settings for caching were different.

  • Command link in adf pivot table

    Hi,
    I Created one View Object (WrkVOR) Based on below query
    Select Desc1,Desc2 ,Date,Sum(Amount) From populate_wrk Group by Desc1,Desc2 ,Date
    Based on View Object we created pivot table
    Rows - Desc1 ,Desc2
    Column - Date
    Amount will come under each date (Like Matrix report)
    Up to It is working fine
    i added a command link on data(Amount) when i click the command link i am getting below error
    DVT-2015 Slice 1 Exceeds boundary -3
    please help....
    Thanks
    shk

    Hi,
    the real problem of the original poster seems to be <af:commandLink text="#{row.GlobalDealId}" id="cl1" action="createMDM" immediate="true" partialSubmit="true"> having immediate set to true in which case the request goes from restore view to render response. You usually use immediate=true on a command item to cancel an action (bypassing all the other JSF lifecycle steps).
    Peter551059,
    you don't give us much information about your case. So if the problem is IE9 and you verified IE9 is supported for the version of JDeveloper you use, then - in case you have a support contract - my best advise is to file a service request and have support looking at it just in case you hit a defect that should be filed as a bug
    Frank

  • Command Link as a row of a datatable in JSF

    Hi All,
    I am new to JSF. I have a Datatable with n number of rows.
    I would like to have a command Link in each of the rows, so that when i click the command link i should get the data of the entire row in my edit page.
    Can anyone suggest how can i achieve this.
    Regards
    SN

    Hi,
    Do following:
    1- add a datatable in your page and fill it with data comes from database(Assume u have no problem with datatable)
    2- add a column as commandLink in data table. e.g.
    <h:column>
    <f:facet name="header">
    <h:outputText value="name" />
    </f:facet>
    <t:commandLink action="editObject" immediate="true" >
    <h:outputText value="#{theobject.name}" />
    <t:updateActionListener property="#{objectForm.id}" value="#{objectDto.id}" />
    </t:commandLink>
    </h:column>
    in this code:
    "name" is header of column,
    "editObject" is defined in navigation rule to navigate to edit page, lets say object form.
    "theobject.name" the value that mouse gets finger over it!
    "objectForm.id" the pointer to an "id setter" of a managed bean (named objectForm) defined in faces-config.xml. In this setter you can load corresponding data from database
    "objectDto.id" the pointer to an "id getter" of a managed bean (named objectDto) defined in faces-config.xml. this getter return the id of the entity row you clicked on.
    3- Clearly, you need to defined all managed beans, and dont forget to have a customized setter for id of objectForm (setId) to load the entity from database and fill all editable properties(as you like) in this function (setId).
    4- you need a JSF page to redirect to it for editing properties and feed by objectForm
    5- Thats it :)

  • Command Link : Backing bean setters/getters always invoked

    I am trying to understand how to the setters and getters of a request scope managed backing bean are invoked through the navigation flow when using a command link.
    It seems that no matter where the navigation rules redirects the page as a result of the action, both the setters and getters of any field bound in the originating page are called.
    For example if the originating page has a field name referred by "#{UserBean.name}" to input a username. setName() and getName() are always called as a result of a click on a command link
    This behavior is easily seen in a simple JSF example such as http://www.netbeans.org/kb/articles/jAstrologer-intro.html.
    If the jsp pointed by "to-view-id" is changed to have no reference to the backing bean or is changed to a jsp with just text, both setters and getters are still invoked.
    I could understand why the setters would be invoked (doesn't know ahead of time if the bean will be used?) but at least why the getters?
    Last, how to prevent this behavior? The problem is that the backing bean might have complex logic where it will fetch data if a getter is called.
    Thanks.

    I guess this article might be interesting to get some insights http://balusc.xs4all.nl/srv/dev-jep-djl.html
    The setters are invoked to set values and the getters are invoked to get the eventually presetted default values or the previously submitted values.

  • Command link action not being called

    Hi,
    I raised another bug about this and I thought I had fixed this but it seems to have come back again! Here are the details:
    The Problem
    - I have a jsf application that uses SDO to manage database calls/changes. In the application I have a navigation menu which consists of command links. From time to time (doesn't always happen) you click on a link and the page just refreshes and you are not taken to the requested page. Now this doesn't happen all the time! I've looked at logs and added debugs but I can't find anything apart from the face that when the page just refreshes the action behind the command link is not called.
    Has anyone experienced this before? I'm using wsad 5.1.2 and have this problem and the version of faces is 1.0.
    Please help as I have no idea what is causing this!!

    yep, sorry for reposting but in that post I said I had it fixed but obviously its not. What's really change is that I cant recreate this problem on my laptop but on our dev and test environments this problem still exists. My initial thoughts is that this is an environment problem but i'm not totally convinced as the was settings etc are the same as on my laptop.

  • Command link used as tree node

    I'm using an ADF Tree where one of my nodes is a command link. I've given the link an id="myLink".
    When I run the page, the tree shows up fine with just one node.
    But the View Page source does not contain any entry that says id="mylink".
    Where could be the problem?
    Thanks
    RV

    Hi,
    I assume you use ADF Faces RC, because otherwise you would have posted this to the JDeveloper forum. If you add a command link t a node, then this command link is used for any node that is rendered for the tree (unless you implemented it in a way that only has exactly one command link component showing in the whole tree - which I don't think you have).
    In JSF you cannot have more than one component with a specific ID, which means that assigning an ID to a command link in a tree doesn't make much sense.
    In ADF Faces RC, trees are active components, which means they are created in the DOM and not HTML. So using a DOM inspector like Firebug you should see your tree and link components
    <a id="j_id___jsp_tag_ctru4:7:myLink" class="xdk" href="#" onclick="return false;">commandLink 1</a>
    Frank

  • Command link propagating the Faces Message to another page

    Hi,
    I am facing a problem with a message +(message added to FacesContext Queue)+ being propagated from one page to another.
    I have 2 jsp pages. Both these pages when accessed display data loaded from DB. When the user comes to first page and there is no data found a FacesMessage is added to FacesContext and is displayed. There is a command link on this page which performs the navigation to 2nd jsp page.
    Problem* : If the user clicks the link, the same message that was displayed in 1st jsp page is displayed in 2nd jsp page even if the data is present
    FacesContext display messages that are in the same request and clicking on command link creates a new request, so the old message in the FacesContext Queue should be removed and it should not carry forward that message to next jsp
    Please correct me if I am wrong.
    Thanks
    Avner
    Edited by: avner on Jan 31, 2008 8:38 PM

    I don't think you have given us enough to work with here. Try paring down the code to the smallest possible example that still exhibits the problem. Many times that process itself will reveal the issue. If not, post the example here.

  • Command link in adf table is not working..

    Hi All,
    I am having ADF Table, in that one column is with command link and,if click on commnad link it is not going to coorsponding action or actionListener methods of bean. If i give same command link out side of the table it working fine.But i have to pass some perameters on click of button.
    I am getting same problem in many places , if i delete the page and page-def files again if i create some times it is working but some times not working. Is there any specific reason for this.Following is the code snippet...
    <af:column sortProperty="GlobalDealId" sortable="false"
    headerText="#{bindings.DsaDealsResultsVO1.hints.GlobalDealId.label}"
    id="c8">
    <af:commandLink text="#{row.GlobalDealId}" id="cl1" action="#{pageFlowScope.editProfileCompleteness.sample}" immediate="true" partialSubmit="true">
    <af:setActionListener from='"#{row.GlobalDealId}"'
    to='"#{pageFlowScope.globalDealId}"'/>
    <af:setActionListener from='"#{row.CustName}"'
    to='"#{pageFlowScope.custName}"'/>
    <af:setActionListener from='"#{row.IsSaDeal}"'
    to='"#{pageFlowScope.isSaDeal}"'/>
    </af:commandLink>
    </af:column>
    Even i tried with out immediate="true" partialSubmit="true" also.
    And i set ChangeventPolicy = ppr for Iterator in page defnation file.
    Awaiting for ur reply.

    Hi,
    the real problem of the original poster seems to be <af:commandLink text="#{row.GlobalDealId}" id="cl1" action="createMDM" immediate="true" partialSubmit="true"> having immediate set to true in which case the request goes from restore view to render response. You usually use immediate=true on a command item to cancel an action (bypassing all the other JSF lifecycle steps).
    Peter551059,
    you don't give us much information about your case. So if the problem is IE9 and you verified IE9 is supported for the version of JDeveloper you use, then - in case you have a support contract - my best advise is to file a service request and have support looking at it just in case you hit a defect that should be filed as a bug
    Frank

  • Command Link doesn't work - may be a bug

    Hi all,
    I'm using JDev 11g. I added two pages to the adfc-config.xml file and a controlFlowCase from one to another. Page1--> Page2 The action name is "aaa".
    And then i added a command link to the Page1 and selected the action name "aaa". Now i'm click the command link, but it doesn't work. I'm shocked. What is the problem? It's so basic thing.
    Erdo

    I'm running just like you said. Here is the error log :
    oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=java.lang.NullPointerException, 1=null}
         at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:376)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1693)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1645)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4395)
         at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:341)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1647)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isAttributeUpdateable(JUCtrlValueBinding.java:1754)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.isUpdateable(JUCtrlValueBinding.java:2610)
         at oracle.adfinternal.view.faces.model.AdfELResolver._isReadOnly(AdfELResolver.java:96)
         at oracle.adfinternal.view.faces.model.AdfELResolver.isReadOnly(AdfELResolver.java:112)
         at javax.el.CompositeELResolver.isReadOnly(CompositeELResolver.java:353)
         at com.sun.faces.el.DemuxCompositeELResolver._isReadOnly(DemuxCompositeELResolver.java:290)
         at com.sun.faces.el.DemuxCompositeELResolver.isReadOnly(DemuxCompositeELResolver.java:319)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:340)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1015)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:46)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1491)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    ...

  • Command link / button action is not taking place if i use it in iterator.

    Hi,
    I am new to ADF, i am facing 1 issue while implementing ADF mobile browser application.
    Issue: command link / button action is not taking place if i use it in iterator. its just refreshing the page it self and displaying as no records.
    Scenario is i am populating the search results in results page from search page using iterator, i want to get the complete details in different page (results page -> details page) .
    I have tried in different ways.like
    case1:
    <tr:panelGroupLayout id="pgl2" layout="vertical" styleClass="af_m_panelBase">
    <tr:panelHeader text="#{classviewBundle.SEARCH_RESULTS}" id="ph1"/>
    <tr:iterator id="i1" value="#{bindings.SubjectVO1.collectionModel}" var="subject"
    varStatus="subIndx" rows="100">
    <tr:panelBox text="#{subject.Subject} #{subject.CatalogNbr} - #{subject.CourseTitleLong}"
    styleClass="af_m_listingPrimaryDetails" id="pb1">
    <f:facet name="toolbar"/>
    <tr:table var="ssrClass" rowBandingInterval="1" id="t1" value="#{subject.children}"
    varStatus="clsIndx" rowSelection="none"
    binding="#{SessionBean.subjectTable}" verticalGridVisible="true"
    emptyText="No Records" width="100%">
    <tr:column id="c9" sortable="false" styleClass="width:100%">
    <*tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"*
    id="commandLink2" styleClass="af_m_listingLink"
    *action="#{pageFlowScope.BackingBean.searchaction}"></tr:commandLink>*
    //remaining code
    in this case commandlink action is not able to invoke serachaction() method
    case 2:
    <tr:commandLink text="Section: #{ssrClass.ClassSection}-#{ssrClass.SsrComponentLovDescr} (#{ssrClass.ClassNbr})"
    id="commandLink2" styleClass="af_m_listingLink"
    action="classdetails}"></tr:commandLink>
    in this case its not able to navigate to classdetails page.
    I gave correct navigation cases and rules in taskflow,but its working fine when the command link is out of iterator only.
    i tried with actionlistener too.. but no use.. please help me out of this problem .
    *Update to issue:*
    The actual issue is when i use command link/button in an table/iterator whose parent tag is another iterator then the action is not taking place.
    the structer of my code is
    < iterator1>
    #command link action1
    < iterator2>
    #command link action2
    </ iterator2>
    < /iterator1>
    #command link action1 is working but "#command link action2" is not...
    Thanks
    Shyam
    Edited by: shyam on Dec 26, 2011 5:40 PM

    Hi,
    To solve my problem I used a af:foreach instead.
    <af:forEach items="#{viewScope.DataBySubjectServiceBean.toArray}" var="text">
    <af:commandLink text="#{text.IndTextEn}" action="indicator-selected" id="cl1">
    <af:setActionListener from="#{text.IndCode}" to="#{pageFlowScope.IndicatorCodeParam}" />
    </af:commandLink>
    </af:forEach>
    By the way you need to convert the iterator to an Array using a ManagedBean.
    public Object[] toArray() {
    CollectionModel cm = (CollectionModel) getEL("#{bindings.TView1.collectionModel}");
    indicators = new Object[cm.getRowCount()];
    for(int i=0;i<cm.getRowCount();i++){
    indicators[i] = cm.getRowData(i);
    return indicators;
    public static Object getEL(String expr) {
    FacesContext fc = FacesContext.getCurrentInstance();
    return fc.getApplication().evaluateExpressionGet(fc,expr,Object.class);
    Hope that helps-
    Edited by: JuJuZ on Jan 3, 2012 12:23 AM
    Add getEL Method

  • Command link not working  on create

    hello guys.
    I have a main form which also serves as a search form. initialy this form displays some data. in one of my menu I have a command link that executes create and takes me to the create form. my problem is that when I click on the command link I was taken to my create form but my fields are populated w/ the data from my search form. can anyone help me with this one.
    thanks
    alvin.

    Hi,
    I suggest to use the command link for navigation and then do the following on the create page
    - add the CreateInsert operation to the pageDef file
    - create an invokeAction element in the executables section and point it to the createIbsert binding created before
    Each time you navigate to the page it now will create a new row
    Frank

Maybe you are looking for

  • Cannot view Apple TV in iTunes, why not?

    Hi, All, just updated to a new Apple TV , looks great, however, I cannot view the box as I could with the previous box in iTunes.  I have Wireless hookup.  Any suggestions would be much appreciated.

  • Photoshop Album Starter edition 3.2 abnormal program termination

    I have just logged onto version 3.0 and I was offered an upgrade to 3.2 via the message centre. I followed all instructions and downloaded the files. When I now go to open the Album an error message comes up headed: Microsoft Visual C++ Debug Library

  • Why the roles that I gave, does not refresh instantly on BPM Administrator?

    Hi there: Another question (sorry for being so annoying...lol), Look I gave to a participant a role using Oracle BPM Administrator. On some occasions, the roles refresh instantly, but in other occasions take a long time to refresh(3 to 4 hours) . Why

  • CAD and Windows XP end of support

    Hi, Perhaps someone might know the answer to this question ... Currently Cisco supports CAD on windows XP, right up to the latest version of UCCX (v10). Does the end of XP support from Microsoft have any impact on this? Will Cisco support for CAD cli

  • Application images not displayed

    Hello, Apex 4.1, got a problem with app-images: <img src="#APP_IMAGES#tukan_large.jpg"> is not displayed, but the file is existing. None of my application images are displayed anymore. Any hints on what can be the reason for this are welcome! Thanks,