Struts2 - ScopedModelDriven - Unable to update the model in session

Hi,
I have a problem implementing ScopedModelDriven.
I Have Model / User Java Bean object in action class.
I am trying to implement concept of same model object being used for 3 JSP pages with PREVIOUS and NEXT button navigation.Data to be updated in Model object for every page navigation and to be saved in session.
It is found the latest data is found from value stack when jsp page is navigated to next page, but not updated in Model object either in request or session scope I am sure I have configured necessary interceptors properly.
This could be easily done in struts1 by setting the Actionform in session scope.Any advice or thought?.
Struts.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="false" />
<package name="myPackage" namespace="/" extends="struts-default">
<interceptors>
<interceptor name="myMultipleForm"
class="com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor">
<param name="scope">session</param>
<param name="name">user</param>
<param name="className">com.ut.p.s2.beans.User</param>
</interceptor>
</interceptors>
<global-results>
<result name="error">/jsp/Error.jsp</result>
<result name="invalid.token">/jsp/Error.jsp</result>
<result name="login">/jsp/login.jsp</result>
</global-results>
<global-exception-mappings>
<exception-mapping
result="error"
exception="java.lang.Throwable"/>
</global-exception-mappings>
<action name="ShowScopedModel" class="com.ut.p.s2.actions.ServletTestAction" >
<interceptor-ref name="servletConfig"/
<interceptor-ref name="app_common"/>
<result name="model_test_page">/jsp/smodelTest.jsp</result>
<result>/jsp/smodelTest.jsp</result>
</action>
<action name="scopedModelAction_*" class="com.ut.p.s2.actions.ScopedModelDrivenAction" method="{1}">
<interceptor-ref name="basicStack"/>
<interceptor-ref name="defaultStack" />
<interceptor-ref name="prepare"/>
<interceptor-ref name="debugging"/>
<interceptor-ref name="scopedModelDriven">
<param name="scope">session</param>
<param name="name">user</param>
<param name="className">com.ut.p.s2.beans.User</param>
</interceptor-ref>
<interceptor-ref name="params"/>
<interceptor-ref name="conversionError"/>
<interceptor-ref name="workflow"/>
<result name="input">/jsp/smodelTest.jsp</result>
<result>/jsp/smodelResult.jsp</result>
<result name="model_test_page">/jsp/smodelTest.jsp</result>
<result name="model_test_page2">/jsp/smodelTest2.jsp</result>
<result name="model_test_page3">/jsp/smodelTest3.jsp</result>
<result name="model_result_page">/jsp/smodelResult.jsp</result>
</action>
</package>
</struts>
Action:
package com.ut.p.s2.actions;
import java.util.ArrayList;
import com.ut.p.s2.beans.Books;
import com.ut.p.s2.beans.Dept;
import com.ut.p.s2.beans.User;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.Preparable;
import com.opensymphony.xwork2.interceptor.ScopedModelDriven;
public class ScopedModelDrivenAction extends ActionSupport implements ScopedModelDriven,Preparable {
private User user =null;
private static final long serialVersionUID = 1271130427666936592L;
private String scope = null;
public void prepare() throws Exception {
user = new User();
ArrayList arlList=new ArrayList();
Books b1 = new Books("Java",100);
Books b2 = new Books("VB",200);
arlList.add(b1);
arlList.add(b2);
Dept dept = new Dept();
dept.setDeptNo("100");
dept.setDeptName("Mechanical");
user.setDept(dept);
user.setArlList(arlList);
public String getScopeKey() {
return scope;
public void setModel(Object arg0) {
this.user = (User) arg0;
public void setScopeKey(String arg0) {
scope = arg0;
public Object getModel() {
return user;
public User getUser() {
return user;
public void setUser(User user) {
this.user = user;
public String execute() {
System.out.println("execute()........."+user);
return INPUT;
public String input() throws Exception {
System.out.println("input()........."+user);
return SUCCESS;
public String save() {
System.out.println("save()........."+user);
return "model_result_page";
public String page1() {
System.out.println("page1()........."+user);
System.out.println("page1()....scope....."+scope);
return "model_test_page";
public String page2() {
System.out.println("page2()........."+user);
System.out.println("page2()....scope....."+scope);
return "model_test_page2";
public String page3() {
System.out.println("page3()........."+user);
System.out.println("page3()....scope....."+scope);
return "model_test_page3";
}//end class
JSP Page:
<%@ page errorPage="/jsp/Error.jsp" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<s:head theme="simple"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Details</title>
</head>
<body>
<h2>User Details</h2>
<hr>
User Name :<s:property value="name" /><br>
Age :<s:property value="age" /><br>
Hobbies :<s:property value="hobby" /><br>
Country :<s:property value="country" /><br>
<TABLE border="1">
<s:iterator value="arlList" status="row">
<TR>
<TD><s:textfield name="arlList[%{#row.index}].name" value="%{name}" /></TD>
<TD> <s:text name="arlList[%{#row.index}].price" /></TD>
</TR>
</s:iterator>
</TABLE>
<h2>
User Department :<s:property value="dept" /><br>
<s:property value="dept.id" />
<s:property value="dept.name" />
<jsp:include page="Footer.jsp"/>
</body>
</html>

I am very surprised that you aren't aware of the CODE tags after being registered here for 5 years. Now your whole post with raw and unformatted code is hard to read. Make use of CODE tags to post code. You can use the CODE button in the toolbar of the message editor to get them.
With regard to your actual problem: as this is a Struts specific issue and you're here at a JSP forum, all I can do is to suggest you to use a forum/mailinglist devoted to Struts if you don't get sufficient support here after a while.

Similar Messages

  • I am unable to update the iOS 2.2.1 to next version

    i am unable to update the iOS 2.2.1 to next version

    What happens when you connect to computer and update via iTunes?
    The Settings>General>Software Update comes with iOS 5 and later.
    Connect the iPod to your computer and update via iTunes as far as your iPod model allows
    iOS: How to update your iPhone, iPad, or iPod touch
    You need itunes 10 or later and that requires OSX 10.5.8 or later
    You have a 2G (vi the SN yo provided) and that can go as high as 4.2.1

  • Unable to update the VAT_CODE column through supplier sites API

    Hi,
    I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
    Thanks,
    Abhilash
    CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
    AS
    PROCEDURE xx_vat_wo172304 (
    errbuf OUT VARCHAR2
    , retcode OUT VARCHAR2
    IS
    CURSOR cur_vat
    IS
    SELECT site.*
    FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
    WHERE site.vat_code IN
    ('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
    , 'OS20', 'OT20')
    AND supp.vendor_id = site.vendor_id
    AND site.org_id IN (608, 1508, 2396, 2397)
    AND site.vendor_site_id =68154;
    l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
    l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
    l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
    x_return_status VARCHAR2 (100) := NULL;
    x_msg_data VARCHAR2 (1000) := NULL;
    x_msg_count NUMBER := NULL;
    l_error_reason VARCHAR2 (2000) := NULL;
    l_user_id           number := FND_GLOBAL.USER_ID;
    l_last_update_login           number := FND_GLOBAL.LOGIN_ID;
    l_program_application_id           number := FND_GLOBAL.prog_appl_id;
    l_program_id           number := FND_GLOBAL.conc_program_id;
    l_request_id           number := FND_GLOBAL.conc_request_id;
    BEGIN
    -- mo_global.init ('SQLAP');
    FOR rec_vat IN cur_vat LOOP
    IF rec_vat.org_id = 608 THEN
    IF rec_vat.vat_code = 'OEUS20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS21';
    ELSIF rec_vat.vat_code = 'OEUZ20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ21';
    ELSIF rec_vat.vat_code = 'OPP20E' THEN
    l_vendor_site_rec.vat_code := 'CZ OPP21E';
    ELSIF rec_vat.vat_code = 'OS20' THEN
    l_vendor_site_rec.vat_code := 'CZ OS21';
    ELSIF rec_vat.vat_code = 'OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OS21';
    END IF;
    ELSIF rec_vat.org_id = 1508 THEN
    IF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD21';
    ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS21';
    ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    END IF;
    ELSIF rec_vat.org_id = 2396 THEN
    IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
    ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD 21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
    l_vendor_site_rec.vat_code := 'CZ-21-EDC';
    END IF;
    ELSIF rec_vat.org_id = 2397 THEN
    IF rec_vat.vat_code = 'CZ OEUS 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS 21';
    ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
    ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD 21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
    l_vendor_site_rec.vat_code := 'CZ-21-EDC';
    END IF;
    END IF;
    l_vendor_site_id := rec_vat.vendor_site_id;
    l_vendor_site_rec.org_id := rec_vat.org_id;
    l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
    --l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
    l_vendor_site_rec.rfq_only_site_flag := 'Y';
    -- l_vendor_site_rec.last_update_date := SYSDATE;
    l_vendor_site_rec.last_updated_by := 1134;   MARTIN.ROUNDS
    -- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
    --DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
    fnd_file.put_line (fnd_file.LOG
    , 'VAT CODE:' || l_vendor_site_rec.vat_code
    fnd_file.put_line (fnd_file.LOG
    , 'Vendor ID:' || rec_vat.vendor_id
    fnd_file.put_line (fnd_file.LOG
    , 'Vendor Site Id:' || l_vendor_site_id
    fnd_file.put_line (fnd_file.LOG
    , 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
    ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
    , x_return_status => x_return_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    , p_vendor_site_rec => l_vendor_site_rec
    , p_vendor_site_id => l_vendor_site_id
    ); --p_calling_prog     IN  VARCHAR2 DEFAULT 'NOT ISETUP'
    -- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
    -- , x_return_status => x_return_status
    -- , x_msg_count => x_msg_count
    -- , x_msg_data => x_msg_data
    --     ap_vendor_sites_pkg.update_row(
    --          p_vendor_site_rec => l_vendor_site_rec,
    --          p_last_update_date => sysdate,
    --          p_last_updated_by => l_user_id,
    --          p_last_update_login => l_last_update_login,
    --          p_request_id => l_request_id ,
    --          p_program_application_id => l_program_application_id,
    --          p_program_id => l_program_id,
    --          p_program_update_date => sysdate,
    --          p_vendor_site_id => l_vendor_site_id);
    fnd_file.put_line (fnd_file.LOG
    , 'Return Status:' || x_return_status
    IF x_return_status <> fnd_api.g_ret_sts_success THEN
    IF x_msg_count >= 1 THEN
    FOR i IN 1 .. x_msg_count LOOP
    IF l_error_reason IS NULL THEN
    l_error_reason :=
    l_error_reason
    || ','
    || SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
    , 1
    , 255
    || SQLERRM;
    ELSE
    l_error_reason :=
    l_error_reason
    || ','
    || SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
    , 1
    , 255
    || SQLERRM;
    END IF;
    --DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
    fnd_file.put_line (fnd_file.LOG
    , 'Supplier Site API Error-' || l_error_reason
    END LOOP;
    END IF;
    ELSIF x_return_status='S' THEN
    --DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
    fnd_file.put_line (fnd_file.LOG
    , 'Supplier Site API Success-' || l_error_reason
    END IF;
    END LOOP;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    --DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
    fnd_file.put_line (fnd_file.LOG
    , 'Error-' || SQLERRM
    END xx_vat_wo172304;
    END xx_wo172304_test;

    Hi,
    I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
    Thanks,
    Abhilash
    CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
    AS
    PROCEDURE xx_vat_wo172304 (
    errbuf OUT VARCHAR2
    , retcode OUT VARCHAR2
    IS
    CURSOR cur_vat
    IS
    SELECT site.*
    FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
    WHERE site.vat_code IN
    ('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
    , 'OS20', 'OT20')
    AND supp.vendor_id = site.vendor_id
    AND site.org_id IN (608, 1508, 2396, 2397)
    AND site.vendor_site_id =68154;
    l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
    l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
    l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
    x_return_status VARCHAR2 (100) := NULL;
    x_msg_data VARCHAR2 (1000) := NULL;
    x_msg_count NUMBER := NULL;
    l_error_reason VARCHAR2 (2000) := NULL;
    l_user_id           number := FND_GLOBAL.USER_ID;
    l_last_update_login           number := FND_GLOBAL.LOGIN_ID;
    l_program_application_id           number := FND_GLOBAL.prog_appl_id;
    l_program_id           number := FND_GLOBAL.conc_program_id;
    l_request_id           number := FND_GLOBAL.conc_request_id;
    BEGIN
    -- mo_global.init ('SQLAP');
    FOR rec_vat IN cur_vat LOOP
    IF rec_vat.org_id = 608 THEN
    IF rec_vat.vat_code = 'OEUS20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS21';
    ELSIF rec_vat.vat_code = 'OEUZ20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ21';
    ELSIF rec_vat.vat_code = 'OPP20E' THEN
    l_vendor_site_rec.vat_code := 'CZ OPP21E';
    ELSIF rec_vat.vat_code = 'OS20' THEN
    l_vendor_site_rec.vat_code := 'CZ OS21';
    ELSIF rec_vat.vat_code = 'OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OS21';
    END IF;
    ELSIF rec_vat.org_id = 1508 THEN
    IF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD21';
    ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS21';
    ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    END IF;
    ELSIF rec_vat.org_id = 2396 THEN
    IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
    ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD 21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
    l_vendor_site_rec.vat_code := 'CZ-21-EDC';
    END IF;
    ELSIF rec_vat.org_id = 2397 THEN
    IF rec_vat.vat_code = 'CZ OEUS 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUS 21';
    ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
    ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
    l_vendor_site_rec.vat_code := 'CZ OJCD 21';
    ELSIF rec_vat.vat_code = 'CZ OT20' THEN
    l_vendor_site_rec.vat_code := 'CZ OT21';
    ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
    l_vendor_site_rec.vat_code := 'CZ-21-EDC';
    END IF;
    END IF;
    l_vendor_site_id := rec_vat.vendor_site_id;
    l_vendor_site_rec.org_id := rec_vat.org_id;
    l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
    --l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
    l_vendor_site_rec.rfq_only_site_flag := 'Y';
    -- l_vendor_site_rec.last_update_date := SYSDATE;
    l_vendor_site_rec.last_updated_by := 1134;   MARTIN.ROUNDS
    -- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
    --DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
    fnd_file.put_line (fnd_file.LOG
    , 'VAT CODE:' || l_vendor_site_rec.vat_code
    fnd_file.put_line (fnd_file.LOG
    , 'Vendor ID:' || rec_vat.vendor_id
    fnd_file.put_line (fnd_file.LOG
    , 'Vendor Site Id:' || l_vendor_site_id
    fnd_file.put_line (fnd_file.LOG
    , 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
    ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
    , x_return_status => x_return_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    , p_vendor_site_rec => l_vendor_site_rec
    , p_vendor_site_id => l_vendor_site_id
    ); --p_calling_prog     IN  VARCHAR2 DEFAULT 'NOT ISETUP'
    -- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
    -- , x_return_status => x_return_status
    -- , x_msg_count => x_msg_count
    -- , x_msg_data => x_msg_data
    --     ap_vendor_sites_pkg.update_row(
    --          p_vendor_site_rec => l_vendor_site_rec,
    --          p_last_update_date => sysdate,
    --          p_last_updated_by => l_user_id,
    --          p_last_update_login => l_last_update_login,
    --          p_request_id => l_request_id ,
    --          p_program_application_id => l_program_application_id,
    --          p_program_id => l_program_id,
    --          p_program_update_date => sysdate,
    --          p_vendor_site_id => l_vendor_site_id);
    fnd_file.put_line (fnd_file.LOG
    , 'Return Status:' || x_return_status
    IF x_return_status <> fnd_api.g_ret_sts_success THEN
    IF x_msg_count >= 1 THEN
    FOR i IN 1 .. x_msg_count LOOP
    IF l_error_reason IS NULL THEN
    l_error_reason :=
    l_error_reason
    || ','
    || SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
    , 1
    , 255
    || SQLERRM;
    ELSE
    l_error_reason :=
    l_error_reason
    || ','
    || SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
    , 1
    , 255
    || SQLERRM;
    END IF;
    --DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
    fnd_file.put_line (fnd_file.LOG
    , 'Supplier Site API Error-' || l_error_reason
    END LOOP;
    END IF;
    ELSIF x_return_status='S' THEN
    --DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
    fnd_file.put_line (fnd_file.LOG
    , 'Supplier Site API Success-' || l_error_reason
    END IF;
    END LOOP;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    --DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
    fnd_file.put_line (fnd_file.LOG
    , 'Error-' || SQLERRM
    END xx_vat_wo172304;
    END xx_wo172304_test;

  • HT1338 I am unable to update the newest version of itunes because I need to update my Mac OS X to version 10.6 or later but my computer keeps telling me that I do not have any updates. Help

    I am unable to update the newest version of itunes because I need to update my Mac OS X to version 10.6 or later but my computer keeps telling me that I do not have any updates available. I am currently running version 10.5.8

    You need to buy 10.6 on DVD.
    (74703)

  • I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question).

    I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question). I haven't had this issue before, I have always used the content library on the screen but haven't used this for about a month. How can I make the Content Library available?

    Thanks so much! I am backing up the entire computer now with an external hard drive - this should be fine right? And surely if I am backing up the whole computer these projects/videos will be backed up too? I wasn't sure how to do this any other way and I am clearly not great with tech issues. Once this is done and I am sure my projects/videos are safe I will do the delete and reinstall bit. Thanks for taking the time to help

  • HT1918 I was in Singapore when I created this Apple ID and payment information. Now I am have shifted to India and I am unable to update the Country and Payment related information. When I click on country no option comes up. Can somebody suggst anything?

    I was in Singapore when I created this Apple ID and payment information. Now I am have shifted to India and I am unable to update the Country and Payment related information. When I click on country no option comes up. Can somebody suggst anything?

    Hi Peyush!
    You may want to try changing the country associated to your Apple ID from your iOS device. I have an article for you here that I believe will help you change the country for your signed in Apple ID:
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Specifically, this is the section of the article you will want to pay attention to:
    Change your iTunes Store country
    Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    Follow the onscreen process to change your region, agree to the terms and conditions for the region if necessary, and then change your billing information.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Unable to update the ADMPlugin.api

    When I try to install the aics2_12_0_1update.exe for my Illustrator CS2 (12.0) I get the error,
    "Unable to update the ADMPlugin.api
    The file on your system does not match the original Illustrator 12.0 file expected and it cannot be updated."
    I have WXP SP3 and the entire CS2 suite installed.
    Any ideas?
    J.R.

    >...when I worked for Adobe® Systems.
    Are you running a beta version of AI 12 by any chance?
    That would certainly explain the error message you're getting. As you must know, Adobe updaters are rigorous in their version checking and won't work on non-retail versions.

  • How do i skip process validations and still update the model?

    how do i skip process validations and still update the model? This has got to be a bug or a really huge design flaw. And no I don't want to using 'binding' to bind to every component on my form just so I can set its value. I just want to use value binding.
    Perhaps there should be a FacesContext.getCurrentInstance().updateModel() method?

    how about if I want clear the form or load a new model:
    <h:commandButton action="#{customer.clear_action}" immediate="true" value="clear" />
    <h:commandButton action="#{customer.load_action}" immediate="true" value="load" />
    public void clear_action() {
    Customer c = new Customer();
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();
    public void load_action() {
    Customer c = new Customer(1000);
    this.setBean("customerModel",c);
    FacesContext context = FacesContext.getCurrentInstance();
    context.renderResponse();

  • Updating the model via AJAX

    Victor,
    I find Tor's and Greg M's bpcatalog documents describing AJAX and JSF useful. However they do not address 'updates'.
    Updating the model via an AJAX request that is handled by the JSF framework as suggested by bccatalog examples is a challenge.
    I am not sure if it is best to use the "Update Model" phase of the life cycle or just cheat and put he update code in the tags render response phase. Also, it appears that the "update model Phase" may not be included in the lifecycle as the ajax request is not really a JSF "postback".
    Does anyone know what tradeoff result in doing an update in the Render Response Phase?
    Cheers,
    Godfrey

    I've tried updating the model using AJAX and a RenderPhaseListener, but never succeeded. I have a simple CRUD form with two selectOneMenu components, some text boxes, and a submit button. When a selection is made in the first select list, an AJAX call is made that populates the second select list. Once that happens, the second select list contains a different list of <f:selectItems> in the DOM than it does in the underlying component model. If the array of SelectItems that are used to populate the second select list is in a managed bean, when the form is submitted, the second select list fails validation (Validation Failed: Not a Valid Value) because the selected item exists in the DOM, but not in the SelectItem array in the managed bean. To work around this, I placed the SelectItem array in the session, instead of in the managed bean. When the AJAX call is made, the backend Java code updates the SelectItem array in the session. This prevents the model and the DOM from getting out of synch. I hate putting anything in the session, because sessions tend to die, but this is the best workaround I could come up with. I'm open for any better solutions. Oh, by the way, if I use AJAX enabled select lists on a JSF page in a JSF 1.0 web app, the Invoke Application phase is mysteriously skipped when the form is submitted, which prevents the form contents from being saved. If I use JSF 1.1_01, the form saves like a charm. You gotta love being on the bleeding edge.

  • I have an 1st generation ipad. I am unable to update the software beyond 5.1.1. Why?

    I have an 1st generation ipad. I am unable to update the software beyond 5.1.1. Why? It tells me my software is up to date.

    Very possible.
    You can often get the older version if you buy directly on the iPad
    Go through the iTunes Store on your old iPad and purchase netflix, if you can get an older version of the app, iTunes will ask and prompt the download of older version.
    Not all apps will be available.
    I was able to put iBooks on my older iPod this way.

  • I am unable to update the TomTom Canada&US

    I am unable to update the TomTom Canada&US purchased in July 2011 for my iPhone 4. The update doesn't load, and I can no longer use the app which has become inactive. Any hints?

    Have you tried downloading the app using iTunes on your computer, then syncing your iPhone with the computer?

  • FRM-40509: ORACLE error : Unable to update the record.

    Hi,
    I am having the following code in delete button.
    declare
         v_button  NUMBER;
    begin
      IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
                   v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
                   IF ( v_button = alert_button1 )
                        THEN
                          message('before insert');
                          insert into chng_cntrl_job_dtls_log
                          select * from chng_cntrl_job_dtls
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before delete');
                          delete from CHNG_CNTRL_JOB_DTLS
                          where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
                          and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
                          and sent_date is null;
                          message('before commit');
                          silent_commit;
                          go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
                          P_DELETE_SET_PROPERTY;
                          clear_form;
                   ELSIF ( v_button = alert_button2 )
                        THEN
                          null;
                END IF;
         ELSE
                p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
      END IF;
         exception
              when others then
              message ('Exception in delete version button');
              end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
    i am getting message till before commit.
    i am not able to check the error message in help as it is diabled in our form builder.
    I have checked the privileges also. they are fine.
    Please advice.
    Edited by: Sudhir on Dec 7, 2010 12:26 PM

    This error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
    I see in the OP that this key is disabled. Change the on-error code then:
    begin
       message(dbms_error_code||'-'||dbms_error_text);
       raise form_trigger_failure;     
    end;     Edited by: InoL on Dec 7, 2010 8:50 AM

  • Declarative component doesn't update the model

    Hi,
    I have a simple declarative component which has an attribute called 'val' and a input text field which uses the 'val' as its value like "#{attrs.val}"
    I use this declarative component within a page and i set the value 'val' attribute to something like "#{bindings.val.inputValue}" where val is an attribute from a bean data control.
    What i observe is that if i change the value in the UI the corresponding attribute in the data control is not affected.
    However this happens in the case of a normal input text field.
    Is it that declarative component are meant for only 'reading' in and not 'writing' out?
    Please let me know if there is a way to update the model with the value changes within a declarative component.
    Cheers,
    Raj

    Hi Frank,
    I want to avoid the managed bean here.
    For a simple text field the data in the data control gets updated without using a managed bean.
    I would expect the same for the declarative component too.
    Please let me know if i am missing something here.
    Cheers,
    Raj

  • I am unable to update the apps

    i am unable to update the apps in my phone, 11apps are required the update

    Any restrictions set up in Settings/General/Restrictions? If yes, disable them.
    Are you logged into your account in Settings/iTunes&AppStore with the correct Apple ID?
    Any error messages given?

  • Browser unable to update the service status bits

    I am having an issue with my computer becoming non-working. After a period of time of inactivity and then I go to use the computer, I can move the mouse cursor around but can do nothing else. I have noticed that when moving the cursor around that when I move it to the task-bar I get the hour glass waiting icon. I checked the event viewer and in the applications log I have numerous errors which say "The browser was unable to update the service status bits" Can you explain this and are there any fixes? Thank you

    Hi Avinash,
    Yes, CTS_BROWSER service is active. It was working before when I click to test. Unfortunately, it started throwing error. We are on SP13 in SOLMAN. I'm using solman as an ABAP stack.
    Thanks for your time.

Maybe you are looking for