How to group expressions in EL?

Hi in jsp when using EL the parenthesis are not allowed for grouping of expressions. I mean
${(2+3)-1}
is not allowed so if i have to group expressions in EL how do i achieve it?
I wanted to do the following in EL
${(a==b && b==c) || (v==r && r==d)}
so how do i achieve this?

well like you are posting.
Examples of EL Expressions - The Java EE 6 Tutorial
What error do you get when you try?

Similar Messages

  • Aggregate functions cannot be used in group expressions

    Hi have report showing sales by Vendor. I need to list all the vendors with Monthly Total>5000 and combine the rest as "OTHER VENDORS"
    Vendor is a Group in my report, so I tried to put an expression as a Group on:
    =IIF(Sum(Fields!Mth_1_Sales.Value)>5000,Fields!Vendor_No.Value,"OTHER VENDORS")
    I've got an error: "aggregate functions cannot be used in group expressions"
    How do I get Vendors with Sales < 5000 into  "OTHER VENDORS" ?

    Hi,
    You need to group by Month on group expression,
    And you can use the same expression in the report column as 
    =IIF(Sum(Fields!Mth_1_Sales.Value)>5000,Fields!Vendor_No.Value,"OTHER VENDORS")
    Many Thanks
    ..................................................................................................................................................................Please
    mark the post as Please mark the post as answered if this post helps to solve the post.

  • How many airport express can  i install in my home to stream music?

    I plan to buy many airport express in my new Home!
    how many airport express can  i install in my home to stream music?
    Jimmy

    jimmyflo wrote:
    I plan to buy many airport express in my new Home!
    how many airport express can  i install in my home to stream music?
    Theoretically as much as you want but there are technical limitations about the usable bandwidth in the wireless or by the used access point.
    All participants (stations) in a wireless network share the available bandwhith equally and therefore a point will get reached where the throughput in the network became insufficient to stream music.
    Also some routers limit the number of stations could get connected. For instance Apples Airport Extreme have a limit of 50 connected clients and the AP-Express (if used as access point) a limit of 10 simultaneous connections.
    Lupunus

  • How to group photos in folders, in the main photos app in my iphone4 ?

    How to group photos in folders, in the main photos app in my iphone4 ?

    You can update your iPhone to iOS 5, in iOS 5, it will allow you to create albums in your photo app and it also allows you to move the photos from album to another album

  • How to group a report by formula field.

    Hi,
    I need to create a report based on the following report:
    http://s464.photobucket.com/albums/rr8/einas121809/
    This new report should be grouped by days and status. Then, each group should display the details of each record such as Report No, Open Date , Due Date and Summary.
    It is not a problem to display the report details, but I need to know how to group them since it involve calculation.
    Thank you in advance,
    Regards,
    einas.

    Hello,
    Right what you want to do is to get a crosstab which can be found in your toolbar or under Insert menu Insert --->Crosstab.
    You might need to use a working day formula something like this
    WhileReadingRecords;
    Local DateVar Start := {StartDate};   // place your Starting Date here
    Local DateVar End := {EndDate};  // place your Ending Date here
    Local NumberVar Weeks;
    Local NumberVar Days;
    Local Numbervar Hol;
    DateVar Array Holidays;
    Weeks:= (Truncate (End - dayofWeek(End) + 1
    - (Start - dayofWeek(Start) + 1)) /7 ) * 5;
    Days := DayOfWeek(End) - DayOfWeek(Start) + 1 +
    (if DayOfWeek(Start) = 1 then -1 else 0)  +
    (if DayOfWeek(End) = 7 then -1 else 0);  
    Local NumberVar i;
    For i := 1 to Count (Holidays)
    do (if DayOfWeek ( Holidays<i> ) in 2 to 6 and
         Holidays<i> in start to end then Hol:=Hol+1 );
    Weeks + Days - Hol
    If you need to calculate bank holidays then you have to create an array like this
    //Holiday Listing formula to go into the report header of the report.
    BeforeReadingRecords;
    DateVar Array Holidays := [
    Date (2003,12,25),
    Date (2003,12,31)
    0
    The workingdays formula needs to go into the Row and then distinct Count your orders. That should give you how many orders took x amount of days.
    Then you need to further develop your formula so that it shows <20 days, more than 20 days etc.
    Create something like this first and then ask further questions if you are stuck.
    Hope this helps
    Regards
    jehanzeb

  • HI, do you know how many airport express I can use per Mac????

    I need to know how many airport express can I use simultanously in my Mac ... any idea???

    Thanks for your question, I live in a 3 floor house, the cable router is in the 2nd floor, I already have one connected airport exrpess in the 1st one, but I need to increase the wifi signal in the 3rd one... so for that reason I would like to conecct one additoonal one to my wifi network...

  • How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.

    How many airport express can I add to my network for the purpose of using the airport express to send audio signal to different rooms in the house? I'm interested I'm running about six different zones.
    What I'm looking to do is to have self powered in ceiling speakers in every room in my house with out having to run wires to every room to carry the audio signal. I would like to use the airport express to do the job of carting the audio signal.
    Here's my set up now I have an airport extreme and one airport express that I use to carry audio to one room.

    FWIW. I have used up to four AirPort Express Base Stations (AX) for streaming sucessfully in pretty much the way you have described. I didn't have a need to try more so I can't attest that more would or would not work.

  • Can't understand how this group by clause works

    The Schema is as below: (http://www.psoug.org/reference/rollup.html)
    CREATE TABLE grp_rep (
    person_id NUMBER(3),
    division VARCHAR2(3),
    commission NUMBER(5));
    INSERT INTO grp_rep VALUES (1,'SAM',1000);
    INSERT INTO grp_rep VALUES (2,'EUR',1200);
    INSERT INTO grp_rep VALUES (1,'EUR',1450);
    INSERT INTO grp_rep VALUES (1,'EUR',700);
    INSERT INTO grp_rep VALUES (2,'SEA',1000);
    INSERT INTO grp_rep VALUES (2,'SEA',2000);
    INSERT INTO grp_rep VALUES (1,'EUR',800);
    COMMIT;
    Query1:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY person_id, ROLLUP (person_id, division);
    Query2:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division, ROLLUP (person_id, division);
    The results of query1 are okay. It has results from rollup and group by person_id.
    But, in Query2 results of rollup are missing and results of group by division is there.
    Anyone can explain how the group by clause works when there are multiple columns involving CUBE, ROLLUP and simple column names?
    Regards.

    Thank you shoblock!
    but, What i m really looking for is,
    How group by clause works when i add regular column along with RollUp in group by clause?
    I have understood simple group by clause like
    ...group by column1,column2,column3....
    n I also know simple rollup clauses like
    ...group by rollup(column1,column2,column3,...)
    But my Problem is how does this work:
    ...group by column2,rollup(column1,column2,...)
    ...group by column1,rollup(column1,column2,...)
    See below Results:
    Query1:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY person_id,ROLLUP ( person_id, division );
    Result:
    PERSON_ID DIVISION SUM(COMMISSION)
         1      EUR      2950
         1     SAM      1000
         2      EUR      1200
         2      SEA      3000
         1           3950
         2           4200
         1           3950
         2           4200
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division,ROLLUP ( person_id, division );
    Query2:
    SELECT person_id, division, SUM(commission)
    FROM grp_rep
    GROUP BY division,ROLLUP ( person_id, division );
    Result:
    PERSON_ID DIVISION SUM(COMMISSION)
    1 EUR 2950
    2 EUR 1200
         1 SAM      1000
    2 SEA 3000
    1 EUR 2950
    2 EUR 1200
    1 SAM 1000
    2 SEA 3000
    EUR 4150
    SAM 1000
    SEA 3000
    guys, help me make understand above results!
    Regards.

  • How to group PRs in SNP

    Hi Experts,
    1.How to Group PRs considering the future PRs  to make a container load of single product of a single vendor .
    2. How to group the PR's of different products to make a container load of a single vendor .
    Like in TLB we club STR's to STO to make a full container load ,Can we also use TLB which should use the results of SNP Heu or Opt or CTM i.e PR's to vendor , and Club then using the TLB profile.
    Pls Confirm .
    Thanks.
    Ballack

    Hi Ballak,
    Yes you can use TLB functionality for heuristic results. Please go through the following Note.
    Note: 514947
    Regards,
    Kishore Reddy.

  • How to group or print index of Event Key Photos?

    I am making some backup dvds of my library for off site storage. I would like to make an index print of the event key photos but can not figure out how to group them. Can you make a smart album (clearly iphoto has them tagged in some way)? Is there just an option for printing them that I can't find? There must be a more elegant solution than opening each event and copying the key photo to an album...

    Can you make a smart album (clearly iphoto has them tagged in some way)? Is there just an option for printing them that I can't find?
    No and No I'm afraid.
    IPhoto menu -> Provide iPhoto Feedback for feature requests.
    There must be a more elegant solution than opening each event and copying the key photo to an album...
    Either that or tag them with a keyword, flag them or rate them and use that as the basis of a smart album.
    Regards
    TD

  • How to group together contacts?

    Hi there, I would like to know how to group people/phone numbers together under one category. For instance I have a ton of people from work I need to put into my phone but want to put them and their numbers all under one category like "Work" and be able to open it up and theres all my contacts from work. If anyone can help me I would appreciate it. I did look for answers but I kept getting things about grouping emails and thats not what I'm looking for,

    You can create groups of contacts on your computer, then sync them on your iPhone. But you will not be able to select a group as text recipient. As of today, you need an application for that. I have create a free application, Easy Group, to handle this missing feature.
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • How to group from two fields?

    Afternoon all,
    Any ideas how to group a report by using two fields in one formula?
    I have two fields in a table
    1: Stock_Code
    2: Misc_Code
    I need to group my report by Stock and Misc code combined. How would I be able to do this by using formula?
    Regards
    Jehanzeb

    See I tried that already pandabear however for some reason it doesn't bring the results from both fields. It is only bringing results from one field.
    The report criteria is
    {lab_credits.date_created} in date(2007,01,01) to date(2007,12,31) and
    {lab_reasons.reason_code}={?Reason_Code}
    the formula I used initially was
    {lab_credits2.stock_code}+{lab_credits2.misc_code}
    but then tried
    {lab_credits2.stock_code}+ " " +{lab_credits2.misc_code}
    however both didn't seem to work under the above conditions.
    The output should be
    5-760
    7-240
    7-250
    7-821
    AR
    CARR
    GLAZE
    TINT
    U-113
    U-114
    Where 5-760 and U-113 data is coming from stock_code field and AR to TINT is coming from Misc_code field.
    The output is ignoring the Misc field values under the given criteria.
    Regards
    Jehanzeb

  • How to group arts into a group

    I look in AIArtSuite but could not figure out how to group multiple arts into a group.
    Please help.

    Thanks very much, this is how I ended up doing:
    There are 2 arts to be grouped: image (kPlacedArt) and path (kPathArt).
    I created a new art of type kGroupArt and place the other two inside it.
        sAIArt->NewArt(kGroupArt, kPlaceAboveAll, nil, &group);
        sAIArt->ReorderArt(image, kPlaceInsideOnTop, group);
        sAIArt->ReorderArt(path, kPlaceInsideOnTop, group);

  • How many airport express can be supported by software remote at one time.

    how many airport express can be supported by software remote at one time?
    I mean remote software can control at one time

    Well Apple makes an iOS application called 'Remote' it's used to control iTunes on a Mac, Or to control an Apple TV Multimedia features.
    Apple also makes "AirPort Utility" for iOS. Airport Utility can be used to configure Aiport Extrem, Airport Express And Time Capsul using an iPad, iPhone or iPod Touch. You can use it to connect to one device at a time. While connected to the device you can configure it to work as part of a larger Airport network. If you want to configure muliple device, you would connect to one device,  configure it,  And then connect to the next device, and configure it, and so on and so fourth.
    I haven't found a limit.
    How big of a network are you trying to make?

  • How many Airport Express...

    How many Airport Express units can be used simultaneously?  I have an audio application that is wireless and could potentially have 12-20 separate areas. The most I have actually ever tried is 4 and it worked fine.  Any limitations that anyone has read about, or has anyone tried this?

    Well, a standard "main" router that will supply DHCP and NAT services for the entire network will be able to allow up to a total of about 250 devices to connect. That would include the AirPorts, and any devices that are connected to the AirPorts and any other devices that you have on the network.
    Each AirPort Express (new version) will handle up to 50 wireless clients. It would be much better to limit that to 20-25 to keep the speed up.  So, you'll have to do some math to try to figure out how many total devices will connect to the network when everything is working.
    You could connect 20 AirPort Express devices to the main router....but you would only be able to connect about 10-15 devices to each Express.
    Or, connect 10 Express devices to the main router and you can connect about 20-25 devices to each Express.
    If you plan to connect to the Internet, keep in mind that all devices will share the bandwidth. If you have a 100 Mbps Internet connection, and 100 clients connected to the network, then each client will get about 1 Mbps. Pretty slow.
    I'm not sure what your audio application is here....the network examples I am providing assume that you will be connecting wireless and wired Ethernet clients to the network.
    If you could detail your proposed system, other users could offer their comments. We're still pretty much guessing at hypotheticals at this point.

Maybe you are looking for

  • Technical Upgrade from R/3 4.6 to ECC 6.0

    Hi all i have a query regaring system upgrade: Currently i have 2 systems R/3 4.6: Development(D1), Quality(Q1). Now this systems needs to be upgraded to ECC 6.0. First the D1 is going to be copied to a new development(D2). Then D2 will be upgraded t

  • PROFIT CENTER FIELD NOT VISIBLE IN F-02

    I want to transfer one customer balance from one profit center to other profit center as it was posted wrongly.  I tried to post it through F-02 (since Through 9KE0 Fi Figures will not change).  <b>But I am unable to find the Profit Center Field in t

  • SQL*Loader permission issue?

    I have set up a run_all script on LINUX to invoke SQL*Loader for each table to be loaded. I can run this as the Oracle owner just fine. When I try to let the developer run this on dev, they get the following: SQL*Loader: Release 9.2.0.1.0 - Productio

  • I need to configure a redundant IPSec Connection Profile

    I'm moving off of a single RADIUS server on a Windows 2003 domain controller, and onto a pair of Network Access Protection / Network Policy domain controllers on Windows 2008 servers. I've set up the Windows server side. My questions are regarding th

  • Is Elements 8 NOT compatible with Windows 7???

    I have been working with this program all day, with a book at my side making my first album to share. I re-edited one photo and it locked into a "editing in process" and it went down hill from there. Now most things just don't work.  I can't switch b