ALUI KD Activity Space Modification.

Hi,
I am seeking some input regarding to modifying the View/ActivitySpace for the Knowledge Directory. I am at a customer site, where the customer is eager to have us modifying the View & Activity Space for Knowledge Directory, Basic Search, and Advanced Search, as to only allow searches within KD folders and documents crawled into the KD server.
I have tried modifying the UI Code, particularly the FolderBannerView.CS file. However, the end result is with limited success, because the portal automatically puts a form on top of another form and such breaking the javascript generated by the SearchFormFactory class.
Can someone help me on this topic? Or, at least give me a ball-park figure on how much effort (# of hours) will be required to change those ActivitySpace & Views?
Many Thanks,
Ray

One of the keys to understanding ALI development is knowing the difference between native (UI customization) and remote (portlet) development.
AActivitySpace.getString is only available in native code. For remote code, my suggestion is to use the IDK to retrieve the locale and then roll your own I18N.
Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com

Similar Messages

  • Apps not opening in the assigned Space but in the active Space

    I'm not sure if this is normal behavior in Spaces or not:
    I have Acrobat assigned to Space 1, Chrome assigned to Space 2. When I download a PDF via Chrome and then click to launch it, Acrobat opens in Space 2, not where my other Acrobat files are located and assigned (Space 1).
    Is this the way Spaces is supposed to work? That an application or file opened via another application opens in the active Space rather than the assigned Space? With this behavior, I then need to drag the PDF document from the wrong Space to the right Space if I want to see it side by side with other PDF files. It seems to work this way for all of the different files as well as when I launch an application for the first time. It too opens in the active Space, not the assigned Space.
    I've tried this with the "When switching to an application, switch to a space with open windows for the application" checked and unchecked and it makes no difference.
    Am I missing something? Is this the way it's supposed to work?

    Sometimes if you open a PDF through a web browser it opens as a window in the browser rather than the app. I don't have Acrobat or use chrome but if I open a PDF from a web site in Safari it just opens as a page in Safari rather than in Preview. Therefore if I assign Preview to a certain space and open a PDF in Safari it will open in any space that I have assigned to Safari. Or the active space if I haven't assigned any.

  • Using JSF in custom activity spaces

    Has anyone tried using JSF to build a custom activity space?

    Hi Badri,
    Please refer : 7.12.4 How to Generate a Task Display Form in http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28764/bpel012.htm
    Hope that answers your question!
    Cheers
    Anirudh Pucha

  • Activity space to change portal language

    Hello,
    I am trying to build an activity space that works as follows:
    In the page header I want to have a link that points to my custom activity space and that when clicked, will alternate the portal's locale between French and English and keep the user on his current page.
    This activity space will need to work for both guest users and logged in users.
    I have seen on previous posts that people have done this before but not enough details are ever provided to be able to figure out how to do it properly.
    Essentially I need an activity space without a view or display since the user is not taken to any page when they click on the link. It simply refreshes the page in the new language.
    Could someone provide me some guidance as to which Activity Space , Control and Model class I should be extending to be able to code this functionality since there are so many classes available and examples with most of them implementing a View class that I can't figure out what I need and how to setup the proper execution flow.
    No details are too much.
    Thank you from this confused newbie

    Hello DJ,
    When you get time would you mind provide short description (ideas) how to do this? I mean that may be useful for others if they need to do this in future.
    In aqualogic the same things can be done by different ways sometimes and you may have the best solution.
    Thank you.
    Dmitry

  • HTMLTextarea in a custom activity space - _htFormData problem

    I can create a form in a custom activity space and read the HTMLInput form types after the form post in the XPHashtable available in both the Model's SavePage() method and the RepostControl's PerformAction() method - they're all in the htFormData hashtable just fine.  But when I try to use an HTMLTextarea - the textarea never shows up.  I know other input types require a certain naming convention to be followed or they blow up the form post (e.g. textbox names must start w/ 'intx_' and buttons must be 'in_bu_'). I looked at code the in the plumtree_ui_source portalpages project and found a textarea there called 'in_ta_yadayada' - so I named mine 'in_ta_yadayada' - but that didn't fix it.
    Any ideas?

    Greetings,
    When I use an IControl and post form data to it that includes an HTMLTextArea, I am able to grab the textarea's entered value from CheckActionSecurityAndExecute's arguments. The name of my HTMLTextArea is "in_tx_test":
    public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
    String[] sValues = (String[]) arguments.GetElement("in_tx_test");
    sValues[0] will then contain whatever was entered into the textarea. Could you perhaps try implementing your solution this way?
    Regards,
    Andrew Bays | bdg | [email protected] | http://www.thebdgway.com

  • Pt: opener tag with activity spaces

    Hi,
    Does anyone know a way of using a pt tag to render a link straight to the changePassword activity space?
    I have it hard coded at the moment, but obviously I want to use a tag to make it work between environments etc.
    the link I want to render looks like this
    http://myportal/portal/server.pt?space=ChangePassword&&control=EditorStart&editorType=10
    Thanks :-)

    First off, these are all excellent questions. It would be great if the community could come up with solid answers that we all could implement. I'm going to take a stab but someone wiser than myself is really needed to answer the questions.
    1) Is there a reason why you wouldn't want users to see the login page? I mean they can login right? Is it just that you want them to login from the page header instead of the login space? You could override the login space to get it to display whatever you want. I believe in the latest version of the portal the login space is even adaptive layout'd so it may be really easy to change.
    2) Great question / find. I don't think its really a security threat because security is still being obeyed...they only see folders that they have read access to. Again, you may be able to "turn off" this activity space (subspace?) on certain servers by diving into the ui source code.
    3) What would you expect to happen when the users changes the page id? Not trying to be snarky..but what would be better behavior. We have this issue all the time, but its caused by people linking to pages that have been deleted. I suppose you could use a PEI to redirect to a page that does exist...but it seems liek a lot of overhead and work.

  • Pls Help - ClassNotFoundException error - custom activity space and control

    I am encoutnering the following error when I deploy and run my custom
    Login Activity Space and Control to the Java 5.0.2 Portal. I have created a custom Java project and built successfully(I think) using Ant and have modified the customactivityspaces.xml file appropriately. I have checked that the custom jar file is in the portal.war and PORTAL_HOME\lib\java\ folder. Any help with this would be extremely appreciated.
    Please let me know if I can provide more info.
    Thanks.
    46323     07-20     14:16:24     Fatal     UI Infrastructure     6000     5880 (main)     com.plumtree.uiinfrastructure.activityspace.ASManager.InternalLoadClasses(ASManager.java:497)     Fatal Exception loading lib file: stapleskiosklogin_java.lang.ClassNotFoundException: com.my.kiosk.login.KioskLoginControl_     at java.net.URLClassLoader.findClass(URLClassLoader.java:241)_     at java.lang.ClassLoader.loadClass(ClassLoader.java:516)_     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)_     at java.lang.ClassLoader.loadClass(ClassLoader.java:448)_     at java.lang.Class.forName1(Native Method)_     at java.lang.Class.forName(Class.java:142)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetClass(XPDynamicDiscovery.java:344)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetClassesForWar(XPDynamicDiscovery.java:266)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetInstancesFromLib(XPDynamicDiscovery.java:121)_     at com.plumtree.uiinfrastructure.activityspace.ASManager.InternalLoadClasses(ASManager.java:490)_     at com.plumtree.uiinfrastructure.activityspace.ASManager.LoadCustomClasses(ASManager.java:437)_     at com.plumtree.uiinfrastructure.application.AppWarmUp.Init(AppWarmUp.java:442)_     at com.plumtree.portal50.application.AppWarmUpServlet.init(AppWarmUpServlet.java:109)_     at javax.servlet.GenericServlet.init(GenericServlet.java:256)_     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)_     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)_     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)_     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)_     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)_     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)_     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)_     at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)_     at java.lang.reflect.Method.invoke(Native Method)_     at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)_     at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)_     at org.apache.commons.digester.Rule.end(Rule.java:276)_     at org.apache.commons.digester.Digester.endElement(Digester.java:1058)_     at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)_     at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)_     at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1809)_     at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:949)_     at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)_     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)_     at org.apache.commons.digester.Digester.parse(Digester.java:1567)_     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)_     at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)_     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)_     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)_     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)_     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)_     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)_     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)_     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)_     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)_     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)_     at org.apache.catalina.core.StandardService.start(StandardService.java:497)_     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)_     at org.apache.catalina.startup.Catalina.start(Catalina.java:512)_     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)_     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)_     at java.lang.reflect.Method.invoke(Native Method)_     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

    Thanks a lot for your help Julie! That worked.
    I have a followup question. Now, I get the Login view even though I didn't include a login view in my custom activity space.
    I am trying to develop the custom login activity space and don't want to display the default loginview and want to auto login. So I have created a custom activity space and a custom control. I am not sure if I have everything coded correctly yet. How do I make sure I don't display the login view if I go to my custom space directly?
    What's the best way to do this? I am still trying to go through the PT code and understand it. Any pointers would be very helpful.
    Additionally, for the custom activity space: do I need to extend PlumtreeAS or AActivitySpace ?
    I have my code listed below:
    package com.my.kiosk.login;
    import com.plumtree.portalpages.common.uiparts.*;
    import com.plumtree.uiinfrastructure.activityspace.*;
    import com.plumtree.xpshared.htmlelements.*;
    * Activity Space for Kiosk login.
    public class KioskLoginSpace extends AActivitySpace // AActivitySpace or PlumtreeAS ??
         public static final String STR_MVC_CLASS_NAME = "KioskLogin";
         * @see com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()
         public Object Create()
              return new KioskLoginSpace();
         * @return
         public String GetName()
              return STR_MVC_CLASS_NAME;
         * @see com.plumtree.xpshared.activityspace.AActivitySpace#Init()
         public void Init()
              super.Init();
              //RegisterPage(new LoginDP());
              //RegisterModel(LoginModel.STR_MVC_CLASS_NAME);
              //IModel myModel = GetModel(LoginModel.STR_MVC_CLASS_NAME);
              //RegisterView(LoginView.STR_MVC_CLASS_NAME, myModel);
              // Register the control in this space
              RegisterControl(KioskLoginControl.STR_MVC_CLASS_NAME, null);
         * Determine whether or not the current user has the security
         * privileges necessary to view the requested page.
         * @see com.plumtree.uiinfrastructure.activityspace.AActivitySpace#CheckBasicAccess(String, String, boolean)
         public boolean CheckBasicAccess(String strPage, String strControl,
                                                 boolean _bSameSpace)
              // All users are allowed to access this space
              return true;
         /* (non-Javadoc)
         * @see com.plumtree.uiinfrastructure.activityspace.AActivitySpace#GetStyleSheetLinks()
         public HTMLElementCollection GetStyleSheetLinks() {
              // TODO Auto-generated method stub
              return null;
    package com.my.kiosk.login;
    import com.plumtree.debug.*;
    import com.plumtree.openfoundation.util.*;
    import com.plumtree.openfoundation.web.*;
    import com.plumtree.portalpages.browsing.myportal.*;
    import com.plumtree.portalpages.browsing.myportal.mypages.*;
    import com.plumtree.portalpages.common.login.*;
    import com.plumtree.portaluiinfrastructure.login.*;
    import com.plumtree.server.*;
    import com.plumtree.uiinfrastructure.activityspace.*;
    import com.plumtree.uiinfrastructure.application.varpacks.*;
    import com.plumtree.uiinfrastructure.login.*;
    //import com.plumtree.portalpages.browsing.login.*;
    * This class handles the control logic for Store Kiosk login.
    public class KioskLoginControl implements ILoginControl, IHTTPControl
         /** object name */
         public static final String STR_MVC_CLASS_NAME = "KioskLogin";
         /** Query String parameters */
    //     public static final String PARAM_CREATE_ACCT = "createacct";
         /** MVC Objects */
         private AActivitySpace m_asOwner;
    //     private LoginModel m_asModel;
         /** these need to be nulled out after execution. */
         private IWebData m_WebData = null;
         private IXPRequest m_xpRequest = null;
         private IPTSession m_userSession = null;
         * @see IHTTPControl
         * @param r
         * @param pageData
         public void SetHTTPItems(IXPRequest r, IWebData pageData)
    //          In a given request, this method is called first.
              m_xpRequest = r;
              m_WebData = pageData;
         * @see com.plumtree.xpshared.activityspace.ILoginControl#SetRedirectForUseAfterLogin(Redirect)
         public void SetRedirectForUseAfterLogin(Redirect r)
              // In a given request, this method is called second.
              return;
         * @see com.plumtree.xpshared.activityspace.IControl#execute()
         public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
              // In a given request, this method is called third.
              if (PTDebug.IsDebugTracingEnabled(Component.Portal_Browsing))
                   PTDebug.Trace(Component.Portal_Browsing, TraceType.Error,
                        "KioskLoginControl CheckActionSecurityAndExecute() creating redirect to the Kiosk subportal");
              // In a given request, this method is called third.
              if (PTDebug.IsInfoTracingEnabled(Component.Portal_UI_Infrastructure))
                   PTDebug.Trace(Component.Portal_UI_Infrastructure, TraceType.Error,
                                  "GuestSubportalLoginControl Execute() creating redirect to MarkAsGuestControl.");
              // Redirect to the MarkAsGuestControl to mark this session as a guest user.
              // redirect to myPage
              Redirect myRedirect = new Redirect();
              myRedirect.SetLinkCreateNewSpace(MyPageAS.STR_MVC_CLASS_NAME,
                   m_asOwner);
              myRedirect.SetControl(SetPageControl.STR_MVC_CLASS_NAME);
              //int iId = mySession.GetSessionInfo().GetCurrentUserID();
              IPTSession mySession = (IPTSession)(m_asOwner.GetUserSession());
              int iId = mySession.GetSessionInfo().GetCurrentUserID();
              iId = -1 * iId;
              String sId = XPConvert.ToString(iId);
              myRedirect.AddControlArgument(SetPageControl.STR_PAGE_ID, sId);
              // Make this use a true 302 redirect
              myRedirect.SetIsHTTPRedirect(true);
              return myRedirect;
              //return null;
         * This method is used to determine if the guest user should
         * be redirected to their default page or to the login page
         * if a space is not specified.
         * @param RequestData
         * @return boolean true implies the guest should redirect to
         * login if no space is specified. Login is default.
    /*     private boolean IsRedirectOnLogoutEnabled()
              ConfigVarPack vpConfig = (ConfigVarPack) m_asOwner.GetApplication().GetVarPackManager().GetVariablePackage
                   (ConfigVarPack.VARPACK_ID);
              String strGuestRedirect = vpConfig.GetConfigValueAsString(
                   ConfigConstants.AUTHENTICATION_SECTION, "RedirectOnLogout",
                   ConfigConstants.VALUE_ATTRIBUTE);
              // default value
              boolean bResult = true;
              if ((strGuestRedirect != null) && (!"".equals(strGuestRedirect)))
                   if (XPConvert.ToInteger(strGuestRedirect) == 0)
                        bResult = false;
              return bResult;
         // IMVCObject
         * @see com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()
         public Object Create()
              return new KioskLoginControl();
         // Methods from ILoginControl
         * @see com.plumtree.xpshared.activityspace.ILoginControl#DoGetSession()
         public boolean DoGetSession()
              // The interpreter should ask us for the session.
              // In a given request, this method is called fourth.
              // Attempt to login as the custom guest user here, rather than in GetSession()
              // so that if we are unable to connect, we can abort the login attempt.
              // Otherwise, we have no way of knowing in the PEI whether or not login
              // has previously failed, and we can get in an infinite loop.
              try
                   //Add code to derive Kisok user name after Store lookup
                   String strKioskUserName = "kiosk0000";
                   String strKioskUserPassword = "";
                   // Look at the request URL to determine what URL this user
                   // is trying to access.
                   // Switch strCustomGuestName to your first custom guest here
    /*               if (XPStringUtility.IndexOf(m_asOwner.GetCurrentRequestURL(),
                                                           "firstsubportal") != -1)
                   // Switch strCustomGuestName to your second custom guest here
                   else if (XPStringUtility.IndexOf(m_asOwner.GetCurrentRequestURL(),
                                                                "secondsubportal") != -1)
                   // Connect as the custom guest user
                   m_userSession = PortalObjectsFactory.CreateSession();
                   m_userSession.Connect(strKioskUserName, strKioskUserPassword,
                                            null);
              catch (Exception e)
                   if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                        PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                       TraceType.Error,
                                       "Unable to connect to Kiosk user.", e);
                   m_userSession = null;
                   // Since we are unable to connect to our custom guest user, we do not
                   // want to login right now.
                   return false;
              return true;
         * @see com.plumtree.xpshared.activityspace.IControl#GetName()
         public String GetName()
              return STR_MVC_CLASS_NAME;
         * @see com.plumtree.xpshared.activityspace.ILoginControl#GetSession()
         public Object GetSession()
              // In a given request, this method is called fifth.
              if (null != m_userSession)
                   LoginResult rReturn = null;
                   try
                        // Login the custom guest user. This calls the login PEIs.
                        rReturn = LoginHelper.INSTANCE.AttemptLogin(m_userSession,
                                                                               m_asOwner,
                                                                               m_xpRequest,
                                                                               m_WebData);
                   catch (Exception e)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error, "AttemptLogin() failed.", e);
                   if (!rReturn.m_bSuccess)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error,
                                            "KioskLoginControl AttemptLogin() failed: " +
                                            rReturn.m_strError);
                   if (null != rReturn.m_Redirect)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error,
                                            "KioskLoginControl AttemptLogin() return redirect ignored.");
              IPTSession userSession = m_userSession;
              // Null out the IHTTPControl data so we don't retain the memory after the
              // request is done (i.e. leak the memory)
              m_xpRequest = null;
              m_WebData = null;
              m_userSession = null;
              return userSession;
         * @see com.plumtree.xpshared.activityspace.IControl#Init(IModelRW)
         public void Init(IModel model, AActivitySpace space)
    //          m_asModel = (LoginModel) model;
              m_asOwner = space;

  • Including a portlet in a an activity space view

    I've created an activity space which i can call from the portal. What I want to do is to include a portlet in the activity space view page. Can somebody point me in the right the direction please thank you.

    This is a very hard customization to make. You would have to have a deep knowledge of the Plumtree server api and essentially make the same api calls as a MyPage or community page. It is possible, but a difficult customization, and won't be something that you find documentation for.
    Can you possibly use a community with one or two portlets on it to create the same effect?
    Keith

  • Blank Activity Space

    Is there a way to inherit an AS class that does not include navgation or UI elements like PlumtreeAS and EditorAS do? Ive attempted to inherit from AActivitySpace and AFormAS. If I use either of those the portal will not start dying with a fatal error on load.
    If I use PlumtreeAS or EditorAS and just not run base.Init() at the beginning of my Init function then I can get the portal to load but when attempting to activity space the portal will get an error when attempting to register any model, view or control using the methods in AActivitySpace.
    What I am working on is a TOS Agreement page which will track mulplite TOS Agreements and which ones a user has agreed too. If the latest agreement has yet to be accepted the (LoginPEI) will redirect to a TOS agreement page and force the user to accept the agreement or cancel which will cause a logout and a return to the login page.
    I need an activity space seprate from PlumtreeAS and EditorAS as both of these provide UI elements that I do not need and I cant seem to force either to display nothing at all except my View in entiriety. I could modify PlumtreeAS but I would rather not.
    Are there any examples of blank activity spaces like I describe? What class/interface do I need to inherit to do this properly. Are there other interfaces I must use for my Model, Views and Controllers when doing this?
    Thanks in advance.

    Is there a way to inherit an AS class that does not include navgation or UI elements like PlumtreeAS and EditorAS do? Ive attempted to inherit from AActivitySpace and AFormAS. If I use either of those the portal will not start dying with a fatal error on load.
    If I use PlumtreeAS or EditorAS and just not run base.Init() at the beginning of my Init function then I can get the portal to load but when attempting to activity space the portal will get an error when attempting to register any model, view or control using the methods in AActivitySpace.
    What I am working on is a TOS Agreement page which will track mulplite TOS Agreements and which ones a user has agreed too. If the latest agreement has yet to be accepted the (LoginPEI) will redirect to a TOS agreement page and force the user to accept the agreement or cancel which will cause a logout and a return to the login page.
    I need an activity space seprate from PlumtreeAS and EditorAS as both of these provide UI elements that I do not need and I cant seem to force either to display nothing at all except my View in entiriety. I could modify PlumtreeAS but I would rather not.
    Are there any examples of blank activity spaces like I describe? What class/interface do I need to inherit to do this properly. Are there other interfaces I must use for my Model, Views and Controllers when doing this?
    Thanks in advance.

  • Outlook 2011 Reminders Switching Active Space

    Hello,
    It seems that Outlook 2011 Reminders switch the active screen (when using multiple spaces in OSX which I always do) when they pop.  This seems to happen whether I have the reminders set to appear on all desktops or just the first desktop.  This is hugely annoying when I am in a fullscreen app (e.g. parallels) and suddenly I'm warped over to the first screen again.  Just for clarification purposes I'm talking about spaces functionality in OSX, not multiple monitors.  This feature...
    OS X Mavericks: Work in multiple spaces
    Any idea how to stop this from happening?
    Thanks!

    No idea, I suggest that you try asking in a Microsoft forum as well as this one.

  • Screen Sharing bug (erroneously activating Spaces and Dashboard)

    I'm a recent upgrade to Snow Leopard, and also, as it turns out, a complete newbie to Screen Sharing, which generally works quite well.
    My one hitch is that under certain circumstances, the remote machine activates Spaces or Dashboard when I don't want it to. Those circumstances are clicking on one or multiple files, and then attempting to drag them somewhere while holding down the mouse button. For some reason, this problem does not occur while, say, dragging a Finder window around on the desktop.
    I have hot corners for Spaces and Dashboard in the top-right and bottom-left corners of my screen, respectively. However, the accidental activation occurs when my cursor is nowhere near the screen corners. I thought it might have been issue with scaling, but the same problem occurs without scaling. I also have a hot corner in the bottom-right for display sleep, but this never seems to activate accidentally.
    I guess I could disable hot corners, but I'd prefer not to. Any advice would be appreciated.
    Thanks in advance.

    No; my local machine is a MBP and I was only using the trackpad. When I get home I'll check to see if the side buttons are enabled on the remote machine (iMac), but I doubt that's the issue.
    Thanks for your reply.

  • New email with calendar invite switches active Space

    I just installed Snow Leopard on my iMac. When I get an email with a calendar item attached, the computer moves to the Space where Mail is located permanantly (Space #2). I've looked at the Spaces, Mail and iCal preferences and can't see anything that would prompt this. It doesn't happen when I get regular emails. Any help on this? Thanks!

    You can follow-up with feedback here.
    Feedback

  • Customizing the Error Activity Space

    I'm doing a rush evaluation of using google appliance to crawl our guest-readable portal. We have numerous issues that i'm trying to work around, but one is that a lot of error pages are being indexed.
    Is there any reason why the error space returns a status code 200? Can it be easily modified to return 500?
    I've asked these questions before, but has anyone done the leg work to configure the portal / google appliance so the crawl works correctly? What url patterns did you set? What does your robots.txt / nofollow meta tags do? Where do you put googleon and googleoff?
    Thanks!

    public class CustomErrorDP : ErrorDP
              private static OpenLogger log = OpenLogService.GetLogger(OpenLogService.GetComponent(PTDebugHelpers.COMPONENT_PORTAL_BROWSING),
                   "com.plumtree.portalpages.common.error.CustomErrorDP");
              public new const string STR_MVC_CLASS_NAME = "ErrorDP";
              public override void Display(IWebData pageData)
                   base.Display (pageData);
                   pageData.SetStatus(500);
                   log.Error("Status set to 500 in CustomErrorDP");
         public class CustomErrorAS : PlumtreeAS
              private static OpenLogger log = OpenLogService.GetLogger(OpenLogService.GetComponent(PTDebugHelpers.COMPONENT_PORTAL_BROWSING),
                   "com.plumtree.portalpages.common.error.CustomErrorAS");
              public const string STR_MVC_CLASS_NAME = "ErrorAS";
              public override object Create()
                   return new CustomErrorAS();
              public override string GetName()
                   return "ErrorAS";
              public override void Init()
                   log.Info("CUSTOM: Starting init");
                   base.Init();
                   this.RegisterPage(new CustomErrorDP());
                   this.RegisterModel("SinglePageErrorModel");
                   IModel model = this.GetModel("SinglePageErrorModel");
                   this.RegisterControl("SinglePageErrorControl", model);
                   this.RegisterView("SinglePageErrorView", model);
    //               this.GetCurrentHTTPResponse().SetStatus(500,"Custom Error Message");
    //               this.GetCurrentHTTPResponse().AddHeader("Some stuff", "More Stuff");
                   log.Error("CUSTOM: Finished custom init, set header to 500");
         }

  • Programmtic login - from either a custom activity space or LoginAction PEI

    I know how to programmatically logout using:<br>
    Redirect redirect = null;<br>
    redirect.SetLinkCreateNewSpace(LoginAS.STR_MVC_CLASS_NAME, null);<br>
    redirect.SetControl(LoginControl.STR_MVC_CLASS_NAME);<br>
    redirect.AddControlArgument(LoginHelper.PARAM_DOLOGOUT, true);<br>
    redirect.AddControlArgument(ASConstants.CLEARSESSION, "true");<br>
    return redirect;<br><br>
    I got that code from right here in the forums - thanks.<br>
    However, I need a snippet that will programatically login and return a Redirect now, too. Does anyone have a snippet that will do that?<br><br>
    p.s. I'll be putting it into a LoginActions PEI in the OnFailedLoginDoRedirect(). In our use case, if someone tries to login and it fails, I'll be checking a custom sql table that maps old bad logins to new good ones and attempts programmatic re-login with the retrieved/mapped credentials.<br><br>
    p.p.s I'll have all 3 items in my pocket - userId, username, and password - if that makes a difference in the possible solution that gets posted here. I could also get a login token for the mapped user if that's necessary, too. So I can get 4 things to help w/ the programmatic login.<br><br>
    Thanks in advance.

    LMah gets full credit for this answer (just mimic the login form!):<br><br>
    Redirect redirect = new Redirect();<br>
    redirect.SetLinkCreateNewSpace(LoginAS.STR_MVC_CLASS_NAME, null);<br>
              redirect.AddControlArgument("in_hi_space", "login");<br>
              redirect.AddControlArgument("in_hi_spaceID", 0);<br>
              redirect.SetControl(LoginControl.STR_MVC_CLASS_NAME);<br>
              redirect.AddControlArgument("in_hi_dologin", true);<br>
              redirect.AddControlArgument("in_tx_username", "administrator");<br>
              redirect.AddControlArgument("in_pw_userpass", "");<br>
              redirect.AddControlArgument("in_se_authsource", "");<br>
              return redirect;<br>
    <br>If you'd like to use api constants instead of hard coding the input values, you can always do something like this:<br>
    redirect.AddControlArgument(LoginHTML.PARAM_USERPASS, "");

  • Mac OS /tmp space modification

    Hello,
    I am installing a ora 10g on a MAC OS but when I launch the runInstall and click the firts time over the next button on the java user interface, the intaller crash and tell something like problem /tmp/{date}.err and /tmp/{date}.out
    Please Anyone was with the same issue?, thanks

    Contact me off-line and I will put you in touch with someone that has successfully done it.
    It was a lot of work figuring it out.
    oradba:
    I am not a fan of Steve Jobs. I don't own a single item sold by Apple ... not an iPod, not a nano, not an iPhone. Couldn't care less about Apple or Jobs.
    What I do care about is an extremely good server and SAN architecture which Apple had and blew orphaning Oracle customers. At the time is was better, by far, than any similarly priced offering from Dell, HP, IBM, or Sun.
    And as I have clearly indicated everywhere I will not re-engage putting Oracle onto Apple's hardware or operating systems unless and until Steve Jobs personally endorses it in front of brokers in a manner in which he commits Apple's and his personal prestige.

Maybe you are looking for

  • CR 2008/VS 2005/Winform : HOW TO REFRESH DATA ONLY ?

    Hi,   I display a report in a CrystalReportViewer (Windows Form).   This report have NO Saved data, use some parameters, use a formula, and connect to a SQL Server via OLE DB.   I would like to REFRESH THE REPORT after some data has been modified in

  • How to Process an Empty File and deliver to the receiver channel

    Hello Gurus, We had a requirements to process an empty file and send it to the receiver channel .  We had successfully configured and polling an empty file, but the message output of the empty file was never sent to the receiver channel.  Is there an

  • I can not connect my apple display, please help

    I have a ibook G4 and a Mac mini G4 equal, long time ago that I am a mac user and the truth I am more than happy, there's nothing better. The point is that a few days ago I gave an "Apple 15" Cinema Display ADC studio monitor "and so far I have not b

  • Alternative external hard drive solution now that FW is gone?

    Okay, so I purchased my new Macbook without totally thinking through the implications of the lack of FW. I'm now using this shiny new computer and went to do a first time backup after reinstalling applications and files manually (I've had some softwa

  • PSE 7 on Media Center

    I've just begun playing with viewing my photos through the PSE 7 Media Center plug-in. Its native support for viewing by album is a huge benefit. The problem I'm running into is that it wants to include/display every version of every picture in an al