Functional change between GDK and EDK?

Hi,
I've already made tens of portlets using the ASP.Net GDK but I use the newer EDK for the ones I create now. I saw a few functional differences and I'd like to know if I'm mistaken or not.
With GDK, my pages inherit from "Plumtree.Remote.Csp.UI.Page" and under the hood, the context is created (SettingsManager) automatically. Apparently, this is not the case anymore with the EDK. Am I correct?
According to the EDK doc, I need to call "PortletContextFactory.CreatePortletContext(Request,Response)" for such purpose. Still correct?
The other more important change is that with the GDK, the language of the current thread is automatically set to the language passed by the portal in the "Accept-Language" HTTP header. This is not the case anymore, to my knowledge, and I found out that I need to insert this:
String sLanguage = HttpContext.Current.Request.UserLanguages[0];System.Threading.Thread.CurrentThread.CurrentCulture=new System.Globalization.CultureInfo(sLanguage);
Is this correct or did I miss something?
Thanks beforehand - Fred

With GDK, my pages inherit from "Plumtree.Remote.Csp.UI.Page" and under the hood, the context is created (SettingsManager) automatically. Apparently, this is not the case anymore with the EDK. Am I correct?
According to the EDK doc, I need to call "PortletContextFactory.CreatePortletContext(Request,Response)" for such purpose. Still correct?
-- Yes, correct. In the EDK, no SettingsManager is used, and the functionality is wrapped into IPortletRequest and IPortletResponse.
The other more important change is that with the GDK, the language of the current thread is automatically set to the language passed by the portal in the "Accept-Language" HTTP header. This is not the case anymore, to my knowledge, and I found out that I need to insert this:
String sLanguage = HttpContext.Current.Request.UserLanguages[0];System.Threading.Thread.CurrentThread.CurrentCulture=new System.Globalization.CultureInfo(sLanguage);
Is this correct or did I miss something?
-- You do not need to use the HttpContext object of .NET. The Plumtree EDK allows you to retrieve the language as follows: The portal language is stored in a User Pref named "strLocale". A remote portlet can read this User Pref.The only point to note is that, as with all User Prefs, you must ensure that the specific prefs are sent to the portlet in the Portlet Web Service registration.
PortletRequest.GetSettingValue(Plumtree.Remote.Portlet.SettingType.User, "strTimeZone")

Similar Messages

  • Performance Improvement between GDK and EDK portlets

    Are there any performance improvements to be expected by migrating a portlet from using the GDK library to EDK library? Not looking at what GDK and EDK offers, more on whether we would improve the load time of a portal page if we change a portlet from GDK to EDK.....

    With GDK, my pages inherit from "Plumtree.Remote.Csp.UI.Page" and under the hood, the context is created (SettingsManager) automatically. Apparently, this is not the case anymore with the EDK. Am I correct?
    According to the EDK doc, I need to call "PortletContextFactory.CreatePortletContext(Request,Response)" for such purpose. Still correct?
    -- Yes, correct. In the EDK, no SettingsManager is used, and the functionality is wrapped into IPortletRequest and IPortletResponse.
    The other more important change is that with the GDK, the language of the current thread is automatically set to the language passed by the portal in the "Accept-Language" HTTP header. This is not the case anymore, to my knowledge, and I found out that I need to insert this:
    String sLanguage = HttpContext.Current.Request.UserLanguages[0];System.Threading.Thread.CurrentThread.CurrentCulture=new System.Globalization.CultureInfo(sLanguage);
    Is this correct or did I miss something?
    -- You do not need to use the HttpContext object of .NET. The Plumtree EDK allows you to retrieve the language as follows: The portal language is stored in a User Pref named "strLocale". A remote portlet can read this User Pref.The only point to note is that, as with all User Prefs, you must ensure that the specific prefs are sent to the portlet in the Portlet Web Service registration.
    PortletRequest.GetSettingValue(Plumtree.Remote.Portlet.SettingType.User, "strTimeZone")

  • DM3.0 EA2: Filter engineering changes between logical and relational model

    Hi,
    when I am engineering changes between logial and relational model there are some issues at filter handling for me:
    - When the filter "Show Modified Objects" is activated, the filter works only on the first level, e.g. on Entity level. On attribute level all attributes are displayed, not only the attributes which have really been modified. It is possible, to show on every level only the really modified objects?
    - I think, selecting a Filter condition is circuitous. All filter conditions except "Show All Objects" keeps activated when I choose another condition. So I have to deactivate "Show Deleted Objects" when I want to see only the modified objects. It is possible to choose another control element for filtering, e.g. disjunctive radio buttons?
    I am running Data Modeler on Windows XP with german localization and the JDK 1.6.0_11 from Oracle SQL Developer.

    I logged bug for that.
    Philip

  • Change between mono- and stereo-sound

    My question is if there is any way to change between mono and stereo sound on the ipod nano 3th generation...?
    Thanks for help!

    Are you not getting stereo? What are you listening with - maybe there's a plug problem...
    Does it sound like stereo from iTunes?

  • How do you change between 12 and 24 hour format on ipad

    how do you change between 12 and 24 hour format on ipad

    Check: Settings - General - Date & Time - 24-Hour time = On/Off

  • Account "preferences" changing between home and work...

    I'm not exactly sure what the issue is, but here goes...
    On my MacBook I have only one user account (same as the administrator). At home, I connect to the Internet via Airport.
    When I bring my notebook to work, I connect to the Internet via an ethernet connection. I do not have to login or any other maneuever to gain access to the Internet.
    Everything works fine generally. One odd behavior I've noticed -- certain of my login items seem to disappear when I'm at work. Specifically, I have several Yahoo Widgets (Konfabulator) on my desktop. Only some launch when I'm at work. Also, it seems that certain changes to my desktop (wallpaper, location of icons, etc) change between home and work.
    Any idea what might be causing this behavior? Thanks!

    Hi Flojo:
    You will need a seperate "screen name" for each Mac in order to video chat. The nice thing is you can get another .Mac screen name by signing up for another .Mac account and and after the free trial, you can keep the .Mac screen name.
    OR
    Just sign up for a free AIM screen name here: http://www.aim.com/
    You don't need a paid .Mac account in order to video chat!

  • Exadata - Any Functionality Change Between V2/X3 and the ESS/RDBMS?

    All,
    We are currently running a V2 quarter-rack on 11.2.0.2 BP7 and 11.2.2.3.2 ESS. We're moving to a X3 quarter-rack shortly which will run whatever the latest and greatest versions of RDBMS/GI/ESS are.
    On our current Production environment, we make use of HCC and discovered that with bitmap indexes (of which we have plenty) it was necessary to disable the index, perform the HCC compression on the table and then rebuild the index afterwards.
    Obviously, a very intensive operation when we have HUGE indexes.
    Does anyone know if this behavior the same in 11.2.0.3 RDBMS/latest ESS? Are we still required to disable the indexes before we perform HCC on the table or have the relationship between HCC and bitmap indexes chilled a little bit?
    Mark

    Hi, Tycho,
    Yep - got the May 21 build (BP 18) and it arrived four days later (that's what you get for ordering at Oracle's financial year end!)
    I've checked and I can't find any difference in functionality in the documentation that you referenced. I'm not surprised given that Oracle seem to save functionality changes for Release levels and have the Patchset levels fix bugs.
    Thanks for the link
    Mark

  • Is there a way to find all config changes between clients and sap system

    We have our Dev system with clients
    310 - Developer make changes and create transport
    400 - Test client
    410 - a copy of our Production system (over 1 year ago0
    TST - this is our quality system with one client
    101
    Production system one client
    101
    I know if i do a database copy from Production to our TST system, both systems would be exact.
    Abaper Director wants to know all the configuration changes that are different between Devopment client 310 - Test and production.
    I told him that in development client 310 the abaper or functional users make most of the changes if they do  not get transported they would be missing.
    I cannot copy to client 310 otherwise we would loose all of our version management.
    Is there another way that I can see the config changes between all these clients.
    Thanks
    Joe

    You should be able to use tcode SCU0 
    Regards,
    Brian

  • Tonal change between develop and library module

    After having applied some changes in the develop module when I switch back to the library module I am experiencing a sever foreground tonal change? I can add that the foreground in this particular photo had a grad filter applied. The tone shifts from a cool blue to a purple? Shooting with a nikon d5100 with ADL turned off as per other similar problems brought up in this forum. Which by the way I still experience but have learned to live with is that after import of RAW picture looks good for about a second then exposure changes.

    dennis4g1 wrote:
    After having applied some changes in the develop module when I switch back to the library module I am experiencing a sever foreground tonal change? I can add that the foreground in this particular photo had a grad filter applied. The tone shifts from a cool blue to a purple?
    Are you using a calibrated/profiled monitor?  In Develop module, LR displays in ProPhoto colour space, in Library module it's Adobe RGB.  If the monitor doesn't have a proper profile there could be differences in view between Develop and Library.  However I would have thought LR would default to assuming monitors behave like sRGB if there's no profile (or no colour space info in the profile). 
    dennis4g1 wrote:
    ...Which by the way I still experience but have learned to live with is that after import of RAW picture looks good for about a second then exposure changes.
    The usual cause for that is that Adobe can't read Nikon proprietary metadata such as Picture control settings.  If you shoot with the Nikon Picture Control setting (Standard, Portrait or whatever) at default settings, and if you use the corresponding profile in Lightroom's "Camera Calibration" panel (Camera Standard, Camera Portrait etc) then the appearance should be very close to the out-of-camera jpeg preview appearance. 

  • Explain plan changing between 9i and 11g

    Hi
    Recently we migrated the database from 9i to 11g.In 11g environment one query was running for long time and when we comapre the explain plan between 9i and 11g, we found one of the table is going through "INDEX RANGE SCAN NON UNIQUE" in 9i but in 11g it is accessing through "INDEX RANGE SCAN INDEX".
    Is there any hint to add so that it will access table through "INDEX RANGE SCAN NON UNIQUE"  in 11g?
    Please Help.

    I agree with Paul.
    Why are you assuming that the optimizer in 11g, which has had bug fixes and vast improvements since 9i, is optimizing the query badly just because you think the query is running slowly.
    Before making assumptions, you need to find the cause of the issue, not just look for differences in two non-comparible explain plans and assume that's the cause.  Adding hints to force indexes and suchlike is not the answer (even though some idiots may suggest it is).
    As it says in the documentation in relation to hints:
    Comments
    Hints were introduced in Oracle7, when users had little recourse if the optimizer generated suboptimal plans. Now Oracle provides a number of tools, including the SQL Tuning Advisor, SQL plan management, and SQL Performance Analyzer, to help you address performance problems that are not solved by the optimizer. Oracle strongly recommends that you use those tools rather than hints. The tools are far superior to hints, because when used on an ongoing basis, they provide fresh solutions as your data and database environment change.

  • Functional differences between OBISE1 and OBIEE

    Hello,
    beside the licensing restrictions, there are some funtional differences between OBISE1 and OBIEE. I have seen some very neat features in OBIEE which are not implemented in OBISE1, e. g. generating powerpoint or the assistants for bi publisher in word. The actual release of EE is 10.1.3.4.0 and it is 10.1.3.2.1 for SE1. Does anyone know, if SE1 will be upgraded to 10.1.3.4.0? And if yes, will Interactive Dashboards, Answers and BI Publisher in this relaese have the functional range of EE?
    Thanks in advance for your answers.
    Thomas

    Balaa,
    This question has been posted a number of times. Yes, Server, Answers, Dashboards and Publisher are functionally identical in BISE1 and BIEE. You can use BIEE 10.1.3.4.1 to upgrade your BISE1 10.1.3.2.1 (Oracle trust you not to use the stuff you are not licensed to use such as Delivers).
    See my oracle support note document id 743916.1 on metalink3 ...
    Oracle BI SE1: Patch to 10.1.3.4
    Upgrading Oracle Business Intelligence Standard Edition One to higher versions of the underlying components
    "Customers may upgrade to the latest 10.1.3.x versions of the BI components by running the BI Enterprise Edition 10.1.3.x Installer. They will be alerted that there is an installation already present and prompted to preserve the existing configuration. They should choose that option and the installer will leave the existing configuration (to include Repository, Web Catalog, etc) in tact and install the newer versions of the components. Note that when upgrading, all BI components must be upgraded to the same version. Customers may upgrade to the latest versions of Oracle Database 10g or Oracle Warehouse Builder 10g by applying the supported appropriate patches as needed. A note on platform support -- Oracle BI SE One is available for Windows platforms only. Oracle does not support Oracle BI SE One on other platforms. A note on licensing -- By license, customers are restricted to using BI Server, BI Answers, BI Dashboards, BI Publisher, BI Administration Tool, Oracle RDBMS, Oracle Warehouse Builder Core ETL functionality. Note that the BI SE One installation installs all of the BI components -- those listed above as well as Delivers, Office Plug-in, etc. If customers wish to use those additional components they are required to upgrade to a BI Enterprise Edition license."

  • Whats the functional difference between CUA and UME?

    Hi All,
    A small query regarding UME (User Management Engine) and CUA ( Central User Administration). Whats the functional difference between these two. I read in help documents that UME will be used for SAP WebAS Java server. But I read that it can be used for ABAP engine as well. Then why do we need to use CUA when we have user friendly interface tool like UME. According to my knowledge from help documentation, UME comes pre installed. so we dont need to install it as we have to do for CUA.
    Can any help me in understanding the difference between these two. Thanks in advance. Good day.
    Regards,
    Farooq.

    Hi,
    Indeed good question.
    It depends on installation type you selected. But are responsible for user administration in terms of creating, deleting, updating and role assignment tasks to users and groups.
    --CUA is meant for ABAP Installation. CUA is responsible for entire landscape user administration works with RFC connection talking to all ABAP systems
    --UME is meant for Java installations, plus UME is responsible for handling communication between ABAP users and java users.
    UME
    For more details see below links all advantages and disadvantages of both systems and comparisons deliberately.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/3e3842b23d690de10000000a155106/frameset.htm
    Thanks,
    Amit Lal
    P.S Please don't forget to reward pts.

  • Functional difference between Blackberry and Internet Browser on the device

    Hello:
    Based on the following link, I understand the difference between the Blackberry and Internet browser (http://www.blackberryforums.com.au/forums/blackber​ry-general-discussion/2815-difference-between-brow​...
    I was wondering if there are any functional difference between the two, i.e. HTML rendering, images being broken, etc. Under Browser -> Options -> Browser Configuration, If I configure both the Blackberry and Internet browser the same way, will a particular URL behave the same?
    I'm in the process of testing our mobile applications on different devices and would appreciate if you could provide the difference, if any between the 2 browsers.
    Thanks:
    Vishal

    Hey vishalt77,
    Welcome to the BlackBerry Support Community Forums.
    All BlackBerry smartphones will have Internet Browser for browsing the web.
    However if you're on a BlackBerry Enterprise Server, you get the BlackBerry Browser which enables you to access internal websites and secured websites.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Color changes between CS2 and CS4 opacity with effects turned on

    Howdie.
    I don't run into issues much with Photoshop, and this one has me stumped.
    I needed to drop back to CS2 in order to use a warp mesh plugin.  I saved out a small portion of a file that I created in CS4 (Only containing the layer I needed to warp) and then opened that file in CS2, turned off all the effects (drop shadow, inner glow, bevel & emboss), and applied the mesh warp, then saved the file.  I went back into CS4 and re-opened it there and copied its layers into the bigger, original file.  What is strange is that the colors were a LOT lighter than they should be when compared to the original unwarped layer.  So in an attempt to figure out what was wrong, I checked all of my layer opacities, filter settings, layer mixing mode, etc. and everything was exactly the same.  I even tried deleting the layer style and copying the layer style from the original layer...no change.  I turn off the effects and check the color of the object and it reads the same as the original layer.  Both layers have no semi-transparency in the colors.  I turn the effects on and it is all whacked out.  After a while, I figured out that the problem was that the layer opacity in the effects, although reading the same between both layers (70%), is behaving as if it should be at 90% opacity in the new layer in order to match the original.  Its as if the layer worked on in CS2 has brought with it some corrupted info in its definition, that never leaves and affects any Effects you try to apply to it.
    Has anyone experienced this one before?

    A liitle bit more info here.  Apparently, the pixel data for the warped parts screws with the effect, Inner Glow, in the Choke and Size sliders.  The sliders simply quit functioning and have an abrupt light/dark toggle effect roughly near about value "7".
    The only way I could fix the problem was to do this convoluted solution, since Duplicate Layer does not work.
        1.  Clear the effects on the problem layer.
        2.  At this point you can either work on the problem layer directly or duplicate it to create a work layer.  Doesn't really matter because both layers will get deleted later anyway. 
        3.  With Channel Mixer, and for EACH color channel CMYK, move all 4 sliders hard left, so that the result is 0/0/0/0 for the CMYK values  (Do NOT use Brightness & Contrast in place of Channel Mixer because you will lose any blurred edges.  Also, using Channel Mixer does not swell or choke off the pixels along any "floating" shapes' edges). 
        4.  With the selection tool, create two small selection boxs at two opposite corners of the entire layer.  Fill them with any color. 
        5.  Select the entire layer (CNTL + A on a PC), and copy it to the clipboard. 
        6.  Create a new Alpha channel and Paste.  The little boxs at the opposite corners of the file were needed to precisely position a copy of the layer when we Paste it into the new channel.  The contents of the channel must be exactly registered with where the original shapes were in the problem layer. 
        7.  If you want, you can now delete the boxs in the corners of the channel by filling them with black. 
        8.  Create a new layer and load the selection (the channel) we just created. 
        9.  Fill it with the desired color. 
        10.  Copy the desired effects from the original layer before warping was done and to the new layer we just created. 
        11.  Delete the old problem layer. 
        12.  Done.

  • List of sysctl add/del/changes between Tiger and Leopard

    I've ran a quick diff between the sysctl values in Tiger and Leopard. Note: This is from two different macbook's, so some values may be changed due to hardware.
    This should give folks an idea as to what buffer sizes, performance tweaks, etc. have been added.
    If you're real bored, I guess you could revert everything network related back to Tiger values ... but, yeah, good luck with that. You may break more than you fix.
    Most of these you can lookup on-line or in the kernel source to see what they do. Sometime in the next week or so I'll add descriptions if you don't have a network background or src code background.
    Removed
    T debug.net80211: 0 0
    T net.athCCAThreshold: 28 28
    T net.athaddbaignore: 0 0
    T net.athaggrfmax: 28 28
    T net.athaggrqmin: 1 1
    T net.athbadrxbuf: 0 0
    T net.athbadrxdesc: 0 0
    T net.athbgscan: 1 1
    T net.athdupie: 1 1
    T net.athforceBias: 2 2
    T net.athforcebadrx: 0 0
    T net.athpowermode: 0 0
    T net.athppmupdate: 1 1
    T net.athvendorie: 1 1
    T net.inet.tcp.delacktime: 50
    T net.pstimeout: 20 20
    Changed
    T net.link.generic.system.ifcount: 11
    L net.link.generic.system.ifcount: 7
    T net.inet6.ip6.fw.debug: 1
    L net.inet6.ip6.fw.debug: 0
    T net.inet.ip.fw.debug: 1
    L net.inet.ip.fw.debug: 0
    T net.inet.ip.fw.one_pass: 1
    L net.inet.ip.fw.one_pass: 0
    T net.inet.ip.fw.static_count: 12
    L net.inet.ip.fw.static_count: 1
    T net.inet.ip.maxchainsent: 0
    L net.inet.ip.maxchainsent: 45
    T net.inet.ip.rtexpire: 10
    L net.inet.ip.rtexpire: 140
    T net.inet.tcp.blackhole: 2
    L net.inet.tcp.blackhole: 0
    T net.inet.tcp.keepidle: 144000
    L net.inet.tcp.keepidle: 7200000
    T net.inet.tcp.keepinit: 1500
    L net.inet.tcp.keepinit: 75000
    T net.inet.tcp.keepintvl: 1500
    L net.inet.tcp.keepintvl: 75000
    T net.inet.tcp.localslowstartflightsize: 4
    L net.inet.tcp.localslowstartflightsize: 8
    T net.inet.tcp.loginvain: 3
    L net.inet.tcp.loginvain: 0
    T net.inet.tcp.msl: 600
    L net.inet.tcp.msl: 15000
    T net.inet.tcp.sendspace: 32768
    L net.inet.tcp.sendspace: 65536
    T net.inet.tcp.sockthreshold: 256
    L net.inet.tcp.sockthreshold: 64
    T net.inet.tcp.pcbcount: 41
    L net.inet.tcp.pcbcount: 38
    T net.inet.tcp.recvspace: 32768
    L net.inet.tcp.recvspace: 65536
    T net.inet.udp.blackhole: 1
    L net.inet.udp.blackhole: 0
    T net.inet.udp.loginvain: 3
    L net.inet.udp.loginvain: 0
    T net.inet.udp.pcbcount: 44
    L net.inet.udp.pcbcount: 16
    Added
    L kern.netboot: 0
    L net.inet.ip.random_id: 1
    L net.inet.ip.dummynet.debug: 0
    L net.inet.tcp.backgroundioenabled: 1
    L net.inet.tcp.backgroundiotrigger: 5
    L net.inet.tcp.ecninitiateout: 0
    L net.inet.tcp.ecnnegotiatein: 0
    L net.inet.tcp.inswcksum: 2806591
    L net.inet.tcp.insw_cksumbytes: 1244150487
    L net.inet.tcp.maxseg_unacked: 8
    L net.inet.tcp.outswcksum: 4438883
    L net.inet.tcp.outsw_cksumbytes: 4483972145
    L net.inet.tcp.rexmt_thresh: 2
    L net.inet.tcp.rfc3465: 1
    L net.inet.tcp.rtt_min: 1
    L net.inet.tcp.socketunlocked_onoutput: 1
    L net.inet.tcp.winscalefactor: 3
    L net.inet.udp.inswcksum: 5697
    L net.inet.udp.insw_cksumbytes: 721922
    L net.inet.udp.outswcksum: 4899
    L net.inet.udp.outsw_cksumbytes: 445568
    L net.inet6.ip6.fw.enable: 1
    L net.link.ether.inet.keep_announcements: 1
    L net.link.ether.inet.sendconflictingprobes: 1
    L net.link.ether.inet.sendllconflict: 0
    L net.link.generic.system.dlilinput_sanitycheck: 0
    L net.link.generic.system.multithreadedinput: 1
    L net.smb.fs.loglevel: 0
    L net.smb.fs.tcprcvbuf: 131072
    L net.smb.fs.tcpsndbuf: 131072
    L net.smb.fs.version: 104000

    Hey there,
    I believe I'm having the same issue. I'm using Mail.app in 10.5 with a gmail account (IMAP). The issues is that in Tiger we had the IMAP option in the account settings "Advanced" tab to: "Automatically synchronize changed mailboxes." This option appears to be missing, and even more, does not happen in Leopard. What this means is that changes to folders (other than one's that you explicitly open/synchronize manually, will not shows updates in Leopard.
    This is especially annoying with the "All Mail" (Archive) folder for Gmail IMAP in Leopard. In order to ensure that your "All Mail" is always up to date, you have to manually open it (to initiate a sync). Otherwise it does not auto update like it does in Tiger.
    Thanks,
    Shahrum

Maybe you are looking for