Struts portlet page going out of context during form submission

I?m working on the Weblogic 8.1 version and have a struts portlet inside a portal alongwith the other portlets. When a html link is used, the jsps remain inside the portal context but during a form submission, the request is processed and the jsp is displayed out of the portal as a separate application.
I?m using the request.getContextPath() in the jsp but still it is not workin.
Is there anything I should be modifying or that has to make it work?
What are the changes (if any) has to be made for the form submission in a jsp with regard to a Struts Portlet such that the form submission stays inside the parent portal context.

The Images can be accessed from modified location
PersonalDataPortlet-In-Portal.jpg : http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_213205_4520_0_-213205_43/http%3B/PRODGADGET12.plumtree.com/collab/docman/download?fid=107617&ver=0&rndm=1085565825500&name=PersonalDataPortlet-In-Portal.jpg
PersonalDataPortlet-Search.jpg : http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_213205_4520_0_-213205_43/http%3B/PRODGADGET12.plumtree.com/collab/docman/download?fid=107618&ver=0&rndm=1085743844250&name=PersonalDataPortlet-Search.jpg
PersonalDataPortlet-Result.jpg : http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_213205_4520_0_-213205_43/http%3B/PRODGADGET12.plumtree.com/collab/docman/download?fid=107619&ver=0&rndm=1085743844250&name=PersonalDataPortlet-Result.jpg

Similar Messages

  • Select Item Caption Sent During Form Submission

    In sending forms with Spry.Utils.submitForm(), I see if the
    option value is null, the Spry function submits the option caption
    as the value. I do not think this is necessarily the ideal
    functionality. In my case, I often leave the first option blank
    with a caption such as "Please Select Value". The server side knows
    how to handle a blank value, and would either display an error
    message if it was a required field, or save it with a null value if
    not a required field. Spry sending the "Please Select Value" type
    captions really interferes with this. I realize the simple solution
    is to change those captions to a null value as well, but I don't
    particularly want to lose them either.
    I was able to change this functionality with a simple
    modification to the Spry.Utils.extractParamsFromForm function, but
    I think there must be a more optimal way to do this. Any ideas?

    I do not think it is a bug, it is merely a matter of using the framework for what it was meant to achieve.
    If you want a solution to your problem, change line 132 (or thereabouts) to read
    if (el.selectedIndex >= 1) {
    Gramps

  • Satellite P200D-11J goes out while starting

    Hello!
    Have for 2 years a P200D.
    Have also XP on it, the not functioning FN and extra keys do not disturb me.
    But since beginning in I have the problem that the laptop does not restart itself. Exact said during the new starting it simply goes out
    1. While "new start" choosing:
    this is not problematic, because it is able to shut down and start. with it no problems.
    2. After the installations which require a new start, even when self restartig.
    Problem solution was to wait always 10 minutes, then the laptop starting again. Seems to be a hardware problem to be.
    If 2 years went well, until I had to make new right now XP. now he goes out every time during the installation. Always in different points, cannot lie with the installation...
    What can this be? Power Supply? RAM????
    Am curious on your answers.

    Hi
    Maybe the notebook shuts down automatically due to a higher internal temperature?
    What do you think about this idea?
    If the temperature is too high, the notebook would shuts down to prevent the hardware parts from damage
    I think this could be plausible explanation
    Check if the notebook is warmer and try to remove the dust and debris from the cooling modules using the compressed air spray.
    I clean my fans from time to time and this prevents the notebook from overheating.
    Check it out

  • My phone spazzes and randomly does stuff on its own like typing a bunch of random letters, or scrolling up/down a page, or going out of an app. What can be done about that?

    I have a 5S and I've had it since december. ever since i got it I've had trouble whit it. It spaces out at random times, types stuff on its own, goes out of applications, scrolls up/down a page etc. This happens almost daily and the only thing I can do about it is lock my phone, go back in, quit all my apps... Along with that now my touch ID has not been working. Although it has started today, I am worried.

    I have an iPhone 6 and have been having this issue since I got it in December 2014. Apps open on their own, scrolling up and down, etc. It's like a ghost is touching the screen. It seems to be the worst when my Verizon connection is only at 3G or my wifi strength is low. I'm not sure if it's an iPhone thing or a carrier issue?? Any ideas?

  • HT1430 My IPAD 3 [5.1.1 (9B206)] has a problem. - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes) - It can no longer connect to the mobile network orange except Wireless (WIFI)

    My IPAD 3 [5.1.1 (9B206)] has a problem.
    - It restarts every three (3) minutes: it goes out then comes back but lost the previous page (auto lock is set to 15 minutes)
    - It can no longer connect to the mobile network orange except Wireless (WIFI)

    Not normal. Take it to an Apple Store for evaluation.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • It crashes with out warning nomatter what site I'm on and the page goes white plus it want to update but will not support cretain sites that I need

    sorry I wrote before but forgot to edit it.Since I came home 3 weeks ago from surgery. I can be on any site especially on facebook playing games and it goes white completely with out warning so I have to restart my computer again to get back especially on facebook.I play alot of games on there and other things.No matter if I'm chatting .ect on any of my sites the page goes completely white.I get a message to upgade to mazolla firefox 5 but will not except some of my sites like replayer,ect.. so I keep putting it to ask me again in 7 days. I need those sites.Can you help me PLEASE.Going for another surgery in Aug. and my computer is the only thing that keeps me busy unless I want to watch TV all the time.I have Mc Afee security for free from att and they tried to fix it but it still doing it.I have window vista can you help me.don't know much about computers but my grandchildren did get into it and put like Itune and certain games that I was chraged for which I cleared up.Can you help Please..do not want to upgrade cause some of my sites will be gone especially real player and my other sites.I told to go K2 here by Mc Affee security...Have no crash Id.

    You're welcome.
    Voicemail is left at your carrier's server. That will continue to work unless you report your iPhone as lost or stolen with your carrier.
    You may never find it again and you can't if the iPhone remains offline or out of service which means the iPhone is powered off or doesn't have cellular reception.

  • If my network goes out briefly due to a problem at my ISP, FireFox immediatly opens a "diagnose network problems" page. How can I stop this?

    If my network connection goes out briefly due to a problem at my ISP, FireFox immediately opens a "diagnose network problems" page. This is particularly annoying when I don't even have FireFox or any other software open. Ideally, I do NOT want FireFox to even check if my Network is connected. How can I stop this?

    Application Basics
    Name: Firefox
    Version: 36.0.4
    User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
    Multiprocess Windows: 0/1
    Crash Reports for the Last 3 Days
    All Crash Reports
    Extensions
    Name: Avast Online Security
    Version: 10.2.0.187
    Enabled: true
    ID: [email protected]
    Name: Download Manager Tweak
    Version: 1.0.8
    Enabled: true
    ID: {F8A55C97-3DB6-4961-A81D-0DE0080E53CB}
    Name: FinalVideoDownloader plugin for Mozilla Firefox
    Version: 1.0.1
    Enabled: true
    ID: [email protected]
    Graphics
    Adapter Description: AMD Radeon HD 6670
    Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
    Adapter RAM: 1024
    Device ID: 0x6758
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.3.9600.16384)
    Driver Date: 7-4-2014
    Driver Version: 13.251.9001.1001
    GPU #2 Active: false
    GPU Accelerated Windows: 1/1 Direct3D 11 (OMTC)
    Subsys ID: 25451458
    Vendor ID: 0x1002
    WebGL Renderer: Google Inc. -- ANGLE (AMD Radeon HD 6670 Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote: true
    AzureCanvasBackend: direct2d
    AzureContentBackend: direct2d
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    Important Modified Preferences
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.frecency_experiment: 1
    browser.link.open_newwindow: 2
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.restore_on_demand: false
    browser.sessionstore.upgradeBackup.latestBuildID: 20150320202338
    browser.startup.homepage_override.buildID: 20150320202338
    browser.startup.homepage_override.mstone: 36.0.4
    browser.tabs.autoHide: true
    dom.mozApps.used: true
    extensions.lastAppVersion: 36.0.4
    font.internaluseonly.changed: false
    gfx.direct3d.last_used_feature_level_idx: 0
    media.gmp-gmpopenh264.lastUpdate: 1423171160
    media.gmp-gmpopenh264.version: 1.3
    media.gmp-manager.lastCheck: 1430187591
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1430187593
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf,application/vnd.adobe.xfdf,application/vnd.fdf
    plugin.importedState: true
    plugin.state.npgeplugin: 0
    plugin.state.npgoogleupdate: 0
    plugin.state.npitunes: 0
    print.printer_Canon_MX920_series_Printer.print_bgcolor: false
    print.printer_Canon_MX920_series_Printer.print_bgimages: false
    print.printer_Canon_MX920_series_Printer.print_colorspace:
    print.printer_Canon_MX920_series_Printer.print_command:
    print.printer_Canon_MX920_series_Printer.print_downloadfonts: false
    print.printer_Canon_MX920_series_Printer.print_duplex: 0
    print.printer_Canon_MX920_series_Printer.print_edge_bottom: 0
    print.printer_Canon_MX920_series_Printer.print_edge_left: 0
    print.printer_Canon_MX920_series_Printer.print_edge_right: 0
    print.printer_Canon_MX920_series_Printer.print_edge_top: 0
    print.printer_Canon_MX920_series_Printer.print_evenpages: true
    print.printer_Canon_MX920_series_Printer.print_footercenter:
    print.printer_Canon_MX920_series_Printer.print_footerleft: &PT
    print.printer_Canon_MX920_series_Printer.print_footerright: &D
    print.printer_Canon_MX920_series_Printer.print_headercenter:
    print.printer_Canon_MX920_series_Printer.print_headerleft: &T
    print.printer_Canon_MX920_series_Printer.print_headerright: &U
    print.printer_Canon_MX920_series_Printer.print_in_color: true
    print.printer_Canon_MX920_series_Printer.print_margin_bottom: 0.5
    print.printer_Canon_MX920_series_Printer.print_margin_left: 0.5
    print.printer_Canon_MX920_series_Printer.print_margin_right: 0.5
    print.printer_Canon_MX920_series_Printer.print_margin_top: 0.5
    print.printer_Canon_MX920_series_Printer.print_oddpages: true
    print.printer_Canon_MX920_series_Printer.print_orientation: 0
    print.printer_Canon_MX920_series_Printer.print_page_delay: 50
    print.printer_Canon_MX920_series_Printer.print_paper_data: 1
    print.printer_Canon_MX920_series_Printer.print_paper_height: 11.00
    print.printer_Canon_MX920_series_Printer.print_paper_name:
    print.printer_Canon_MX920_series_Printer.print_paper_size_type: 0
    print.printer_Canon_MX920_series_Printer.print_paper_size_unit: 0
    print.printer_Canon_MX920_series_Printer.print_paper_width: 8.50
    print.printer_Canon_MX920_series_Printer.print_plex_name:
    print.printer_Canon_MX920_series_Printer.print_resolution: 0
    print.printer_Canon_MX920_series_Printer.print_resolution_name:
    print.printer_Canon_MX920_series_Printer.print_reversed: false
    print.printer_Canon_MX920_series_Printer.print_scaling: 1.00
    print.printer_Canon_MX920_series_Printer.print_shrink_to_fit: true
    print.printer_Canon_MX920_series_Printer.print_to_file: false
    print.printer_Canon_MX920_series_Printer.print_unwriteable_margin_bottom: 0
    print.printer_Canon_MX920_series_Printer.print_unwriteable_margin_left: 0
    print.printer_Canon_MX920_series_Printer.print_unwriteable_margin_right: 0
    print.printer_Canon_MX920_series_Printer.print_unwriteable_margin_top: 0
    print.printer_HP_Photosmart_C4380_series.print_bgcolor: false
    print.printer_HP_Photosmart_C4380_series.print_bgimages: false
    print.printer_HP_Photosmart_C4380_series.print_colorspace:
    print.printer_HP_Photosmart_C4380_series.print_command:
    print.printer_HP_Photosmart_C4380_series.print_downloadfonts: false
    print.printer_HP_Photosmart_C4380_series.print_duplex: 0
    print.printer_HP_Photosmart_C4380_series.print_edge_bottom: 0
    print.printer_HP_Photosmart_C4380_series.print_edge_left: 0
    print.printer_HP_Photosmart_C4380_series.print_edge_right: 0
    print.printer_HP_Photosmart_C4380_series.print_edge_top: 0
    print.printer_HP_Photosmart_C4380_series.print_evenpages: true
    print.printer_HP_Photosmart_C4380_series.print_footercenter:
    print.printer_HP_Photosmart_C4380_series.print_footerleft: &PT
    print.printer_HP_Photosmart_C4380_series.print_footerright: &D
    print.printer_HP_Photosmart_C4380_series.print_headercenter:
    print.printer_HP_Photosmart_C4380_series.print_headerleft: &T
    print.printer_HP_Photosmart_C4380_series.print_headerright: &U
    print.printer_HP_Photosmart_C4380_series.print_in_color: true
    print.printer_HP_Photosmart_C4380_series.print_margin_bottom: 0.5
    print.printer_HP_Photosmart_C4380_series.print_margin_left: 0.5
    print.printer_HP_Photosmart_C4380_series.print_margin_right: 0.5
    print.printer_HP_Photosmart_C4380_series.print_margin_top: 0.5
    print.printer_HP_Photosmart_C4380_series.print_oddpages: true
    print.printer_HP_Photosmart_C4380_series.print_orientation: 0
    print.printer_HP_Photosmart_C4380_series.print_page_delay: 50
    print.printer_HP_Photosmart_C4380_series.print_paper_data: 1
    print.printer_HP_Photosmart_C4380_series.print_paper_height: 11.00
    print.printer_HP_Photosmart_C4380_series.print_paper_name:
    print.printer_HP_Photosmart_C4380_series.print_paper_size_type: 0
    print.printer_HP_Photosmart_C4380_series.print_paper_size_unit: 0
    print.printer_HP_Photosmart_C4380_series.print_paper_width: 8.50
    print.printer_HP_Photosmart_C4380_series.print_plex_name:
    print.printer_HP_Photosmart_C4380_series.print_resolution: 0
    print.printer_HP_Photosmart_C4380_series.print_resolution_name:
    print.printer_HP_Photosmart_C4380_series.print_reversed: false
    print.printer_HP_Photosmart_C4380_series.print_scaling: 1.00
    print.printer_HP_Photosmart_C4380_series.print_shrink_to_fit: true
    print.printer_HP_Photosmart_C4380_series.print_to_file: false
    print.printer_HP_Photosmart_C4380_series.print_unwriteable_margin_bottom: 0
    print.printer_HP_Photosmart_C4380_series.print_unwriteable_margin_left: 0
    print.printer_HP_Photosmart_C4380_series.print_unwriteable_margin_right: 0
    print.printer_HP_Photosmart_C4380_series.print_unwriteable_margin_top: 0
    privacy.donottrackheader.enabled: true
    privacy.sanitize.migrateFx3Prefs: true
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1427897875
    Important Locked Preferences
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.7
    Version in use: 4.10.7
    NSS
    Expected minimum version: 3.17.4 Basic ECC
    Version in use: 3.17.4 Basic ECC
    NSSSMIME
    Expected minimum version: 3.17.4 Basic ECC
    Version in use: 3.17.4 Basic ECC
    NSSSSL
    Expected minimum version: 3.17.4 Basic ECC
    Version in use: 3.17.4 Basic ECC
    NSSUTIL
    Expected minimum version: 3.17.4
    Version in use: 3.17.4
    Experimental Features
    ---------------------

  • Why is a page doc attached mail not going out through gmail?

    Since the update I can't send out an email attached with a page doc. I have continually received the message "Cannot send message using the server Gmail" "because this message's content presents a potentialsecurity issue" If I change it into any format beside page, it goes out. pdf and ms doc have no problem with it.
    Can anyone help me figure this out? why does this happen?

    You can set Firefox home page to one of your choosing, see [[how to set the home page]].
    If the keep me signed in option is not working, you may have a malformed cookie. Try deleting Google/Gmail cookies, for details on how to do that see [[deleting cookies]].

  • During editing on MacBook Pro 2.2GHz i7, audio goes out of sinc with video

    I have been having a lot of trouble with audio going out of sinc after I have edited a 30 minute program.  When I make a second cut, I find that the audio has jumped under the first cut about half an inch back, and this happens with every progressive cut.  Then after "sharing" to dvd the audio is out of sinc with video throughout.  I then have moved each one of these overlaps back into position and still have a problem with audio out of sinc.
    HELP.

    I was using a different laptop for post since the macbook was busy "sharing" to dvd, which, since I closely examined each cut at highest magnification to fix them ended up making video watchable.  Not every cut came out of sinc, but several do.
    It is both sides of the cut which come out of sinc, the right side laps over the left and then I noticed when I corrected them with greater magnification that the left side was moved left to cause a gap.  I guess I just have to closely examine each cut when done with the whole video since also these overlaps are caused when I zoom out to view the whole length of the timeline, most of the cuts will overlap at that moment.  Really strange.  I had trouble fixing these but less trouble whe I turned off the snap in option.

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • WLP Ajax Struts Portlet Links not function correctly after refresh

    Hi All,
    I hope this hasn't being answered yet but i couldn't find any previous post on this, let me describe the environment.
    Im working in WLP 10.3.2 Struts Portlet, i had enable:
    Enable Tree Optimization:     True
    Enable ScrollToWindow:     True
    Asynchronous Update Mode:     Desktop
    Enable DISC:     True
    Enable DVT:     True
    During the first request when i entered the (portal url in the browser) all the html:link get replaced with their corresponding: href="javascript:bea.wlp.disc.xie._Service.update('myTargetURL','','')"
    Which is Fine, if you click on it the request will go thru an AJAX submit, however the incoming page also have links on it (navigation link to going back or to apply something else) and those get render as regular link making the whole portal to refresh.
    ps:
    Im using the corresponding BEA Stuts-html instead of struts default
    <%@ taglib uri="http://bea.com/struts/adapter/tags-html" prefix="html"%>
    Thanks
    Edited by: forzaken on Sep 28, 2010 12:18 PM
    Edited by: forzaken on Sep 28, 2010 12:18 PM
    Edited by: forzaken on Sep 28, 2010 12:18 PM

    Problem is here
    :str_name := 'Ongeldig klantnummer';it should be
    str_name := 'Ongeldig klantnummer';":" is regarded as a page item.
    Gary

  • Struts Portlet With Input Parameters

    Hi Everyone,
    Am I able to write a struts portlet that has input parameters? Right now, I have a struts portlet with a provider.xml that looks like this:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>ManageQuotes</name>
    <title>Manage Quotes Portlet</title>
    <description>Manage Quotes Portlet</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>encryptedDealerNumber</name>
    <displayName>encryptedDealerNumber</displayName>
    </inputParameter>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/viewquotes.do</defaultAction>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    The <session>true</session> and <passAllUrlParams>true</passAllUrlParams> need to be there to have a struts portlet. The problem is when I put my portlet on a page and then check out 'Page Properties', 'Portlet Parameters', there are no parameters that show up for my portlet. Can anyone help me?
    Thanks
    Cory

    I just went through this two days ago. I ended up logging a TAR/SR with Oracle and it turns out Struts portlets do not support input parameters. Instead you have to set the passAllUrlParams tag to true and then just use portletRequest.getParameter("parameterName") to retrieve page parameters. You have to be careful here because in this older style of doing parameters you have to manage all the uniqueness in naming parameters in case you have more than one portlet on the same page. However, it seems that if all you want to do is read the portal page parameters that unique naming doesn't come into play.
    In my case I have an OmniPortlet setting some Page Parameters via an Event. Then in my struts portlet I just do:
    String foo = "";
    String bar = "";
    PortletRenderRequest portletRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    if ( portletRequest != null ) {  
    foo = portletRequest.getParameter("Foo"));
    bar = portletRequest.getParameter("Bar"));
    That seems to work just fine for me, but in my case I will only ever use my portlet once per page so this fine. If you wanted the same portlet to have different page parameters fed to it for different instances on the same page this style won't work since all the portlets would just read the same page parameters since those page parameters names are coded in the implementation code.
    Hope that helps,
    David

  • Struts portlet and request.getQueryString()

    Hi all,
    I've run into what seems like a bug in using struts portlets.
    In my JSP page, I'm attempting to retrieve the query string (parameters) from the request URL, but apparently under the Portal framework, only the first parameter/value in the query string can be retrieved.
    Eg. URL:
    http://www.myportal.com/portal/page?_pageid=11,86282&_dad=portal&_schema=PORTAL&_piref33_92271_33_86282_86282.strutsAction=%2myAction.do?param1=abc&param2=cde&param3=fgh
    When invoking a request.getQueryString() either in my JSP or in the action servlet, only the first part is returned, which is param1=abc. The rest is dropped.
    I should mention that the actual use of these parameters are okay (such as request.getParameter("param2") will return "cde"). Just pulling them out with the getQueryString() method seems not too work.
    The only way to workaround it for me is to use the request.getParameterNames() and run through the enumeration and construct the query string manually. Of course this is ugly running under the Portal framework because I have to filter out all the Portal parameters that begin with the underscore character(eg. page, schema, etc).
    Has anyone else had this problem and worked around it?
    Thanks in advance

    Hi,
    This may help. Use the pdk-struts-html:link tag instead.
    Something like
    <jsp:useBean id="prevDetail" class="java.util.HashMap"/>
    <c:set target="${prevDetail}" property="event_PreviousSet" value="PreviousSet"/>
    <c:set target="${prevDetail}" property="sortref" value="${param.sortref}"/>
    <c:set target="${prevDetail}" property="sortacc" value="${param.sortacc}"/>
    <c:set target="${prevDetail}" property="filteron" value="${param.filteron}"/>
    <pdk-struts-html:link action="portal/something.do" name="prevDetail">
    Good luck, Hernando

  • Struts Portlet does not show images when it is accessed outside the domain

    Hi all,
    I am using Oracle 10.1.2. I have created a Struts portlet. When I view the struts portlet from my office domain (University domain) it works well and shows the images properly. However, if I try to access the same page containing the struts portlet from some other domain (my home), I cannot see the images and CSS associated with the page. This might be a firewall issue. Is there any way out?
    Best regards,
    Omer

    I fixed the problem.  (YAY!)
    It was the way I embedded the files -- the Dreamweaver default does not work properly so I used the embed from this generator: http://www.bobbyvandersluis.com/swfobject/generator/index.html#alternativeContentHelp which now lets my navbar and swfobjects load properly.  I also made sure that my slideshow (loader.swf) was set with wmode = opaque while the navbar is set to wmode = transparent.  The div for the nav bar has z-index set to 5 while the div for the slideshow has z-index set to 1.  Both have absolute positioning.  I hope this helps anyone in the future that has trouble with overlaying flash (.swf) files.
    Thanks for your reply and trying to help me solve this issue!

  • Struts Portlet problem

    Hello,
    I am developing a Struts Portlet, using JDev 10.1.2, and I'm deploying my app to Oracle Enterprise Manager.
    I have a DB Schema from which I created the Business Components for my Portlet.
    In the portlet, I need to display a tree-like Page Menu (pages have sub-pages and so on) in a single JSP that I have already working perfectly (outside Oracle Portal).
    This JSP consists of a series of "a href" links, each link representing a Menu Page, so that when I click on that link, the other portlets (content portlets) would show the selected page's contents.
    The idea here would be to, when I click a link, raise a struts event so that I can set my ViewObject's current row, and then get Portal to refresh the whole page passing the Page_Id as a parameter, so that both the menu portlet and the content portlet would be synchronized.
    The problem is that inside Portal, I can't seem to get the struts app to work:
    It renders the page just fine, but when I click on a link it obviously sets the browser's URL to one that is not relative to the portal - I suppose because i'm setting the URL mannualy on the "a href".
    (Note that I don't have a Form component in my JSP, just a number of links)
    What I need is to find a way to raise a Struts event so that the current row will be set. I'm trying to do it like this:
    < a href="/portal/menuPage.do?&id=<c:out value="${node2.IdPagina}"/>&event=Select">
    The event is raised and the row is set but I'm (obviously) forwarded to
    http://myServer:myPort/portal/menuPage.do?&id=28&event=Select
    Portal doesn't recognize this address and displays a "404 Not Found" message.
    Is there any other way to raise a struts action with links, or at least, without forms and submit buttons? Because raising it like I'm doing forwards me to a wrong URL.
    I read everything I found on Struts Portlets but still haven't found an answer to my problem.
    Any help?
    Rui Leitão

    When constructing links, you have to use the pdk-specific struts tags, for example:
    <pdk-struts-html:link href="/portal/menuPage.do">Also, you need to use the pdk struts tag library:
    <%@ taglib uri="/WEB-INF/pdk-struts-html.tld" prefix="pdk-struts-html" %>Peter

Maybe you are looking for

  • "save as" pop up box does not allow me to save the document.

    Hello , "save as" pop up box does not allow me to save the document. Shows a blank screen. Any idea what would cause this? I just purchased acrobat pro dc. Thanks!

  • My laptop is having a problem, help!

    Hello, I have been having problems with my Macbook Pro. Every time that I log in, its asking for a keychain access password, and I'm suppose to type in the password about 8 times, and also its saying that there's a SSL error, and when I'm on the web

  • Using Tascam 1641 on macbook pro

    Hi, I just got a macbook pro and I love it, but when it came to installing my Tascam 1641 interface into Garageband, then it got confusing for me(Have the driver cd as well). Went from a PC to Mac so this is my first mac, still getting used to it and

  • WLC service-group settings

    After checking the WLCs at several sites using the WLC Config Analyzer, one of the errors that came up was that the service-port interface was invalid because it was set to 0.0.0.0. We're not using the service-port interface, so how should this be se

  • Educator managing 120 iPod Touches with multiple libraries

    By using multiple libraries I am able to set each library up for a grade level and content area with their particular needs in mind.  I am syncing the iPods sometimes as often as two times per week and changing the library each time.  Will this affec