Global problem with immediate="true"

JSF specifies that immediate="true" in UICommands should skip the Validation and Update Model phases.
The RI uses the Update Model phase to reset the local values of the input components after updating the model. That means that in the case of immediate="true", the local values are not reset, and thus saved by the state manager.
The problem is that the next display of the page shows the previously entered values, instead of getting the values from the model, which is somewhat strange for a 'cancel' button.
I think this is mainly a problem with the spec which clearly indicates that the clearing of the local values should be done in the update model phase.
Is it possible to have a workaround for this ?

the previous posts have been made long ago, but I'll give it a try:
I think this behavior is still buggy or at least not logical.
Example:
I've got a dataTable which shows a list of entries, each row with an "edit" commandButton and a "new" commandButton below the list.
If the user clicks an "edit" button, he is redirected to the "details" page where he can edit and save the values of this entry. This works as expected. But: On the "details" page, there's also a "cancel" button, which should navigate to the list again, without doing any validation or updating.
If I set this "cancel" button to "immediate", navigation works, but then I'll always see the values of the canceled entry, regardless of which "edit" button I click in the list.
If the "cancel" button is not immediate, validation fails when the user clicks "new" and then "cancel", because he gets an empty form, but some or all fields are required.
There are two workarounds:
1) Creating two different views, one for creating a new entry and one for editing.
2) The "cancel" button is a simple html-button, with the "onlick='location.href=xxxyyy'" attribute.
IMHO both workarounds are ugly. So, why is the view ignoring that there is a complete different entry object in the backing bean of the "details" input fields???
BTW: I'm using JSF SUN RI 1.1.01 (same with 1.2 current snapshot).
With MyFaces, everythings works but it has some other bugs, so I want to stick to the Sun RI.
Thanks,
Walter

Similar Messages

  • Problem with immediate=true, maybe a Bug

    I'm using a dataTable for selecting an user. The selected userBean will be put to the session context with id "selectedUser". The next page allows to edit users values. This edit page contains a cancel button with immedtiate=true param to abort editing and go back to the list. The edit page contains some input fields like:
    <h:inputText id="firstName" value="#{selectedUser.firstName}" />
    <h:inputText id="lastName" value="#{selectedUser.lastName}" />
    These fields are showing correct values for the selected user. But after selecting another user from the list the edit page is showing the values of the previous selected user! By selecting the second user again and again after a while the edit page shows the correct values.
    Well, I've added a JSP expression to the edit page to show me if the selected user is the right one "Edit User (${selectedUser})". The value of this expression always shows the correct selected user.
    If I modify the command button from:
    <h:commandButton action="users" value="Cancel" immediate="true" />
    to:
    <h:commandButton type="reset" onclick="window.location.href='/faces/users'" value="Cancel" />
    the problem does not appear!!!
    For me it looks like a bug. Any ideas?
    Thx,
    Wolfgang

    Sorry for the imcomplete testcase, here it comes again:
    --- Users.java ---------------------------------------------
    package jsf.test;
    import java.util.ArrayList;
    import javax.faces.context.FacesContext;
    public class Users
    private ArrayList users;
    public Users()
    super();
    users = new ArrayList();
    users.add(new User("User_A", "firstName_A", "lastName_A"));
    users.add(new User("User_B", "firstName_B", "lastName_B"));
    users.add(new User("User_C", "firstName_C", "lastName_C"));
    public ArrayList getUsers()
    return users;
    public String edit()
    FacesContext context = FacesContext.getCurrentInstance();
    User user = (User)context.getExternalContext().getRequestMap().get("user");
    System.out.println("selectedUser: " + user);
    context.getExternalContext().getSessionMap().put("selectedUser", user);
    return "navToUser";
    --- User.java ---------------------------------------------
    package jsf.test;
    public class User
    private String loginName;
    private String firstName;
    private String lastName;
    public User()
    public User(String loginName, String firstName, String lastName)
    this.loginName = loginName;
    this.firstName = firstName;
    this.lastName = lastName;
    public String getLoginName()
    return loginName;
    public void setLoginName(String loginName)
    this.loginName = loginName;
    public String getFirstName()
    return firstName;
    public void setFirstName(String firstName)
    this.firstName = firstName;
    public String getLastName()
    return lastName;
    public void setLastName(String lastName)
    this.lastName = lastName;
    public String update()
    System.out.println("user update: " + this);
    return "navToUsers";
    public String toString()
    return firstName + " " + lastName;
    --- users.jsp ---------------------------------------------
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <body>
    <f:view>
    <h:form id="selectUser">
    <b>Users</b><p>
    <h:dataTable id="users" value="#{users.users}" var="user">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Login Name" />
    </f:facet>
    <h:commandLink action="#{users.edit}">
    <h:outputText value="#{user.loginName}"/>
    </h:commandLink>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="First Name" />
    </f:facet>
    <h:commandLink action="#{users.edit}">
    <h:outputText value="#{user.firstName}"/>
    </h:commandLink>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Last Name" />
    </f:facet>
    <h:commandLink action="#{users.edit}">
    <h:outputText value="#{user.lastName}"/>
    </h:commandLink>
    </h:column>
    </h:dataTable>
    </h:form>
    </f:view>
    </body>
    </html>
    --- user.jsp ---------------------------------------------
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <body>
    <f:view>
    <h:form>
    <b>User</b><p>
    <h:panelGrid columns="2" cellpadding="5">
    <h:outputText value="Login Name" />
         <h:inputText id="lognName" value="#{selectedUser.loginName}"/>
    <h:outputText value="First Name" />
         <h:inputText id="firstName" value="#{selectedUser.firstName}"/>
    <h:outputText value="Last Name" />
         <h:inputText id="lastName" value="#{selectedUser.lastName}"/>
    <h:outputText value=" " />
    <h:panelGroup>
    <h:commandButton action="navToUsers" value="Cancel" immediate="true"/>
    <%-- <h:commandButton type="reset" onclick="window.location.href='/faces/users.jsp'" value="Cancel"/> --%>
    <h:outputText value=" " />
    <h:commandButton action="#{selectedUser.update}" value="OK"/>
    </h:panelGroup>
    </h:panelGrid>
    </h:form>
    </f:view>
    </body>
    </html>
    --- faces-config.xml ---------------------------------------------
    <managed-bean>
    <description>
    Bean for TEST users.
    </description>
    <managed-bean-name>users</managed-bean-name>
    <managed-bean-class>jsf.test.Users</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <managed-bean>
    <description>
    Bean for TEST user.
    </description>
    <managed-bean-name>user</managed-bean-name>
    <managed-bean-class>jsf.test.User</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/users.jsp</from-view-id>
    <navigation-case>
    <from-outcome>navToUser</from-outcome>
    <to-view-id>/faces/user.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    <navigation-rule>
    <from-view-id>/user.jsp</from-view-id>
    <navigation-case>
    <from-outcome>navToUsers</from-outcome>
    <to-view-id>/faces/users.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>

  • Problem with immediate="true" used with inputText

    Hi everybody,
    I have two component, A and B, of type inpuText. When A is updated, I want B to be updated according to the value provided in A.
    I have to use immediate=True + context.renderResponse because I'm using some converters and validators because I want to avoid error messages being displayed at that point.
    I'm using partialtrigger to tell B to refresh himself when A changes it's value.
    This doesn't work.
    If I'm using the same code, but with ouputText instead, everything works!
    the code looks like this:
    <af:inputText id="A" styleClass="normalInputText"
    label="A" simple="true"
    value="#{controller.formBean.A}"
    valueChangeListener="#{controller.updateB}"
    autoSubmit="true" immediate="false"/>
    <af:inputText id="netAmount" styleClass="normalInputText"
    label="B" simple="true"
    value="#{controller.formBean.B}"
    partialTriggers="A">
    public void updateGrossPriceDependentFields(ValueChangeEvent event)
    FacesContext context = FacesContext.getCurrentInstance();
    formBean.setA((Long)event.getNewValue());
    if(formBean.getA().intValue() == 0)
    formBean.setB(new Long(222));
    else
    formBean.setB(new Long(0));
    context.renderResponse();
    Any ideas?

    Hi ,
    Just Try with this instead of context.renderResponse();
    Context.addPartialTarget(ComponantNAME);
    So that it will get refreshed
    RHY
    Message was edited by:
    RHY

  • Problem with immediate eventhandling for a  combo

    Hi, I have the following problem.
    I have a form with 2 combo box, when I change the value in the first combo I want reload data in the other. To do this I use a method in the backing bean called when the value of the first combo change.
    The code of the jsp is:
    <h:selectOneMenu  id="settoreId"
       value="# {pc_GestioneCorsi.inputParSearchBean.settore.codSettore}"
        immediate="true" required="false" onchange="submit()"    valueChangeListener="#pc_GestioneCorsi.reloadValuesinSecondoCombo}">
    <f:selectItems value="#{selectitems.pc_GestioneCorsi.settoriList.descSettore.codSettore.toArray}" />
    </h:selectOneMenu>In the form I have other fields and a button for submit the form
    <h:commandButton type="submit"  value="#{msgs.btn_search}"
    id="btn_search_id" action="#{pc_GestioneCorsi.search}">
    </h:commandButton>The problem is:
    when I submit the form the search method is not called (action of the form), but instead is called "reloadValuesinSecondoCombo" method.
    This happens only when user submit the form without changing the value in the combo.
    Can someone help me?
    Thanks
    Nico

    Hi
    Please check wtih below table
    AEOI         
    Pradeep

  • Strange behaviour on delete button with immediate=true

    Hi, I'm using JDev11.1.1.2
    I have dragged a view object as a editable form on the page.I added navigation + delete/create buttons.
    As I see it all delete buttons should be immediate=true, because I want the user to be able to delete the current row despite validation errors (or maybe this is achievable some other way ? )
    But now when I press the delete button, only the readonly fields are updated with next record in the iterator, but the input fields are not updated (they remain with the delete row's values).
    If I set disable=true to an inputField, then it gets updated with the next row's value.
    I tried with partialTriggers on the inputFields to the delete button - but no luck!
    Why I get this different behaviour on inputFields and outputText when the delete button is immediate=true?
    And how to deal with this problem?
    Thank you!

    Thank Frank for the answer, but still no luck
    Here is my code:
    <af:form id="f1" partialTriggers="cb6">
         <af:panelFormLayout id="pfl1" partialTriggers="cb6">
           <af:inputText value="#{bindings.Kod4.inputValue}"
                             required="true"
                             id="it1" partialTriggers="cb6">
         </af:inputText>
         <af:outputText value="#{bindings.Kod4.inputValue}" id="out1"/>
         <af:commandButton actionListener="#{bindings.Delete.execute}"
                               text="Delete" immediate="true" partialSubmit="true"
                               id="cb6"/>
         </af:panelFormLayout>
    </af:form>As you can see there are one output and one input field for a same attribute ... the output field gets updated on delete, but the input - doesn't
    There are partialTriggers and partialSubmit but still no luck
    My view is really a simple one - 3 fields, based on an entity. Tried with different view objects - still the same effect occurs.
    I don't see how a delete button can be of any help to the user if it is NOT immediate=true. I cannot add a row and delete it right away if there are validation errors
    Please help!
    Thanks

  • Problem with return true and if statement

    I'm making a
    ship shooter
    game and I have a problem with the collision detection for the
    corners of the stage. When you hold down two of the arrows to move
    the ship into the corners of the screen, the ship will go past it.
    The function bellow is what I'm using to detect this collision. The
    reason I'm using a function is because it's used for the ship and
    for all the balls from the cannons (as shown in the last two lines
    of the attached code). This is the reason I need the return true,
    so the if statement can be evaluated to true and then unload the
    movieclip of the cannon ball. When I remove the return true, the
    collision works fine, but obviously my cannon balls all get stuck
    on the edges.
    Any ideas?

    Well the function is called every frame, for the ship and for
    every cannon ball that's on the screen. So it could be called about
    4 times or so per frame. The problem is that ship goes through the
    corners of the stage (btw, the green background is the stage area)
    when you go in a diagonal direction.
    Just curious...what's the unnecessary code you're talking
    about?

  • Problem with printing true colors

    Had PSE7 and colors printed true and beautiful. Upgraded to PSE10 and all of a sudden colors printed muddy and dull with purplish overcast. Took printer in for service but problem persisted. Upgraded to PSE11 and once again colors were printing true and beautiful for over a year. Printed a card about 5 days ago using PSE11 - beautiful. Printed a card yesterday using PSE11 and colors muddy and dull with purplish overtones. Installed  PSE13 and colors printing dull, muddy with purplish overcast..  I feel it is a problem somewhere in settings of PSE, but can't figure out where.  I don't think it is a problem with printer. Both printer and PSE set to Adobe RGB. Color control set to optimize for printer. Using PC with Windows 7, 64 bit. Printer is Epson stylus photo 1400.  Thanks for any help, Merrie

    See if this helps:
    http://helpx.adobe.com/photoshop-elements/kb/color-management-settings-best-print.html

  • Problems with CFNoCache=TRUE

    I have a problem.
    When forms are submitted with action=post the following is appended to the url string &CFNoCache=TRUE.
    I am using cgi.scriptname?cgi.query string in the  form action and it seems that &CFNoCache=TRUE is being passed along invisibly in the query string.
    I have googled this and can't find anything that  helps.
    Anyone know what I can do as it seems to have the knock on effect of clearing sessions which is causiohg me grief.
    Thanks

    I have had similar problems with same error messages. I've concluded that this problem ocurred due to different versions between SQLLoader and Data Base server and the way OWB invokes SQLLDR during a direct path loading.
    You said you use OWB10 against a 9.2.0.4 database. If you see at OWB10 home you will see at "bin" folder an SQLLDR.EXE, and the version of this SQLLDR is 10.x.x. which does not correspond to de database version.
    If you review the folder "OWB10home\owb\log" you will see log files with the name of the runtime repository and a version number. Please check the one that corresponds to the time of sqlloader execution and you will see that OWB build up a command line using "OWB10home\bin\sqlldr.exe" and due version differences between SQLLoader and the database an error is raised. When you run sqlldr from the owb home through the command line, probably you are reaching the correct version of SQLLDR due to your machine path. Verify which version is used at the log file.
    I could not find where it can be changed the definition of the sqlldr command line, at configure of mappings?, changing paths?, etc. So, the only workaround that I have found was to use OWB 9.2 against a 9.2 database if I will use SQLLoader and uninstalled OWB10g.
    If anybody knows how to solve this problem when OWB 10g is used please let us know.
    Hoping this will help you.
    Emilio Montecinos

  • Problem with required="true"

    Hi,
    If I set required="true" for an inputText, then if I click the return button without filling in this inputText , I can't return because the field must be filled!!!!
    Does someone have an idee about resolving that?
    Thanks

    Set immediate="true" on your return button.
    Note: This will skip ALL component validation. Which is probably what you want anyways.
    CowKing

  • Problem with setTransient(true)  JSF tree method

    Hi all,
    I have created dynamic tree .
    I am parsing the Parent and Child nodes and constructing the tree.
    I am using my own method treeSlectionHandler() for event handling for which i am using MethodBinding class and getCookieSelectedNode() method.
    Here is the problem ,whenever I delete or add any node from/into database change did not reflected in the tree .
    So I am using setTransient(true) which is able to reflect the database changes.
    I have one JSP(tree page) with this tree and one button on this page .I am calling tree.setTransient(tree) inside button action.
    Now I will delete one node from database.
    So I will click the button then which will go to next page.
    Again I will navigate to Tree page through menu.
    If I click any node for the first time it will simply refresh the tree state as in the database (if 10 nodes in database it wil show 10)
    But click action will not work (no check image set)
    But for the very next click the click action works and check image is set.
    So plz suggest me is there any other method to refresh the tree state ?
    I[b] want both tree refresh and click action happen simultaneously.
    I will be thankful if any one suggests me the solution .

    Hello EJP !
    You downloaded the sample to see? I use a button made in the project and not the browser button.
    Note: Sorry if this with some english mistakes but I do not speak very well.

  • Problem with setVisible(true) ??

    Hi All;
    In my application, I am using JFrame and added some component. At last I called setVisible(true); method. But it cann't works.
    Then I tried with show() method. but the result is same.
    Then I tried with isDisplayable() method, but strange ,it is returning false.
    Now my problem is why it is hanging on calling the setVisible() method. or why it is returning false for isDisplayable().
    Can anybody guide me to solve the problem.
    Thanks in advance.
    -Sumeet G

    You should pack() or validate() the frame before
    calling setVisible(). Do pack if you use layout
    managers, validate if you set components size
    manually.

  • Problem with flush=true in the jsp:include tag

    Hello
    I have deployed a JSP based application , based on the apache struts framework. The web server is Sun One Webserver 6 Service Pack4, on a windows 2000 machine
    The same application was tried on SunONE application server 7, and it works without any problem. However in this case the following error , on the page
    javax:servlet.jspexception:Illegal to flush within a custom tag
    Does this mean flush="true" is not allowed within custom tags
    Or is there a workaround for this
    Any help is appreciated
    thanks
    - Aniruddha

    Hi,
    This is a known problem, ��flush before you include�� limitation in JSP 1.1.
    As a result, you have to state flush="true" every time you include a jsp using <jsp:include> tag if you are using JSP1.1.
    Fortunately, it is fixed in JSP1.2. The flush attribute controls flushing. If true, then, if the page output is buffered and the flush attribute is given a ��true�� value, then the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is ��false��.
    Gary Wang
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • I have a problem with setVisible(true) !!!!!!

    Hi!
    Could you tell me please, how can I use the method
    getSize() before call the method setVisible(true)??
    If I call the method getSize() before setVisible(true)
    then return getSize() only 0 !!!!!
    I must call getSize() before setVisible(true).
    Thank you for your help ;-))
    Code:
    import java.awt.*;
    class Test extends Frame
    Test()
    t.setSize(200, 100);
    Button b=new Button("test");
    t.add(b);
    System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
    t.setVisible(true); // ohne das haut's ihn raus !
    public static void main(String args[])
    (new Test());
    }

    If you want to get the Button size, then you should set the button size before you called getSize(), otherwise you will get the value of zero just like yours.
    Try the following code.
    import java.awt.*;
    class Test extends Frame
    Test()
    setSize(200, 100);
    Button b=new Button("test");
    b.setSize(70,25);
    add(b);
    System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
    setVisible(true); // ohne das haut's ihn raus !
    public static void main(String args[])
    new Test();
    In this way, you will get the button size!

  • Popup cache with button has property immediate="true"

    Hi
    I am using jdevloper 11.1.2.2
    I have caching  problem with popup has contentDelivery="lazyUncached" and I add cancel  button on popup with  immediate="true" to skip validation in input fields at popup.
    After I click cancel button it hide popup , but again If I show popup, it still cache old data in input feilds.
    My popup source is as below
    <af:popup childCreation="deferred" id="compPop"
                      binding="#{pageFlowScope.CustomersBean.compPop}" autoCancel="disabled" contentDelivery="lazyUncached">
                <af:dialog id="d1" title="#{viewcontrollerBundle.COMPANY} #{pageFlowScope.mode}" closeIconVisible="false"
                           type="none">
                    <f:facet name="buttonBar">
                        <af:toolbar id="t2">
                            <af:commandButton text="#{viewcontrollerBundle.SAVE}" id="cb6"
                                              actionListener="#{pageFlowScope.CustomersBean.onClickSaveCompPop}"/>
                            <af:commandButton text="#{viewcontrollerBundle.CANCEL}" id="cb7"
                                              actionListener="#{pageFlowScope.CustomersBean.onClickCancelCompPop}"
                                              immediate="true"/>
                        </af:toolbar>
                    </f:facet>
                    <af:panelFormLayout id="pfl1">
                        <af:inputText value="#{bindings.CompanyNumber.inputValue}"
                                      label="#{bindings.CompanyNumber.hints.label}"
                                      required="#{bindings.CompanyNumber.hints.mandatory}"
                                      columns="#{bindings.CompanyNumber.hints.displayWidth}"
                                      maximumLength="#{bindings.CompanyNumber.hints.precision}"
                                      shortDesc="#{bindings.CompanyNumber.hints.tooltip}" id="it1">
                            <f:validator binding="#{bindings.CompanyNumber.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.CompanyName.inputValue}" label="#{bindings.CompanyName.hints.label}"
                                      required="#{bindings.CompanyName.hints.mandatory}"
                                      columns="#{bindings.CompanyName.hints.displayWidth}"
                                      maximumLength="#{bindings.CompanyName.hints.precision}"
                                      shortDesc="#{bindings.CompanyName.hints.tooltip}" id="it2">
                            <f:validator binding="#{bindings.CompanyName.validator}"/>
                        </af:inputText>
                        <af:selectOneChoice value="#{bindings.CompCategory.inputValue}"
                                            label="#{bindings.CompCategory.label}"
                                            required="#{bindings.CompCategory.hints.mandatory}"
                                            shortDesc="#{bindings.CompCategory.hints.tooltip}" id="soc3">
                            <f:selectItems value="#{bindings.CompCategory.items}" id="si3"/>
                        </af:selectOneChoice>
                        <af:selectOneChoice value="#{bindings.City.inputValue}" label="#{bindings.City.label}"
                                            required="#{bindings.City.hints.mandatory}"
                                            shortDesc="#{bindings.City.hints.tooltip}" id="soc4">
                            <f:selectItems value="#{bindings.City.items}" id="si4"/>
                        </af:selectOneChoice>
                        <af:inputText value="#{bindings.Tele1.inputValue}" label="#{bindings.Tele1.hints.label}"
                                      required="#{bindings.Tele1.hints.mandatory}"
                                      columns="#{bindings.Tele1.hints.displayWidth}"
                                      maximumLength="#{bindings.Tele1.hints.precision}"
                                      shortDesc="#{bindings.Tele1.hints.tooltip}" id="it3">
                            <f:validator binding="#{bindings.Tele1.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Tele2.inputValue}" label="#{bindings.Tele2.hints.label}"
                                      required="#{bindings.Tele2.hints.mandatory}"
                                      columns="#{bindings.Tele2.hints.displayWidth}"
                                      maximumLength="#{bindings.Tele2.hints.precision}"
                                      shortDesc="#{bindings.Tele2.hints.tooltip}" id="it4">
                            <f:validator binding="#{bindings.Tele2.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Fax.inputValue}" label="#{bindings.Fax.hints.label}"
                                      required="#{bindings.Fax.hints.mandatory}"
                                      columns="#{bindings.Fax.hints.displayWidth}"
                                      maximumLength="#{bindings.Fax.hints.precision}"
                                      shortDesc="#{bindings.Fax.hints.tooltip}" id="it5">
                            <f:validator binding="#{bindings.Fax.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Website.inputValue}" label="#{bindings.Website.hints.label}"
                                      required="#{bindings.Website.hints.mandatory}"
                                      columns="#{bindings.Website.hints.displayWidth}"
                                      maximumLength="#{bindings.Website.hints.precision}"
                                      shortDesc="#{bindings.Website.hints.tooltip}" id="it6">
                            <f:validator binding="#{bindings.Website.validator}"/>
                        </af:inputText>
                    </af:panelFormLayout>
                </af:dialog>
            </af:popup>

    Hi,
    can you try and add the af:resetActionListener tag to the cancel button ?
    http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12419/tagdoc/af_resetActionListener.html
    Frank

  • Selective fields redisplaying on immediate='true'

    Hi,
    I use commandLink-s with immediate='true' for adding rows to a dataTable which contains inputText-s. The immediate is for not blocking on validators when adding a row. But a strange thing is that when some data is being entered and the link pressed the data is redisplayed or lost depending on where the data is - (alway in same 'form') if the data is in a dataTable it disappears, if it is in a panelGrid it stays!!
    Any idea why such behaviour, and how to make the freshly entered data to be redisplayed in the dataTable too?
    Thanks

    Hi,
    Is the solution approach detailed in the document Activate Field triggers for syndication valid for MDM 7.1?
    Yes, you can use same solution approach detailed in the document Activate Field triggers for syndication valid for MDM 7.1
    The document says "The solution approach can be considered as workaround; in the future a syndication functionality based on certain fields might come as part of the MDM standard delivery."..Would like to know if any new functionality has been delivered by SAP in MDM 7.1,
    No, still this features  are not covered in MDM 7.1
    Thanks,
    Jignesh Patel

Maybe you are looking for