New to Struts - logic:if error - am I not properly defining a bean?

I am going through what are for the most part simple Struts examples and tutorials on my company's Intranet. The example below should be testing against the pre-defined <logic:if> and <logic:or> statement values and spitting out either the 'one or more conditions are true' or 'none of the conditions are true' depending.
That said, I am getting an error with the following block of code (at line 11) just before the first logic:if statement and I am hoping for help in determining where I have gone astray.
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/tlds/marketmaker.tld" prefix="abc" %>
<%@ taglib uri="/tlds/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/tlds/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/tlds/struts-html.tld" prefix="html" %>
<%@ taglib uri="/tlds/jdo.tld" prefix="jdo" %>
<%@ taglib uri="/tlds/string.tld" prefix="str" %>
<abc:page>
     <h3>logic:if</h3>
       <logic:if name="calendarBean" property="month" op="equal" value="March">
       <logic:or name="calendarBean" property="year" op="lessEqual" value="2012"/> <!-- Note self-closing -->
       <logic:or name="calendarBean" property="day" op="equal" value="Friday"/>
         <logic:then>
            <p>At least one condition above is true.</p>
          </logic:then>
          <logic:else>
            <p>None of the conditions are true.</p>
          </logic:else>
       </logic:if>
</abc:page>Again, the error is at line 11, occurring at or just before the <logic:if> statement. I presume it is because a bean must be properly defined.
I tried the following variations of <bean:define> and keep coming up with the same error.
<bean:define id="calendarBean" name="myCalendarBean" value="March" />
<bean:define id="calendarBean" name="calendarBean" value="March" />
<bean:define id="calendarBean" name="calendarBean"/>
<bean:define id="calendarBean" name="myCalendarBean"/>
<bean:define id="myCalendarBean" name="calendarBean"/>
<bean:define id="calendarBean" value=""/>
<bean:define id="calendarBean" value="false"/>
<bean:define id="calendarBean"/>Am I right about defining a bean first? If yes, what am I doing incorrectly in the aforementioned <bean:define> declarations listed above?
If you see something entirely different (and wrong) please do let me know.
Edited by: 924359 on Mar 29, 2012 1:03 PM

Try a Struts forum. This isn't one. Locking.

Similar Messages

  • Logical System Name 'WD_RFC_METADATA_DEST' is not properly defined in SLD

    Hi,
    Im getting this error message:
    <h3>
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: 'WD_RFC_METADATA_DEST' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_RFC_METADATA_DEST' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
    </h3>
    What action should I take to fix this error? is this a web dynpro side error or basis error?
    Thanks!

    Dear TJ Ronald Amorado
    Please test the JCO destination for the model data and meta data which you are using in the webdynpro model.
    As per the error message you are getting 'WD_RFC_METADATA_DEST' is not defined in the QA.
    Please create it in the QA manually and test it. Refer to document : - [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?QuickLink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?QuickLink=index&overridelayout=true]
    Copy the name of the modeldata and metadata and use the same name in logical destination during model creation in webdynpro.
    Hope it will helps.
    Best Regards
    Arun Jaiswal

  • LR 5 two installation. Dektop and Notebook. Notebook changed. LR 5 license deleted. New Notebook, new installation LR 5. Error Message, Key not valid at this status.

    LR 5 two installation. Dektop and Notebook. Notebook changed. LR 5 license deleted. New Notebook, new installation LR 5. Error Message, Key not valid at this status. How can I do for the new installation.

    Am 15.08.2014 14:03, schrieb dj_paige:
    >
          LR 5 two installation. Dektop and Notebook. Notebook changed. LR
          5 license deleted. New Notebook, new installation LR 5. Error
          Message, Key not valid at this status.
    created by dj_paige <https://forums.adobe.com/people/dj_paige> in
    /Photoshop Lightroom/ - View the full discussion
    <https://forums.adobe.com/message/6642924#6642924>

  • Itunes startup error itunes was not properly installed. If you wish to ....

    itunes startup error
    itunes was not properly installed. If you wish to import or burn cds, you need to reinstall itunes
    help?

    Are you actually unable to import or burn CDs? I get that error every time as well, but I don't actually have any problems.

  • Oracle 10g: Initialization error SQL*Net not properly installed

    Hello, everyone.
    I have an app that uses Oracle 10g client to connect a remote Oracle 10g server.
    I encountered a pop-up error saying
    " Initialization error SQL*Net not properly installed. "
    OracleHomeKey: SOFTWARE\ORACLE
    OracleHomeDir:
    Please advise a fix.
    Thanks.

    Maybe PL/SQL Developer is trying to use some missing registry values, or a missing ORACLE_HOME environment variable
    Check the ORACLE_HOME is pointing to your 10g client path, and then try to add the following entries in the registry, making a .reg file with the following, replacing with your paths, and executing (from Windows PATH variable
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE]
    "inst_loc"="C:
    Program Files\\Oracle
    Inventory"
    "API"="D:\\oracle\\product\\10.1.0
    db_1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES]
    "HOME_COUNTER"="1"
    "DEFAULT_HOME"="HOME0"
    "LAST_HOME"="0"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ALL_HOMES\ID0]
    "NAME"="Oracle - ORACLE_HOME"
    "PATH"="D:\oracle\product\10.1.0\db_1"
    "NLS_LANG"="NA"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0]
    "ID"="0"
    "ORACLE_GROUP_NAME"="Oracle - ORACLE_HOME"
    "ORACLE_HOME_NAME"="ORACLE_HOME"
    "ORACLE_HOME"="D:\\oracle\\product\\10.1.0\\db_1"
    I hope this help
    Regards,
    Alfonso Vicente

  • Creating extensions Firefox 3.6.13: When dragging an XPI file (even pre-made), i'm always getting some error, which is not properly readable, but it says "not found" and an "ok" button.

    Hi! I want to develop an extension for Firefox.
    My problem is that none of the tutorials and sample which i find online work for Firefox 3.6.13 (on Mac).
    When dragging an XPI file (even pre-made), i'm always getting some error, which is not properly readable, but it says "not found" and an "ok" button.
    Please send me some info on how to make a "helloworld" extension installable in Firefox 3.6.13.
    My email is [email protected] Thank you very much!

    You can try to install the extension via File > Open File
    A forum better suited for such questions is this forum:
    *http://forums.mozillazine.org/viewforum.php?f=19 - mozillaZine Extension Development forum
    You need to register on the MozillaZine forum site in order to post at that forum.

  • Error : Inspection type not properly maintained

    Hi Experts,
    I am trying to perform MB1B for a material and its giving me an error ...." Error : Inspection type not properly maintained" any suggestions would be appreciated...
    Regards
    Albert

    Hi
    Check the material master Quality management view where the inspection type is maintained.
    Check the settings for inspection type in that material master.
    Regards
    Prasad

  • My brand new MBP 13"got the error "there is not enough memory or disk space to convert this document". What gives? Help please!

    I am trying to use mail merge in Word for Mac on My brand new MBP 13". And I get the error "there is not enough memory or disk space to convert this document". What gives? Help please!

    Why do I get there is not enough memory...: Apple Support Communities
    Error message in MS Word opening a .docx file "There is not enough - Microsoft Community

  • Any One Can Help Me--error :-SQL command not properly ended

    hi,
    this code has an error i have tried to find out this error but i can't find it so please help me :-
    report error:
    ORA-06550: line 1, column 149:
    PL/SQL: ORA-00933: SQL command not properly ended
    ORA-06550: line 1, column 7:
    PL/SQL: SQL Statement ignored
    Code
    select HTMLDB_ITEM.HIDDEN(1,SEQ_ID),
    HTMLDB_ITEM.TEXT(2,a.c001) c001,
    HTMLDB_ITEM.TEXT(3,a.c002) c002,
    HTMLDB_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(5,a.c004,'SELECT P_ID D,P_ID R FROM PARTY_DETAIL') c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (6,a.c005,
    'SELECT CATEGARY_NAME D,'||'CATEGARY_NAME R FROM ITEM_CATEGARY',
    'style="width:220px" '
    ||'onchange="get_select_list_xml1(this,'
    || 'f7_'
    || LPAD (seq_id, 4, '0')
    || ')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (7,a.c006,
    'SELECT ITEM_CODE D,'
    ||'ITEM_CODE R FROM ITEM_MASTER'
    ||'WHERE CATEGARY_NAME ='
    || c005,
    'style="width:220px"',
    'YES',
    '0',
    '-Select Code ('
    || (Select Count(*)
    from ITEM_MASTER
    where CATEGARY_NAME = c005)
    || ')-',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(8,a.c007,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_MASTER') c007,
    HTMLDB_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT PACK_TYPE D,PACK_TYPE R FROM ITEM_PACKING') c009,
    HTMLDB_ITEM.TEXT(11,a.c010) c010,
    HTMLDB_ITEM.TEXT(12,a.c011) c011,
    HTMLDB_ITEM.TEXT(13,a.c012) c012,
    HTMLDB_ITEM.TEXT(14,a.c013) c013
    FROM wwv_flow_collections a
    where a.collection_name = 'REC_ITEM'
    Thanks
    Manoj
    Edited by: Manoj Kaushik on Sep 10, 2009 3:36 AM

    hi mike,
    My problem is:-
    i have a bill with multiple item eg . Apple (12), Banana (49), Badam (145) , Grapes(25) with there quantity and now i want to Add these item with quantity in my database
    when i finaly click on submit button .
    Actully I have been used tabular form but i am facing one problem when using tabular form ,in Tabular form i enter first item eg . Apple and there quantity eg. 12 in textfield and after click on Add Row Buttom data insert in to the database . but i want Entry Shouldn't go in to the database. But only New Row Should Add there when i click on Add Row Button.
    I want all these 4 item should enter in to data base when i click on Final Submit.
    So i have use this collection report to insert multiple item .everything was all right when i was using text field but when i changed these textfield into select list then error has arise .
    Actually i want also a cascade selectlist in this report .
    eg .item name depend on item code and item code depend on item category name .
    so i want when i select CATEGARY_NAME then item code come into report item and when i select ietem code them correcponding item name should come into item name field.
    for cascade select list i have created application process and java script .
    So please mike Suggest me some solution how can i do this .
    its urgent for me .
    This Is my code :-
    select HTMLDB_ITEM.HIDDEN(1,SEQ_ID),
    APEX_ITEM.TEXT(2,a.c001) c001,
    APEX_ITEM.TEXT(3,a.c002) c002,
    APEX_ITEM.TEXT(4,a.c003) c003,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(5,a.c004,'SELECT P_ID D,P_ID R FROM PARTY_DETAIL') c004,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (6,a.c005,
    'SELECT CATEGARY_NAME D,'||'CATEGARY_NAME R FROM ITEM_CATEGARY',
    'style="width:220px" '
    ||'onchange="get_select_list_xml1(this,''f7_'|| LPAD (seq_id, 4, '0')
    ||''')"',
    'YES',
    '0',
    '-Select-',
    'f6_'|| LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c005,
    APEX_ITEM.SELECT_LIST_FROM_QUERY
    (7,a.c006,
    'SELECT ITEM_CODE D,'
    ||'ITEM_CODE R FROM ITEM_MASTER'
    ||'WHERE CATEGARY_NAME ='
    || c005,
    'style="width:220px"',
    'YES',
    '0',
    '-Select Code ('
    || (Select Count(*)
    from ITEM_MASTER
    where CATEGARY_NAME = c005)
    || ')-',
    'f7_' || LPAD (seq_id, 4, '0'),
    NULL,
    'NO') c006,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(8,a.c007,'SELECT ITEM_NAME D,ITEM_NAME R FROM ITEM_MASTER') c007,
    APEX_ITEM.TEXT(9,a.c008) c008,
    APEX_ITEM.SELECT_LIST_FROM_QUERY(10,a.c009,'SELECT PACK_TYPE D,PACK_TYPE R FROM ITEM_PACKING') c009,
    APEX_ITEM.TEXT(11,a.c010) c010,
    APEX_ITEM.TEXT(12,a.c011) c011,
    APEX_ITEM.TEXT(13,a.c012) c012,
    APEX_ITEM.TEXT(14,a.c013) c013
    FROM wwv_flow_collections a
    where a.collection_name = 'REC_ITEM'
    I am waiting for your positive responce.
    thanks
    Manoj
    Edited by: Manoj Kaushik on Sep 10, 2009 4:46 AM

  • CallableStatement error: SQL command not properly ended

    I am getting a strange error using CallableStatement and Oracle 7.3.4 with PL/SQL 2.3 using Classes12 JDBC driverset from Oracle. Here is the code we are using, which is almost verbatim from several Java/Oracle CallableStatement examples for Oracle 8. I am wondering what I am missing to make this work on Oracle 7 and am unable to find a reference online:
    //String query = "begin PAC.PAC_WIP_WIPHEADER_PKG.GetWipNumPartList(?,?); end;";
    String query = "{ call PAC.PAC_WIP_WIPHEADER_PKG.GETWIPNUMPARTLIST(?,?) } ";
    CallableStatement csth = Connection.prepareCall(query);
    csth.setString(1, wipNumber);
    csth.setInt(2, PacCarousel.getCarouselNumber());
    csth.execute();
    using either the Begin or the call query (Begin commented in above code snip) is returning the following error from the JDBC driver:
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    This identical 'begin' query works fine in TOAD or the PL/SQL console for Oracle, but just won't work using this set of JDBC drivers.
    Has anyone run into this problem before or perhaps have some suggestions?
    Thanks in advance

    I am getting a strange error using CallableStatement and Oracle 7.3.4 with PL/SQL 2.3 using Classes12 JDBC driverset from Oracle. Here is the code we are using, which is almost verbatim from several Java/Oracle CallableStatement examples for Oracle 8. I am wondering what I am missing to make this work on Oracle 7 and am unable to find a reference online:
    //String query = "begin PAC.PAC_WIP_WIPHEADER_PKG.GetWipNumPartList(?,?); end;";
    String query = "{ call PAC.PAC_WIP_WIPHEADER_PKG.GETWIPNUMPARTLIST(?,?) } ";
    CallableStatement csth = Connection.prepareCall(query);
    csth.setString(1, wipNumber);
    csth.setInt(2, PacCarousel.getCarouselNumber());
    csth.execute();
    using either the Begin or the call query (Begin commented in above code snip) is returning the following error from the JDBC driver:
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    This identical 'begin' query works fine in TOAD or the PL/SQL console for Oracle, but just won't work using this set of JDBC drivers.
    Has anyone run into this problem before or perhaps have some suggestions?
    Thanks in advance

  • Error Tax Indicator not properly maintained

    I had error while doing VA01 Sales order as Tax Indicator not properly maintained. someone ha sanswer then help me to solve the same

    Hi
    Check the material master Quality management view where the inspection type is maintained.
    Check the settings for inspection type in that material master.
    Regards
    Prasad

  • Error "Itunes was not properly installed. If you wish to import or burn cds you need to reinstall itunes."

    I have an error that pops up every time I open Itunes. It says "Itunes was not properly installed. If you wish to import or burn cds you need toreinstall itunes." How do I fix this? I have already reinstalled multiple times.

    Microsoft Windows 7 x64 Enterprise Edition Service Pack 1 (Build 7601)
    LENOVO 2349A63
    iTunes 11.2.2.3
    QuickTime 7.7.5
    FairPlay 2.6.12
    Apple Application Support 3.0.3
    iPod Updater Library 11.1f5
    CD Driver Not Available
    CD Driver DLL Not Available
    Apple Mobile Device 7.1.1.3
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0041B9C80B2D3F98
    Current user is not an administrator.
    The current local date and time is 2014-06-20 12:18:55.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics 4000
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 11.2.2.3 (x64) is currently running.
    iTunesHelper 11.2.2.3 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    UpperFilters: dvrem (4.97.0.64), dnpfw (4.97.0.64),
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the “Add or Remove Programs” control panel.
    Help please!

  • Time machine causes error message " Disk not properly ejected" with USB backup drive

    I am using iMac OS X Lion and Time Machine causes the error message with a WD 1.5 TB drive in aThermaltake dock, USB.  every time I wake up the computer....  Ejection of Time Machine and shut it down and turn opp power to drive causes the error message problem to disappear.   What is the solutin?

    If it were mine I would replace the drive with another brand. WD drives EHD's tend to have more issues than any other EHD. If you want to continue using it you can try resetting the SMC (may take 2-3 tries) and/or restarting in Safe Mode to reset some caches, it's possible one or more has become corrupt.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Unions using same subview gives error 00918 - column not uniquely defined

    Hi anybody,
    I'm using oracle 92i on a windows xp workstation. I defined a view using union construct as follows :
    select
    fgb.obj_id as obj_id
    from
    -- objektdaten_vw
    fingwrk_ggbwg_perobj_vw
    fgb
    union
    select
    fgb1.obj_id
    from
    -- objektdaten_vw
    fingwrk_ggbwg_perobj_vw
    fgb1
    union
    select
    fgb2.obj_id
    from
    -- objektdaten_vw
    fingwrk_ggbwg_perobj_vw
    fgb2
    union
    select
    fgb3.obj_id
    from
    -- objektdaten_vw
    fingwrk_ggbwg_perobj_vw
    fgb3
    with fourth union I get the specified error. If I reduce to 3 unions there is no problem. Using different views - i.e. objektdaten_vw there is no problem. The used view fingwrk_ggbwg_perobj_vw is without any errors and itself using subviews.
    any ideas about limitations or something like that ?
    thanks in advance
    wilko

    Hi Frank,
    sorry for being absent the last weeks. I will post the complete view here. I tried reducing complexity within my last posting, but i have to admit, that may not have been very helpful.
    The following view has to get data coming from different resources ( ahkontobuchungen, ehkontobuchungen, eukontobuchungen and aukontobuchungen ). But it is essential hwo they are connected to aukontobuchungen. This will be found by matching fingwrk_ggbwg_perobj_vw which knows, what lines of the former tables are connected to special lines of aukontobuchungen, and get_rw_buchung_vw which will classify the data and only allow rw_bewart = -1. So everything is needed. When I get these data they will be aggregated in the next step by another view.
    Hope, I could explain a little.
    regards
    Wilko
    CREATE OR REPLACE FORCE VIEW READ_OBJ_FINGEW_SALDO_VW
    (OBJ_ID, OBJEKTGEWERKE_ID, GEW_HG_CODE, GEW_UG_CODE, GEW_GPARENT,
    GEW_GP_BEZEICHNUNG, GEW_GP_ISO_CODE, GEW_CODE, GEW_ISO_CODE, GEW_BEZEICHNUNG,
    GEW_KALKULATION, GEW_VERTRAGSSUMME, RW_KONTEXT, RW_BEWEGART_BEZ, FIN_HAUPTKONTO_ID,
    FIN_KONTO_ID, FIN_KONTO_VERTRAGSSUMME, RW_HAUPTKONTO_ID, RW_BUCHKONTO_ID, RW_WAEHRUNG_CODE,
    RW_BETRAG)
    AS
    select
      fgb.obj_id                   as obj_id
    , fgb.objektgewerke_id         as objektgewerke_id
    , fgb.gew_hg_code              as gew_hg_code
    , fgb.gew_ug_code              as gew_ug_code
    , fgb.gew_gParent              as gew_gParent
    , fgb.gew_gruppenbezeichnung   as gew_gp_bezeichnung
    , fgb.gew_gruppen_iso_code     as gew_gp_iso_code
    , fgb.gew_code                 as gew_code
    , fgb.gew_iso_code             as gew_iso_code
    , fgb.gew_bezeichnung          as gew_bezeichnung
    , fgb.gew_kalkulation          as gew_kalkulation
    , fgb.gew_vertragssumme        as gew_vertragssumme
    , fgb.rwbeweg_kontext          as rw_kontext
    , fgb.rwbeweg_bewart_bez       as rw_bewegart_bez
    , fgb.fin_hk_konto_id          as fin_hauptkonto_id
    , fgb.fin_uk_konto_id          as fin_konto_id
    , fgb.fin_uk_vertragssumme     as fin_konto_vertragssumme
    , qehb.ekonto_id               as rw_hauptkonto_id
    , qehb.ekonto_id               as rw_buchkonto_id
    , qehb.waehrung_code           as rw_waehrung_code
    , sum(qehb.betrag)             as rw_betrag  
    from fingwrk_ggbwg_perobj_vw fgb
             inner join ehkontobuchungen qehb
                     on     fgb.rwbeweg_hauptkonto_id   = qehb.ekonto_id
                        and fgb.rwbeweg_kontext         = 'ekonto' 
                        and fgb.rwbeweg_vrbed_bewart_id = qehb.vrbed_bewart_id
             inner join get_rw_buchung_vw rwb
                     on     qehb.ehkontobuchung_id          = rwb.buchung_id
                        and qehb.vrbed_bewart_id            = rwb.vrbed_bewart_id
                        and -1                              = rwb.rw_bewart          
    group by
      fgb.obj_id
    , fgb.objektgewerke_id
    , fgb.gew_hg_code             
    , fgb.gew_ug_code             
    , fgb.gew_gParent             
    , fgb.gew_gruppenbezeichnung  
    , fgb.gew_gruppen_iso_code    
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation   
    , fgb.gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id
    , fgb.fin_uk_konto_id  
    , fgb.fin_uk_vertragssumme 
    , qehb.ekonto_id
    , qehb.ekonto_id
    , qehb.waehrung_code 
    having sum(qehb.betrag) <> 0
    union
    select
      fgb.obj_id
    , fgb.objektgewerke_id   as objektgewerke_id 
    , fgb.gew_hg_code              as gew_hg_code
    , fgb.gew_ug_code              as gew_ug_code
    , fgb.gew_gParent              as gew_gParent
    , fgb.gew_gruppenbezeichnung   as gew_gp_bezeichnung
    , fgb.gew_gruppen_iso_code     as gew_gp_iso_code
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation    as gew_kalkulation
    , fgb.gew_vertragssumme  as gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id    as fin_hauptkonto
    , fgb.fin_uk_konto_id    as fin_konto
    , fgb.fin_uk_vertragssumme  as fin_konto_vertragssumme
    , qahb.akonto_id         as rw_hauptkonto_id
    , qahb.akonto_id         as rw_buchkonto_id
    , qahb.waehrung_code     as rw_waehrung_code
    , sum(qahb.betrag)       as betrag
    from fingwrk_ggbwg_perobj_vw fgb
             inner join ahkontobuchungen qahb
                     on     fgb.rwbeweg_hauptkonto_id   = qahb.akonto_id
                        and fgb.rwbeweg_kontext         = 'akonto'            
                        and fgb.rwbeweg_vrbed_bewart_id = qahb.vrbed_bewart_id
             inner join get_rw_buchung_vw rwb
                     on     qahb.ahkontobuchung_id      = rwb.buchung_id
                        and qahb.vrbed_bewart_id        = rwb.vrbed_bewart_id
                        and -1                          = rwb.rw_bewart          
    group by
      fgb.obj_id
    , fgb.objektgewerke_id
    , fgb.gew_hg_code             
    , fgb.gew_ug_code             
    , fgb.gew_gParent             
    , fgb.gew_gruppenbezeichnung  
    , fgb.gew_gruppen_iso_code    
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation   
    , fgb.gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id   
    , fgb.fin_uk_konto_id   
    , fgb.fin_uk_vertragssumme 
    , qahb.akonto_id
    , qahb.akonto_id
    , qahb.waehrung_code
    having sum(qahb.betrag) <> 0
    union
    select
      fgb.obj_id
    , fgb.objektgewerke_id   as objektgewerke_id 
    , fgb.gew_hg_code              as gew_hg_code
    , fgb.gew_ug_code              as gew_ug_code
    , fgb.gew_gParent              as gew_gParent
    , fgb.gew_gruppenbezeichnung   as gew_gp_bezeichnung
    , fgb.gew_gruppen_iso_code     as gew_gp_iso_code
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation    as gew_kalkulation
    , fgb.gew_vertragssumme  as gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id    as fin_hauptkonto
    , fgb.fin_uk_konto_id    as fin_konto
    , fgb.fin_uk_vertragssumme  as fin_konto_vertragssumme
    , qauk.akonto_id         as hauptkonto
    , qauk.aukonto_id        as buchkonto
    , qaukb.waehrung_code    as whrg
    , sum(qaukb.betrag)      as bezahlt
    from fingwrk_ggbwg_perobj_vw fgb
             inner join a_buchungen qaukb
                     on     fgb.rwbeweg_konto_id        = qaukb.aukonto_id 
                        and fgb.rwbeweg_kontext         = 'aukonto'
                        and fgb.rwbeweg_vrbed_bewart_id = qaukb.vrbed_bewart_id 
             inner join a_unterkonto qauk
                     on     qaukb.aukonto_id            = qauk.aukonto_id
             inner join get_rw_buchung_vw rwb
                     on qaukb.vrbed_bewart_id           = rwb.vrbed_bewart_id
                     and -1                             = rwb.rw_bewart          
    group by
      fgb.obj_id
    , fgb.gew_hg_code             
    , fgb.gew_ug_code             
    , fgb.gew_gParent             
    , fgb.gew_gruppenbezeichnung  
    , fgb.gew_gruppen_iso_code    
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation   
    , fgb.gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id   
    , fgb.fin_uk_konto_id   
    , fgb.fin_uk_vertragssumme 
    , qauk.akonto_id
    , qauk.aukonto_id
    , qaukb.waehrung_code
    having sum(qaukb.betrag) <> 0
    union
    select
      fgb.obj_id
    , fgb.objektgewerke_id   as objektgewerke_id 
    , fgb.gew_hg_code              as gew_hg_code
    , fgb.gew_ug_code              as gew_ug_code
    , fgb.gew_gParent              as gew_gParent
    , fgb.gew_gruppenbezeichnung   as gew_gp_bezeichnung
    , fgb.gew_gruppen_iso_code     as gew_gp_iso_code
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation    as gew_kalkulation
    , fgb.gew_vertragssumme  as gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id    as fin_hauptkonto_id
    , fgb.fin_uk_konto_id    as fin_konto_id
    , fgb.fin_uk_vertragssumme  as fin_konto_vertragssumme
    , qeuk.ekonto_id         as hauptkonto_id
    , qeuk.eukonto_id        as buchkonto_id
    , qeukb.waehrung_code    as whrg
    , sum(qeukb.betrag)      as bezahlt
    from fingwrk_ggbwg_perobj_vw fgb
             inner join e_buchungen qeukb
                     on     fgb.rwbeweg_konto_id        = qeukb.eukonto_id
                        and fgb.rwbeweg_kontext         = 'eukonto'
                        and fgb.rwbeweg_vrbed_bewart_id = qeukb.vrbed_bewart_id
             inner join e_unterkonto qeuk
                     on     qeukb.eukonto_id            = qeuk.eukonto_id
             inner join get_rw_buchung_vw rwb
                     on  qeukb.e_buchungen_id           = rwb.buchung_id               
                     and qeukb.vrbed_bewart_id          = rwb.vrbed_bewart_id
                     and -1                             = rwb.rw_bewart          
    group by
      fgb.obj_id
    , fgb.objektgewerke_id
    , fgb.gew_hg_code             
    , fgb.gew_ug_code             
    , fgb.gew_gParent             
    , fgb.gew_gruppenbezeichnung  
    , fgb.gew_gruppen_iso_code    
    , fgb.gew_code
    , fgb.gew_iso_code
    , fgb.gew_bezeichnung
    , fgb.gew_kalkulation   
    , fgb.gew_vertragssumme
    , fgb.rwbeweg_kontext
    , fgb.rwbeweg_bewart_bez
    , fgb.fin_hk_konto_id 
    , fgb.fin_uk_konto_id 
    , fgb.fin_uk_vertragssumme 
    , qeuk.ekonto_id
    , qeuk.eukonto_id
    , qeukb.waehrung_code
    having sum(qeukb.betrag) <> 0
    /

  • Makepkg-error: BUILDSCRIPT is not defined

    Hi!
    I can't use makepkg anymore, i think it is because i updated to the pacman-version from [testing]. When i try to run makepkg, it says:
    ==> FEHLER: BUILDSCRIPT ist nicht definiert! Stellen Sie sicher, dass /etc/makepkg.conf aktualisiert wurde.
    "ERROR: BUILDSCRIPT has not been defined! Make sure that /etc/makepkg.conf has been updated."
    This is my /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The FTP/HTTP download utility that makepkg should use to acquire sources
    FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
    #FTPAGENT="/usr/bin/snarf"
    #FTPAGENT="/usr/bin/lftpget -c"
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    #-- Exclusive: will only run on i686
    # -mtune builds exclusively for an architecture
    # -mcpu optimizes for an architecture, but builds for the whole processor family
    CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    USE_FAKEROOT="y"
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip !docs !libtool emptydirs)
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc and info directories
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    OPTIONS=(strip !docs libtool emptydirs)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Info and doc directories to remove (if option set correctly above)
    DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # vim: set ft=sh ts=2 sw=2 et:
    How can i fix this?
    Thanks in advance

    Have a look at /etc/makepkg.conf.pacnew, you should merge new options.

Maybe you are looking for