It is not working when jsp is outside of the Controller(.jpf) directory

Hello,
I am new to Portal. I am using Weblogic 8.1SP2. The problem is when there is a general jsp I want to put it common directory. It is working fine when I run starting from individual Controller but When I put its portlet in Portal, then the action is NOT falling into its caller's Controller but into the root Controller. Is this normal ? Is there a way to have the action call back to its caller Controller ? The director structure is :
../portalWeb
+ flowControllers
+ common
search.jsp
+ portlet1
Portlet1Controller.jpf
Portlet1Controller.portlet
+ portlet2
Portlet2Controller.jpf
Portlet2Controller.portlet
Controller.jpf
And in the search.jsp file I have javascript snippet code like :
if ( <%= type%> == 1 ){
document.forms0].action="startPersonSearch.do"; //Portlet1Controller action
if ( <%= type %> == 2) {
document.forms[0].action="startCompanySearch.do"; //Portlet2Controller action
document.forms[0].submit();
Please help. Any thought will be greatly appreciated.
Christina
Thanks in advance.

Yes. I did try to put directory path in front of the action to tell which Controller it should go. It didn't throw exception but It acted like called directly from that Controller. It is not under portal.
Does anyone think the approach to have the common used jsp outside the Controller feasible ?

Similar Messages

  • I have Cisco TelePresence SX10 and content sharing is not working when I am dialing through the bridge

    I have Cisco TelePresence SX10 and content sharing is not working when I am dialing through the bridge, I can share the content if I drag and drop from RMX, but if schedule the call in Resource manager or manually dial in from device the content is not going to other hand, I have tried to turn off encryption as well but still same issue. can you please help me out with this. I am from Lion co and purchased sx 10 recently.
    regards
    Hemang

    Can you please provide us with a little more information on your systems and configuration / topology, such as, what call control are you using (Cisco VCS, CUCM, other?). what type of "Bridge" are you using (is this a Cisco MCU, or Cisco TelePresence Server, or other device?), what versions of the software are on each of the devices, etc.  The more information we have about your environment will help us assist you better.  But saying that, if all your core equipment isn't Cisco, you may have more luck in the forums for the manufacturer of such equipment (ie Polycom's Support Community).
    Wayne
    Please remember to rate responses and to mark your question as answered if appropriate.

  • My sistem preferences are not working, when I try to change the photo of the desk It stop working, what can i do?

    my sistem preferences are not working, when I try to change the photo of the desk It stop working, what can i do? I'm dieing cause I'm afraid

    Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears?

  • Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?

    i've noticed a touch ID only works with my iPhone six is not plugged into the wall was soon as I plug it in it doesn't work anymore doesn't even register fingerprint.

    Charger60 wrote:
    i
    Touch ID in my iPhone six does not work when it's plugged  into the wall is anybody else having this problem?
    No. You are the only one. The way I know is that I don't have the problem, therefore no one else can have it.
    Seriously, no matter what problem you have, with a half billion iPhones in use, someone else will have the same or similar problem. So knowing that doesn't help solve it in the slightest. As it's new and still in warranty I would take it to an Apple store. Make a genius bar appointment first so you won't have a long wait.

  • Data table not working when jsp is in a subfolder

    In order to organize my jsps I created a few subfolders and placed my new jsps in there. The problem is that when I drag a data table onto the page it does not display correctly. Only the headers show up. Draging a datatable onto a jsp that is not in a subfolder works fine. What gives?

    There are known issues with moving the pages into subfolders as well as renaming subfolders... from release notes:
    Creating a web page in a subfolder causes a page bean to be created in a corresponding sub package in the Java Sources folder. When renaming a subfolder containing web pages, Creator might not properly update the package names of the page beans in the Java Sources directory. In addition, the
    managed-beans.xml file might contain leftover references to the old bean names.
    Workaround
    Use the code editor to change the package names of the Java page beans and delete obsolete
    references to the renamed beans in the managed-beans.xml file.
    http://developers.sun.com/prodtech/javatools/jscreator/community/forums/index.jsp
    This is one area where we know we need to do more testing - so there may be additional gotcha's we haven't identified yet.
    If you create the page initially in the subfolder, is all fine?
    v

  • Search function of tags not working when folders renamed outside of PSE

    hi guys
    have PSE 9 on MAC.
    when saving foto files at another place and doing so outside of the program PSE, we all know already that PSE displays them in the organizer with a "?". This fact is not at all comfortable but, thanks to the link PSE makes, it still displays them.
    however, when I want PSE to display all fotos tagged with a certain tag, let's say "house", PSE does not display ANYTHING!
    so how can I make PSE to show the result when searching for all tagges fotos with "house" - for those fotos that are saved now at another place?
    honestly, "the other place" is a bare renamed folder, so still at the same place somehwat.
    I definitely don't want to tag all my fotos again. But I want PSE to show the fotos marked with example "house"
    I've tried to copy - paste, from old to new folder. No success.
    I've imported the fotos from the new folder. It works, but they are without tag! and sometimes it says an error message even, saying, the content inside is already in this catalogue.
    anyone has a good hint?
    many thanks!
    PS: had the same trouble on PSE 7 for Windows...

    File->Reconnect is the solution to your problem.
    In the future, you might want to consider using a workflow that does NOT involve renaming/moving folders or photos outside of PSE. In fact, I think such a workflow would be mandatory to avoid problems and extra work.
    If you absolutely MUST rename or move photos or folders, do so from within PSE, in the Folder Location View...but I would still recommend not having a workflow involving renaming and moving stuff from here to there; I would recommend organizing by keywords and captions; and putting photos into default named folders (capture date) and leaving them there un-moved and un-renamed.

  • Why does the "Move to new window" function that I used to use not work when I right click on the tab anymore?

    It used to be when I right clicked on the tab in Firefox that I could use the "Move to new window" option. Now when I go down to that option it looks as though it is going to work, but nothing happens. The other day I changed a few options in Firefox, but I don't remember changing anything that sounded as though it would have this effect and now I can't find any options that seem to fix it. Thanks in advance for any help.

    Hello Beorn, probably the problem is an extension that isn't working correct.'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    thank you

  • CFIMAGE not working when there is a . in the file path?

    I’m trying to use CFIMAGE for the first time and running into an issue. I am guess it is because my path has a period in it but I am not sure and I am not sure how to get around it if that is indeed the problem.
    I’m using ExpandPath to get the directory path but I have tried it other way with the same result. The path is
    C:\Websites\mywebsite.com\www\images
    I’m just trying to take a file in the C:\Websites\mywebsite.com\www\images\temp directory and resize it then rename it to the memberid with 300 on the end and save it to this directory C:\Websites\mywebsite.com\www\images\members
            <cfimage
            action = "resize"
            height = ""
            source = "#ExpandPath("..\images")#\temp\#TempFileName#"
            width = "300"
            optional
            destination = "#ExpandPath("..\images")#\members\"
            name = "#ARGUMENTS.MemberID#300"
            format = "jpg"
            overwrite = "yes">
    I keep getting the folowing error.
    The com\www\images\members\ image format is not supported on this operating system.
    Any ideas?

    was the fact that I ahd both destination and name being used
    at the same time.
    Using both "destination" and "name" works fine for me on windows. Though as I said, it is usually more common to use one or the other (not both).
    all I did was copy and paste
    from Adobe's example.
    Given the fact that your code contained the word "optional", you may have inadvertently copied a usage/syntax description rather an actual code example. Most of the descriptions contain the word "optional" to separate the mandatory and optional attributes. They are just descriptions not working code. Look for the actual code examples further down in the page (usually in a mono-font like courier).

  • Ajax tabs not working when asp dropdown list in the tab

    I am using asp.net 3.5 framework. My page has modelpopup in that ajax tab controls used. one of the tab has asp:dropdownlist, this dropdown list is binding data from dataset. the tab which has dropdown lists is not working. it is working fine in IE9.0.
    Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    changed to enableEventValidation="false", then it is working fine.

  • Javascript not working when JSP container changed. Why?

    I'm migrating from Resin (if you happen to know what it is) to Tomcat.
    My web app runs fine on Tomcat, without any change in the code. What surprises me is that, javascript, which works perfectly fine while the webapp runs on Resin, seems to have problems when the webapps runs on Tomcat.
    This does not seem to make sense to me: javascript is executed on the client (browser) and should have nothing to do with the JSP container.
    Can someone tell me why, and how to fix this? Thanks!

    see if your browser supports something like a javascript console or debugger.
    e.g.:
    - MS InternetExplorer shows a warning icon in the left bottom corner if there is a javascript error. doubleclicking on it shows the error type and the location (url, line, char) where the error occured.
    - Mozilla supports a javascript console which shows up javascript errors or warnings.
    have a look at what the browser says on your errors.
    if your javascripts are hardcoded it HAS TO BE a browser (misinterpretation) or javascript error. serverside has definitively nothing to do with javascript...
    greetz,
    Thof

  • Javascript not working when pdf is rendered in the browser IE9

    I have a javascript on the initialize event of a field and it works fine when doing a Preview PDF but not when i render the PDF in the browser
    if(F.Page_1.field1.rawValue == null)
               F.Page_1.field1.presence = "invisible";
               F.Page_1.field2.presence = "visible";
    Can some one pelase help?
    Thanks,
    F.Page_1.field1::initialize - (JavaScript, client)

    Hi,
    The initialize event is supported in browsers, but the issue may be if the form is saved as a Dynamic XML Form in the save-as dialog in LC Designer. Or if you using LC Enterprise Suite to render the forms at runtime, if you have set the render in LC Designer: File > Form Properties > Defaults to Dynamic XML Form:
    Changing an object's presence requires a dynamic form.
    Niall

  • Setting PDFCompatibility not working when saving a file from the API

    Hi,
    I am trying to save a PDF file using version 1.3 compatibility using the CS3 API. I am flexible to which Action I use. Right now I am trying to use kAISaveDocumentAsAction.
    According to AIPDFFormatAction.h, I can set kAIPDFCompatibilityKey to kAIPDFCompatibility13. However, that same header file indicates that these keys should be used with the kAIExportDocumentAction, not the kAISaveDocumentAsAction.
    Not surprisingly, the SaveAs Action works, but saves a PDF in version 1.5 (probably not checking the kAIPDFCompatibilityKey).
    I have tried using the kAIExportDocumentAction instead... However, in CS3, the Export action does not support PDF as an output type. Maybe in earlier versions this was different.
    Can anyone help? Below is the current code I am using that produces a PDF, but not a version 1.3 PDF.
    AIActionParamValueRef valueParameterBlock = NULL;
    ActionDialogStatus dialogStatus = kDialogNone;
    int result = 0;
    result = sAIActionManager->AINewActionParamValue(&valueParameterBlock);
    if (valueParameterBlock) {
    result = sAIActionManager->AIActionSetString(valueParameterBlock, kAISaveDocumentAsNameKey, outputfilename_final);
    result = sAIActionManager->AIActionSetString(valueParameterBlock, kAISaveDocumentAsFormatKey, kAIPDFFileFormat);
    result = sAIActionManager->AIActionSetInteger(valueParameterBlock, kAIPDFCompatibilityKey, kAIPDFCompatibility13);
    result = sAIActionManager->PlayActionEvent(kAISaveDocumentAsAction, kDialogOff, valueParameterBlock);
    result = sAIActionManager->AIDeleteActionParamValue(valueParameterBlock);

    Hi,
    You can try to right-click and '''Reset''' the '''browser.download.lastDir''' key in [http://kb.mozillazine.org/About:config about:config].
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • Why does my ipod not work when i plug it into the wall and work when i plug it into my computer?

    hello?

    What do you mean by works?  Do you mean the battery chares on the computr but not with the wall charger?
    Did the wall charger ever charge the iPod?

  • My sound for music and apps is not working. when i try to turn the volume up it says "Sound Effects" ...Anyway to fix?

    I need to kno how to fix this problem

    Try the standard fixes:
    - Reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod

  • Auto Lock not working when connected to Macbook

    Ive had my ipod for about a week and I thought auto-lock was working even when the ipod is connected to my computer.
    But I just realized that the auto-lock is not working when it is connected to the computer.
    Is this normal?
    Also when I set the brightness to the lowest setting, the screen slightly flickers intermittently.
    Is this normal too?
    Thanks

    Do you have more than one IDM Server running in your environment? When you are debugging a WF on server A and the scheduler decides (usually after an approval step) to continue running the WF on server B, your debugger connecting to server A wouldnt stop at the breakpoint.
    Can you make the debugger stop on e.g. the "start" or very first Activity in your wf? Right after launching it from the form.

Maybe you are looking for

  • Problem with INVOIC01 idoc.

    Hi, We are receing IDOC INVOIC01 (Vendor invoice in MM). My problem is we have to identify the segment and field where barcode number can be populated in this inbound idoc. Also how to pass this barcode number to MIRO/MIRA. Can anyone could throw som

  • How do you place text and a formula in the same cell?

    I'm trying to format a single cell so that there is a label and a sum total together. How do I do this?  I'm sure it's easy, but any help is much appreciated. Example: Invoice total: $ SUM Thanks

  • Lost temporary file in Word 2010. really need help

    I did two stupid things: 1. I downloaded a word document from gmail but I chose to open it directly instead of saving it and then opening it.  I am sure this created a temporary file somewhere.  I had to Enable Editing afterwards. 2. I made several e

  • JDeveloper w/ OA Extensions (v10.1.3.3.0) and SVN

    Hi I'm having troubles trying to install SVN extension and support with my JDeveloper. It can't see the update item when I click check for updates. I have not installed it previously and I need it now because our system is migrating from cvs to svn.

  • Problems installing anything

    For a while I've been unable to update or install software - including Apple software - as one of two things happens: either (a) the agree button won't click (trying to update iTunes and others) or (b) the 'continue' button is greyed out (Microsoft o