Declaring Event as a Map

Hi experts,
I have encountered some problem in declaring an event type as a map. For some reason, when I use the sample provided by oracle:
<wlevs:event-type type-name="AnotherEvent">
*<wlevs:property>* <-- this requires a name but since I am using a map, this should not be a problem
<entry key="name" value="java.lang.String"/>
<entry key="age" value="java.lang.Integer"/>
<entry key="address" value="java.lang.String"/>
</wlevs:property>
I encountered an exception nested exception is org.xml.sax.SAXParseException cvc-complex-type.4: Attribute 'name' must appear on element 'wlevs:property'. Since I followed the example I am expecting that it should run without problem but the example itself gives me an exception. Did I miss something or do I need to update some library?
The next question is, in CEP example, it only gives you how to declare the map in the cep context.xml, but it did not give any example in how to access the map within the java code. Is there any of you who tried to access the map in java code and passed it in the channel? Can you post a sample code? Help is greatly appreciated.
Regards,
Russel

through Anand Srinivasan     
I am using HelloWorld to illustrate how your requirement can be met ---
1) First in the assembly file, define the event-type as a Tuple
<wlevs:event-type-repository>
<wlevs:event-type type-name="HelloWorldEvent">
<wlevs:properties>
<wlevs:property name="message" type="char" length="200"/>
</wlevs:properties>
</wlevs:event-type>
</wlevs:event-type-repository>
2) In the HelloWorldAdapter -
@Service
public void setEventTypeRepository(EventTypeRepository etr) {
etr_ = etr;
private void generateHelloMessage() {
String message = this.message + dateFormat.format(new Date());
// HelloWorldEvent event = new HelloWorldEvent();
EventType type = etr_.getEventType("HelloWorldEvent");
EventProperty messageProp = type.getProperty("message");
Object event = type.createEvent();
messageProp.setValue(event, message);
eventSender.sendInsertEvent(event);
This illustrates how you can create an event (Tuple) and send the Tuple downstream. The same approach can be followed in the HelloWorldBean (the "B" part of your app - to send to the "C" part of your app)
3) HelloWorldBean - the "B" part of your app
First of all here is how you can read the data in the tuple -
@Service
public void setEventTypeRepository(EventTypeRepository etr) {
etr_ = etr;
public void onInsertEvent(Object event) {
EventType eventType = etr_.getEventType(event);     
String prop = (String)eventType.getPropertyValue(event, "message");
System.out.println("Tuple Message: " + prop);
Now, since you want to send further downstream to a "C", you will need to do the following -
public class HelloWorldBean implements StreamSource, StreamSink
Once you decide to implement "StreamSource", you will need -
public void setEventSender(StreamSender sender) {
streamSender_ = sender;
Then, use a similar approach as in the adapter to instantiate a new event, populate its properties and then call "streamSender_.sendInsertEvent"

Similar Messages

  • No declarative use of dvt: map component

    Is possible to use in not declarative way a dvt map component like Oracle Maps Ajax Javascript API?
    Thanks
    Juan Carlos LLanes

    s possible to obtain any example about how to use programatically a dvt.map component to send ( for example) a Zoom-In command to mapviewer server?

  • Same time Most of the Outlook2k10 users Disconnect and Event 9646 32 MAPI Session event is logged

    Exchange 2010 SP3 RU5, windows 2008 R2 SP1 and outlook 2010.
    4 CAS Servers behind F5 Load balancer and 7 Mailbox servers are configured in DAG.
    issue: 
    - For most of the users Outlook shows 'Disconnected' state and outlook will not connect even if you restart the client PC.
    - All effected users are from different databases and are on different mailbox servers.
    - For all the effected users, we are receiving 9646 Event for exceeding 32 MAPI Sessions. And this event is coming on all mailbox servers at same time, So I am thinking it is some common problem, but couldn't figured it out.
    -- To fix the issue i have restarted the Exchange servers..
    - In RPC Logs, I can see Session drop errors.
    ============
    OUTLOOK.EXE ncacn_ip_tcp 0x6BA (rpc::Exception) 57:16.0 SessionDropped RpcEndPoint: [ServerUnavailableException] Connection must be re-established -> [SessionDeadException] Connection is severed (ConnectionFailedTransientException).
    Client needs to reconnect. -> [ConnectionFailedTransientException] Cannot get synchronize buffers from Microsoft.Exchange.Data.Storage.SynchronizerProviderBase. -> [MapiExceptionNetworkError] MapiExceptionNetworkError: Synchronization failure. (hr=0x80040115,
    ec=0)   
     OUTLOOK.EXE ncacn_http 0x6BA (rpc::Exception) 36:08.7 SessionDropped RpcEndPoint: [ServerUnavailableException] Connection must be re-established -> [SessionDeadException] Connection is severed (ConnectionFailedTransientException).
    Client needs to reconnect. -> [ConnectionFailedTransientException] Cannot get recipient table. -> [MapiExceptionNetworkError] MapiExceptionNetworkError: Unable to get recipient table. (hr=0x80040115, ec=0)   
    =========================================
    - I found KB http://support.microsoft.com/kb/2781488  for similar issue, but as per the article issue is fixed in SP3 RU1 - But we are running SP3 RU5
    Any help regarding this issue will be highly appreciated.
    Looking forward to the response,
    Regards,
    Ghouse

    Hi Ghouse,
    Please check whether there is a service account for a third-party application that interacts with Exchange server.
    Generally, event 4969 occurs because the default maximum number(by default the value is 32) of connections that an account can open was exceeded. There should be a mapi session in your Event description. Please run the following cmdlet to grant the service
    account the "View Information Store status" permission:
    Add-ADPermission -Identity “Exchange Administrative Group (FYDIBOHF23SPDLT)” -User account_or_group_name
    -AccessRights ExtendedRight -ExtendedRights "View information store status" -InhertanceType Descendents
    For more information about it, please refer to the following KB:
    http://support.microsoft.com/kb/2742012
    If it doesn’t work, please check whether the problematic users can access OWA or work well in OWA. Also collect the Test E-mail AutoConfiguration results in Outlook for further anylysis.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Mapping an Argument Set to End Event

    Hi,
    I presently have a requirement where we trigger different operations based on the input arguments. We created different argument sets for each of our requirements and exposed all those argument sets as operations on the BPM WSDL using Process Execution option.
    However, we couldn't map our responses for each of our operations in a similar manner. We would like to know if there is an equivalent to creating argument sets in the end event too for mapping our responses.
    Any help in this regard is appreciated.
    Regards,
    Rudraksh

    Hi,
    It seems that SM is not able to execute a workflow that related to ServiceRequest
    try to run the following command to find out the workflow name:
    get-scsmworkflow -id <WorkflowID>
    If the workflow does not exist in the SM console or if you would like to force deleting it then run:
    get-scsmworkflow -id <WorkflowID> | remove-scsmworkflow
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Issue with Copy of events from Outlook Calendar to SharePoint 2010 calendar(mapped in outlook)

    There is a issue while copying events in Outlook mapped SharePoint 2010 Calendar.
    This issue only seems to happen when user copies an event from his Outlook calendar to the SharePoint 2010 calendar. 
    He is able to create a new event in the SharePoint calendar from Outlook. 
    He tried below steps, but still no success
    1.
    Open your Outlook calendar.
    2. Open the event you want to copy.
    3. From the File menu, select Info.
    4. Click the Move to Folder button.
    5. In the Copy Items To dialog box, scroll down to the SharePoint Lists item and select the SharePoint calendar to which you want to copy the event.
    6. Click the OK button.
    7. Click the Yes button when prompted to continue. 
    Please let me know if there is any possible solution for it.

    Hi,
    I have done a test as your steps. I am able to copy an event from my Outlook calendar to the SharePoint 2010 calendar.
    1. I suggest you test in another compute, perhaps your Outlook results to that issue.
    2. Please create a new site collection, then test again, compare the result.
    3. Maybe it will take some time before the copied event displays in the SharePoint 2010 calendar. So, wait a minute, compare the result. 
    Best Regards,
    Wendy Li
    TechNet Community Support

  • Re:Event declaration and handling in portals

    Hi,
    I am new to portal and I got struck in how to access events and to declare events as well .
    Please guide me in this issue
                                         Thank You,
                                         D.Durga Rao

    Hi,
      Check this link for the tag for button. It shows onClientClick and onClick. onClientClick is client side validation (code written in javascript inside jsp itself) and onClick is server side validation.
    http://help.sap.com/saphelp_nw70/helpdata/en/f1/9a0e41a346ef6fe10000000a1550b0/content.htm
    For server side: Use onClick:
    JSP DynPage: Declaration of the method that processes the event:
    public void myClick (Event event) { ..coding.. }
    or
    public void onMyClick (Event event) { ..coding.. }
    Here myClick is like ProcessConfirm defined for button. It can be defined as
    public void ProcessConfirm (Event event) { ..coding.. }
    or
    public void onProcessConfirm (Event event) { ..coding.. }
    Regards,
    Harini S

  • How can i get LatLng out of a database to work in maps?

    Hello,
    I am struggeling with a problem with a project of mine for several months now.
    In Flash Builder i have a Flex Mobile Project with a list and on click, i want a map to show up.
    What i try to do is, get the coordinates from a database and transport it to a map on a mobile device.
    This is my sample code :
    protected function onMapReady(event:MapEvent):void
                                            map.setCenter(new LatLng(53.207208,5.913611), 14, MapType.NORMAL_MAP_TYPE);
                                            var markerA:Marker = new Marker( new LatLng(53.207208,5.913611)  );
                                            map.addOverlay(markerA);
                                            map.addControl(new ZoomControl());
                                            map.addControl(new PositionControl());
                                            map.addControl(new MapTypeControl());
                                            startGPS();
    I get my lat and lng from the database and push it to the next view.
    On this view i  get the data as {data.lat} and  {data.lng}.
    If i put this in a textfield it works:    <s:Label y="100" left="10" right="10" text="{data.lat},{data.lng}"/>
    But if i try to put it in a new LatLng() like this: new LatLng({data.lat},{data.lng}), the marker doen't show in the map and i have errors in FlashBuilder.
    Maybe my approach is wrong, so if you know a better way to do it i am open to it.
    Can you help me to solve this problem.
    I would be very gratefull if you would help me.
    Sincerely, Gerard Weijer

    Thank you very much!!!.. It works..
    But now i have 2 markers and i want the route to be shown as an blue line in between the markers...
    This code produces the 2 markers:
    protected function onMapReady(event:MapEvent):void
                                            map.setCenter(new LatLng(data.lat,data.lng), 14, MapType.NORMAL_MAP_TYPE);
                                            var markerA:Marker = new Marker( new LatLng(data.lat,data.lng) );
                                            map.addOverlay(markerA);
                                            map.addControl(new ZoomControl());
                                            map.addControl(new PositionControl());
                                            map.addControl(new MapTypeControl());
                                            startGPS();
                                  protected function startGPS():void {
                                            if(Geolocation.isSupported){
                                                      geoLocation = new Geolocation();
                                                      if(geoLocation.muted){
                                                      geoLocation.setRequestedUpdateInterval(3000);
                                                      geoLocation.addEventListener(GeolocationEvent.UPDATE, handleLocationRequest);     
                                            } else {
                                                     // turn on gps!
                                  private function handleLocationRequest(event:GeolocationEvent):void {     
                                            map.setCenter(new LatLng(event.latitude,event.longitude));   
                                            var markerB:Marker = new Marker(
                                                      new LatLng(event.latitude,event.longitude));
                                            map.addOverlay(markerB);

  • Process Flow - mapping not inserting data

    I have a process flow that executes three mappings in sequence i.e Map1 -> Map2 -> Map3.
    However, sometimes the process flow will execute and no data will be inserted by MAP2, other times it runs ok. If I run the mappings directly data is always inserted.
    The only workaround I've found is to add a WAIT of 10sec between Map1 and Map2 in the process flow.
    Has anyone come across anything like this and how did you work around or fix it?
    OWB 10.2.0.3 btw.
    Cheers
    Si
    PS. transitions are ok.

    Hi
    If you have any map inputs make sure they are also declared in the processflow map - you basicly need to bind them.
    You probably need to investigate from the beginning to understand your result of incoherent data.
    What I would to first is.
    1. Generete an intermediete code - choose your table as outgroup.
    2. Review the code - are there any loading hints ?
    3. Debug the map
    Check your locations.
    If everything seems right then the problem should lay on your workflow manager.
    Remember that the workflow manager has only one namespace, so watchout for mapping name. I had strange executions on my PF because one of my maps had a "½" in the name.
    Check the settings of the map - if you have enterd a set based run in your map and a row based run in the processflow.
    Remember the setting in the processflow is the "superior" one
    Just ideas what you can do.
    Cheers

  • Exception while perfroming Java mapping in XI

    Hi there,
    Im doing some java mapping in XI using the standard/classic DOM and JAXP packages, I have tested everything outside XI and the code seems to be OK.
    However when I deploy the code into XI self and run a test, something goes wrong.
    This is the exception Im getting from my log (PS: In th eyes of XI eveything goes fine, but this is because I have all my code surrounded by try/catch statements...):
    <b>java.lang.ClassCastException: com.inqmy.lib.xml.dom.DocumentImpl</b>
    1) First, what I dont understand here is the fact that Im not doing any kind of parsing to this type "com.inqmy.lib.xml.dom.DocumentImpl" in my code, so Why XI is doing this?
    2) It seems to me like XI internally uses this "fancy" INQMY package to perform my XML parsing/mapping. But nowhere in the documentation is mentioned, at least I haven't read about it.
    3) Is there anyplace where I can find/download this package "com.inqmy.lib.xml.dom.*" so that I can test/debug my code using this specific SAP pacakge?
    Can anyone give me some clues how to solve and prevent this issue? Below is the part of the code where the exception is generated:
         private void processMultiMessages(Vector indexVector, NodeList msgList) {
              Iterator iter = indexVector.iterator();
              Integer tempIndex = null;
              int index = 0;
              try {
                   for (int i = 0; i < indexVector.size(); i++) {
                        tempIndex = (Integer) indexVector.elementAt(i);
                        index = tempIndex.intValue();
                        Range range = ((DocumentRange) mainDocument).createRange();
                        range.setStartBefore(msgList.item(index));
                        if ((i + 1) > (indexVector.size() - 1)) {
                             index = msgList.getLength() - 1;
                             range.setEndAfter(msgList.item(index));
                        } else {
                             tempIndex = (Integer) indexVector.elementAt(i + 1);
                             index = tempIndex.intValue();
                             range.setEndAfter(msgList.item(--index));
                        createNewMsg(range.cloneContents());
                        range.detach();
                   getSystemParams().put("STATUS", "OK");
                   getSystemParams().put("TOTAL_MSG", new Integer(indexVector.size()));
                   getSystemParams().put(
                        "STATUS_MSG",
                        "Target directory on XI Server: " + folder);
                   this.out.write(
                        new LogDocument().createDocument(getSystemParams()).getBytes());
              } catch (Exception e) {
                   getSystemParams().put("STATUS", "FAIL");
                   getSystemParams().put("TOTAL_MSG", new Integer(indexVector.size()));
                   getSystemParams().put(
                        "STATUS_MSG",
                        "** Exception in Java Mapping: " + e.toString() +" ** System error: " +  System.err);
                   try {
                        this.out.write(
                             new LogDocument()
                                  .createDocument(getSystemParams())
                                  .getBytes());
                        e.printStackTrace();
                   } catch (IOException ioE) {
                        ioE.printStackTrace();

    Hi there,
    I have included the inqmyxml.jar in my classpath and perfor
    med some tests (outside XI), with good results.
    However, when I copy/deploy the same classes into XI then the problem still there. My Java class is complaining about some ClassCastException, the error looks like this:
    java.lang.ClassCastException: com.inqmy.lib.xml.dom.DocumentImpl
    has anyone any ideas/clues was happening here?
    Cheers,
    Rob.
    PS: These are the packages Im importing in my class:
    import com.sap.aii.mapping.api.*;
    <i>import java.io.*;
    import java.sql.Timestamp;
    import java.text.SimpleDateFormat;
    import java.util.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import org.w3c.dom.*;
    import org.w3c.dom.ranges.*;
    import com.inqmy.lib.jaxp.*;
    import com.inqmy.lib.xml.*;
    import com.inqmy.lib.xml.parser.*;
    import com.inqmy.lib.xml.dom.*;</i>
    And these are the Global vars Im using:
    <i>     // declare Global vars
         private Map systemParams;
         private InputStream in;
         private OutputStream out;
         private DocumentBuilderFactory domFactory;     
         private DocumentBuilder documentBuilder;
         private Document mainDocument;
         private String path;
         private String separator;
         private File folder;</i>
    And finally this is the way I start my mapping/parsing process:
    <i>               ClassLoader cl = Thread.currentThread().getContextClassLoader();
                   Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
    domFactory = DocumentBuilderFactoryImpl.newInstance();
                   Thread.currentThread().setContextClassLoader(cl);
    // Optional: set various configuration options
                   domFactory.setIgnoringComments(true);
                   domFactory.setIgnoringElementContentWhitespace(true);
    domFactory.setValidating(false);
    domFactory.setCoalescing(false);
    // Create and set documentBuilder
    documentBuilder = domFactory.newDocumentBuilder();
    // parse the input file
    mainDocument = documentBuilder.parse(in);
    </i>

  • Touch to Mouse events conversion

    Hi Everybody!
    Does anybody know how correctly fire mouse events to Oracle Maps in javascript?
    Default translation touch events in iPad Safari does not quite fit. It try zoom or pan browser window, not map. :(
    If catch touch events and disable default translation I can zoom and pan MVMapView object.
    But how fire "click","mousemove","mouseover" events on Map? I need dispatch event to ThemeBasedFOIs (InfoWindow Popup and other listeners)?

    Yes. The Oracle Maps tutorial contains examples (the tutorial can be found in your mapviewer deployment
    e.g. http://localhost:7001/mapviewer/fsmc/tutorial/index.html) and documentation in the API reference
    (e.g. http://localhost:7001/mapviewer/fsmc/apidoc/index.html). Look at MVEvent and the attachEventListener function of MVMapView, MVThemeBasedFOI, and MVFOI classes for example.

  • Portlet event link to pass parameter between portlets

    Ok list, I followed the documentation Adding Parameters and Events to Portlets
    PDK Release 2 (9.0.2 and later) and tried to make a portlet that pass parameter to another portlet using event link. I created the supposed parameter in the page and made the correct association to the receiving parameter portlet. The case is: The parameter is not caught in the receiving parameter page.
    This is my event link jsp code:
    <%
    String sImgPath = PropertiesReader.getProperty(PropertiesReader.KEY_IMAGES_PATH);
    PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    // The portlet definition in provider.xml includes the following:
    // - Event "submit" with event parameters "funcionalidade"
    String eventSubmit = EventUtils.eventName("submit");
    String eventParamFuncionalidade = EventUtils.eventParameter("funcionalidade");
    // Build up the list of parameters for the "submit" event
    NameValuePair[] eventSubmitParams = new NameValuePair[2];
    // Give the 'funcionalidade' event parameter the constant value 'chat'
    eventSubmitParams[0] = new NameValuePair(eventParamFuncionalidade, "chat");
    // The event name must be passed as a parameter on the URL
    eventSubmitParams[1] = new NameValuePair(eventSubmit, "");
    %>
    <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
    <TR><TD><a href="<%=PortletRendererUtil.constructLink(portletRequest,   portletRequest.getRenderContext().getEventURL(), eventSubmitParams, true, true)%>"><IMG SRC="<%= sImgPath + "menuButChat.gif" %>" BORDER="0"></a></TD><TR>
    </TRABLE>
    And this is my receiving parameter jsp code:
    <%
    String sFuncionalidade = "";
    PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    // Get the portlet definition - needed to get the public portlet parameters
    PortletDefinition portlet = portletRequest.getPortletDefinition();
    // Get the public portlet parameters
    ParameterDefinition[] parameters = portlet.getInputParameters();
    // Display all values for each of the public portlet parameters
    for (int currParameter = 0; currParameter < parameters.length; currParameter++)
    String name = parameters[currParameter].getName();
    out.println(" <p>name = " + name + "</p> ");
    // Get the parameter values
    String[] values = portletRequest.getParameterValues(name);
    // Display the parameter's values.
    if ( values == null )
    // Null array indicates no values for this parameter.
    out.println(" <p>values i null</p> ");
    else
    out.println(" values nco i null ");
    // Loop through each of the values and display non-null values on a separate line.
    for ( int j = 0; (values != null) && (j < values.length); j++ )
    sFuncionalidade = values[j];
    out.println(" <p>" + sFuncionalidade + "</p> ");
    %>
    And this is my portlet definition in provider.xml:
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>3</id>
    <name>MenuColaboracao</name>
    <title>Menu de Colaboragco</title>
    <shortTitle>Menu de Colaboragco</shortTitle>
    <description>Portlet de menu para funcionalidade de Comuicagco e Colaboragco.</description>
    <timeout>10000</timeout>
    <timeoutMessage>Portlet timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>false</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/menuColaboracao.jsp</showPage>
    <pageParameterName>next_page</pageParameterName>
    </renderer>
         <event class="oracle.portal.provider.v2.DefaultEventDefinition">
         <name>submit</name>
    <description>Use this event to submit the form data to a page</description>
    <parameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>funcionalidade</name>
    <displayName>funcionalidade</displayName>
    <description>Parbmetro que indica a funcionalidade a ser apresentada.</description>
    </parameter>
    </event>
    </portlet>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>4</id>
    <name>HomeController</name>
    <title>Home Controller</title>
    <shortTitle>Home Controller</shortTitle>
    <description>Portlet que controla a exibigco do jsp correspondente a opgco de menu selecionada.</description>
    <timeout>10000</timeout>
    <timeoutMessage>Portlet timed out</timeoutMessage>
    <showEdit>false</showEdit>
    <showEditDefault>false</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>false</showDetails>
    <hasHelp>false</hasHelp>
    <hasAbout>false</hasAbout>
    <acceptContentType>text/html</acceptContentType>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>false</renderContainer>
    <contentType>text/html</contentType>
    <showPage>/homeController.jsp</showPage>
    <pageParameterName>next_page</pageParameterName>
    </renderer>
         <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
         <name>funcionalidade</name>
    <displayName>funcionalidade</displayName>
    <description>Parbmetro que indica a funcionalidade a ser apresentada.</description>
    </inputParameter>
    </portlet>
    Where do I miss ???
    Any help will be appreciated.
    Regards,
    Leandro.

    Leandro,
    Few things which you might want to cross check to see if we are
    on the right track :
    1. Page containing Parameter receiving portlet contains a
    paga parameter mapped on to its public parameter.
    As per your example, parameter receiving page should have a page
    parameter with name - "funcionalidade" - and portlet's corresponding
    parmeter should be mapped to this page parameter. This can be
    done through "Parameters" tab in the Page Properties screen.
    2. Page containing Parameter passing portlet contains proper event
    mapping.
    As per your example, we have an event called "submit". We should
    be able to see "submit" event under "MenuColaboracao" portlet.
    When this event is raised, select which page should receive the event
    data. As soon as a page is selected, this page's public parameters
    are displayed below. Beside that we must be able to see a choice box
    which displays four choices one of which would be "Event Output".
    Map this output to the event parameter.
    Hope it helps.
    -AMJAD.

  • Horizontal mapping with inverse-owner doesn't work

    Hi,
    We encountered a problem of using inverse-owner with horizontal mapping.
    Here is the example.
    public abstract class A {
    //collection of class T
    private Set ts = new HashSet()
    public class B extends A {
    private String name;
    public class T {
    private A owner;
    private String text;
    we use metadata factory. package.jdo looks like this.
    <class name="T"/>
    <class name="A">
    <extension vendor-name="kodo" key="jdbc-class-map" value="horizontal"/>
    <field name="ts">
    <collection element-type="T"/>
    <extension vendor-name="kodo" key="inverse-owner"
    value="owner"/>
    </field>
    </class>
    <class name="B" persistence-capable-superclass="A">
    </class>
    mappingtool gives java.lang.ClassCastException
    at kodo.jdbc.meta.OneToManyFieldMapping.map(OneToManyFieldMapping.java:126)

    Fred-
    This is a bug in the automatic generation of mappings. See:
    http://bugzilla.solarmetric.com/show_bug.cgi?id=1096
    Note this this bug only seems to apply to the automatic generation of
    mappings: if you manually compose the .mapping file, then you can
    express the one-many mapping (provided you can cast it down to a single
    concrete type with the "type" extension).
    See the bug report page for an example mapping file solution.
    In article <[email protected]>, Fred Chen wrote:
    Hi,
    When using horizontal mappings, you cannot have an inverse type relation
    to a horizontally mapped class (there is no table to hold the
    inverse!)But that is precisely why we want to use the inverse mapping (to AVOID the
    unecessary middle table). Can you explain in a bit more detail why this is
    not supported?
    Thanks,
    Fred
    "Stephen Kim" <[email protected]> wrote in message
    news:[email protected]...
    When using horizontal mappings, you cannot have an inverse type relation
    to a horizontally mapped class (there is no table to hold the
    inverse!). However, if you have a concrete type that it is always
    mapped to, you can indicate that using the type and element-type
    extensions to override the Java declarations to the concrete mapped type.
    Fred Chen wrote:
    Hi,
    We encountered a problem of using inverse-owner with horizontal mapping.
    Here is the example.
    public abstract class A {
    //collection of class T
    private Set ts = new HashSet()
    public class B extends A {
    private String name;
    public class T {
    private A owner;
    private String text;
    we use metadata factory. package.jdo looks like this.
    <class name="T"/>
    <class name="A">
    <extension vendor-name="kodo" key="jdbc-class-map" value="horizontal"/>
    <field name="ts">
    <collection element-type="T"/>
    <extension vendor-name="kodo" key="inverse-owner"
    value="owner"/>
    </field>
    </class>
    <class name="B" persistence-capable-superclass="A">
    </class>
    mappingtool gives java.lang.ClassCastException
    at
    kodo.jdbc.meta.OneToManyFieldMapping.map(OneToManyFieldMapping.java:126)
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Handling events inooabap

    Hi all,
    As iam new to ooabap i want to know how to declare events in classes and how to trigger them. please give me a sample code so that i can understand easily and also links related to that.

    hi lakshmi,
    look at this sap standard example its available in your system open SE38 and insert demo_abap_objects
    REPORT demo_abap_objects_events NO STANDARD PAGE HEADING.
    INCLUDE <list>.
    Declarations
    INTERFACE i_vehicle.
      DATA     max_speed TYPE i.
      EVENTS:  speed_change EXPORTING value(new_speed) TYPE i.
      METHODS: drive,
               stop.
    ENDINTERFACE.
    CLASS c_ship DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA ship_speed TYPE i.
    ENDCLASS.
    CLASS c_truck DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA truck_speed TYPE i.
    ENDCLASS.
    CLASS status DEFINITION.
      PUBLIC SECTION.
        CLASS-EVENTS button_clicked EXPORTING value(fcode) TYPE sy-ucomm.
        CLASS-METHODS: class_constructor,
                       user_action.
    ENDCLASS.
    CLASS c_list DEFINITION.
      PUBLIC SECTION.
        METHODS: fcode_handler FOR EVENT button_clicked OF status
                                   IMPORTING fcode,
                 list_change   FOR EVENT speed_change OF i_vehicle
                                   IMPORTING new_speed,
                 list_output.
      PRIVATE SECTION.
        DATA: id TYPE i,
              ref_ship  TYPE REF TO c_ship,
              ref_truck TYPE REF TO c_truck,
              BEGIN OF line,
                id TYPE i,
                flag(1) TYPE c,
                iref  TYPE REF TO i_vehicle,
                speed TYPE i,
              END OF line,
              list LIKE SORTED TABLE OF line WITH UNIQUE KEY id.
    ENDCLASS.
    Implementations
    CLASS c_ship IMPLEMENTATION.
      METHOD constructor.
        max = 30.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK ship_speed < max.
        ship_speed = ship_speed + 10.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK ship_speed > 0.
        ship_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_truck IMPLEMENTATION.
      METHOD constructor.
        max = 150.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK truck_speed < max.
        truck_speed = truck_speed + 50.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK truck_speed > 0.
        truck_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS status IMPLEMENTATION.
      METHOD class_constructor.
        SET PF-STATUS 'VEHICLE'.
        WRITE 'Click a button!'.
      ENDMETHOD.
      METHOD user_action.
        RAISE EVENT button_clicked EXPORTING fcode = sy-ucomm.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_list IMPLEMENTATION.
      METHOD fcode_handler.
        CLEAR line.
        CASE fcode.
          WHEN 'CREA_SHIP'.
            id = id + 1.
            CREATE OBJECT ref_ship.
            line-id = id.
            line-flag = 'C'.
            line-iref = ref_ship.
            APPEND line TO list.
          WHEN 'CREA_TRUCK'.
            id = id + 1.
            CREATE OBJECT ref_truck.
            line-id = id.
            line-flag = 'T'.
            line-iref = ref_truck.
            APPEND line TO list.
          WHEN 'DRIVE'.
            CHECK sy-lilli > 0.
            READ TABLE list INDEX sy-lilli INTO line.
            CALL METHOD line-iref->drive.
          WHEN 'STOP'.
            LOOP AT list INTO line.
              CALL METHOD line-iref->stop.
            ENDLOOP.
          WHEN 'CANCEL'.
            LEAVE PROGRAM.
        ENDCASE.
        CALL METHOD list_output.
      ENDMETHOD.
      METHOD list_change.
        line-speed = new_speed.
        MODIFY TABLE list FROM line.
      ENDMETHOD.
      METHOD list_output.
        sy-lsind = 0.
        SET TITLEBAR 'TIT'.
        LOOP AT list INTO line.
          IF line-flag = 'C'.
            WRITE / icon_ws_ship AS ICON.
          ELSEIF line-flag = 'T'.
            WRITE / icon_ws_truck AS ICON .
          ENDIF.
          WRITE: 'Speed = ', line-speed.
        ENDLOOP.
      ENDMETHOD.
    ENDCLASS.
    Global data of program
    DATA list TYPE REF TO c_list.
    Program events
    START-OF-SELECTION.
      CREATE OBJECT list.
      SET HANDLER: list->fcode_handler,
                   list->list_change FOR ALL INSTANCES.
    AT USER-COMMAND.
      CALL METHOD status=>user_action.
    REPORT demo_abap_objects_events NO STANDARD PAGE HEADING.
    INCLUDE <list>.
    Declarations
    INTERFACE i_vehicle.
      DATA     max_speed TYPE i.
      EVENTS:  speed_change EXPORTING value(new_speed) TYPE i.
      METHODS: drive,
               stop.
    ENDINTERFACE.
    CLASS c_ship DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA ship_speed TYPE i.
    ENDCLASS.
    CLASS c_truck DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA truck_speed TYPE i.
    ENDCLASS.
    CLASS status DEFINITION.
      PUBLIC SECTION.
        CLASS-EVENTS button_clicked EXPORTING value(fcode) TYPE sy-ucomm.
        CLASS-METHODS: class_constructor,
                       user_action.
    ENDCLASS.
    CLASS c_list DEFINITION.
      PUBLIC SECTION.
        METHODS: fcode_handler FOR EVENT button_clicked OF status
                                   IMPORTING fcode,
                 list_change   FOR EVENT speed_change OF i_vehicle
                                   IMPORTING new_speed,
                 list_output.
      PRIVATE SECTION.
        DATA: id TYPE i,
              ref_ship  TYPE REF TO c_ship,
              ref_truck TYPE REF TO c_truck,
              BEGIN OF line,
                id TYPE i,
                flag(1) TYPE c,
                iref  TYPE REF TO i_vehicle,
                speed TYPE i,
              END OF line,
              list LIKE SORTED TABLE OF line WITH UNIQUE KEY id.
    ENDCLASS.
    Implementations
    CLASS c_ship IMPLEMENTATION.
      METHOD constructor.
        max = 30.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK ship_speed < max.
        ship_speed = ship_speed + 10.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK ship_speed > 0.
        ship_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_truck IMPLEMENTATION.
      METHOD constructor.
        max = 150.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK truck_speed < max.
        truck_speed = truck_speed + 50.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK truck_speed > 0.
        truck_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS status IMPLEMENTATION.
      METHOD class_constructor.
        SET PF-STATUS 'VEHICLE'.
        WRITE 'Click a button!'.
      ENDMETHOD.
      METHOD user_action.
        RAISE EVENT button_clicked EXPORTING fcode = sy-ucomm.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_list IMPLEMENTATION.
      METHOD fcode_handler.
        CLEAR line.
        CASE fcode.
          WHEN 'CREA_SHIP'.
            id = id + 1.
            CREATE OBJECT ref_ship.
            line-id = id.
            line-flag = 'C'.
            line-iref = ref_ship.
            APPEND line TO list.
          WHEN 'CREA_TRUCK'.
            id = id + 1.
            CREATE OBJECT ref_truck.
            line-id = id.
            line-flag = 'T'.
            line-iref = ref_truck.
            APPEND line TO list.
          WHEN 'DRIVE'.
            CHECK sy-lilli > 0.
            READ TABLE list INDEX sy-lilli INTO line.
            CALL METHOD line-iref->drive.
          WHEN 'STOP'.
            LOOP AT list INTO line.
              CALL METHOD line-iref->stop.
            ENDLOOP.
          WHEN 'CANCEL'.
            LEAVE PROGRAM.
        ENDCASE.
        CALL METHOD list_output.
      ENDMETHOD.
      METHOD list_change.
        line-speed = new_speed.
        MODIFY TABLE list FROM line.
      ENDMETHOD.
      METHOD list_output.
        sy-lsind = 0.
        SET TITLEBAR 'TIT'.
        LOOP AT list INTO line.
          IF line-flag = 'C'.
            WRITE / icon_ws_ship AS ICON.
          ELSEIF line-flag = 'T'.
            WRITE / icon_ws_truck AS ICON .
          ENDIF.
          WRITE: 'Speed = ', line-speed.
        ENDLOOP.
      ENDMETHOD.
    ENDCLASS.
    Global data of program
    DATA list TYPE REF TO c_list.
    Program events
    START-OF-SELECTION.
      CREATE OBJECT list.
      SET HANDLER: list->fcode_handler,
                   list->list_change FOR ALL INSTANCES.
    AT USER-COMMAND.
      CALL METHOD status=>user_action.
    REPORT demo_abap_objects_events NO STANDARD PAGE HEADING.
    INCLUDE <list>.
    Declarations
    INTERFACE i_vehicle.
      DATA     max_speed TYPE i.
      EVENTS:  speed_change EXPORTING value(new_speed) TYPE i.
      METHODS: drive,
               stop.
    ENDINTERFACE.
    CLASS c_ship DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA ship_speed TYPE i.
    ENDCLASS.
    CLASS c_truck DEFINITION.
      PUBLIC SECTION.
        METHODS constructor.
        INTERFACES i_vehicle.
      PRIVATE SECTION.
        ALIASES max FOR i_vehicle~max_speed.
        DATA truck_speed TYPE i.
    ENDCLASS.
    CLASS status DEFINITION.
      PUBLIC SECTION.
        CLASS-EVENTS button_clicked EXPORTING value(fcode) TYPE sy-ucomm.
        CLASS-METHODS: class_constructor,
                       user_action.
    ENDCLASS.
    CLASS c_list DEFINITION.
      PUBLIC SECTION.
        METHODS: fcode_handler FOR EVENT button_clicked OF status
                                   IMPORTING fcode,
                 list_change   FOR EVENT speed_change OF i_vehicle
                                   IMPORTING new_speed,
                 list_output.
      PRIVATE SECTION.
        DATA: id TYPE i,
              ref_ship  TYPE REF TO c_ship,
              ref_truck TYPE REF TO c_truck,
              BEGIN OF line,
                id TYPE i,
                flag(1) TYPE c,
                iref  TYPE REF TO i_vehicle,
                speed TYPE i,
              END OF line,
              list LIKE SORTED TABLE OF line WITH UNIQUE KEY id.
    ENDCLASS.
    Implementations
    CLASS c_ship IMPLEMENTATION.
      METHOD constructor.
        max = 30.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK ship_speed < max.
        ship_speed = ship_speed + 10.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK ship_speed > 0.
        ship_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = ship_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_truck IMPLEMENTATION.
      METHOD constructor.
        max = 150.
      ENDMETHOD.
      METHOD i_vehicle~drive.
        CHECK truck_speed < max.
        truck_speed = truck_speed + 50.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
      METHOD i_vehicle~stop.
        CHECK truck_speed > 0.
        truck_speed = 0.
        RAISE EVENT i_vehicle~speed_change
                    EXPORTING new_speed = truck_speed.
      ENDMETHOD.
    ENDCLASS.
    CLASS status IMPLEMENTATION.
      METHOD class_constructor.
        SET PF-STATUS 'VEHICLE'.
        WRITE 'Click a button!'.
      ENDMETHOD.
      METHOD user_action.
        RAISE EVENT button_clicked EXPORTING fcode = sy-ucomm.
      ENDMETHOD.
    ENDCLASS.
    CLASS c_list IMPLEMENTATION.
      METHOD fcode_handler.
        CLEAR line.
        CASE fcode.
          WHEN 'CREA_SHIP'.
            id = id + 1.
            CREATE OBJECT ref_ship.
            line-id = id.
            line-flag = 'C'.
            line-iref = ref_ship.
            APPEND line TO list.
          WHEN 'CREA_TRUCK'.
            id = id + 1.
            CREATE OBJECT ref_truck.
            line-id = id.
            line-flag = 'T'.
            line-iref = ref_truck.
            APPEND line TO list.
          WHEN 'DRIVE'.
            CHECK sy-lilli > 0.
            READ TABLE list INDEX sy-lilli INTO line.
            CALL METHOD line-iref->drive.
          WHEN 'STOP'.
            LOOP AT list INTO line.
              CALL METHOD line-iref->stop.
            ENDLOOP.
          WHEN 'CANCEL'.
            LEAVE PROGRAM.
        ENDCASE.
        CALL METHOD list_output.
      ENDMETHOD.
      METHOD list_change.
        line-speed = new_speed.
        MODIFY TABLE list FROM line.
      ENDMETHOD.
      METHOD list_output.
        sy-lsind = 0.
        SET TITLEBAR 'TIT'.
        LOOP AT list INTO line.
          IF line-flag = 'C'.
            WRITE / icon_ws_ship AS ICON.
          ELSEIF line-flag = 'T'.
            WRITE / icon_ws_truck AS ICON .
          ENDIF.
          WRITE: 'Speed = ', line-speed.
        ENDLOOP.
      ENDMETHOD.
    ENDCLASS.
    Global data of program
    DATA list TYPE REF TO c_list.
    Program events
    START-OF-SELECTION.
      CREATE OBJECT list.
      SET HANDLER: list->fcode_handler,
                   list->list_change FOR ALL INSTANCES.
    AT USER-COMMAND.
      CALL METHOD status=>user_action.

  • Aperture - Importing iphoto events - original & edited copies

    Sorry if this has been asked before!
    I'm going through each event in iphoto tossing out the bad photos and editing the good ones. Once I've finished with each event I'm trying to move them into Aperture one by one and then deleting the event from iphoto.
    I'm doing this by going to File - Import - Show iphoto browser and importing the event as a new project. Problem is that every time I look at my new project I have two copies, the iphoto original and iphoto edited.
    Obviously I only want one copy of each photo (the edited version). I therefore have several questions...
    1) If I delete the iphoto original version what are the consequences?
    2) I wish the library to use a 'managed' system rather than a referenced system. Will this still happen if I move the events one by one (it doesn't give me as many options as if I were to move the entire library, which I'm not ready to do yet)
    3) The only way I've found to stop two copies importing is by copying the events from iphoto to the desktop and then importing them to Aperture - does this cause degradation of the photo?
    Thanks in advance,
    Janna

    Janna,
    the most efficient option to move from iPhoto to Aperture is indeed to import the whole iPhoto Library into Aperture at once: This way you will preserve most of the work you invested in setting up your iPhoto Library (albums, books, slideshows, keywords) and can avoid to import duplicates for many of your images, without having to decide if you want to keep the original or the edited version.
    One of the big advantages of Aperture is the lossless workflow: When you edit an image the original master will remain as it is, and Aperture will only store the steps necessary to render the final version of the image - it does not actually create the edited image until it is needed on export. So you can have many different edited  versions of the same image without needing much extra space. When you import your complete iPhoto lIbrary at once (after weeding it out), then Aperture will try to import your iPhoto originals and the edited versions exactly like this, as proper master image - version pairs, so that you keep your iPhoto edits, but can always revert to the original master, in a space saving fashion.
    The way you are importing now forces you to decide if you rather want the edited version or the original master, and if you decide that you want both, then you will need twice as much storage space.
    1) If I delete the iphoto original version what are the consequences?
    You will never be able to revert to the original if you find that you made a mistake when editing your images; or when better algorithms/ raw processing become available. If you only want to keep one of the images I'd strongly suggest to keep the original and not the edited version.
    2) I wish the library to use a 'managed' system rather than a referenced system. Will this still happen if I move the events one by one (it doesn't give me as many options as if I were to move the entire library, which I'm not ready to do yet)
    No proble, even if you import initially als managed master files, you can always relocate the managed images to a folder of your choosing afterwards and thus turn your library into a referenced library.
    3) The only way I've found to stop two copies importing is by copying the events from iphoto to the desktop and then importing them to Aperture - does this cause degradation of the photo?
    That will depend on your export settings. If you export the original you will not loose any quality on export, but exporting the edited versions will depend on the quality setting for the versions.
    If you import your whole iPhoto library at once, Aperture will mirror the structure of your iPhoto Library; iPhoto events will be mapped to projects, and you will keep your albums, books, etc.
    All your work you are doing now to prepare for your transit you could do as easily in Aperture and the problems you asked about could be avoided.
    Good Luck and welcome to Aperture!
    Regards
    Léonie

  • Advanced generics, Maps and double use of '?'

    I have a variable declared like this
    private Map<Class<? extends Customer>, CustomerManager<? extends Customer>> customerManagers;
    This map maps from some class of customer to the manager that manages customers of this class. To fetch the correct manager I have a method
    public <V extends Customer> CustomerManager<V> getCustomerManager(Class<V> customerClass) {
         CustomerManager<V> customerManager = customerManagers.get(customerClass);
         return valueManager;
    Unfortunately this method does not compile. The compiler says that I cannot asume that the customer I get crom the customerManagers is of type CustomerManager<V> - rather it is of type CustomerManager<? extends Value>.
    Thinking about this for a while I concluded that the problem is caused by the fact that according to my code the customerManagers map could map from classes of one type of customer (FooCustomer) to managers of another and potentially different subtype of customer (BarCustomer) , whereas my method uses the map as if it maps from classes of FooCustomer to managers of FooCustomer. And that is exactly what I want the map to do. So how do I write a map which acts like this
    private Map<Class<T extends Customer>, CustomerManager<T extends Customer>> customerManagers;
    so that T is exactly the same type? That would make my method correct - however I have not been able to express such a map in my code. Can this be done, or is there some other work-around?
    Thanks
    Randahl

    And that is exactly what I want the map
    to do. So how do I write a map which acts like this
    private Map<Class<T extends Customer>,
    CustomerManager<T extends Customer>> customerManagers;
    so that T is exactly the same type? That would make my
    method correct - however I have not been able to
    express such a map in my code. Can this be done, or is
    there some other work-around?A map has exactly the same types for every key-value-pair it contains, so you cannot declare a map that maps different types of keys to different, albeit pre-defined types of values.
    But your original declaration of the map (using wildcards) was perfectly ok, you simply need to augment it with the correct set of public acess methods that enforce the relation between the key-types and value-types.
    The method getCustomerManager that you wrote does that already, it just needs a cast before the returned value. This will provoke an "unchecked" warning, though, which cannot be avoided. If you add another method
    public <V extends Customer> void setCustomerManager(Class<V> cl, CustomerManager<V> mgr)you're on safe grounds!
    NOTICE TO USERS OF THIS SITE: By continuing to use this site, you certify that you have read and agree to abide by Sun's "Terms Of Use" which are linked to this site at the bottom of the page. Any users of this site who state that they work for Sun Microsystems, Inc. are deemed to be doing so solely for identification purposes. All information, data, text, software, music, sound, photographs, graphics, video, messages, or other materials ("Content") posted to this site by any users are the sole responsibility of those users. Sun does not guarantee the accuracy, integrity, or quality of such Content. Posting a name in a discussion forum places that personal information into a public forum.
    Company Info | About This Site | Press | Contact Us | Employment
    How to Buy | Licensing | Terms of Use | Privacy | Trademarks
    Copyright 1995-2004 Sun Microsystems, Inc. A Sun Developer Network Site
    Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.
    Content Feeds

Maybe you are looking for

  • DVD drive issues and other problems

    Nothing but problems with my mac since day one. This is the reason why I went from PC to Mac to avoid all these problems. Started with DVD drive problems. Took my computer in as they said wound need to replace the drive -and it would take a week....

  • Scheduling a webi report and export the result in PDF on local disk

    I'm working with the new SDK to schedule a report and export its result on my local c:\ hard disk drive. My code give no errors at run but I do not find the file on my root. The Instance counter of the report increase each time, so there is a refresh

  • Force Reporting Services 2012 use https

    I have recently set up a new instance of SQL Server Reporting Services. I have it running and am in the testing phase of the deploy. I have set it up to use SSL and basic Authentication. This all works. The report writer has been able to deploy repor

  • Creating JTree with results from SQL Query

    I have the following source in SQLJ: String temp=null; iter1 it1; iter2 it2; #sql it1={select id,fdn,level from groups connect by prior fdn=parent_fdn start with fdn='/' }; while(it1.next()) System.out.println(it1.id()); // Display Parent temp=it1.fd

  • Built in app for macbook pro retina

    i have bought a new macbook retina yesterday and i was trying to update my built in apps (iPhoto, pages, and keynote etc. but i couldn't. they asked me to type the password of another email that is not mine the one who purchased it