DBXML_WELL_FORMED_ONLY flag in putDocument method

Hello!
Could anybody tell me a reason why the DBXML_WELL_FORMED_ONLY flag is not allowed in the method:
XmlContainer::putDocument(XmlTransaction &txn, XmlDocument &document,
               XmlUpdateContext &context, u_int32_t flags)
but is allowed in method:
XmlContainer::putDocument(XmlDocument &document,
               XmlUpdateContext &context,
               u_int32_t flags)
So how can I avoid validation using the first method?
I'm using DB XML 2.4.11, but also saw such a restriction in 2.4.13 code.
Thanks in advance!
Vyacheslav

Generally each issue that is worthy of a patch gets an "SR" (support request) number and description and is fixed in the development and maintenance branches of BDB XML. Some (not all) are posted to the download page as patches. Sometimes you'll see patches posted here by the development team or users. There are less "official" but more expedient.
Regards,
George

Similar Messages

  • How to pass one value from method 1 to method 2 in BADI...

    Hello Experts,
    How do I pass a custom variable from lets say method 1 to method 2 in BADI? Do I need to
    enhance it? For example, I need to pass my flag variable which contains 'X' from method as exporting
    and importing in method 2.

    Hi,
    Yes declare a flag in first method and make it 'X' when you get the condition that you have made changes to item values and export it to memory id ...
    EXPORT GV_FLAG TO MEMORY ID 'SSS'.
    and in second method import the same...
    IMPORT GV_FLAG FROM MEMORY ID 'SSS'.
    and according to the value write the logic...
    Thanks,
    Shailaja Ainala.

  • Re: Method entry/exit

    From: [email protected]
    Date: Tue, 4 Mar 1997 17:53:15 -0500 (EST)
    To: [email protected]
    Subject: Method entry/exit
    Reply-to: [email protected]
    Hi all: I am trying to find out the best way to trace method entry and exit
    information for debugging. I am trying the debugger but I have not found how
    to capture and print this info.
    Any ideas?
    Thanks...
    We wrote a Diagnosis utility class way back in the early beta days to
    handle this need. It's one way to go.
    -- Len
    ==============================================
    Len Leber
    ATG Solutions, Incorporated
    [email protected]

    Ed (and others that may be using these trace flags),
    This "Profiler" tracing is available in Forte Release 2.x via these
    trace flags, and will be available in a furture Forte Release through
    the UI. In Forte R2, there is a start-up bug with using these trace
    flags with either FORTE_LOGGER_SETUP or the -fl command line flag,
    so you must set them after you start your Forte process with
    Modify Log Flags...
    At 04:33 PM 3/6/97 +1200, you wrote:
    >
    You can use the trc:in:51:1 trace flag to trace method entry/exit by task.
    trc:in:53:1 traces methods by the entire application. trc:in:52:1 gives a
    call-tree tracing by task, and trc:54:1 gives a call-tree trace by
    application.This is nice in theory, but my NT client bombs out when I start it up
    with these flags. Is anyone else experiencing weirdness here? No error
    messages, just the Stack Backtrace.
    - Ed
    ================================================================================
    Eduard E Havelaar, Information Services Section, University of Canterbury
    internet: [email protected]
    phone: +64-3-366 7001 extn 8910
    fax: +64-3-364 2999
    snailmail: Private Bag 4800, Christchurch, New Zealand
    == Brian T. Murrell Phone: 510.869.2130 ==
    == Technical Support MailTo:[email protected] ==
    == Forte Software, Inc. http://www.forte.com ==

  • CFTRANSACTION across multiple methods??

    I have a couple of question around CFTRANSACTION
    1) Can I use it around several component calls? eg
    <cftransaction>
    <cfinvoke component="myComponent"
    method="InsertTable1">
    <cfinvokeargument ........ />
    </cfinvoke>
    <cfinvoke component="myComponent"
    method="InsertTable2">
    <cfinvokeargument ........ />
    </cfinvoke>
    </cftransaction>
    2) If this is an inappropriate use of CFTRANSACTION, is there
    a way to programmatically achieve transactioning when database
    inserts/updates/deletes are performed across multiple component
    methods.

    In article <f4t1r9$akd$[email protected]>
    "Swampie"<[email protected]> wrote:
    > I have a couple of question around CFTRANSACTION
    >
    > 1) Can I use it around several component calls? eg
    Yes.
    > 2) If this is an inappropriate use of CFTRANSACTION
    No, this is appropriate.
    Just remember that you can't have a transaction spanning
    operations on
    multiple data sources and, prior to CF8, you cannot have
    nested
    transactions (hence Reactor and Transfer both have a boolean
    flag on
    save() methods to indicate you are wrapping the calls in your
    own
    cftransaction tag.
    Sean
    I'm trying a new usenet client for Mac, Nemo OS X.
    You can download it at
    http://www.malcom-mac.com/nemo

  • Static method to read text file within JAR.

    I've a small problem. I've got my JAR file stuff working great, so I thought I'd give a go to running it via WebStart. Through a little research, I've found that if you're distributing your application via WebStart, you need to pack up everything in a JAR file. This is no problem for the JDBC drivers, because its already in a JAR, so I should be able to distribute that fine.
    I've managed to digitally sign my application JAR and have a preliminary (i.e. untested) JNLP file set up.
    My problem is, my application gets its available data sources from an external text file. I've already written my own file I/O class which I use in my "commonfiles" package to read in a text file and return it as an array with each element holding a line from the text file. This class is basically just a bunch of static methods.
    So instead of rewriting this, I thought I'd just add a boolean flag to this method to state whether to load this file from the external file system or the JAR file. I've found out that to load a text file from within the JAR you have to use something like: -
    String str = (this.getClass().getResource("/myData.txt")).getFile();
    java.io.File fil = new java.io.File(str);
    java.io.FileReader fr = new java.io.FileReader (fil);
    java.io.BufferedReader bin = new java.io.BufferedReader (fr) ;The sticking point is that my method (ReturnFileAsArray()) is declared as static, because my own FileIO class is just a bunch of static methods to do file I/O stuff. Therefore, I can't use the above method because of the instance variable "this" (I assume).
    Is there any way I can load an included text file as above without having to declare my method as an instance method? I guess I could write a seperate class to do this for my commonfiles package, but I'd rather not if possible.
    Any ideas?

    Don't put a "flag" and code different ways to read files depending on whether it's in a JAR or not. Just use
    the getResource/getResourceAsStream API regardless. Hmmm.....so that will load it from either place depending on the situation? I keep getting a NullPointerException doing that, on this line: -
    String strFileName = (FileIO.class.getResource(fileName)).getFile();...although I've only tried it using the external local filesystem file (in the same directory) as I've not really finished setting up my WebStart stuff yet.
    Here is the method in question...
    public static String[] ReadFileAsArray(String dirName, String fileName, boolean bFromJAR) {
            String[] resultStringArray = null;
            StringBuffer strBuffer = null;
            StringTokenizer strTokenizer = null;
            FileReader fReader = null;
            BufferedReader bReader = null;
            int iElementCount = 0;
            if ((dirName.length() < 1) || (fileName.length() < 1)) {
                // Null parameters found. Failure.
                return null;
            } else {
                // Parameters correct, continue.
                try {
                    // Read the file contents and convert to String array.
                    //if (bFromJAR) {
                        // Open file from within JAR file.
                        String strFileName = (FileIO.class.getResource(fileName)).getFile();
                        File jarFile = new File(strFileName);
                        fReader = new FileReader(jarFile);
                    //} else {
                        // Open from local filesystem.
                    //    fReader = new FileReader(dirName + File.separator + fileName);
                    bReader = new BufferedReader(fReader);
                    strBuffer = new StringBuffer();
                    while (bReader.ready()) {
                        strBuffer.append(bReader.readLine() + "%%");
                    strTokenizer = new StringTokenizer(strBuffer.toString(), "%%");
                    resultStringArray = new String[strTokenizer.countTokens()];
                    while ((strTokenizer.hasMoreTokens()) && (iElementCount < resultStringArray.length)) {
                        resultStringArray[iElementCount++] = strTokenizer.nextToken();
                    bReader.close();
                    return resultStringArray;
                } catch (IOException e) {
                    return null;
        }I'm calling it using: -
    // Load the external file into a String array, one row for each element.
    String[] fileArray = FileIO.ReadFileAsArray(System.getProperty("user.dir"), "datasources.dat", true);Cheers on any info on this.

  • HCM Process & Forms - Set a flag when 'Check and Send' is pressed

    Hi,
    In HCL process and forms,  i want to set a flag thru scripting when "Check & Send" is pressed. How can i do that?
    Thanks

    You can set the flag in SCENARIO_PROCESS_USER_COMMAND method of the class CL_IM_HRASR00ISR.
    You may have to enhance it.
    Thank you,
    Vijetha.

  • Understanding Transactions

    Reading the forum I read this post:
    You need to configure transactions in your EnvironmentConfig and when you create/open your containers. E.g.:
    envConf.setTransactional(true);
    container = manager.openContainer(cname, new XmlContainerConfig.setTransactional(true));
    Then you need to use explicit transactions in your application and be prepared to receive and handle deadlock exceptions (handle them via retrying the operation, after aborting the transaction).
    So my question is what are the rules. By this I mean when I open my container I am using the flag DBXML_TRANSACTIONAL. However in some cases when i perform just a query I do not explicitly create a transaction, is that bad? I guess the question is what methods must I use explicit transactions?
    Next when I do explicitly create a transaction if I do it in this order:
    txn = DBManager->Manager->createTransaction();
    container = DBManager->Manager->openContainer(path, flags);
    container.putDocument(txn, doc, ctx);
    Is this bad?, Some of the examples imply the order should be open the container, create the transaction, then put the document.
    Thanks
    Jim

    Jim,
    A few general rules:
    1. open/create containers separately from operations on them. Usually an application will open a container when it starts up and close/delete it when it shuts down. Unless you are running in a CGI script where it's unavoidable that is what you should do too.
    2. use the DBXML_TRANSACTIONAL flag or XmlContainerConfig.setTransactional(true) when opening containers. If you do this you do not need an explicit transaction for the open/create operation.
    3. when using any container- or XmlManager-based operation for which there is a variant that takes an XmlTransaction parameter you should specify one and be prepared to handle a deadlock exception and abort and retry the operation. This applies to read (e.g. query) as well as update (e.g. putDocument) operations.
    A few more rules:
    4. always start your transactional application single-threaded and be sure to run recovery on your Environment before any other thread or process can access it.
    5. always attempt to shut down cleanly -- closing (deleting) containers, managers, and environment (in that order). Again, this should be single-threaded with no other threads inside of the BDB XML or DB API.
    Regards,
    George

  • [Solved] NetworkManager-pptp VPN not working after update to 0.9.10

    Hello,
    I have a PPTP VPN set up and it's been working for a long time.  However, after I updated last night to networkmanager-0.9.10, it is no longer able to connect to the remote network.  I can activate the VPN connection, enter my password, but after a short period of time, the connection reports:  "Error: Connection activation failed: the VPN service returned invalid configuration."  As I mentioned before, this VPN was working right before the update and I didn't change the configuration on either my computer or the destination network so I'm pretty sure that this is something to do with the update.  I'm wondering if anybody else has run into this problem and if they've been able to find a solution.  I've been searching all over these forums and the internet for some hours now and I haven't found anything yet.  I'm hoping that somebody might be able to point me in the right direction or maybe know of something that might have changed with the new update.
    Here is my VPN configuration (using NetworkManager-PPTP.  I've also obscured the public IP address):
    [connection]
    id=MyVPN
    uuid=fe6e6265-1a79-4a69-b6d1-8b47e9d4c948
    type=vpn
    permissions=user:greyseal96:;
    autoconnect=false
    timestamp=1408950986
    [vpn]
    service-type=org.freedesktop.NetworkManager.pptp
    gateway=192.168.146.114
    require-mppe=yes
    user=greyseal96
    password-flags=3
    [ipv6]
    method=auto
    [ipv4]
    method=auto
    route1=10.17.0.0/16,10.17.1.1,1
    never-default=true
    Here are my logs during the time that I tried to connect:
    Aug 24 23:44:15 MyArchBox NetworkManager[578]: <info> Starting VPN service 'pptp'...
    Aug 24 23:44:15 MyArchBox NetworkManager[578]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 1938
    Aug 24 23:44:15 MyArchBox NetworkManager[578]: <info> VPN service 'pptp' appeared; activating connections
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: <info> VPN connection 'MyVPN' (ConnectInteractive) reply received.
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: <info> VPN plugin state changed: starting (3)
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: ** Message: pppd started with pid 1945
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: <info> VPN connection 'MyVPN' (Connect) reply received.
    Aug 24 23:44:21 MyArchBox pppd[1945]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded.
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded.
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing
    Aug 24 23:44:21 MyArchBox pppd[1945]: pppd 2.4.6 started by root, uid 0
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
    Aug 24 23:44:21 MyArchBox pppd[1945]: Using interface ppp0
    Aug 24 23:44:21 MyArchBox pppd[1945]: Connect: ppp0 <--> /dev/pts/2
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: Using interface ppp0
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: Connect: ppp0 <--> /dev/pts/2
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: <info> (ppp0): new Generic device (driver: 'unknown' ifindex: 10)
    Aug 24 23:44:21 MyArchBox NetworkManager[578]: <info> (ppp0): exported as /org/freedesktop/NetworkManager/Devices/9
    Aug 24 23:44:21 MyArchBox pptp[1947]: nm-pptp-service-1938 log[main:pptp.c:333]: The synchronous pptp option is NOT activated
    Aug 24 23:44:21 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 1 'Start-Control-Connection-Request'
    Aug 24 23:44:21 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_disp:pptp_ctrl.c:758]: Received Start Control Connection Reply
    Aug 24 23:44:21 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_disp:pptp_ctrl.c:792]: Client connection established.
    Aug 24 23:44:22 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 7 'Outgoing-Call-Request'
    Aug 24 23:44:22 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_disp:pptp_ctrl.c:877]: Received Outgoing Call Reply.
    Aug 24 23:44:22 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_disp:pptp_ctrl.c:916]: Outgoing call established (call ID 0, peer's call ID 50048).
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (get_credentials): passwd-hook, requesting credentials...
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (get_credentials): got credentials from NetworkManager-pptp
    Aug 24 23:44:25 MyArchBox pppd[1945]: CHAP authentication succeeded
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: CHAP authentication succeeded
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
    Aug 24 23:44:25 MyArchBox pppd[1945]: MPPE 128-bit stateless compression enabled
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: MPPE 128-bit stateless compression enabled
    Aug 24 23:44:25 MyArchBox pppd[1945]: Cannot determine ethernet address for proxy ARP
    Aug 24 23:44:25 MyArchBox pppd[1945]: local  IP address 10.17.10.3
    Aug 24 23:44:25 MyArchBox pppd[1945]: remote IP address 10.17.10.1
    Aug 24 23:44:25 MyArchBox pppd[1945]: primary   DNS address 10.17.2.22
    Aug 24 23:44:25 MyArchBox pppd[1945]: secondary DNS address 10.17.2.23
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info> VPN connection 'MyVPN' (IP4 Config Get) reply received from old-style plugin.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info> VPN Gateway: 192.168.146.114
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info> Tunnel Device: ppp0
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info> IPv4 configuration:
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Internal Address: 10.17.10.3
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Internal Prefix: 32
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Internal Point-to-Point Address: 10.17.10.1
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Maximum Segment Size (MSS): 0
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Static Route: 10.17.0.0/16   Next Hop: 10.17.1.1
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Forbid Default Route: yes
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Internal DNS: 10.17.2.22
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   Internal DNS: 10.17.2.23
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info>   DNS Domain: '(none)'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <info> No IPv6 configuration
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <error> [1408949065.481618] [platform/nm-linux-platform.c:1716] add_object(): Netlink error adding 10.17.0.0/16 via 10.17.1.1 dev ppp0 metric 1 mss 0 src user: Unspecific failure
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <warn> VPN connection 'MyVPN' did not receive valid IP config information.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Cannot determine ethernet address for proxy ARP
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: local  IP address 10.17.10.3
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: remote IP address 10.17.10.1
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: primary   DNS address 10.17.2.22
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: secondary DNS address 10.17.2.23
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 9 / phase 'running'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_ip_up): ip-up event
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_ip_up): sending Ip4Config to NetworkManager-pptp...
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: PPTP service (IP Config Get) reply received.
    Aug 24 23:44:25 MyArchBox pppd[1945]: Terminating on signal 15
    Aug 24 23:44:25 MyArchBox pppd[1945]: Modem hangup
    Aug 24 23:44:25 MyArchBox pptp[1954]: nm-pptp-service-1938 log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
    Aug 24 23:44:25 MyArchBox pptp[1954]: nm-pptp-service-1938 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 12 'Call-Clear-Request'
    Aug 24 23:44:25 MyArchBox pptp[1954]: nm-pptp-service-1938 log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
    Aug 24 23:44:25 MyArchBox pppd[1945]: Connect time 0.0 minutes.
    Aug 24 23:44:25 MyArchBox pppd[1945]: Sent 0 bytes, received 0 bytes.
    Aug 24 23:44:25 MyArchBox pppd[1945]: MPPE disabled
    Aug 24 23:44:25 MyArchBox pppd[1945]: Connection terminated.
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: inet 10.17.0.0/16 table main
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: priority 0x1 protocol static
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: nexthop via 10.17.1.1 dev 10
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <error> [1408949065.487073] [platform/nm-linux-platform.c:2252] link_change(): Netlink error changing link 10:  <DOWN> mtu 0 (1) driver 'unknown' udi '/sys/devices/virtual/net/ppp0': No such device
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: <error> [1408949065.487153] [platform/nm-linux-platform.c:1777] delete_object(): Netlink error deleting 10.17.10.3/32 lft forever pref forever lifetime 1862-0[4294967295,4294967295] dev ppp0 src kernel: No such device (-31)
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: Terminated ppp daemon with PID 1945.
    Aug 24 23:44:25 MyArchBox kernel: Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev- instead.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Terminating on signal 15
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Modem hangup
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 8 / phase 'network'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Connect time 0.0 minutes.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Sent 0 bytes, received 0 bytes.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: MPPE disabled
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 10 / phase 'terminate'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: Connection terminated.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
    Aug 24 23:44:25 MyArchBox dbus[579]: [system] Rejected send message, 10 matched rules; type="error", sender=":1.51" (uid=0 pid=1938 comm="/usr/lib/networkmanager/nm-pptp-service ") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.52" (uid=0 pid=1945 comm="/sbin/pppd pty /sbin/pptp 192.168.146.114 --nolaunc")
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** Message: nm-pptp-ppp-plugin: (nm_exit_notify): cleaning up
    Aug 24 23:44:25 MyArchBox pppd[1945]: Exit.
    Aug 24 23:44:25 MyArchBox NetworkManager[578]: ** (nm-pptp-service:1938): WARNING **: pppd exited with error code 16
    Aug 24 23:44:45 MyArchBox NetworkManager[578]: <info> VPN service 'pptp' disappeared
    If you've gotten this far, thank you for taking the time to read through all this!  Any help that you can give would be much appreciated.
    Last edited by greyseal96 (2014-08-27 15:20:02)

    Hmm, not sure about the 3.16 series kernel, but I found that when I upgraded to kernel 3.18 the PPTP VPN also stopped working.  This time, though, it was because, for some reason, there was a change in kernel 3.18 where the firewall kernel modules necessary for the VPN don't get loaded so the firewall won't allow some of the PPTP traffic from the remote side back in.  Since the firewall is stateful, these modules need to be loaded so that the firewall can know that the incoming PPTP traffic from the remote side is part of an existing connection.  Here's what my network manager logs looked like:
    NetworkManager[619]: <info> Starting VPN service 'pptp'...
    NetworkManager[619]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 31139
    NetworkManager[619]: <info> VPN service 'pptp' appeared; activating connections
    NetworkManager[619]: <info> VPN connection 'MyVPN' (ConnectInteractive) reply received.
    NetworkManager[619]: <info> VPN plugin state changed: starting (3)
    NetworkManager[619]: ** Message: pppd started with pid 31148
    NetworkManager[619]: <info> VPN connection 'MyVPN' (Connect) reply received.
    pppd[31148]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
    NetworkManager[619]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing
    pppd[31148]: pppd 2.4.7 started by root, uid 0
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
    pppd[31148]: Using interface ppp0
    pppd[31148]: Connect: ppp0 <--> /dev/pts/5
    NetworkManager[619]: Using interface ppp0
    NetworkManager[619]: Connect: ppp0 <--> /dev/pts/5
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
    NetworkManager[619]: <info> (ppp0): new Generic device (driver: 'unknown' ifindex: 7)
    NetworkManager[619]: <info> (ppp0): exported as /org/freedesktop/NetworkManager/Devices/6
    pptp[31150]: nm-pptp-service-31139 log[main:pptp.c:333]: The synchronous pptp option is NOT activated
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 1 'Start-Control-Connection-Request'
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_disp:pptp_ctrl.c:758]: Received Start Control Connection Reply
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_disp:pptp_ctrl.c:792]: Client connection established.
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_rep:pptp_ctrl.c:258]: Sent control packet type is 7 'Outgoing-Call-Request'
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_disp:pptp_ctrl.c:877]: Received Outgoing Call Reply.
    pptp[31157]: nm-pptp-service-31139 log[ctrlp_disp:pptp_ctrl.c:916]: Outgoing call established (call ID 0, peer's call ID 25344).
    pppd[31148]: LCP: timeout sending Config-Requests <===HERE IS WHERE THE CONNECTION FAILS BECAUSE THE MODULES AREN'T LOADED.
    pppd[31148]: Connection terminated.
    NetworkManager[619]: LCP: timeout sending Config-Requests
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
    NetworkManager[619]: Connection terminated.
    NetworkManager[619]: <warn> VPN plugin failed: connect-failed (1)
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
    pppd[31148]: Modem hangup
    pppd[31148]: Exit.
    NetworkManager[619]: <warn> VPN plugin failed: connect-failed (1)
    NetworkManager[619]: Modem hangup
    NetworkManager[619]: ** Message: nm-pptp-ppp-plugin: (nm_exit_notify): cleaning up
    NetworkManager[619]: <warn> VPN plugin failed: connect-failed (1)
    NetworkManager[619]: <info> VPN plugin state changed: stopped (6)
    NetworkManager[619]: <info> VPN plugin state change reason: unknown (0)
    NetworkManager[619]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
    NetworkManager[619]: ** (nm-pptp-service:31139): WARNING **: pppd exited with error code 16
    NetworkManager[619]: <info> VPN service 'pptp' disappeared
    To fix this, I had to add a file to the /etc/modules-load.d directory to have the modules loaded into the kernel at boot.  I just created a file called netfilter.conf and put the following in it:
    nf_nat_pptp
    nf_conntrack_pptp
    nf_conntrack_proto_gre
    Not sure if this addresses your problem or not, but maybe it's worth a look.

  • How to change the format of a cell in a web report

    Hello experts,
    Is it possible to implement this in a Web Report/BEx query?
    We have a list of products grouped into Company A and Company B. One key figure is for example Net Cost Price.
    We need to highlight the lowest net cost price in every company but with a different colour depending on the company assuming prices are sorted in ascending order.
    We have been recommended to use Web Design Api for Tables but we understand that in order to format a cell content we need to know the axis position of the cell but we don't know how many rows the query will display for every company. Is this kind of requirements only possible with "static" reports where we know exactly the number of rows and columns that are going to be displayed?
    This is an example.
    COMPANY      PRODUCTS    NET COST PRICE
    Company A    Product 1    <b>5€</b>
                 Product 2    10€
    Company B    Product 1    <b>10€</b>
                 Product 2    20€
    Any help would be very much appreciated.
    Thanks in advance,
    Inma

    Hi Inma,
      If you have already not solved your problem , you can try the following solution with table interface class.
    Table interface class generates HTML table row by row so it first process the charecterstics and then KFs .
    You define a  attribute(type public) in class and set that attribute to X (In CHARECTERSTIC menthod)when ever the company code changes.
    Then make use of that flag in DATA method to change the format of cell (Assuming you sorted by Ascending).
    hope this helps.
    Regards
    Madhukar

  • How can I hide a subvi in the hierarchy window?

    I want to hide a subvi of my top level vi in the hierarchy window. I know by calling it dynamically that it won't be in the hierarchy window until it is called but I want to keep it in the hierarchy. I just don't want to display it in the hierarchy window when a user looks at it. Kinda like an easter egg or like the multitude of vi's that NI hides. Can anyone give me a solution?
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

    This is from the 1/14/03 info-labview digest:
    Hi, Tim
    As you know, to distinguish between public and private methods, GOOP uses the LLB-top-level flag. Public methods are top-level and private method are non-top level.
    But GOOP does one more thing with private method VIs. They are checked as "System VI", a property which make them invisible in the VI hierarchy and in the "VIs in Memory" application property, unless their panels are open. You can upgrade to the new GOOP wizard, downloadable from http://www.endevo.com/default.asp?lang=eng. It doesn't check VIs as system VIs. It is compatible backwards, so perhaps you can "repair" your existing GOOP objects if you use the new wizard, but I'm not sure. S
    ince you can store objects in both directories and in LLBs with the new wizard, perhaps it helps to convert from LLB to directory and back to LLB again.
    If the above doesn't work, you can use these two VIs to uncheck the "System VI" property:
    1) C:\PROGRAM\National Instruments\LabVIEW 6\project\goopwiz.llb\Hide System VIs.vi
    2) C:\PROGRAM\National Instruments\LabVIEW 6\vi.lib\utility\libraryn.llb\Librarian List.vi
    Use (2) to create a list of VIs in your GOOP object LLB. Then loop through all the VIs and use (1) to uncheck the property.
    If you want to read more about this, you can search for the string "Invisible VI ?!?" in http://www.searchview.net/, during 2001, in the info-labview archives. Then read the postings with the subject "Invisible VI ?!?".
    Hope this was helpful!
    Andreas

  • Enter scheduling Key - BAPI_MATERIAL_SAVEREPLICA

    I am using BAPI_MATERIAL_SAVEREPLICA to create new Material Header in a reference plant. The reference plant does not have a scheduling margin key. I am getting error 'Enter the scheduling margin key'. The BAPI is expecting the plantdata-sm_key. I have tried passing space but that does not work. Please help

    Hi Sabita,
    You can have a proper understanding of the functionality of BAPI  and be familiar with what data you need to be filled in the fields.
    BAPI_MATERIAL_SAVEREPLICA
    FUNCTIONALITY
                   Use this method to create new material master data or change existing material master data. Every time this method is called, data for one or more materials can be transferred.
    When new material master data is created, the material number, the material type and the sector must be sent to the method. Furthermore, a short text and the language in which the short text has been created, have to be entered. When data is being changed, only the material number need be entered.
                  First, the appropriate fields in the tables (for example, CLIENTDATA) have to be filled with data by the user. These fields must also be flagged as the method data can only be written to the database if this is the case. The user must also provide data for the appropriate fields that have been selected in a checkbox table (for example, CLIENTDATAX). Checkbox tables exist for tables that do not contain language-dependent texts (MAKT, MLTX), European article numbers (MEAN) and tax classifications (MLAN). More than one data record can be created for a material in these tables (for all materials transferred to the method).
    CALL FUNCTION 'BAPI_MATERIAL_SAVEREPLICA' "BAPI for Mass Maintenance of Material Data
      EXPORTING
        noappllog =                 " bapie1global_data-no_appl_log  Do Not Write an Application Log
        nochangedoc =               " bapie1global_data-no_change_doc  Do not write change documents
        testrun =                   " bapie1global_data-testrun  Switch to Simulation Session for Write BAPIs
        inpfldcheck =               " bapie1global_data-inp_fld_check  Response if Fields Are Inactive
      flag_cad_call = SPACE       " bapie1global_data-testrun  Call From CAD System
      no_rollback_work = SPACE    " bapie1global_data-testrun  Override Rollback Work
      flag_online = SPACE         " bapie1global_data-testrun  No ALE Field Selection
      IMPORTING
        return =                    " bapiret2      Return Parameter
      TABLES
        headdata =                  " bapie1matheader  Header Segment with Control Information
      clientdata =                " bapie1mara    Material Data at Client Level
      clientdatax =               " bapie1marax   Update Information for CLIENTDATA
      plantdata =                 " bapie1marc    Material Data at Plant Level
      plantdatax =                " bapie1marcx   Update Information for PLANTDATA
      forecastparameters =        " bapie1mpop    Forecast Parameters
      forecastparametersx =       " bapie1mpopx   Update Information for FORECASTPARAMETERS
      planningdata =              " bapie1mpgd    Change Document Structure for Material Master/Product Group
      planningdatax =             " bapie1mpgdx   Update Information for PLANNINGDATA
      storagelocationdata =       " bapie1mard    Material Data at Storage Location Level
      storagelocationdatax =      " bapie1mardx   Update Information for STORAGELOCATIONDATA
      valuationdata =             " bapie1mbew    Valuation Data
      valuationdatax =            " bapie1mbewx   Update Information for VALUATIONDATA
      warehousenumberdata =       " bapie1mlgn    Warehouse Number Data
      warehousenumberdatax =      " bapie1mlgnx   Update Information for WAREHOUSENUMBERDATA
      salesdata =                 " bapie1mvke    Sales Data
      salesdatax =                " bapie1mvkex   Update Information for SALESDATA
      storagetypedata =           " bapie1mlgt    Storage type data
      storagetypedatax =          " bapie1mlgtx   Update Information for STORAGETYPEDATA
      materialdescription =       " bapie1makt    Material Descriptions
      unitsofmeasure =            " bapie1marm    Units of Measure
      unitsofmeasurex =           " bapie1marmx   Update Information for UNITSOFMEASURE
      internationalartnos =       " bapie1mean    International Article Numbers (EANs)
      materiallongtext =          " bapie1mltx    Long Texts
      taxclassifications =        " bapie1mlan    Control Data
      prtdata =                   " bapie1mfhm    Production Resource Tool (PRT) Fields in the Material Master
      prtdatax =                  " bapie1mfhmx   Update Information for PRTDATA
      extensionin =               " bapie1parex   Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
      extensioninx =              " bapie1parexx  Checkbox Structure for Extension In/Extension Out
      forecastvalues =            " bapie1mprw    Data Transfer for Forecast Values
      unplndconsumption =         " bapie1mveu    Data Transfer for Unplanned Consumption
      totalconsumption =          " bapie1mveg    Data Transfer for Total Consumption of Material
      returnmessages =            " bapie1ret2    Substitute Structure for Return Parameter BAPIRET2
        .  "  BAPI_MATERIAL_SAVEREPLICA
    Regards,
    Soundarya.

  • Creation of Business Objects

    Hello,
    I have created Z BO using std BO image as Super Type. In the ZBO i have created my own method and event.
    In this method i call a Z Function Module.
    I have created Parameters for this method.
    I have set the status of this Z BO to release.
    I create container in WF and assign this BO in the D.Type Tab under object type radio button.
    I create step 'Condition' and in this when i click to create the condition by calling the created container i cannot see the new method which i created under the methods.
    I need this method parameter values to put a condition and proceed further in the WF.
    Kindly suggest...
    Cheers,
    Madhu.

    Hi Sam,
    I have created the custom Bo from the Std Bo Image...
    In the Custom BO i have created method with three parameters and a Event.
    a) Importiing Parameter
    b) Multiline  Parameter
    c) Exporting Parameter (Flag)
    In the method which i have created i call up a Z function module which check takes the input from the the parameters and does validation inside.
    If the validation is correct i get the Flag parameter empty else it will be 'X'.
    If the flag is 'X' then i need to send a mail saying wrong data else a mail saying correct data..
    So now when i execute the WF the process is done in background and it stops at the task step where i have done the binding..
    the value of flag is not passed down and the WF stops saying
    In-Process in the WF log..
    Kindly Suggest..
    Cheers,
    Madhu.

  • Problem in Material create through BAPI

    Hi All,
             For creating MATERIAL first used BAPI_MATERIAL_GETINTNUMBER for material no generation and for creation material master BAPI_MATERIAL_SAVEDATA.
    <garbled code removed>
    Moderator message: Post relevant portions of the code only!
    My problem is material no is not created and passing into second bapi.
    Help me out of this
    Edited by: Suhas Saha on Jun 17, 2011 8:01 PM

    Hi Venkatesh,
    *Use This Bapi :BAPI_MATERIAL_SAVEREPLICA and pass values as mentioned below.*
    Use this method to create new material master data or change existing material master data. Every time this method is called, data for one or more materials can be transferred.
    When new material master data is created, the material number, the material type and the sector must be sent to the method. Furthermore, a short text and the language in which the short text has been created, have to be entered. When data is being changed, only the material number need be entered.
    In the header data, at least one view has to be selected for which the data is to be created. Depending on the selected view, additional mandatory parameters that have been defined as such in Customizing have to be created. If not all mandatory fields are field with data, the method ends with an error message being displayed.
    First, the appropriate fields in the tables (for example, CLIENTDATA) have to be filled with data by the user. These fields must also be flagged as the method data can only be written to the database if this is the case. The user must also provide data for the appropriate fields that have been selected in a checkbox table (for example, CLIENTDATAX). Checkbox tables exist for tables that do not contain language-dependent texts (MAKT, MLTX), European article numbers (MEAN) and tax classifications (MLAN). More than one data record can be created for a material in these tables (for all materials transferred to the method).
    If a structure contains fields for a unit of measure (for example, structure CLIENTDATA, field BASE_UOM), language indicator (for example, structure MATERIALDESCRIPTION, field LANGU) or country identifier (for example, structure TAXCLASSIFICATIONS, field DEPCOUNTRY) then a similarly-named field ending with _ISO also exists. In doing so, the user has the option of using the internal SAP code or the ISO code for units of measure, language indicators or country identifiers. ISO codes are converted into an SAP code for further processing. The ISO code is only used if the SAP code is not displayed. In Customizing under "General Settings", a clear assignment has to be made between the ISO codes and the SAP codes for the following activities, if you want to use ISO codes:
    If a structure contains fields for units of measurement (such as structure CLIENTDATA, field BASE_UOM), language indicators (such as structure MATERIALDESCRIPTION, field LANGU), or country indicators (such as structure TAXCLASSIFICATIONS, field DEPCOUNTRY), there is always a field of the same name with the ending _ISO. This makes it possible to transfer either the internally used SAP code or a standardized ISO code for the units of measurement, language indicators, or country indicators. ISO codes are converted to an SAP code internally for further processing. The ISO code is used only if the SAP code is not transferred. If you use ISO codes, there must be a unique assignment of the ISO code to the SAP code in the following activities in Customizing for Global Parameters:
    Check Units of Measurement
    Define Countries
    If long texts (for example, basic data texts, internal notes, purchasing info texts, material notes or sales and distribution texts) or customer-specific fields have to be created for a material, some specific characteristics have to be taken into consideration. These characteristics are detailed in the documentation for parameters MATERIALLONGTEXT and EXTENSIONIN.

  • How to use requestScope in faces-config.xml file?

    a managed-bean need get value from request as its property
    so i configure the manged-bean as below:(use requestScope object)
    <managed-bean>
    <description>this is for item test bean.</description>
    <managed-bean-name> item </managed-bean-name>
    <managed-bean-class> test.Item </managed-bean-class>
    <managed-bean-scope> request </managed-bean-scope>
    <managed-property>
    <property-name>id</property-name>
    <value-ref>requestScope.id</value-ref>
    </managed-property>
    </managed-bean>
    but it didnot work.
    after i restart tomcat with above configure file, it report
    HTTP Status 404 error.
    and seemed that the context donot start...
    if i change the line
    <value-ref>requestScope.id</value-ref>
    to:
    <value>7</value>
    then everything will be OK...but this isnot fit my require.
    any body can help me?
    I use JSF 1.0 beta.

    Rather than starting a new thread, I thought I'd just add on to this one, since it already lays the grounds for my question. I'm using the
    I noticed that my setId() method is being called once during the ApplyRequestValuesPhase, and then again in the UpdateModelValuesPhase. The first time, it sets the ID to null, despite the fact that I'm posting an id to the page. When it comes around the second time, it sets the id properly, and the data is loaded from the database and everything works great. If I'm not posting anything to the page, it is only hit once and the value is null.
    Normally I wouldn't fuss over such small things like this, but there's a bit of a probelm. I have a few buttons which are rendered based on this id. If the id is zero (i.e. null or empty string is passed into the setId() method), I want the add button to appear, else I want the update/delete/cancel buttons to appear. If any of these buttons are false after the ApplyRequestValuesPhase, the button's action will not be executed. In other words, when I'm editing an entry and I press the update button the life cycle goes a little like this...
    Object constructed
    ApplyRequestValuesPhase calls setId(null),add button to be rendered, update/delete/cancel to not be rendered
    // the call to save() is not queued up! (save() is the method associated with the action of my update button)
    UpdateModelValuesPhase calls setId("34"), data loaded from database, add button is not to be rendered, update/delete/cancel are to be rendered
    Since save() is never called, it renders the data loaded from the database, and the update/delete/cancel buttons are shown. So, from the user's perspective... nothing happened other than a page refresh. A.k.a. the update button is broken!
    I can, of course, choose to not update the boolean flags which determine if the buttons are rendered or not when setId() is called with a null. Since the default is to render everything (which was a decision specifically to avoid the buttons not being rendered in the early stages of the JSF life cycle, and the action not being executed). That works when I post an id to the page because it's called a second time and the correct buttons are rendered. The problem is when no parameters are given... it isn't called a second time, so it renders all buttons when I only want it to render the add button.
    So how can I get the values to post during the ApplyRequestValuesPhase? I thought that would be how it would work, but apparently not. Anyone know why it explicitly sets the id to null the first time aroud?
    Here's all you should need...
        <managed-bean>
            <managed-bean-name>dropdownEntry</managed-bean-name>
            <managed-bean-class>org.dc949.bugTrack.DropdownEntry</managed-bean-class>
            <managed-bean-scope>request</managed-bean-scope>
            <managed-property>
                <property-name>id</property-name>
                <value>#{param.id}</value>
            </managed-property>
        </managed-bean>
        public void setId(String id) {
            try {
                this.id = Long.parseLong(id);
                load();  // loads data from DB
            } catch(Exception e) {
                if(id != null && !id.equals(""))
                    log.warn("Unable to convert id from String to long ("+id+")", e);
            if(id != null) {  // this was my solution while I was frusterated that my save method wasn't being called
                if(this.getIdAsLong() == 0) {
                    this.showAdd = true;
                    this.showUpdate = false;
                    this.showDelete = false;
                } else {
                    this.showAdd = false;
                    this.showUpdate = true;
                    this.showDelete = true;
                        <t:div>
                            <h:commandButton id="add" value="Add dropdown entry"
                                             rendered="#{dropdownEntry.showAddButton}"
                                             action="#{dropdownEntry.save}" />
                            <h:commandButton id="update" value="Update dropdown entry"
                                             rendered="#{dropdownEntry.showUpdateButton}"
                                             action="#{dropdownEntry.save}" />
                            <h:commandButton id="delete" value="Delete dropdown entry"
                                             rendered="#{dropdownEntry.showDeleteButton}"
                                             action="#{dropdownEntry.deleteDropdownEntry}" />
                            <h:commandButton id="cancel" value="Cancel"
                                             rendered="#{dropdownEntry.showUpdateButton}"
                                             action="#{dropdownEntry.reset}" immediate="true" />
                        </t:div>I could, and probably will get rid of the showDeleteButton flag and isShowDeleteButton() method and make it like the cancel button since these update/delete/cancel will always be shown/hidden together.
    Edit: Now I feel like a fool. A little clean and build, and it's working perfectly. If any one of the above people read this, I thank you for your help from years past. <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" />
    Edited by: AdamNichols on Apr 18, 2008 9:57 PM

  • Create new CBO statistics for the tables

    Dear All,
    I am facing bad performance in server.In SM50 I see that the read and delete process at table D010LINC takes
    a longer time.how to  create new CBO statistics for the tables D010TAB and D010INC.  Please suggest.
    Regards,
    Kumar

    Hi,
    I am facing problem in when save/activating  any problem ,so sap has told me to create new CBO statistics for the tables D010TAB and D010INC
    Now as you have suggest when tx db20
    Table D010LINC
    there error comes  Table D010LINC does not exist in the ABAP Dictionary
    Table D010TAB
         Statistics are current (|Changes| < 50 %)
    New Method           C
    New Sample Size
    Old Method           C                       Date                 10.03.2010
    Old Sample Size                              Time                 07:39:37
    Old Number                51,104,357         Deviation Old -> New       0  %
    New Number                51,168,679         Deviation New -> Old       0  %
    Inserted Rows                160,770         Percentage Too Old         0  %
    Changed Rows                       0         Percentage Too Old         0  %
    Deleted Rows                  96,448         Percentage Too New         0  %
    Use                  O
    Active Flag          P
    Analysis Method      C
    Sample Size
    Please suggest
    Regards,
    Kumar

Maybe you are looking for

  • Support for multiple realms in JAZN

    Hello, I am trying to write a security application for users across multiple JAZN realms. In my jazn.xml, I have to specify a default realm against which I wanna authenticate my user. But I want to authenticate users from multiple realms and so I wan

  • HR_INFOTYPE_OPERATION update

    hi, i was using HR_INFOTYPE_OPERATION to update pa0219 DB table...... but its going to dump.....guide me...here is what i was passing to this.... CALL FUNCTION 'HR_INFOTYPE_OPERATION'       EXPORTING         infty         = lc_0219         number    

  • Cant open Exchange 2010 mailboxes by Exchange 2013 user, using MFCMAPI tool

    Hi, I want to create superadmin user, which is capable of accessing all mailboxes in AD. With this account, I want to open information store of each mailbox(from MFCMAPI). I am facing issue, while opening Exchange 2010 user's mbx , if superadmin host

  • Oracle 10 g new feature

    Hi All, I just started using Oracle 10 g. could you please tell me 10 g new feature which help me in PL SQL ... Thanks in Advance.

  • 1520 Camera not working

    The camera of my new, out of the box Nokia 1520 does not work.  Tapping Nokia Pro Cam turns the screen black.  Tapping Camera turns the screen black shows the text 'Allow the camera to use your location?" briefly, before returning to the previous scr