[Solved] JSON if statement

So I'm trying to configure i3 with conky and want to know if my volume is on or not. The JSON I'm using is
{"full_text": ${if_match ${exec amixer get Master | grep "%" | cut -d' ' -f8}=[off]}"OFF" ,"color":"\#dc322f"},
{"full_text": "${else}"},
{"full_text": ${if_match ${exec amixer get Master | grep "%" | cut -d' ' -f8}=[on]}"ON" ,"color":"\#dc322f"},
{"full_text": "${endif}${endif}"},
But no matter what the value is the first satement (OFF) is only showed. What am I doing wrong with the if satement?
SOLUTION:
saf1 wrote:
from man conky:
if_match expression
stringArgument is enclosed in quotation marks (")
Valid operands are: '>', '<', '>=', '<=', '==', '!='.
so the ${if_match} statement in your code should look like this:
${if_match "${exec amixer get Master | sed -n '/%/s/^.*\[\(.*\)\]$/\1/gp'}" == "off"}
${else}
${if_match "${exec amixer get Master | sed -n '/%/s/^.*\[\(.*\)\]$/\1/gp'}" == "on"}
${endif}
${endif}
HTH.
Last edited by Mapl3 (2015-01-27 00:20:43)

saf1 wrote:
from man conky:
if_match expression
stringArgument is enclosed in quotation marks (")
Valid operands are: '>', '<', '>=', '<=', '==', '!='.
so the ${if_match} statement in your code should look like this:
${if_match "${exec amixer get Master | sed -n '/%/s/^.*\[\(.*\)\]$/\1/gp'}" == "off"}
${else}
${if_match "${exec amixer get Master | sed -n '/%/s/^.*\[\(.*\)\]$/\1/gp'}" == "on"}
${endif}
${endif}
HTH.
Worked like a charm. Though I did try with '=='.

Similar Messages

  • [SOLVED] Error : sys\stat.h: No such file or directory

    I get "...sys\stat.h: No such file or directory" error when compiling a simple C program. i have been searching for a while on web and see people writing "# pacman -S base-devel" i have that already and some more packages like glib ...
    These are the includes i am using :
    #include <stdio.h>
    #include <stdlib.h>
    #include <io.h>
    #include <fcntl.h>
    #include <sys\stat.h>
    // here is when i use the libraries sys/stats.h
    struct stat stbuf;
    stat(argv[2], &stbuf);
    int infSize = stbuf.size;
    This is the output of the command "gcc -o copy copy.c" :
    copy.c:3:16: error: io.h: No such file or directory
    copy.c:5:22: error: sys\stat.h: No such file or directory
    copy.c: In function 'main':
    copy.c:35: error: storage size of 'stbuf' isn't known
    Either i am missing any package needed or the gcc compiler is missing any lib directory. But i dont know which one is it.
    Any ideas are apreciated. Thanks you
    EDIT : The error was actually on #Include <io.h> , but i dunno why it conflicted with #include <sys\stat.h>.
    Anyway Problem Solved.
    Last edited by puzzled (2008-10-05 17:07:03)

    If you're not sure if you have the SDKs, can you confirm you have the files under /Developer? Check for /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/X11
    I don't remember having to do anything special to get gcc to find these files.
    From what I've noted, the usual trigger seems to be that the X11SDK.pkg package wasn't installed.
    Typical PATH export is:
    export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
    If you're working with Fink, there's a call to the following needed:
    . /sw/bin/init.sh
    See http://finkproject.org/doc/users-guide/install.php
    But I'd first make sure the X11 SDK was installed. I'd guess that is missing.

  • Help me to solve this. select statement!

    hello alll
    is there any functional module which gives me the BELNR(of bseg) by passing the vbeln.
    yeah ...we can do tht by passing bseg table ,,,,but its taking loads of time to give me the output as its not a primary key or secondary key.....
    when i m using this condition in the prog i cannot use inner join as its a cluster table . if i m writing a condition it is effecting my prog performance
    this statement is really taking long time to process.
    in bseg table as vbeln is not primary key or seconday key, i guess thz the reason it is taking so much time ,,,
    can anyone help me to sort this out... ??
    any fun mod to get the data of bseg cluster table by giving vbeln?/
    or any other conditions to reduce the processing time?
    clear t_vbrkvbrp.
    sort t_vbrkvbrp by vbeln.
    loop at t_vbrkvbrp.
    at new vbeln.
    select bukrs belnr vbeln
    from bseg
    into corresponding fields of table t_temp
    where bukrs = t_vbrkvbrp-bukrs
    and vbeln = t_vbrkvbrp-vbeln.
    endat.
    endloop.
    SELECT bukrs belnr buzid koart shkzg dmbtr vbeln hkont kunnr werks
    FROM bseg
    INTO TABLE t_bseg
    for all entries in t_temp
    WHERE hkont IN s_hkont
    AND bukrs = t_temp-bukrs
    AND belnr = t_temp-belnr
    AND buzid = ' '
    AND koart = 'S'
    AND shkzg = 'H'.
    i need to get the g/l account number and belnr from bseg for the above condition type so i have to use bseg table
    as there is no apporpriate index it is scanning the full table ,,,, so can anyone tell me how to create a index or like wise to get the data faster??

    Don't use BSEG, use BKPF and fields AWTYP, AWREF which link a financial document to the application and document that generated it. (The "original document" under transaction like FB03)
    <i>Example: "RMRP" + invoice number for purchase invoice</i>
    In  some case you need an intermediate table
    <i>Example: from EKPO, EKBE, you get the MKPF records and from them the BKPF/BSEG</i>
    For a list of "referenced procedures" Look at TTYP (text table is TTYPT), you will get the code, structure used to build the key (if more than one field) and a function module used to display the origin
    <i>Example :  MKPF "Material document" structure MKPF_AWKEY function module MB_DOCUMENT_SENDER_MKPF</i>
    You can also look at your accounting documents found with the "slow" BSEG version of your program and establish a list of AWTYP used in you company/customer.
    An other way, used in some companies, is to append a structure with EBELN field to BSIS and BSAS table, these table are filled via a MOVE-CORRESPONDING statement, so the nesw records will be filled (You may write a program to update past records) then create an index on EBELN on these fields.
    Regards
    PS: BSEG is a cluster table, so the only real criteria are the primary keys, if you select via EBELN, the program read the whole table, may be correct in Development, but not in Production and there it will be more and more resources consuming. So NEVER select from BSEG vithout the primary keys, use the secondary tables : BSIS/BSAS, BSIM, etc.

  • [SOLVED] Load ALSA state on startup but do not save on shutdown

    I found that my options here are either to leave /etc/alsa with no state-daemon.conf to use alsa-store.service and alsa-restore.service or to touch that file to cause alsa-state.service to take over. What if I want to load the same volume state every time the computer starts (in my case, load in with the speakers muted)? Would it be safe to remove alsa-store.service from /usr/lib/systemd/system and keep it under my root's home directory, or should I just write a service to mute on boot, instead?
    Last edited by Thisguy_ (2014-09-04 17:50:17)

    I tried running alsactl store at boot, but alsa-store.service does that on shutdown as well - therein lies the problem. I suppose a better way to do this would be to switch to using alsa-state.service and then add alsactl restore to my .xinitrc. I'll give that a try now.
    EDIT: Didn't work. Running alsactl restore manually complains of a state lock on a file and does not mute the speakers.
    Let me be more specific about these services - they're statically loaded. They execute themselves as the result of a file exist test on /etc/alsa/state-daemon.conf, and either alsa-state or alsa-store and alsa-restore take over - alsa-state if it exists and alsa-(re)store if it doesn't.
    EDIT: That's what I get for not reading. Switched back to store and restore and changing alsactl restore to alsactl restore -f ~/.alsa.state after having generated that file. Here goes nothing.
    EDIT: Like a charm. Thanks!
    Last edited by Thisguy_ (2014-09-04 17:50:03)

  • [SOLVED] GPU RC6 states.

    What is the difference between RC6, RC6p and RC6pp?
    On my laptop they all appear to be the same, I mean there is no noticeable difference between them in power consumed by video in idle state on my system.
    Last edited by eruditorum (2013-02-16 16:39:40)

    I don't know much about RC6 but, from what I have read, a lot of distros have RC6 enabled but RC6p and RC6pp disabled due to instability issues. Seems a likely explanation as to why you don't notice a difference. Also, I found out this information in 30 seconds on google. Google is your friend
    Greets!

  • [Not solved]systemd-tmpfiles stat(/run/user/myuser/gvfs) failed: Perm

    I get this error message since a couple of days and systemd-tmpfiles service is slow to start compared to before. I have no arch-units/initscripts anymore. I update everyday but I can see no updates that sticks out in pacman-log, on the day before this failure appeared. (systemd-tools was updated 3 days before this error)
    Permissions;
    /run/user
    drwxr-xr-x 3 root root 60 7 jun 10.51 .
    drwxr-xr-x 11 root root 340 7 jun 10.51 ..
    drwx------ 3 myuser myuser 80 7 jun 10.51 myuser
    /run/user/myuser
    drwx------ 3 myuser myuser 80 7 jun 10.51 .
    drwxr-xr-x 3 root root 60 7 jun 10.51 ..
    dr-x------ 2 myuser myuser 0 7 jun 10.51 gvfs
    lrwxrwxrwx 1 root root 17 7 jun 10.51 X11-display -> /tmp/.X11-unix/X0
    /run/user/myuser/gvfs
    dr-x------ 2 myuser myuser 0 7 jun 10.51 .
    drwx------ 3 myuser myuser 80 7 jun 10.51 ..
    EDIT: Now I've look at the files;
    /usr/lib/tmpfiles.d
    totalt 160K
    drwxr-xr-x 2 root root 4,0K 2 jun 15.54 .
    drwxr-xr-x 167 root root 128K 7 jun 07.34 ..
    -rw-r--r-- 1 root root 30 1 jun 02.28 console.conf
    -rw-r--r-- 1 root root 29 27 maj 06.29 consolekit.conf
    -rw-r--r-- 1 root root 719 1 jun 02.28 legacy.conf
    -rw-r--r-- 1 root root 729 1 jun 02.28 systemd.conf
    -rw-r--r-- 1 root root 449 1 jun 02.28 tmp.conf
    -rw-r--r-- 1 root root 622 1 jun 02.28 x11.conf
    And the only thing possibly close is; d /run/user 0755 root root 10d
    from systemd.conf.
    Last edited by swanson (2012-06-08 07:20:28)

    Nope, error still there and no clue what's happening. It occurs without me trying to mount anything, no usb's, no phones and no disks.

  • How to stop orchestration from dehydrated state to rehydrated state

    Hi.... When ever we drop a file in my application recieve location it is getting executed but when we are dropping more files one and one another for the third or fourth time the orchestration is going to dehydrated state.... so i should stop going to
    dehydrated state...from past three months i am suffering with dehydrated state....here we didnt used any listen shape in this orchestration.....i know only one solution restarting the application and host instances to solve this dehydrated state.....can you
    please give me other solutions to stop from this dehydrated state...

    The Delay shape and non-activating Receive shape are also possible candidates for dehydration. Are you using any of these shapes?
    In addition, there are other reasons that can cause dehydration http://msdn.microsoft.com/en-gb/library/aa561788.aspx
    Thanks, Murugesan M - Please Mark as the Answer, if this answers your question. Please vote as helpful, if this post is helpful.

  • Fitting browser window & "home" state

    Hey,
    So I have these two questions:
         1. Is there a way to make my flash content, when viewed in a browser, either prohibit the expansion of a window it is in or somehow make it so when the browser's window is expanded, the border surrounding my flash content expands with the window without having my flash content expand as well?
         (Ex: I have flash content in the middle of the page. A 100 pixel wide border is on the edge of the screen, about 200 pixels away from the flash content. When I expand the window, I want just the border to follow the window but keep the flash content centered.)
         2. I have been working on this project only for a couple days and all of a sudden the "home" state, the one which displays first when I run the project, is now the third state in my timeline on the top. It was always the first state on the top which showed first, but now it has changed. I have tried dragging the states but nothing has worked. Any suggestions?
    If any of this requires Dreamweaver I do not mind.
    Thanks.

    Hey,
    I have solved the "home" state problem. But the other one is still unsolved.

  • Webstart no longer works after update from Java 7 Update 67 to Java 7 Update 71/72

    Hi,
    We have an application that is launched via Webstart.  Last year, we had to make a bunch of changes to the application in order to work with Java 7 Update 45.  It has been working fine up to and including Java 7 Update 67.  However, it is no failing with Java 7 Update 71 and 72.  Upon launch it is giving the error below. I have searched online and found other articles related to the AccessControlException but they are about 7 years old.  I also tried adding this to the java.policy file with no luck.  Any ideas or help would be appreciated to determine what I can do to get this to work for update 71.
    java.security.AccessControlException: access denied ("java.util.PropertyPermission" "eclipse.exitcode" "write")
        at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.FrameworkProperties.setProperty(FrameworkProperties.java:64)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:216)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
        at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:78)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
        at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:56)

    krubar wrote:
    I have same problem on Sparc system (Solaris 10). Does anybody know how to fix it ? I can't change symbolic link for javaAre you certain that you are experiencing exactly the same issue? Did you follow the hyperlinks to the Sun Solve documents above?
    The Sun Solve document itself states:
    1. Solaris 8 and 9 and OpenSolaris and Solaris 10 on the SPARC platform are not impacted by this issue.I would suggest that you open a Support Call with your local solutions centre.

  • Smpatch no longer works after update from SUC proxy!

    Hi,
    I ran smpatch update against our local SUC proxy. It said some patches needed a reboot so I did "init 6" after it finished and the system shutdown, installing some patches, and then booted again...
    Now the system as such seems to work fine but "smpatch analyze" fails with this weird error:
    Exception java.lang.OutOfMemoryError: requested -4 bytes for size_t in /BUILD_AREA/jdk1.5.0_21/hotspot/src/os/solaris/vm/os_solaris.cpp. Out of swap space?
    And just running "java" fails with the same error message.
    However running "java -client" works!
    Any ideas how to fix this?!?
    I tried to install the latest recommended patch cluster but that did not help. )-:
    Alternatively is there a way to make smpatch use "java -client" so that it works?
    Thanks a lot in advance!
    Best regards,
    Anton

    krubar wrote:
    I have same problem on Sparc system (Solaris 10). Does anybody know how to fix it ? I can't change symbolic link for javaAre you certain that you are experiencing exactly the same issue? Did you follow the hyperlinks to the Sun Solve documents above?
    The Sun Solve document itself states:
    1. Solaris 8 and 9 and OpenSolaris and Solaris 10 on the SPARC platform are not impacted by this issue.I would suggest that you open a Support Call with your local solutions centre.

  • Weblogic Integration 10r3 error in msg-header-2_0.xml

    Hello,
    I am trying to go through te WLI workshops, but cannot publish a WLI process.
    The Tutorial_Process_Application RequestQoute.java has the following error in the msg-header-2_0.xml:
    Severity and Description     Path     Resource     Location     Creation Time     Id
    Referenced file contains errors (http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd). For more information, right click on the message and select "Show Details..."     Tutorial_Process_Application_Utility/schemas/system     msg-header-2_0.xsd     line 1     1257804610777     410
    A new WLI project from scratch gives te same error, it is as if the msg-header-2_0.xml is not correctly generated when the WLI process is created.

    Aha! problem solved :)
    The tutorial states : 'Select the Add WebLogic Integration System and Control Schemas to Utility Project check box to add the system schemas to the Schemas folder under the Utility project.'
    If you do that it does not work, and i get the errors I discribed in the post, howerver if ypu leave it blanked out, the process can be published, without error or warnings.
    As I am new to WLI (use to work with Oracle Bpel) I have no idea about the importance of adding the Integration system and control schemas to the utility project.
    However as my goal is to work through the workshops, I wil worry about it later.
    Edited by: DaveVQ on 14-nov-2009 5:39

  • Error testing property 'inputValue' in bean of type null

    Hi, I'm developing two simple pages: List and Edit. When I execute a Submit button to go to Edit page I get the next exception in the page
    exception
    org.apache.jasper.JasperException: javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    root cause
    javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274)
    oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124)
    com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236)
    com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209)
    com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:211)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.FormElementRenderer.renderAsElement(FormElementRenderer.java:155)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getLabelFor(InputLabelAndMessageRenderer.java:53)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer$Label.getForId(LabelAndMessageRenderer.java:500)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputLabelRenderer.encodeAll(OutputLabelRenderer.java:69)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:281)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderLabelCell(LabelAndMessageRenderer.java:222)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:159)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.encodeAll(InputLabelAndMessageRenderer.java:94)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:246)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
    oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
    oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
    oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
    javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
    javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
    oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_afh_005fbody_005f0(am_005fprovincia_jspx.java:196)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_afh_005fhtml_005f0(am_005fprovincia_jspx.java:148)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspx_meth_f_005fview_005f0(am_005fprovincia_jspx.java:118)
    org.apache.jsp.app.private_.am_005fprovincia_jspx._jspService(am_005fprovincia_jspx.java:88)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
    com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
    com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
    oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    In the Tomcat console....
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    11-09-2008 11:17:19 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel makeCurrent
    WARNING: No row found for rowKey:null
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvId.validator}
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvNombre.validator}
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag createValidator
    SEVERE: attribute 'validatorId' is missing
    11-09-2008 11:17:20 PM oracle.adfinternal.view.faces.taglib.ValidatorTag doStartTag
    WARNING: could not create validator for validatorId:null and binding:#{bindings.ProvDescripcion.validator}
    I'm developing with ADF Faces, JDeveloper 10.1.3.4, BC4J, Tomcat 6.0.18 and MySQL. When I set redirect = true in navigation-case (faces-config.xml) the exception dissapear but not WARNING: rowIterator is null message.
    Can anybody help me with this, please?
    Regards

    I'm confused :-(
    first you said the problem is solved, now you state it isn't.
    It looks like you have a problem with your first page. As far as I see it from the stack trace you try to use an iterator on this page which returns no row, but you try to make on the current row.
    Check the binding of the iterator.
    Timo

  • To search a record from the table by providing a search button in JSP page

    Hi,
    My problem statement is:
    I have a jsp page which displays a table containing records. I have to provide a button called search and a condition in a textfield so that the record which matches the condition gets highlighted.
    Can anyone solve my problem statement. Its urgent.
    Suraj.

    Example:
    on the jsp page, read the matched value the server provides and use it to put the statement in bold using the <b> tag (I dont know the syntax for highlighting).
    <%String matchedString=(String) request.getAttribute("matchingString");%>
    Then in your list:
    <%if(matchedString.compareTo(thisRecordString)==0){%>
    <b>
    <%}%>
    //your text goes here
    <%if(matchedString.compareTo(thisRecordString)==0){%>
    </b>
    <%}%>

  • Module pool program query

    Hi,
    I am working on module pool program.
    I want to calculate sum of two fields into a third field. I have written the same in PAI (using FIELD statement). But say if the user does not click on enter and directly clicks on SAVE button, the numeric fields lose their value.
    Alpha-numeric screen values are getting transported to abap program even if SAVE is directly clicked.
    Kindly help.

    Hi....
    Iam not able to understand your problem.
    Plz get back again...,post the problem clearly!!
    The problem might be solve with CLEAR statement.
    Thanks,
    Naveen Inuganti.

  • ALV LIST - Amounts alignment

    Hi Experts,
    I worked on a development for showing G/L Balance sheet details.
    Screen shot as show below.
    We want to display the amounts of 'BALANCE SHEET TALLY' in proper format. The corresponding amounts should come under the respective Header.
    Like under X999 - 27406233.70 has to displayed and under X998 - 134602810.38 has to be displayed so on.
    Few columns may have '0.00' as value in such case the next column value is coming closer to the column with value as '0.00'. This is creating the problem.
    Please share your ideas/thoughts.
    Regards,
    Rafi

    Hi Experts,
    I solved it using statement write at pos(len) text.
    Regards,
    Rafi

Maybe you are looking for

  • Install NetConnect in Global Zone of Solaris 10 x86 with 5 local zone fail

    Problem: Install NetConnect in Global Zone of Solaris 10 x86 with 5 local zone failed But I didn't have any issue with the same pkg in Solaris 9 Steps taken: # groupadd netcon # useradd -d /export/home/netcon -g netcon -m netcon # vi /etc/shadow chan

  • Windows 8.1 Error 2 need help.

    Hello I finally got an iPhone 5s, and I need to download iTunes so I can update my IOS 7.x to 8.1.2. After I downloaded ITunes I get an error 2 "apple application was not found. Apple Application support is required to run Itunes. Please uninstall It

  • E1000g driver problem

    Hi I have a motherboard with 2 intel PRO/1000 ports on it, and also a PCI board with 4 of the same. # prtconf -D gives me pci8086,341a, instance #0 (driver name: e1000g) pci8086,341a, instance #1 (driver name: e1000g) pci8086,1000, instance #2 (drive

  • Cost Centers in FI?

    THis may seem like an obvious questions but I need some help.  I support Finance (in IT) but I am not an accountant and we are in the middle of implementing SAP (new GL) (currently using PeopleSoft).  Are cost centers in FI?  I've taken SAP classes a

  • Issue with Capacity Levelling-CM25

    Hi Everyone, We use CM25 for capacity levelling. Issue: Total Capacity req. = 186.8 Hr Available Capacity on 01.01.2012 on the resource = 380.2 Hr Now when I try to dispatch the capacity req. for a planned order manually on 01.01.2012, system distrib