Spacing in NavigationSettings.xml

Hi all,
I tried to modify the XML entries in order to define the width of the page columns. I added this entries in NavigationSettings.xml (101 is the ID of my PlugNav):
<intPlumtreeDPTableSpacing101 value="4" /><intPlumtreeDPLeftWidth101 value="200" /><intPlumtreeDPRightWidth101 value="200" /><intPlumtreeDPLeftWidthAlone101 value="200" /><intPlumtreeDPRightWidthAlone101 value="200" />
The only settings that works is the TableSpacing. The other seems to be ignored.
Do you know why?
Thank you very much,
Alberto

Hi Alberto,
Correct me if I'm wrong, but it sounds like you are trying to use these settings to changed the width of the portlet columns. That is not what these settings do. These settings alter the width of the navigation columns (if you are using them). So if you have a navigation that uses the left hand side of the page. And you alter <intPlumtreeDPLeftWidth101XXX value=?/>, then the navigation column width changes.
If you are trying to alter the width of portlet columns, then you will need to override MyPortalContentView using dynamic discovery. There is a constant in that file called N_NARROW_COL_WIDTH, which will allow to change the width of the narrow portlet columns.

Similar Messages

  • Where is navigationsettings.xml in 6.x?

    Hello. I am porting building some custom navigation code in 6.x. I remember in 5.x, I could store config variables in NavigationSettings.xml - then reference them through the API. However I don't see this file in 6.x. Where is it? The inline docs in NavigationCommonHelpers states that it still pulls from this file...
    Thanks
    Chris

    StuffIt is no longer included in boxed versions of Mac OS 10.4. If you have upgraded from earlier versions, it should still be in /Applications. You can download Expander here: http://www.stuffit.com/mac/expander/ for free. Why Spotlight doesn't find it on your machine is beyond me. You can try searching for it in Terminal, though:
    sudo find / -name StuffIt
    enter your admin password when prompted.

  • MICR character spacing, what works best?

    We're having issues with MICR spacing on our XML publisher based cheques in Oracle 11i. Basically our spacing changes from our desktop to our linux server so the MICR positioning is imprecise when it gets converted to PDF. So I'd love to know what other people are doing regarding MICR positioning. Are you;
    - Making it one bring string in a cell?
    - Breaking it up into it's components in different cells, i.e. Serial Number, Transit Number, Account Number etc
    - Making up a table with cells for each single digit of the MICR String?
    To give you some more details, the template is in RTF format.
    I'd appreciate your ideas.
    Cheers
    Kofi
    Edited by: Kofi on Apr 11, 2012 12:59 PM

    The whole reason for using a relative unit, like ems, for tracking and kerning is it adjusts as you change the size of the type to maintain the specified spacing. If you switch to an absolute unit and adjust the type size your glyphs will either drift apart or pile up on each other.
    And I don't think anyone here can even begin to tell you how you might accomplish such a feat in your custom GUI.

  • Subportal vs. Standalone

    Greetings,
    The following is a brief summary of the project at hand:
    My company has a subdivision who's website (www.jabsco.com) has been built and maintained by an external consulting firm. Now they are seeking to move the site under internal control. While the guys at the subdivision would be happy if we just moved the site and db onto internal servers, the IT honchos here don't want to support the current application. Instead, they want to rebuild it in .Net and they are considering how the portal can be utilized.
    (side note: the current site structure is very poor. I imagine that a better model of similar functionality is the Volvo Group's website (www.volvo.com)).
    What my question is, being farily new to Plumtree (our dev environment has only been up a month or two), what is the right approach to implementing the solution? Create it as a subportal? Or create it as a standalone site which uses "output" from the portal?
    I've been thinking of two options:
    1) Build it as a standalone ASP.Net app that is independent of the portal. However, the static content would be created and managed via Content Server (publishing to a directory). So the sections like "About", "Company Profile", "News" and such would be from the portal while the other key items like the product and distributor catalogs would be from a standalone app with a portlet interface for input in the portal.
    2) Build it as a subportal. I suppose this is a good solution. The problem is, this is a costly solution in terms of time. The amount of work involved in creating a highly customized look and feel using the portal seemsto be extremely high (I could be wrong). On top of that, tons of research has to go into howto customize the look and feel the way we want (any chance of getting an implementation guide for www.plumtree.com?).
    Thoughts and input?

    I looked at the two sites and they both look like they would be relatively easy to implement as a subportal because they use page layouts that already exist in the subportal.
    You can use a completely null-navigation scheme (copy the null navigation scheme that ships with the portal and remove any navigation elements from it)
    Use communities, sub communities and community templating to create the site structure (use subcommunities rather than community pages because they are easier to work with through the PRC)
    Have a banner portlet that uses the PRC to query for the top level communities and uses transformer tags to link to the communities (home, company profile, product information etc.)
    In the case of volvo - Use another portlet for the sub-community navigation in the left hand column.
    You can make it feel more like a website by decreasing the spacing around the portal (see NavigationSettings.xml)
    After the initial setup branding and customizing the site would be easy because you can just change the banner/footer portlets, stylesheet, and make changes to community templates to push changes out to all the sub-communities.
    Hope this helps.

  • Navigation Modification

    Hi all,
    I'm trying to accomplish two tasks for navigation modification. One will be to split out the Communities into two drop down tabs. I believe this would extend the Horz Dropdown Navigation scheme. I would need to create a second drop down box and populate each with specific communities. The second task is to remove the 'Inside this Community' bar from all Communities. The coding will be in .NET using C#. Any help is much appreciated. Thanks in advance.

    Adding a dropdown menu is fairly simple. It requires two step. First you need to add the menu tab. Add your new tab in NavigationJSPortalMenuDropDownView.CreateDDTabsArray. Use the existing tabs as templates. Next you need to populate your new menu. You mentioned that you want specific communities in it. It would be a good idea to put the community IDs and names in NavigationSettings.xml. This is better than hardcoding them since you can edit the list of communities without having to recompile and redeploy. Look in the UI customization guide for instructions on how to get data from NavigationSettings.xml. Once you have read in the community IDs and names, create a new ASCompoundList class and call AddCommPageURL method for each of your communities. Pass the list to NavigationISCHelpers.MadeDDMenu. Make sure to use the same string identifier in the tab and menu. Take a look at the other CreateXXXMenu methods for examples.
    Regarding the removal of the "In this Community" tab, see the "How to hide the page links of a community on the 5.0.2 portal" thread on this board.

  • Change template list order

    Hi,
    I would like to change the order in which templates are shown in the combo box that is used to select a template.
    I have confirmed that the default order is based on the CREATEDATE column of the WWPOB_PAGE$ table.
    Does anyone know how to change this, without changing that field?
    If not, does anyone knows if changing that field could be dangerous?

    Victor,
    Reordering the My Community list requires code customization. Take a look at GetMyCommunities method in the NavigationModel class. You could create your own version of that method that arranges Communities the way you want them. Although, there is no easy or performant way to assign a numerical property to a Community that could be used for sorting. The simplest method I can think of is to make a list of the Community IDs in the order you desire in NavigationSettings.xml (this way you can reorder the list without having to change code). Communities can then be ordered according to your list. Refer to the UI customization guide for instructions to retrieve data from NavigationSettings.xml.

  • How to get the SupportCenter Nav to work ?

    Hiya All
    I am trying to get the [url[/url]Nav_SupportCenter-C#.zipsample working in a dev 5.0.2 environment.
    I can compile the code cleanly.
    Have modified the CustomActivitySpaces.xml file to look for the new dll.
    Placed the dll in the ..\webapp\portal\bin directory.
    On start up the file is discovered and loaded.
    In the sub portal manager I can select the new nav scheme
    When I log in to the sub portal containing the new nav scheme it doesn't appear.
    PTSpy return the following error on login
    5537 03-05 13:26:45 Error Portal UI - Common 3556 1588 com.plumtree.pscportalnavigation.views.PSCNavigationCommSectionDropDownView.DisplayJavascript(pscnavigationcommsectiondropdownview.cs:line 354
    ) DisplayJavascriptCrash in pscportalnavigation while evaluating navigation setting for community ID's System.NullReferenceException at com.plumtree.pscportalnavigation.views.PSCNavigationCommSectionDropDownView.DisplayJavascript() in d:\projects\leightons\support center nav\pscnavigationcommsectiondropdownview.cs:line 326
    The offending piece of code that trows the error is
    strKeyValue = vp.GetVarPackValue("commID").ToString();
    I suspect the string commID isn't in the varpack. What is the correct string id to make this work.
    Cheers
    Bob

    Mr. Singh,
    Each community you add to the NavigationSettings.xml commID node will appear in the support center tabbed list. That's the way that navigation works. It's one-dimensional, i.e., it doesn't support a concept ofubcommunities; they're all treated the same way.
    If those same communities happen to also be mandatory, they'll show up on the mandatory list.
    If I were you, I would make the communities not mandatory, or only make one of them mandatory. Anyone navigating to that one mandatory community would see the new navigation, with tabs showing all the other communities listed in NavigationSettings.xml. In a way, this is a "second set" of mandatory communities, in the sense that the UI presents them.
    Of course, you'll have to change the community security so that anyone can fully browse those communities. This is the approach we use on our own site.
    If this behavior is not precisely what you want, you'll need to modify that navigation code. Keep in mind that the support center navigation is not supported code, as is clearly stated on the Support Center where you downloaded it; it is simply an example to demonstrate other ways to write pluggable navigations. It also demonstartes the concept of "navigation switching" pretty well - when you're not on one of the communities listed in the XML file, you see the normal navigation. You can modify the code to show any navigation you want as "normal".
    David Phipps
    Plumtree Software

  • Supressing the "Inside this Community" + Subcommunity" + "Related Community" tabs

    I read the discussion thread on "How to hide the page links of a community on the 5.0.2 portal" and I looked at the UI Source code for "NavigationCommSectionDropDownView".
    And I was wondering about which portion of that code should be disabled/altered to completely suppress the "Inside this Community" navigation tab along with the "subcommunity" and "related community" tabs below it.
    We need to create a community that doesn't have any navigation scheme. We will create our own and need to suppress the 'out of the box' navigation scheme.
    Thanks for urhelp.
    Hani

    The community section menu will not show up at all when Removed from a NavType. If you want it to show up for only certain communities you would not change the NavType class but instead add logic into the view's (NavigationCommSectionDropDownView or NavigationCommSectionComboBoxView located in the view folder under the NavType file) Display method to only display the menu for specific communities by checking community IDs. Instead of hardcoding the IDs in the code you could put them in NavigationSettings.xml and get them for there with the NavigationCommonHelpers.GetNavSettingsValueX methods.
    Refer to the UI Customization Guide has more information.

  • Turning the left side navigation on and off dynamically

    I need to have the navigation on the left side turn on and off pending what community the current user is it. I can do this (kind of) by creating a class implementing NavigationCommonVerticalView and IView. My over riding methods check the community ID and return null need be.
    The problem is that whatever class is calling this still creates a table cell with a width of 200 for the navigation bar wether it is there or not. I imagine I can fix this one of two ways.
    1 - Set the cell width to be 0 all the time. When there is content the browser should force this to be expanded. I however can not find this setting anywhere
    2 - Override the class that calls my NavigationCommonVerticalView class. Hopefully this will provide a mechanism to turn that cell of completely. However I have not determined what class this. I thought it might be "com.plumtree.portalpages.browsing.myportal.myPortal" by when I try to override this class, I can not get it to load at startup by adding it to the customActivitySpaces.xml file.
    Please help.

    Hi Jeff,
    Unfortunately, there is currently no setting to allow you to set the cell width.
    In our next release there is a setting available in NavigationSettings.xml. Also, the page checks to see if the value returned from the Display method of your View is null before inserting a cell for the View's content.
    The only thing that you could do before the next release would be to override com.plumtree.portalpages.common.uiparts.PlumtreeDP. I hesitate to suggest doing this because PlumtreeDP controls the display of almost all pages in the portal.

  • CSS line spacing + XML

    I am using a Spry accordion in DW CS3 to read an XML file.
    The XML file contains breaks (not coded), but within the Accordion
    content, all the paragraphs are run together.
    See sample here:
    http://www.stogiefresh.com/cigardatabase.html

    On 08 Mar 2007 in macromedia.dreamweaver, adunate wrote:
    > Joe, Thanks also for your suggestion. However, sometimes
    its hard to
    > search if you're not quite sure what you're searching
    for. Before my
    > initial post I searched each group for "line spacing"
    (seems obvious
    > to me) and came up with zero topics.
    You're coming to this forum through Adobe's webforum; it's
    also gatewayed
    to a newsgroup
    (news://forums.macromedia.com/macromedia.dreamweaver). As
    a result of that, the forum is searchable by Google Groups:
    http://groups.google.com/groups?as_q=line+spacing&as_ugroup=macromedia.*
    which came up with 3,160 results.
    I also went to the front page of the Dreamweaver General
    Discussion
    webforum and entered line spacing as the search term. It came
    back with
    a full page of results, all of which give you the answer
    you're looking
    for.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • To remove the spacing in top and bottom of XML report while printing

    Hi,
    I have developed the RTF template having page size(Page Setup->Page Size) as Custom Size(Width:19" and height:9.01").When I try to run the report thorugh the APPS,there is lot of spacing included at top and bottom of the page.This is mainly due to printer page size as A4.
    Due to the report layout,I cannot change to A4 which will make the report layout clumsy.
    Is there any kind of apps page setup to be done which will relate pagesize CUSTOM to A4.
    Please advise
    Regards,

    Hi
    Are you saying that once the document is printed ou get the space? If you run to PDF and view it with Reader then the paper size is correct?
    If so then you need to set up a prt file to specify the custom paper size. I suspect you are pushing it thru a regular A4 driver and its being resized for the paper.
    Writing print files is a little bit of an art form but check out the 'SysAdmin guide and the pasta guide for some further help.
    Regards
    Tim

  • PeopleSoft Invoking BPEL process gets HTML returned and not XML

    I am executing a SyncRequestXmlDoc in PeopleCode to call a BPEL process.
    In an earlier demo environment this works fine and when I interrogate the log I get a correct Request and Response message :
    I have now installed SOA Suite and I am deploying to that and I now have a problem with the Call.
    It works.... but does not execute the BPEL Process.
    Investigation has found that the PeopleTools Synchronous Message log shows the failing call as returning the HTML form of the BPEL process instead of the XML.
    Detailed below are the request and response logs for the working process and then the failing process.
    The question is :
    Is the BPEL process launched by SOA suite being returned in HTML form because of a setting or configuration issue or .... ?
    I can run the failing process from the BPEL Console without any problems ?
    Working Call Logs
    Request message :
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncComp" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <client:POSyncCompProcessRequest>
    <client:Customer>test2</client:Customer>
    <client:Item>1</client:Item>
    <client:Quantity>1</client:Quantity>
    <client:DeliveryDate>2007-08-02</client:DeliveryDate>
    </client:POSyncCompProcessRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    and a correct response :
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <POSyncCompProcessResponse xmlns="http://xmlns.oracle.com/POSyncComp">
    <result/>
    </POSyncCompProcessResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    However with a new demo environment where I am using an SOA suite I get the response returned in HTML not XML
    Failing call logs shows html form in response
    Request Message :<?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:client="http://xmlns.oracle.com/POSyncCompInt" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    <client:POSyncCompIntProcessRequest>
    <client:Customer>test2</client:Customer>
    <client:Item>1</client:Item>
    <client:Quantity>1</client:Quantity>
    <client:DeliveryDate>2007-08-02</client:DeliveryDate>
    </client:POSyncCompIntProcessRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Response Message :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html><head><title> Web Service</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css" media="screen">A:link { font-family: Arial, Helvetica, sans-serif; color:#663300; background-color : #FFFFFF;}
    A:active { font-family: Arial, Helvetica, sans-serif; color:#ff6600; background-color : #FFFFFF;}
    A:visited { font-family: Arial, Helvetica, sans-serif; color:#996633; background-color : #FFFFFF;}
    A.navigation:link{font-family: Arial, Helvetica, sans-serif;font-size:65%;color:#996633;background-color : #FFFFFF;}
    A.navigation:active{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
    A.navigation:visited{ font-family: Arial, Helvetica, sans-serif; font-size:65%; color:#996633; background-color : #FFFFFF;}
    BODY, P, LI, UL, OL { font-family: Arial, Helvetica, sans-serif; font-size:12px; color:#000000; background-color : #FFFFFF;}
    H1 { font-family: Arial, Helvetica, sans-serif; font-size:150%; color:#336699; background-color : #FFFFFF; border : solid #CCCC99; border-width : 0px 0px 2px 0px; width : 100%;}
    H2 {font-family: Arial, Helvetica, sans-serif; font-size:120%; color:#336699; background-color : #FFFFFF; border : solid #cccc99; border-width : 0px 0px 2px 0px; width : 100%;}
    H3 {font-family: Arial, Helvetica, sans-serif;font-size:110%;color:#336699;background-color : #FFFFFF;width : 100%;}
    H4 {font-family: Arial, Helvetica, sans-serif;font-size:10pt;color:#000000;background-color : #FFFFFF;font-weight: bold;width : 100%;}
    P.indent {text-indent: 9%;}
    .testpage-message-body-editor { margin: 10 0 10px 10px; font-size: 12px; }
    .testpage-complex-editor { margin: 10 0 0 10px; font-size: 12px;}
    .testpage-complex-editor-body { margin: 10 0 0 10px; }
    .testpage-complex-editor-part {     margin: 10 10 0 10px; }
    .testpage-header-editor { margin: 10 0 30 10px; font-size: 12px; }
    .testpage-header-editor-part { margin: 0 0 10 0px; font-size: 12px; }
    .testpage-simpletype-type-tag { color: rgb(128, 0, 128); padding: 0px;     font-size: 12px; margin: 0 2 0 10px; }
    .testpage-simpletype-tag {color: blue; font-size: 12px; margin: 0 6 0 2px; text-align:right; }
    .testpage-complextype-tag {color: black; font-size: 12px; font-weight: bold;}
    .testpage-input {font-size: 12px; text-align:left; }
    .testpage-input-box {border: 1px solid dimgray; font-size: 12px; text-align:left;}
    .testpage-dropdown { font-size: 12px;}
    .testpage-dropdown-box {font-size: 12px;}
    .testpage-arraytype-tag {color: black; font-size: 12px; font-weight: bold;}
    .testpage-array-element-tag { margin: 0 0 0 10px; }
    .testpage-array-element { margin : 10px; background-color: #FFFFFF; background-image: url("med_sub_BG.gif"); }
    .testpage-arraytype-adder { font-size: 12px; }
    .testpage-checkbox { height: 12px; width: 12px; margin: 2 2 3 0px; }
    table {border-spacing: 0;}
    td {padding: 1px 4px 1px 4px; width: 130px; }
    .testpage-invocation-textarea { margin: 10px 0 0 10px; font-size: 12px; border-top: solid #95b7cd 1px;
    border-left: solid #95b7cd 1px; border-bottom: solid #95b7cd 1px; border-right: solid #95b7cd 1px; }
    .testpage-invocation-button { margin: 10px 0 10px 150px; font-size: 12px;}
    .testpage-array-remove { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_delete_png);  background-repeat: no-repeat; clear: both; display: inline-block; }
    .testpage-array-add { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_add_png);  background-repeat: no-repeat; clear: both; display: block; position: relative; left: 1px}
    .xmlViewer {font-family: monospace; height: 300px; width: 95%; overflow: auto; position: relative; left:0px;}
    .xmlViewer2 {font-family: monospace; height: 85%; width: 95%; overflow: auto; position: relative; left:0px;}
    .xmlTag {color: #336699; background-color: transparent; font-weight: bold;}
    .xmlAttName {color: #990000; background-color: transparent}
    .xmlAttEqual {color: #006699; background-color: transparent}
    .xmlAttValue {color: #0033cc; background-color: transparent}
    .mode-select { margin: 0 0 0 10px;}
    .extras { margin: 10px 0 0 0px; font-size: 12px; }
    .expander-open {background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_expanded_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
    .expander-closed { background-image: url(http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?tp_disclosure_collapsed_png); background-repeat: no-repeat; background-position: center; display:inline-block;}
    div.bar {width:85%; padding-left:15px; border-color: rgb(128,128,128);border-width: 0px 0px 1px 0px ; border-style:solid; line-height: 0}
    div.container {position:relative; border-width:1px; border:solid #95b7cd 2px; margin-top:20px;padding-top:20px}
    div.operation {position:absolute; top:-12px; left:40px; background-color:white}
    a .alt { visibility: hidden; position: relative; left: -4px; }
    </style>
    </head><body onLoad="javascript:buildEditor()">
    <h1>POSyncCompInt endpoint</h1>
    <p>For a formal definition, please review the Service Description.</p>
    <p>Download the JavaScript Stub (<i>BETA</i>) for POSyncCompIntPort and see its documentation.</p>
    <script type="text/javascript" src="http://etcintel01.uk.oracle.com:7777/orabpel/InternalCompany/POSyncCompInt/1.0?BPEL_OC4J_Servlettest.js"></script>
    <script type="text/javascript">
    // Copyright © 2003, 2006, Oracle. All rights reserved.
    function switchOperation(selection) {
    submit_to_self();
    function switchMode(newMode) {
    submit_to_self();
    function submit_to_self() {
    var f = document.forms['CreateMessage'];
    f.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
    f.submit();
    function toggleHttpParams(transBox) {
    var transportParams = document.getElementById("http-params");
    if (transBox.checked) {
    transportParams.style.display = "block";
    } else {
    transportParams.style.display = "none";
    function handleStressInfo( stressCheckBox ) {
    var initiateForm = document.forms['CreateMessage'];
    if( stressCheckBox.checked ) {
    // User is requesting stress test
    // change the address of the form
    initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0?stressTest=";
    } else {
    // The user does not want a stress test
    // change the address of the form
    initiateForm.action = "/orabpel/InternalCompany/POSyncCompInt/1.0";
    function buildEditor() {
    var wsm_interceptors = [];
    wsm_interceptors[0] = "reliability";
    wsm_interceptors[1] = "security";
    var node = document.getElementById("editor");
    var editor = findEditors("process", wsm_interceptors);
    editor.build(node);
    syncFormRadioField('mode_html', true);
    syncFormRadioField('mode_xml', false);
    syncFormSelectField('operationName', 'process,,');
    var soapAction = document.getElementById("soapAction");
    soapAction.value = "process";
    var soapAction_cb = document.getElementById("soapAction_cb");
    soapAction_cb.checked = "true";
    </script>
    <h2>POSyncCompIntPort</h2>
    <form name="CreateMessage" action='/orabpel/InternalCompany/POSyncCompInt/1.0?invoke=' method="POST" onSubmit="javascript:return validateAllAtomicInputs(this);">
    <input type="hidden" name="contentType" value="text/xml" >
    <input type="hidden" name="portName" value="POSyncCompIntPort" >
    <input type="hidden" name="serviceName" value="POSyncCompInt" >
    <input type="hidden" name="serviceNamespace" value="http://xmlns.oracle.com/POSyncCompInt" >
    <div class="container">
    <div id="mode-select" class="operation">
    Operation
    : <span id="operationSelect">
    <select class="testpage-input-box" id="operationName" name="operationName"
    onchange="switchOperation( this.value ); return true;">
    <option value="process,," SELECTED>process</option></select>
    </span>
       <span style="align: right" class="testpage-edit-modes">
    <input id="mode_html" name="mode" type="radio" onclick="switchMode( this.value ); return true;"
    VALUE="html" Checked />
    HTML Form</span>
    <input id="mode_xml" name="mode" type="radio" onclick="if(!validateAllAtomicInputs(this.form)){ this.checked = false; document.getElementById('mode_html').checked = true; } else { switchMode( this.value ) }; return true;"
    VALUE="xml" />
    XML Source
    </div>
    <div id="editor"></div>
    </div>
    <div>
    <p><i>Note: XML source view contents will not be reflected in the HTML form view</i></p>
    </div>
    <div class="extras">
    <label>
    <span><a class="expander-closed" id="tp_http_transport" href="javascript:toggleExpand('http-params','tp_http_transport')"><span class="alt">---</span></a></span>
    <span>Show Transport Info</span>
    </label>
    <div id="http-params" class="extras" style="font-size:12px;padding-left:20px;display:none">
    <table><tr>
    <td class="testpage-input">HTTP Authentication
    </td><td class="testpage-input"><input type="checkbox" class="testpage-checkbox" name="transport-enablement" style="font-size:12px; margin-left:10px"> Enable
    </td>
    </tr><tr><td>
    <table><tr><td class="testpage-input">
    User Name</td><td><input class="testpage-input-box"
    type="text"
    name="form_user"/></td>
    </tr>
    <tr><td class="testpage-input">
    Password</td><td><input class="testpage-input-box"
    type="password"
    name="form_password"/>
    </td></tr>
    </table>
    </td></tr>
    </table>
    <div id="soap-action" class="extras">
    <label>
      SOAP Action  
    </label>
    <span id="testpage-soap-action" class="extras">
    <input class="testpage-input-box" type="text" id="soapAction" name="soapAction" size="35"/>
    </span>
    <span><input type="checkbox" class="testpage-checkbox" name="soapAction_cb" id="soapAction_cb"
    onclick="javascript:toggleDisabled(this, 'soapAction')" style="font-size:12px; margin-left:10px"/> Enable</span>
    </div>
    </div>
    </div>
    <div id="stress" class="extras">
    <div>
    <span><a class="expander-closed" id="tp_stress_info" href="javascript:toggleExpand('stressInfo','tp_stress_info')"><span class="alt">---</span></a></span>
    <span>Perform stress test</span>
    <span> <input type="checkbox" class="testpage-checkbox" name="stress" onclick="handleStressInfo( this )" style="font-size:12px; margin-left:10px"><span> Enable </span></span>
    <div id="stressInfo" style="font-size:12px;padding-left:20px;display:none">
    <table cellpadding="1" cellspacing="0" width="100%" summary="">
    <tr>
    <td width="300" class="testpage-input">
    Number of Concurrent Threads </td>
    <td class="testpage-input">
    <input type="text" name="stress_threadCount" value="10" size="4" />
    (threads) </td>
    </tr>
    <tr>
    <td class="testpage-input">
    Number of Loops </td>
    <td class="testpage-input">
    <input type="text" name="stress_loopCount" value="5" size="4" />
    (loops) </td>
    </tr>
    <tr>
    <td class="testpage-input">
    Delay </td>
    <td class="testpage-input">
    <input type="text" name="stress_delay" value="1000" size="4" />(milliseconds) </td>
    </tr>
    </table>
    </div>
    </div></div>
    <input type="hidden" name="reliability" value="true"/>
    <input type="hidden" name="security" value="true"/>
    <input align="right" name="invokeMessage" type="submit" value="Invoke" class="button"/><div id="validation_error_message"></div>
    </form>
    <h2> </h2>
    <p><font face="Arial" size="1">Copyright &copy; 2003, 2006, Oracle. All rights reserved.</font></p>
    </body></html>
    Is this a setting or configuration problem in my SOA suite install ?
    Needless to say the BPEL process does not execute.
    Can anyone help ?

    Hi Lonneke
    Thanks for responding....
    You are correct in seeing that the two services are different in name.
    However they are identical in function.
    I created the service POSyncComp in my earlier version of JDev and deployed it to my local OC4J.
    Which is launched by a PeopleSoft call using PeopleCode.
    I have now rewritten this service in my new JDev and called it POSyncCompInt and deployed to home in an SOA suite implementation.
    So whilst I test and before I roll the original service call out, I have both.
    I have duplicated the PeopleCode and tweaked the message call, so that for testing purposes, and before I drop the current working version I have both calls in my PeopleCode event.
    The original POSyncComp call still works, but the call to the 'new replacement' does not.
    Hence the log shows both calls.... with slightly different names.
    The strange thing is that the PeopleSoft LOG shows very similar code in the Request Message, but the response from the new call shows the HTML Form that I get if I run the second BPEL process from the SOA BPEL console.
    So it looks like it is addressing the URL correctly.... but it suggests that stand alone OC4J returns a different response to the SOA suite which I am using for the new version of the BPEL process.... Is this configuration ?
    It hints at the xsd file and the complex message type at entry to the BPEL process.
    I can run the new process from the SOA suite BPEL Console with no problems.
    I hope that clarifies your question about two different service names

  • Need help with XML Compatibility between CS3 and CS4

    I'm not a Dreamweaver guru but I am hoping someone will recognize my issue and be able to provide meaningful feedback.
    Background:
    A developer buddy and I are working together to create a new home page for an online retailer that utilizes flash banners.  We're using XML to update the content of the banners.  My buddy is creating the XML file and sending it to me to populate with content (i.e. descriptions, images, image paths, etc.).  He is creating the XML file in CS3 and I am editing in CS4.  Here's the issue:  Whenever he uploads the populated XML file to the server the banners are displayed correctly.  If I take the same file and upload it without editing, it works great.  However, if I open the file, edit and resave before uploading to the web server, the the banners all have extra spaces between each line of content - almost as if it were double spaced.  If you look at the code, the code looks fine.  In fact, the code looks exactly like it did when my buddy sent the file to me.  I believe we have isolated the problem to something weird with my installation of DW.  I have downloaded and installed any and all updates.  Oh yeah he's using a MAC version and I am using the PC version of DW.
    Has anyone seen anything like this before???
    Help...

    Thank you for your response.
    The code is listed below and to tell you the truth the following code is both good and bad.  As I mentioned before, if my buddy sends me this xml file and I upload it to the server, it works fine.  If I open the file and immediately save it without making any changes then upload it, I experience the previously described promblem.  It's very strange.  The code in both files is identical.
    To get a clearer picture of what I am describing, go to http://www.everythingministry.com/beta3.htm.  The book descriptions appear correctly under the "New and Recommended" tab.  However, whenever I edit any one of the six xml files that control the content for each of these tabs it ends up looking like what you currently see under the "New Music" tab.  I have actually tried to update from 2 different machines running DW CS4.
    Below are the xml files for the two tabs I referenced in the paragraph above:
    ts_new.xml
    <items>
      <config
      Milliseconds="5000"
      Distance="3"
      BorderColor="0xffffff"
      TargetLink="_top"
      TextYPosition="200"
      MaxDisplayContent="6"
      ContentWidth="148"
      ContentHeight="300"
      TransitionSpeed="0.8"
      TransitionType="0"
      ShowMouseOver="0"
      ShowBorder="1"
      ShowGlass="1"
      />
       <content>
        <image>images/crazylove.jpg</image>
        <description><![CDATA[Crazy Love
    by Chan Francis
    Price: $11.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/crazylove.aspx</link>
      </content>
    <content>
        <image>images/underthesheets.jpg</image>
        <description><![CDATA[Under the Sheets
    by Dr. Kevin Leman
    Price: $9.99
    You Save: 29 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/underthesheetsthesecretstohotsexinyourmarriage.aspx</link>
      </content>
    <content>
        <image>images/outliveyourlife.jpg</image>
        <description><![CDATA[Outlive Your Life
    by Max Lucado
    Price: $19.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/outliveyourlifebymaxlucadohardcover.aspx</link>
      </content>
    <content>
        <image>images/lovedare.jpg</image>
        <description><![CDATA[Love Dare Day By Day
    Wedding Edition
    Price: $16.79
    You Save: 27 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/lovedaredaybyday-weddingedition.aspx</link>
      </content>
         <content>
        <image>images/lifeinterrupted.jpg</image>
        <description><![CDATA[Life Interrupted
    by Priscilla Shirer
    Price: $11.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/lifeinterruptednavigatingtheunexpected.aspx</link>
      </content>
    <content>
        <image>images/faithfulfasting.jpg</image>
        <description><![CDATA[Faithful Fasting
    by Errica L. Williams
    Price: $8.79
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/faithfulfasting.aspx</link>
      </content>
      <content>
        <image>images/whencouples.jpg</image>
        <description><![CDATA[When Couples Walk Together
    Price: $9.59
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/whencoupleswalktogetherjan2011-paperback.aspx</link>
      </content>
    </items>
    ts_music.xml
    <items>
      <config
      Milliseconds="5000"
      Distance="3"
      BorderColor="0xffffff"
      TargetLink="_top"
      TextYPosition="200"
      MaxDisplayContent="6"
      ContentWidth="148"
      ContentHeight="300"
      TransitionSpeed="0.8"
      TransitionType="0"
      ShowMouseOver="0"
      ShowBorder="1"
      ShowGlass="1"
      />
       <content>
        <image>images/untilthewholeworldhearscd.jpg</image>
        <description><![CDATA[Until the Whole
    World Hears
    Price: $12.76
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/untilthewholeworldhearscd.aspx</link>
      </content>
    <content>
        <image>images/move.jpg</image>
        <description><![CDATA[Move
    by Thirda Day
    Price: $11.19
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/move.aspx</link>
      </content>
    <content>
        <image>images/andifourgodisforus.jpg</image>
        <description><![CDATA[And If Our God
    Is For Us
    Price: $11.19
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/andifourgodisforuscd.aspx</link>
      </content>
    </items>

  • Parsing xml using DOM parser in java

    hi there!!!
    i don have much idea about parsing xml.. i have an xml file which consists of details regarding indentation and spacing standards of C lang.. i need to read the file using DOM parser in java n store each of the attributes n elements in some data structure in java..
    need help as soon as possible!!!

    DOM is the easiest way to parse XML document, google for JDOM example it is very easy to implement.
    you need to know what is attribute, what is text content and what is Value in XML then easily you can parse your document with dom (watch for space[text#] in your XML document when you parse it).
    you get root node then nodelist of childs for root then go further inside, it is easy believe me.

  • Parse XML file, read a tag with whitespaces value.

    Hi all,
    I've got a problem with reading a spaced value record from xml file using sys.xmltype.
    My xml file contains the following:
    <?xml version = '1.0'?>;
    <ROWSET>
    <ROW num="1">
    <FIRSTNAME>Nik</FIRSTNAME>
    <LASTNAME> </LASTNAME>
    <AGE>30</AGE>
    </ROW>
    </ROWSET>
    As you see last name contains four spaces!
    Now when I'm trying to read value from LASTNAME record I'm getting a NULL value, but I want it to return me those 4 spaces as they are.
    Here is a short code description of what I'm doing:
    declare
         xml sys.xmltype;
    str1 varchar2(100);
    str2 varchar2(100);
    begin
         xml := sys.xmltype.createxml(fileContentClob); -- I copy the file content into the fileContentClob variable.
         If xml.existsnode('//ROW['1']/LASTNAME') > 0 Then -- This condition evaluates as true
    str1 := xml.extract('//ROW['1']/LASTNAME/text()'); -- str1 gets NULL value :(, I want spaces as they are in the file.
    str2 := xml.extract('//ROW[' || 1 || ']/LASTNAME').getstringval; -- str2 gets <LASTNAME/> null tag :(.
         End If;     
    end;
    Seems like when it createxml from the fileContentClob it ignores the spaces and find LASTNAME as a null field.
    Do you have any suggestions on how can I fix that, so I can read whitespaces as they are in the file?
    I generate the file also using a xml toolpackage from oracle:
    declare
    strSqlStmt Varchar2(300);
    varCtxHdl dbms_xmlquery.ctxhandle;
    varClob Clob;
    begin
    strSqlStmt := 'SELECT FIRSTNAME,LASTNAME,AGE FROM USERS WHERE ROWNUM =1';
    varCtxHdl := dbms_xmlquery.newcontext(strSqlStmt);
    varClob := dbms_xmlquery.getxml(varCtxHdl);
    dbms_xmlquery.closecontext(varCtxHdl);
    End;

    Even if the STORE AS CLOB clause is used to store the data and preserve whitespace for the XML, the actual extraction of data seems to be removing whitespace...
    SQL> ed
    Wrote file afiedt.buf
      1* create table t (xml xmltype) xmltype xml store as clob
    SQL> /
    Table created.
    SQL> ed
    Wrote file afiedt.buf
      1  insert into t (xml)
      2  values (q'[<?xml version = '1.0'?>
      3  <ROWSET>
      4  <ROW num="1">
      5  <FIRSTNAME>Nik</FIRSTNAME>
      6  <LASTNAME>    </LASTNAME>
      7  <AGE>30</AGE>
      8  </ROW>
      9* </ROWSET>]')
    SQL> /
    1 row created.
    SQL> select * from t;
    XML
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <FIRSTNAME>Nik</FIRSTNAME>
    <LASTNAME>    </LASTNAME>
    <AGE>30</AGE>
    </ROW>
    </ROWSET>
    SQL> set null NULL
    SQL> select x.rnum, x.firstname, x.lastname, x.age
      2  from t
      3      ,xmltable('/ROWSET/ROW'
      4                PASSING t.xml
      5                COLUMNS rnum      NUMBER       PATH '/ROW/@num'
      6                       ,firstname VARCHAR2(10) PATH '/ROW/FIRSTNAME'
      7                       ,lastname  VARCHAR2(10) PATH '/ROW/LASTNAME'
      8                       ,age       NUMBER       PATH '/ROW/AGE'
      9               ) x
    10  /
          RNUM FIRSTNAME  LASTNAME          AGE
             1 Nik        NULL               30
    SQL>

Maybe you are looking for