Std::list::sort() doesn't work with custom class

The following example doesn't order a list the way I'd expect. Is this being done wrong? Sun Studio 12 (not update 1). Current patches as of Monday.
#include <list>
class CMyClass
public:
CMyClass(long a) : m_Sec(a) { }
bool operator<(const CMyClass* rhs)
return (m_Sec < rhs->m_Sec);
long m_Sec;
typedef std::list<CMyClass*> TLogList;
int
main(int argc, char* argv[])
TLogList logList;
CMyClass* name = new CMyClass(0x4A833E79);
logList.push_back(name);
name = new CMyClass(0x4A85E144);
logList.push_back(name);
name = new CMyClass(0x4A85E66F);
logList.push_back(name);
name = new CMyClass(0x4A85E66F);
logList.push_back(name);
name = new CMyClass(0x4A85B2C2);
logList.push_back(name);
name = new CMyClass(0x4A85D6EF);
logList.push_back(name);
name = new CMyClass(0x4A69F9AD);
logList.push_back(name);
name = new CMyClass(0x4A85DC92);
logList.push_back(name);
name = new CMyClass(0x4A817316);
logList.push_back(name);
name = new CMyClass(0x4A85DEEB);
logList.push_back(name);
name = new CMyClass(0x4A846329);
logList.push_back(name);
name = new CMyClass(0x4A85E39D);
logList.push_back(name);
name = new CMyClass(0x4A85D41D);
logList.push_back(name);
name = new CMyClass(0x4A89CC17);
logList.push_back(name);
name = new CMyClass(0x4A85DC19);
logList.push_back(name);
logList.sort();
TLogList::iterator logListIter = logList.begin();
TLogList::iterator logListEnd = logList.end();
for (; logListIter != logListEnd; ++logListIter)
CMyClass* name = *logListIter;
cout << hex << name->m_Sec << endl;
return 0;
which produces
4a833e79
4a85e144
4a85e66f
4a85e66f
4a85b2c2
4a85d6ef
4a69f9ad
4a85dc92
4a817316
4a85deeb
4a846329
4a85e39d
4a85d41d
4a89cc17
4a85dc19

The program as you wrote it will sort the contents of the list. The list consists of the addresses of CMyClass objects, and after sorting, will contain those addresses in sorted order.
If you want to sort by the contents of the classes that are pointed to, you need to provide a comparison operator that compares the contents, and use the other form of the list::sort function that takes a comparison function as an argument. That is, add the function
bool comp(const CMyClass* l, const CMyClass* r)
   return l->m_Sec < r->m_Sec;
}and change
logList.sort(); to
logList.sort(comp); This version of list::sort will not compile using the default libCstd, because it requires member templates in the library implementation. For more information about this limitation, refer to the C++ FAQ section on library compatibility.
[http://developers.sun.com/sunstudio/documentation/ss12u1/mr/READMEs/c++_faq.html#LibComp]
The revised code will compile with the optional STLport library, or with other 3rd-party libraries like Apache stdcxx. To use STLport, add the option -library=stlport4 to every CC command, compiling and linking. You cannot mix code compiled for the default libCstd with STLport code in the same program.

Similar Messages

  • Why EL doesn't work with custom tags ?!

    I don't know why expression lang. doesn't work with me.
    here's an example, and please tell me why :
    --- the jsp page with EL ==> doesn't work :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="${product}" addToShoppingCartUri="<%= response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    when using expressions instead, the page works .
    the new page is :
    <%-- In the name of ALLAH most gacious most merciful --%>
    <%@ page language="java" %>
    <%@ taglib uri="/cartlib" prefix="cart" %>
    <html>
    <jsp:useBean id="product" class="ch16.cart.ProductCatalog" scope="application" />
    <cart:showCatalog productCatalog="<%= product %>"
    addToShoppingCartUri="<%=
    response.encodeURL("AddToShoppingCart.jsp") %>" />
    </html>
    The error was :
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper
    .java:512)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: jsp.error.beans.property.conversion
    org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(Js
    pRuntimeLibrary.java:885)
    org.apache.jsp.ShowProductCatalog_jsp._jspService(ShowProductCatalog_jsp.java:77
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.

    Regarding setup, see this post reply #6
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Other potential things to check: make sure you are getting the right value passed in
    productCatalog="${applicationScope.product}"
    ${product} by preference would take a pageContext, request or session attribute before the application level one (it uses pageContext.findAttribute).
    What do you get if you just print out ${product} on the screen?
    It should call a toString() on it for rendering purposes.

  • QTP doesn't work with custom SparkList ItemRenderer

    I am trying to support our QA department which uses QTP for automation testing. QTP is failing miserably at recognizing custom item renderers for Spark List (and DataGroup too). There is nothing special going on in the custom item renderer. There is a basic Group layout with some labels and buttons. I would like to be able to click on a button inside the item renderer; but, QTP sees the whole item renderer as a SparkListLabel. QTP is not able to recognize anything inside the item renderer.
    I know there are custom automation delegates that need to be created for some components; but this is basic layout inside an ItemRenderer. I would expect that to work with out creating custom automation classes to support it.

    Well the Hierarchy for 0GLACCEXT is designed in such a way ,am not sure how you have defined the custom hierarchy.
    For Insights you may wish to refer below-
    http://help.sap.com/saphelp_nw04/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/content.htm
    The hierarchy for characteristic 0GLACCEXT is used as the financial statement version in BW queries. To technically enable the particular exception aggregation for contra items, the hierarchy table of characteristic 0GLACCEXT contains the attribute Balance-Dependency of a Hierarchy Node (technical name 0BAL_DEPEND).
    The attribute 0BAL_DEPEND can take three different values:
    ·         Normal aggregation on the hierarchy node of 0GLACCEXT(“ “, default value):
    The financial statement item is always either on the assets side or the liabilities side of the financial statement. This is the case for almost all financial statement items.
    ·         Aggregation on the hierarchy node for 0GLACCEXT is only performed if the balance is positive (“1”):
    First, the system determines the total for those financial statement items that are subordinate to the hierarchy node of 0GLACCEXT. If this total is positive, the subordinate financial statement items are aggregated on the hierarchy node of 0GLACEXT. If this total is negative, no aggregation occurs, and the values on the subordinate financial statement items are set to zero.
    ·         Aggregation on the hierarchy node of 0GLACCEXT is only performed if the balance is negative (“2”):
    The exception aggregation is performed in the same way as for case “1”, except that the +/- signs of the balance are reversed.
    Hope it Helps
    Chetan
    @CP..

  • Safari 5.1.5 doesn't work with my Class 1 digital id

    Several days ago I discovered that my VeriSign digital id certificate no longer works with the safari browser. It functions perfectly on my windows based pc using the safari browser.  It also functions perfectly in firefox and IE. 
    I am wondering if this is an issue that stems from the most recent update to safari 5.1.5.  Verisign tech support believes that the issue may be caused by the 34Bit encryption required by Safari.  Has anyone else experienced similar issues? Is there a fix or solution?

    Several days ago I discovered that my VeriSign digital id certificate no longer works with the safari browser. It functions perfectly on my windows based pc using the safari browser.  It also functions perfectly in firefox and IE. 
    I am wondering if this is an issue that stems from the most recent update to safari 5.1.5.  Verisign tech support believes that the issue may be caused by the 34Bit encryption required by Safari.  Has anyone else experienced similar issues? Is there a fix or solution?

  • My Custom Converter Doesn't Work With DataModel

    Hi,
    I have this simple object with its custom converter taken from the Core JSF Book. It works fine, but when I put it in DataModel, somehow it didn't get updated. I don't put the whole codes here, only the important parts.
    Any1 knows what is the reason? I have been looking for an answer but I haven't found one. Plz help.
    public class CreditCard {
    private String number;
    public CreditCard(String number) { this.number = number; }
    public String toString() { return number; }
    public class CreditCardConverter implements Converter, Serializable {
    private String separator;
    public void setSeparator(String newValue) { separator = newValue; }
    public Object getAsObject(............);
    return new CreditCard(builder.toString());
    public String getAsString(..............)
    throws ConverterException {
    return result.toString();
    public class MyBackBean{
    private DataModel creditCardDataModel;
    private static final CreditCard[] ccs = {
    new CreditCard("1111 111 111 111"),
    new CreditCard("2222 222 222 222")
    public DataModel getCards(){
    if (creditCardDataModel == null) {
    creditCardDataModel = new ArrayDataModel(ccs);
    return creditCardDataModel;
    <h:dataTable value="#{myBackBean.cards}" var="card">
    <h:column>
    <h:inputText id="card" value="#{card}"/>
    </h:column>
    </h:dataTable>
    Edited by: JW77 on Dec 3, 2009 12:47 AM

    Please explain.
    What does "cellcom line doesn't work with my iPhone" mean?
    What are you trying?  What is happening?
    Where did you buy the iphone?
    Any info abnout your issue at all?

  • Function adobeDPS.libraryServices.folioMap.sort doesn't work

    Hi, I'm working with custom storefront and until yesterday the function folioMap.sort works fin, I get all folios published with this function, but today it doesn't work, I get always a empty array and my library looks like this:
    And if i debugger it I found that my folios is always an empty array:
    What am I doing wrong?

    Hi Neil, Thank you four your answer.
    Yes, I'm updating library. This is my code:
    adobeDPS.initializationComplete.add(function(){
      Store.init();
    Store.init = function(){
         var transaction = adobeDPS.libraryService.updateLibrary();
         transaction.completedSignal.addOnce(Store.updateLibraryHandler, this);
    Store.updateLibraryHandler = function(transaction){
         Store.folios = [];
           // Sort the folios descending.
           var list = adobeDPS.libraryService.folioMap.sort(function (a, b) {
           if (a.publicationDate < b.publicationDate)
                return 1;
           else if (a.publicationDate > b.publicationDate)
                return -1;
           else
                return 0;
    //HERE Store.folios always is empty
    Thank you very much.

  • Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro

    Cinema Display (clear) with DVI/ADC box doesn't work with MacBook Pro when plugged in with a dvi to mini dvi cable. Any ideas what to do to make it work? I lugged the 23" 2500 miles into the wilderness and I need help

    Okay, here's an update: the DVI to ADC adapter does work with the Apple displays that I have tried, but it won't work with the Formac. I have tried multiple time to contact them, but to no avail... they don't even respond to threats of posting my opinion of them, which is this:
    DON'T BUY ANYTHING FROM FORMAC! They make quality products, but their customer service is a big time joke! They won't take care of you.

  • APEX_ITEM report - SORT doesn't work

    Hi,
    For the following report, the SORT doesn't work. I've also tried with the "Report Attributes", but same result. Does someone know is there a way to make it sorted or can confirm it's not possible.
    Thanks.
    SELECT
    APEX_ITEM.CHECKBOX(11,id_cc_delai_recueil) id_cc_delai_recueil,
    APEX_ITEM.HIDDEN(12,id_cc_delai_recueil)||APEX_ITEM.HIDDEN(13,id_cc_regle)||APEX_ITEM.TEXT(14,numdelai,3) numdelai,
    APEX_ITEM.SELECT_LIST_FROM_LOV(15,typedoss,'DOSSIERS OU DOCUMENTS',NULL,'NO') typedoss,
    APEX_ITEM.TEXT(16,suppdoss,3) suppdoss,
    APEX_ITEM.SELECT_LIST_FROM_LOV(17,rem_suppdoss,'REMARQUE_DELAI',NULL,'YES','','') rem_suppdoss,
    APEX_ITEM.TEXT(18,perioactif,3) perioactif,
    APEX_ITEM.SELECT_LIST_FROM_LOV(19,rem_perioactif,'REMARQUE_DELAI',NULL,'YES','','') rem_perioactif,
    APEX_ITEM.TEXT(20,periosmact,3) periosmact,
    APEX_ITEM.SELECT_LIST_FROM_LOV(21,rem_periosmact,'REMARQUE_DELAI',NULL,'YES','','') rem_periosmact,
    APEX_ITEM.SELECT_LIST_FROM_LOV(22,dispoinact,'DISPOSITION1',NULL,'NO') dispoinact,
    APEX_ITEM.SELECT_LIST_FROM_LOV(23,rem_dispoinact,'REMARQUE_DELAI',NULL,'YES','','') rem_dispoinact
    FROM
    cc_delai_recueil
    WHERE id_cc_regle = :P52_ID_CC_REGLE
    ORDER BY
    3,
    2

    Paulo,
    Remove the Order By clause from your Select statement and then use the Report Attributes to determine your sort order.
    Jeff

  • Media Encoder CS4 doesn't work with Premiere (pic related)

    Oh hai!
    I just got Adobe Master Collection CS4 and my Media Encoder doesn't work with Premiere CS4. When I try to export the file, Encoder starts normally. Then I click "Start queue" and Encoder starts loading. Loading takes almost five minutes, which is a long time, because my project is very simple. After that nothing happens, just a warning sign appears. When I click it open, some kind of log file open and it says:
    Encoding failed
    Could not read from the source. Please check if it has moved or been deleted.
    And I didn't deleted anything. So what does that mean? Why that "Source Name's" path is different than my project files path? Can this problem relate that somehow?
    I have also another problem with Premiere CS4, maybe there's a link between these two problems. I can't get Premiere projects linked to open in Premiere CS4. When I right-click the project icon, and click “Open with…”, I can't find Premiere from the list. When I click "Browse", I can find Premiere.exe from my computer, but if i doubel-clicked it, nothing happens. It won't appear to the list or anywhere else. Or have I missed something? So now the project files are linked to open in After Effects. Of course I can open projects from Premiere, but how do I get them open straight from file?
    I have long experience using Adobe Premiere and this is the first time I got this kind of problems. I have also downloaded new updates for Premiere and Encoder, this didn't help. Does that matter, that I didn't installed Premiere in C-drive? However it's in my computers internal drive, I have divided my hard drive for five parts, one part contains all of my softwares. My scratch disks are in different hard drive (external), does that matter? I tried different location, but that didn't help.
    Please help, I can't do any video editing, because of this problem. And sorry for my english, ask if you didn't understand something. =)

    Hello, this is terrible problem, which i found in CS 6 softwares ...
    solution i found only working, is uninstall and reinstall full package.. but it is not all,
    you need to do BRAND NEW admin account in windows, and install it there.
    that means, i could not export after repair from encoder in my original account never more (!!)   .. this is really terrible way how to repair this issue, because :
    1.by reinstalling of software, client WASTE HIS TIME
    2.by necessity to begin work in another windows profile you again WASTE YOUR TIME because of learning and migrating all other profile modifications, which i see really unaccpetable. Adobe means, this solution of repair is ok, and they did not do till today any steps of creating some "clever" solution.
    I ask everybody, who will meet this issue in future, guys, please, complain about this situation, give "BUG Report" to them, and write "feature request" to them , in the way of creating some repair tool, which check actual  "broken" connections between encoder and premiere, which refuses to "take material" from it and encode, and REPAIR it automatically..  
       I am not IT, but ..does it seems so hard to create this ? Adobe IT developers should know their systems, and should create such utility tool really easy.
    History of this problem and detailed description, HOW i did "repair" this. With wasting of app 2,5 days of my working time :
    1. after repairing "error 5" problem , i solved it by reinstalling the suite from the new admin user profile (profile B) . 
    I continued my work on my normal working windows profile . (profile A)
    Every cooperation (AE+Pr, export media via "queue" to Encoder) was working fine . . .
    2. suddenly it stop working (without knowing any possible reason - i did not do installations )
    and showed in error export log file :
    "Could not read from the source. Please check if it has moved or been deleted."
    3.repair via procedure(procedure "a"):
    i did this procedure on the profile B (profile from last time installation of repairing problem error 5)
    I did these steps :
    a-uninstall master coll suite
    b-i used Adobe cleaner tool (remove ALL)
    c-removed raw directories in locations
    •C:\Program Files\Adobe
    •C:\Program Files(x86)\Adobe
    •C:\Program Files\Common Files\Adobe
    •C:\Program Files(x86)\Common Files\Adobe
    •C:\ProgramData\Adobe
    d-removed these links from registry file
    •HKEY_LOCAL_MACHINE\SOFTWARE\Adobe
    •HKEY_CURRENT_USER\Software\Adobe
    •HKEY_LOCAL_MACH INE\SOFTWARE\Wow6432Node\Adobe
    •HKEY_CURRENT_USER \Software\Wow6432Node\Adobe
    e-restarted the PC
    f- newly installed the Master Coll CS6
    g-update the software
    result of repair of "3" : problem still exists
    4.Ok i find out after coordination with support, it should have been created  ANOTHER NEW admin account.
    4a:so i did the same procedure (uninstalling) in profile B
    4b: and then i created brand new admin profile (profile C)for INSTALLATION of software
    4c: restarted the pc (and did not updated it yet)
    result :
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile C) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile B) : export WORKS
    ==exporting of any sequence/raw/AE link video material from premiere via "queue" (Encoder) (profile A) : export DOES NOT WORK ! ! !
    (in profile A, is possible to export some raw video material in encoder which is imported to it via "drag and drop)
    problem i see:, i have my basic profile A, which i am interested to work, because of all my directory modifications are in there..
    this issue should be some "broken" connections between encoder and premiere, which refuses to "take material" from it and encode.
    what i expect :
    to get from Adobe some repair tool, which automatically checks these connections and repair if necessary, without necessity of founding the new profile and reinstallation of whole software.. this is madness !
    what i do NOT expect from Adobe:
    to get from Adobe advice of kind : you have to reinstall full software in new admin profile. sorry , we do not know the solution, because we do not know, how do behave our software.

  • Horizontal scrolling doesn't work with ItemsStackPanel in ListView(GridView)

    Hi,
    In Win 8.1 App Store Project I have a ListView with fixed width and listen for ContainerContentChanging event because of performance issues.
    When ListView width is less than content width, horizontal scrolling doesn't work. If we change ItemsStackPanel to VirtualizingStackPanel, horizontal scrolling works fine. But ContainerContentChanging doesn't work with VirtualizingStackPanel.
    Is it possible to make horizontal scrolling work with ItemsStackPanel?
    Here simple example to reproduce this problem:
    <Page
    x:Class="App8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App8"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Resources>
    <DataTemplate x:Key="ContinuousViewItemTemplate">
    <Border Width="800"
    Background="Green"
    Margin="10"
    Padding="5">
    <Border x:Name="root" Height="800" Background="{Binding}"/>
    </Border>
    </DataTemplate>
    <Style x:Key="ListViewStyle1" TargetType="ListView">
    <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible"/>
    <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled"/>
    <Setter Property="ItemTemplate" Value="{StaticResource ContinuousViewItemTemplate}"/>
    </Style>
    </Page.Resources>
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="100"/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition Width="100"/>
    </Grid.ColumnDefinitions>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="1">
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="3">
    <ListView.ItemsPanel>
    <ItemsPanelTemplate>
    <VirtualizingStackPanel/>
    </ItemsPanelTemplate>
    </ListView.ItemsPanel>
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    </Grid>
    </Page>

    Hi Mikhail Maksyuta,
    Welcome back!
    Yes, you are right! I have reproduced it on VS 2013 professional.
    I will report it as bug, Thanks for your valuable suggestions!
    If you have any other questions about this, please feel free let me know!
    Thanks again!
    Regards! 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Numbers 3.2 has changed too much, it doesn't work with my project anymore. How do I revert back to the previous version I was using?

    Numbers 3.2 has changed too much, it doesn't work with my project anymore. 1) The sheet panels used to be on the left hand side and easily reviewable and searchable, but now they are on the top and it's harder to find a specific folder without scrolling (too time consuming), 2) I used to be able to duplicate a folder within my sheet panel window by simply clicking on a folder and hitting Command D, but that doesn't work now so it looks like I'll have to spend even more time to recreate the same tables that used to be easily duplicated, and 3) I can't choose fill colors that matched my project anymore because there are only limited choices available now. And these are only the changes that I'm aware of. I am very disappointed and frustrated. Whatever the motivation was to limit Numbers 3.2, I want the previous version back. How do I revert back to the previous version I was using?

    The sheet panels used to be on the left hand side and easily reviewable and searchable, but now they are on the top and it's harder to find a specific folder without scrolling (too time consuming),
    You can scroll more quickly between sheets if you don't use the left-right triangles, but instead move the cursor up into the bands with the "tabs" and drag right or left.
    Also, if you have a lot if sheets for which you want a quick vertical list, then you can try the following have something like this pop up (showing your sheet names automatically) whenever you hit a keyboard shortcut (in my case shift-command-j):
    This is done via a Jump to Sheet Automator Service (Dropbox download).  To install just doubleclick the .workflow package and (if needed) click 'Download Anyway' in System Preferences > Privacy & Security.
    This will cause a new item to appear in your Numbers > Services menu.  Then, if you want a keyboard shortcut, go here in System Preferences and add one:
    You can rename or remove the service by holding down the option key in Finder and choosing Go > Library > Services. You can also view the AppleScript contaned within the service by opening the .workflow package in Automator.
    This particular service jumps to the first cell of the first table of the sheet you choose from an automatically generated list of all sheets in the current document.
    SG

  • Can Actions Menu of Interactive Reports work with Custom Authentication?

    My testing is leading my to believe that Actions Menu do not work with Custom Authentication (but only work with APEX Authentication) in APEX 3.1.2? If that's true then is there a work around to this?
    Just to clarify, I've posted/asked this question twice before:
    1) Re: Actions Menu in Interactive Reports does not sort, filter, select cols etc
    2) Interactive Report actions don't work for users (i.e. for non-developers)
    But I've come to believe this is the main problem. I just don't know how to resolve/work around this?
    Thanks for any help.

    I haven't setup a sample because my custom authentication is using LDAP authentication. I'm not sure how I can replicate that on the samples server?
    I'm using LDAP authentication with a Page Sentry function. My further testing reveals that the Page Sentry function is setting the APEX variable user to NULL (ie blank) whenever there's any code in the Page Sentry function box. PL/SQL code as simple as
    BEGIN return TRUE; END;
    in the Page Sentry function box sets the "user" is set to <null>. When the Page sentry function box is left empty (no code specified) it sets the "user" properly after authentication against the specified LDAP directory.
    What all this has to do with Interactive Reports...
    It seems like when the user is NULL it messes-up Interactive Reports that are stored in the flows database. Although it shows the default report properly, but no runtime interactive actions (filtering, sorting, column break, etc.) work.
    Can someone please correct or confirm this?
    Thanks.

  • Shared distribution list CCMS_OnAlert_Email_V2 doesn't work

    Hi,
    My name is Raul Aguilar. I'm working at GRUPOTEC which is a VAR SAP. As a VAR SAP we work with a huge number of customers.I'm using Solution Manager in he Stack 17.
    The CCMS Alert Monitoring scenario is working and the authomatic email
    notification to one person is working too,  but now I need to send the
    alert more than one person. SAP Note 176492 types that I have to create
    a shared  distribution list with the email addresses I want to send the
    alert.
    "Example 3: (VALID TO DISTRIBUTION LIST)
    Parameter name Parameter value
    1. SENDER <ADMINUSER> (in client 000)
    2. RECIPIENTDistributionListIn000
    3. RECIPIENT-TYPEID C
    4. TIME_ZONE<Time zone> (optional)
    where DistributionListIn000 is a shared distribution list in client 000
    (important: The SAPSYS can only find the distribute list here) which, in
    turn, can contain any number of 'remote address' entries."
    I'm using a copy of the method CCMS_OnAlert_Email_V2
    (ZCCMS_OnAlert_Email_V2). SCOT transaction is configured at  working
    client (010) and also at client 000.
    I use RECIPIENT-TYPEID "C" as mentioned at SAP Note and at the following
    help.sap.com link:  http://help.sap.com/saphelp_46c/helpdata/es/6c/69c175418d11d1896e0000e8322d00/frameset.htm
    At the tab parameters:     
         Parameter Name         Parameter value
    1.   SENDER                 ADMIN
    2.   RECIPIENT              TESTGRUPOTEC
    3.   RECIPIENT-TYPEID       C
    4.   REACT_ON_ALERTS        RED
    5.   SUBJECT_ALERT          Alert in GRP
    6.   SUBJECT_ALERT_CONT
    TESTGRUPOTEC is a distribution list defined at 000 client.
    Please, remember that if we use only an email address it works, but if
    we try to use a distribution list it  doesn't work.
    Please, Could you help me?
    Thanks and regards,
    Raul
    Edited by: Raul Aguilar on May 13, 2009 1:34 PM

    Hi Bhudev,
    Thanks your fast reply.
    I checked manually send message to distribution list and it works. This distribution list contains only internet address.
    Please could you help me?
    Regards.
    Raul

  • TS1702 How do I hide purchased apps with iOS 6? With iOS 5 you can swipe the unwanted app to hide it, but this doesn't work with iOS 6.

    How can I hide an app from the list of purchased apps using iOS6? With iOS 5 you can swipe the icon to display a red Hide icon, but this doesn't work with iOS 6. Suggestions (that work) will be appreciated.

    Yes. On a computer. Not ios6.
    On iTunes on your computer under purchased, select the x on the top corner. That will hide them.

  • The mouse scroll wheel doesn't work with Xorg

    I recently installed Solaris 10 on my x86 box. One issue is that the mouse scroll wheel doesn't work with Xorg. Hmmm... Okay, it sometimes did work, and most of the time went on strike, and recovered at random. This pattern continued.
    My mouse is an ordinary PS/2 one with two buttons and a scroll wheel. I want to promise that there's absolutely nothing wrong with it per se. Here is some info:
    $ uname -a
    SunOS arbiter 5.10 Generic_127112-07 i86pc i386 i86pc
    $ grep -i mouse /var/log/Xorg.0.log
    (**) |-->Input Device "Mouse0"
    (II) LoadModule: "mouse"
    (II) Loading /usr/X11/lib/modules/input//mouse_drv.so
    (II) Module mouse: vendor="X.Org Foundation"
    (==) NVIDIA(0): Silken mouse disabled
    (II) Mouse0: Setting Device option to "/dev/mouse"
    (**) Mouse0: Protocol: VUID
    (**) Mouse0: Core Pointer
    (**) Option "Device" "/dev/mouse"
    (**) Mouse0: ZAxisMapping: buttons 4 and 5
    (**) Mouse0: Buttons: 9
    (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
    # The section about mouse in /etc/X11/xorg.conf follows:
    Section "InputDevice"
            Identifier  "Mouse0"
            Driver      "mouse"
            Option      "Protocol" "auto"
            Option      "Device" "/dev/mouse"
            Option      "Buttons" "5"
            Option      "ZAxisMapping" "4 5"
            Option      "Emulate3Buttons" "false"
    EndSection
    # Note that the only result of explicitly changing protocol to ExplorerPS/2, PS/2, IMPS/2 or whatever else is that the cursor jumped here and there and everywhere when I moved the mouse.I ever post one in comp.unix.solaris to ask for help but got no effective solution. Thank you all.

    You remember correctly, Yvan.
    The 6.2.9 updater is available http://www.apple.com/support/downloads/appleworks629formac.htmlhere. Note that the updater is language specific. The one at the top of the list is for the International English version of AppleWorks. The US English version is the one in the box at the upper right, identified only by its file size.
    Regards,
    Barry

Maybe you are looking for

  • How to batch change year only?

    I would like to batch change the year only (leaving all other metadata, to include day and time, the same.  In a recent 5 day shoot I have discovered that my camera was set on 2013 rather than 2014.  Is this possible?  The date, to include year, does

  • Version management for contact

    dear gurus Please suggest me , your help would be greate pleasure I was activated the Version managemnt  for contract documents, there i have selected the reason for change as REQUIRED entry , when i am changing amount in header level, system not ask

  • OC4J classpath and JAZN

    In my project we're using the DBTableOraDataSourceLoginModule login module in order to store usernames and passwords to the database. I've created a customized SHA1 encoder that extends DBLoginModuleEncodingInterface for database password hashing. Wh

  • Anyone else seriously annoyed at the total lack of Thunderbolt support?

    Apart from the oversized thunderbolt servers for sale on the Apple store (totally in-appropriate for the new macbook air or mac-mini) why is it taking so long for any external drives, adapter cables to appear. Lacie claim to have a portable Thunderbo

  • Begining to throw in the towel brcause of files/

    Click the wrong button and open files disappear. I can't choose what files to open or simply go where I want. I created a file on desktop because I kept losing files. I try to save it and that file isn't on the menu because I haven't used it before.