Portalapp.xml for Button Example

HI,
How to write Portalapp.xml file for Button Example?
Project Name: Button
src.core - > bean -> ButtonBean, ButtonExample.
ButtonExample extends PageProcessorComponent.
Button.jsp is jsp file.
I wrote Portalapp.xml file like this:
<?xml version="1.0" encoding="utf-8"?>
<application>
    <application-config>
        <property name="SharingReference" value="com.sap.portal.htmlb"/>
  </application-config>
<components>
  <component name="Button">
      <component-config>
           <property name="ClassName" value="Button.Button"/>
           <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
         </component-config>
      <component-profile>
           <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
      </component-profile>
    </component>
</components>
</application>
The output throws some exception.
How to modify the above code? Also where can I see the log file?
Please guide me
Regards,
Ravi.

Hi Ravi,
You can change the code under dist/portalapps.xml, In the Outline View select the components you need to change by Right selecting it. Do changes according to your requirements.
Award Points
Cheers
Venkat

Similar Messages

  • MX 6 - prob generating xml for gallery example

    See
    http://coolabah.com/spry/demos/gallery/xml.cfm
    I have MX 6 and think this is a problem.
    I can generate what looks like xml in the browser, but when I
    try to save it to a file I get this sort of output for the above,
    <style>
    table.cfdump_wddx,
    table.cfdump_xml,
    table.cfdump_struct,
    table.cfdump_array,
    table.cfdump_query,
    table.cfdump_cfc,
    table.cfdump_object,
    table.cfdump_binary,
    table.cfdump_udf,
    table.cfdump_udfbody,
    table.cfdump_udfarguments {
    font-size: xx-small;
    font-family: verdana, arial, helvetica, sans-serif;
    cell-spacing: 2;
    etc.
    Can anyone help?
    Thanks,
    Kate

    You shouldn't search for line 145 into the CFM file but into
    the answer that is sent to the browser. The resulting XML sent by
    the CFM is invalid so you have to identify first the line 145 into
    the response and than to look where the line is generated.
    As Don did I opened the URL into Firefox and when the XML
    error displayed I look into the source (View Source). The server
    instead of serving a valid XML answer a HTML content which is not
    correct. (Maybe a CF server error ?!)
    Cristian

  • About the Run... button of the Overview tab of portalapp.xml

    When I deploy a portal component successfully,
    I choose the "Run..." button of the Overview tab of portalapp.xml, it cause a error:
    Portal Runtime error:
    Access denied (Object(s): com.sap.portal.system/security/sap.com/CustomComponents/
    UndefinedSafetyLevel/mySiteMapProject/components/BeanTestCls).
    Exception id: 11:01_25/05/08_0013_1699150
    See the details for the exception ID in the log file.
    I think the problem is that it did't  display a logon page automatically to enter uid/pwd.
    If I open a IE window to logon to portal firstly, it not cause a runtime error.
    What wrong with the setting?
    Edited by: Tian Hao on May 25, 2008 5:20 AM

    Hi,
    You can debug you JSPDynpage either from NWDS with the help of break points or by writing log statements in your code which will be written in defaultTrace log file.
    Check this to debug from NWDS:
    NetWeaver Portal Debugging
    Check this to write log statements:
    http://help.sap.com/saphelp_nw70/helpdata/EN/b0/003c41325fa831e10000000a1550b0/frameset.htm
    Netweaver Portal Log Configuration & Viewing (Part 3)
    Regards,
    Praveen Gudapati

  • [svn:bz-trunk] 20873: Update description of class deserialization validators functionality in example services-config .xml for BlazeDS/trunk.

    Revision: 20873
    Revision: 20873
    Author:   [email protected]
    Date:     2011-03-16 06:35:10 -0700 (Wed, 16 Mar 2011)
    Log Message:
    Update description of class deserialization validators functionality in example services-config.xml for BlazeDS/trunk.
    Checkintests: Not run. No code changes.
    Modified Paths:
        blazeds/trunk/resources/config/services-config.xml

    Thanks Carlo for your reply.
    I have read again the link and you are correct that in using the preferred command together with localhost under POTS dial-peer, I can now select which correct path to choose for my outbound calls. I'm just not very strong with dial-peer and translation rules at the moment.
    I will try this solution during the weekend and let you know. But it would have been better if there was a sample configuration for this option.

  • APIs  for Retrieving properties from portalapp.xml

    Hi all,
    Can anyone tell me Is there any Java/Portal APIs for retrieving properties from portalapp.xml as well as from manifest.mf.
    Help wud be highly appreciated.
    Regards,
    Karthick

    Hi Karthick,
    If you want to access the manifest file, you could do something like this:
    import java.io.File;
    import java.io.FileInputStream;
    import java.util.jar.Manifest;
    import com.sapportals.portal.prt.runtime.IPortalRuntimeResources;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    File privateResoucePath = PortalRuntime.getRuntimeResources().getLocation(IPortalRuntimeResources.LT_PRIVATE_RESOURCES);
    File parPath = new File ( privateResoucePath, "HelloWorldProject" );  // name - par file name without the ".par" extension);       
    if ( parPath.exists()!=false ) {
        try {
            File manifestPath = new File ( parPath, "META-INF" );
            FileInputStream fis = null;
            fis = new FileInputStream(new File(manifestPath, "MANIFEST.MF"));
            Manifest mf = new Manifest(fis);
            java.util.jar.Attributes attr =  mf.getMainAttributes();
            if (attr!=null) {
                return attr.getValue("Specification-Title");
            else {return null;}
        } catch (Exception e) {
            e.printStackTrace();
            return "ERROR"+e.toString();
    META-INF is top level folder.
    Hope this helps.
    Daniel

  • Procedure for using Webserices and XML data button

    I am developing a report in xcelsius and I have huge data like 10000 records in my excel sheet  for one report because of which the report performance is very bad as I am increasing the max. no of rows from 512 to 10000 .Is their any way I can make those records come dynamically to the excel sheet by using XML Data Button, or Web Services etc if yes how can I use this or is their any other way to accomplish this
    As of now I am using the trial versron of XCELSIUS 2008 so can I use the option of webservices and XML in the trial version if so what I need to enter in WEbservice URL for trial versions
    Can any body send me the step by step process of using webservices & XML  when loading the data from excel to xcelsius
    if I use these options when I select the source data do I need to select the entire 10000 records , if so then again my performance will be bad , so can any one help me out please
    Thanks in advance
    Regards,
    Sany

    Dynamic datasources for Xcelsius
    http://resources.businessobjects.com/support/cx/samples/learning/downloads/ttv4-xml_data_button.pdf
    unable to use web services
    hope this helps you
    good luck
    Amr

  • Error on portalapp.xml

    hi all,
    I have this portalapp.xml which have lot of components in it, but i am not sure that which components is needed to run my portal application called Profile.jsp/Profile.java and ProfileBeans.java. And there's a <registry> tag which i dun really understand what is it about. There also also some strange coding within the <application-config> tag which i do not realli knoe the meaning of it.
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <!THIS FILE IS A COPY OF THE ORIGINAL VERSION STORED IN THE PCD. PLEASE DO NOT CHANGE IT!>
      <registry>
        <entry path="/runtime/alias.mappers/DynamicSystem1" name="System1Service" type="service"/>
        <entry path="/runtime/transformers" type="subcontext"/>
        <entry path="/runtime/transformers/com.sap.pct.pdk.portalruntime" name="TransformersProvider" type="service"/>
      </registry>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.appintegrator, com.sap.portal.htmlb,      com.sap.portal.ivs.connectorservice, com.sap.portal.usermanagement,       com.sap.portal.usermapping, landscape, com.sap.portal.ivs.api_dynamicSystemService, htmlb, com.sap.pct.pdk.util,      com.sap.portal.navigation.service, com.sap.portal.navigation.api_mimeservice, com.sap.portal.navigation.helperservice,      com.sap.portal.transformationservice, com.sap.portal.runtime.application.soap,com.sap.portal.useragent,jcoclient"/>
        <property name="releasable" value="true"/>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="Vendor" value="sap.com"/>
        <property name="Domain" value="portal"/>
      </application-config>
      <components>
        <component name="ExampleLayer">
          <component-config>
            <property name="ClassName" value="ApplicationIntegratorStarter"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="TopLayer" value="Exemplary9to5LayerDefinition">
              <property name="personalization" value="none"/>
              <property name="inheritance" value="final"/>
            </property>
          </component-profile>
        </component>
        <component name="SimpleSapConnection">
          <component-config>
            <property name="ClassName" value="SimpleSapConnection"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
          </component-profile>
        </component>
        <component name="SapConnection">
          <component-config>
            <property name="ClassName" value="SapConnection"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="CfBapiBankGetList">
          <component-config>
            <property name="ClassName" value="CfBapiBankGetList"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleOneProducer">
          <component-config>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="/pagelet/eventproducerone.jsp"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleOneConsumer">
          <component-config>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="/pagelet/eventconsumerone.jsp"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleOneCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleOneProducer com.sap.pct.pdk.portalruntime.ExampleOneConsumer"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoProducer">
          <component-config>
            <property name="ClassName" value="EventProducer2PageProcessor"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoConsumer">
          <component-config>
            <property name="JSP" value="/pagelet/eventconsumertwo.jsp"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleTwoProducer com.sap.pct.pdk.portalruntime.ExampleTwoConsumer"/>
          </component-profile>
        </component>
        <component name="ExampleThreeProducer">
          <component-config>
            <property name="ClassName" value="EventProducer3PageProcessor"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleThreeConsumer">
          <component-config>
            <property name="JSP" value="/pagelet/eventconsumerthree.jsp"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleThreeCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleThreeProducer com.sap.pct.pdk.portalruntime.ExampleThreeConsumer"/>
          </component-profile>
        </component>
        <component name="NavigationExample1">
          <component-config>
            <property name="ClassName" value="NavigationExample"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="SimpleNavigationExample">
          <component-config>
            <property name="ClassName" value="SimpleNavigationExample"/>
            <property name="SecurityZone" value="com.sapportals.portal.navigation/no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="extpage">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.extpage.ExternalPageComponent"/>
            <property name="SecurityZone" value="com.sap.pct.pdk/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="OBNExampleSource">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/OBNExampleSource.jsp"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="OBNExampleSourceWithHover">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="OBNExampleSourceHoverPortalComponent"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="PDKDummyObjectID">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="OBNExampleSimpleSourceUsingNavigationGenerator">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="OBNSimpleLinkPortalComponent"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="PDKDummyObjectID">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="OBNExampleParamTarget">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/OBNExampleParamTarget.jsp"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="obnGenericLinkExample">
          <component-config>
            <property name="ClassName" value="obnGenericLinkExample"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="Google">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="operationid" value="">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="parameter" value="New York">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="header" value="Personalize header text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="text" value="Personalize body text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="linktext" value="Personalize link text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="obnDynamicNavigationExample">
          <component-config>
            <property name="ClassName" value="obnDynamicNavigationExample"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynamicPageSample">
          <component-config>
            <property name="ClassName" value="DynamicPageSample"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="PageBuilderClientAPI">
          <component-config>
            <property name="ClassName" value="PageBuilderClientAPI"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="default">
          <component-config>
            <property name="ClassName" value="UseSystemLandscape"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND">
              <property name="personalization" value="dialog"/>
            </property>
          </component-profile>
        </component>
        <component name="TestTransformationService">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.httpconnectivity.testtransformationservice.TestTransformationService"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="TestSimpleTransformation">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.httpconnectivity.testtransformationservice.TestSimpleTransformation"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UserInfo">
          <component-config>
            <property name="ClassName" value="UserInfo"/>
            <property name="SecurityZone" value="UserInfo/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UserMapping">
          <component-config>
            <property name="ClassName" value="UserMapping"/>
            <property name="SecurityZone" value="UserMapping/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="EditUser">
          <component-config>
            <property name="ClassName" value="EditUser"/>
            <property name="SecurityZone" value="EditUser/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="CreateUser">
          <component-config>
            <property name="ClassName" value="CreateUser"/>
            <property name="SecurityZone" value="CreateUser/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="Portaloto">
          <component-config>
            <property name="ClassName" value="Portaloto"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="MaxHits" value="80">
              <property name="plaindescription" value="Highest number in the game"/>
              <property name="type" value="Number"/>
              <property name="description" value="Highest number in the game"/>
            </property>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="PortalotoInternational">
          <component-config>
            <property name="ClassName" value="PortalotoInternational"/>
            <property name="ResourceBundleName" value="lotoresource"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="MaxHits" value="80">
              <property name="plaindescription" value="MaxHitsDescription"/>
              <property name="type" value="Number"/>
              <property name="description" value="MaxHitsDescription"/>
            </property>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="MyGooglePage">
          <component-config>
            <property name="ClassName" value="com.tutorial.wsdl2service.MyGooglePage"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UsingIPortalComponent">
          <component-config>
            <property name="ClassName" value="UsingIPortalComponent"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UsingAbstractPortalComponent">
          <component-config>
            <property name="ClassName" value="UsingAbstractPortalComponent"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="StoreBeans">
          <component-config>
            <property name="ClassName" value="ScopesAPC"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleOne">
          <component-config>
            <property name="ClassName" value="ExampleOne"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleTwo">
          <component-config>
            <property name="ClassName" value="ExampleTwo"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="HelloString" value="Hello PDK user!"/>
          </component-profile>
        </component>
        <component name="ExampleThree">
          <component-config>
            <property name="ClassName" value="ExampleThree"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="LastUser" value="">
              <property name="personalization" value="dialog"/>
            </property>
            <property name="HelloString" value="Hello PDK user!"/>
          </component-profile>
        </component>
        <!jsp NATIVE SUPPORT>
        <component name="JSPnative">
          <component-config>
            <property name="JSP" value="index"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <!Two components of the personalization example>
        <!Component 'personalization' represents a custom personalization dialog>
        <component name="personalization">
          <component-config>
            <property name="ClassName" value="Personalization"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <!Component 'personalizationoutput' is the component that is shown on a page>
        <component name="personalizationoutput">
          <component-config>
            <property name="ClassName" value="PersonalizationOut"/>
            <property name="mode" value="edit">
              <property name="delegate" value="com.sap.pct.pdk.prt.personalization"/>
            </property>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
        </component>
        <component name="UserAgent">
          <component-config>
            <property name="ClassName" value="UserAgentDynPage"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoBasics">
          <component-config>
            <property name="ClassName" value="JCoBasics"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoClientPool">
          <component-config>
            <property name="ClassName" value="JCoClientPool"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoGetData">
          <component-config>
            <property name="ClassName" value="JCoGetData"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoModel">
          <component-config>
            <property name="ClassName" value="JCoModel"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services>
        <service name="System1Service">
          <service-config>
            <property name="className" value="com.sap.portal.dynamicsystem.sample.MyAliasMapping"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
        <service name="FruitShopService">
          <service-config>
            <property name="className" value="fruity.ShoppingCartManager"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="SafetyLevel" value="no_safety"/>
          </service-config>
        </service>
        <service name="navigationConnector">
          <service-config>
            <property name="className" value="com.sap.pct.pdk.navigationconnector.NavigationFileConnectorService"/>
            <property name="startup" value="true"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
          </service-config>
          <service-profile>
          </service-profile>
        </service>
        <service name="TransformersProvider">
          <service-config>
            <property name="className" value="com.sap.pct.pdk.httpconnectivity.transformerprovider.SaxTransformerProvider"/>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
        <!--    Template for the Simple Transformerprovider example. To get it running, uncomment the next lines and -->
        <!--    comment the service definition above -->
        <!--    <service name="TransformersProvider">-->
        <!--      <service-config>-->
        <!--        <property name="className" value="com.sap.pct.pdk.httpconnectivity.transformerprovider.SimpleTransformersProvider"/>-->
        <!--        <property name="SafetyLevel" value="no_safety"/>-->
        <!--        <property name="startup" value="true" />-->
        <!--        <property name="ResourceBundleName" value="SimpleTransformersProvider_localization"/>-->
        <!--      </service-config>-->
        <!--    </service>-->
        <service name="TutorialPortalotoService" alias="com.sap.pct.pdk.portalotoservice">
          <service-config>
            <property name="className" value="Store"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="releasable" value="true"/>
          </service-config>
        </service>
        <service alias="com.sap.portal.pdk.documentation.webservicetutorial.alias.MyGoogleService" name="MyGoogleService">
          <service-config>
            <property name="className" value="com.tutorial.wsdl2service.MyGoogleService">
            </property>
            <property name="startup" value="false">
            </property>
            <property name="WebEnable" value="false">
            </property>
            <property name="WebProxy" value="true">
            </property>
            <property name="SecurityZone" value="com.tutorial.wsdl2service.MyGoogleService/DefaultSecurity">
            </property>
            <property name="releasable" value="true"/>
          </service-config>
        </service>
      </services>
    </application>

    Hi,
    you will find the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/09/c8af42a6f6cb6ae10000000a155106/frameset.htm">portalapp.xml</a> file explained in the SAP Library.
    Also check the following sub sections:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/53/c8af42a6f6cb6ae10000000a155106/frameset.htm">Application Configuration</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c9/c8af42a6f6cb6ae10000000a155106/frameset.htm">Components</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/09/c9af42a6f6cb6ae10000000a155106/frameset.htm">Services</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/49/c9af42a6f6cb6ae10000000a155106/frameset.htm">Registry</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/c9af42a6f6cb6ae10000000a155106/frameset.htm">Deployment Descriptor Example</a>
    Best regards,
    Martin

  • Working with XML and Button

    Hi,
    How are all of you. Well I am new to Flex. But I have started
    building simple applications. One of the top most problem I am
    facing is working with XML and Button. Can you please assist me in
    this. I am explaining my problem:
    I have an external XML file like this:
    <Menu>
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    <button>
    <idnt>1</idnt>
    <label>Mental Health</label>
    <text>Mental Health pages is currently under
    construction</text>
    </button>
    </Menu>
    Now I want to generate Buttons Dynamically from this XML. And
    the second thing which is the most problematic is that how I code
    it so that when I press the Button labled "General Health", it will
    show the same text as in the XML tag coresponding to tag
    "<label>General Health</label>" ?
    I badly need this. I am realy confused on this. Kindly help
    me.
    Regards
    ..::DeX

    Let's assume that variable "node" contains one element of the
    XML. For example,
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    such that node.label would be "General Health", node.idnt
    would be 0, etc.
    You can build a Button like this:
    var b:Button = new Button();
    b.label = node.label;
    b.data = node; // more on this later
    b.width = 60;
    b.height = 26;
    addChild(b); // critical - adds the button to the display
    list so you can see it
    b.addEventHandler( MouseEvent.CLICK, handleClick );
    You must set the button's width and height unless the button
    will be in a container that will size its own children (like Tile).
    Every Flex component has a data property. You can set it to
    whatever you like. For your needs it makes sense to set each
    Button's data property to the node it relates to.
    Now suppose that code above is in a function, createButton:
    private function createButton( node:XML ) : void {
    // code from above
    Here's how to make all the buttons where "menu" is a variable
    that contains your XML:
    for(var k:int=0; k < menu.button; k++) { // menu.button is
    an XMLList
    createButton( menu.button[k] );
    Now to handle the event:
    private function handleEvent( event:MouseEvent ) : void
    var b:Button = event.currentTarget as Button;
    trace( b.data.text);
    When a button is picked, the description element will print
    in the debug console. Replace the trace with whatever code you
    need.

  • NoClassDefFoundError, application-config, portalapp.xml?

    Hi,
    Attempt to build and run a portal component from any
    PDK example ends with NoClassDefFoundError unless you
    copy contents of provided portalapp.xml file where the
    important part is the <application-config> one, which
    points to some "SharingReference" ("htmlb" in case of
    UsingAbstractPortalComponentWithHTMLB example). I would
    like to know where I can read about all this little
    things my application won't work without and their
    meanings.
    Thank you,
    Yuri

    Hi again Yuri.
    The Portal runtime document is very good explaining the portal archive structure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/portal runtime - release 6.0
    What you are looking for is on page 23 ->

  • Unable to run components in Portalapp.xml

    Hello All,
            I imported a par file into my NWDS . Now I went to portalapp.xml file.
    There I cud find 4 Components.
    I tried to RUN them by using the RUN Button beside each component.
    But then I'm getting a Message saying :
         <b>  " No Server Defined. Check your Setting . "</b>
    Can any one tell me what should I do ?
    Regards,
    Deepu.K

    Go To Window -> Preferences -> SAP Enterprise Portal
    Click Add.
    Alias: <any name>
    Host: The host of your portal URL(the par before the porta and without the http)
    Port: The port in the portal URL
    Login: Your or any Portal login
    Description: <any thing>
    Click OK
    Select the Default check box. Click Apply.OK.
    Right click on your project name in NWDS. Export. PAR File. Next. Select your proj name. Next. Select the entry u added above. Key ur password. FINISH
    Then you can click on RUN.
    Get back for any more queries.
    P.S. If my answer helped you do consider rewarding points.

  • How to specify EPCFLevel in portalapp.xml of a wdbdynpro DC

    Hi All,
    Can I specify EPCF level in portalapp.xml file of webdynpro DC?
    I am giving existing portalapp.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
                <property name="SharingReference"    value="sap.com/tcwddispwda"/>
                <property name="SharingReference"    value="sap.com/MODEL_COMP"/>
                <property name="SharingReference"    value="sap.com/tcwdcorecomp"/>
                <property name="SharingAccess"       value="true"/>
                <property name="LibrariesReference"    value="tc/ddic/ddicservices"/>
                <property name="LibrariesReference"    value="webservices_lib"/>
                <property name="LibrariesReference"    value="com.sap.aii.proxy.framework"/>
                <property name="LibrariesReference"    value="tc/graphics/igs"/>
                <property name="LibrariesReference"    value="com.sap.mw.jco"/>
                <property name="LibrariesReference"    value="com.sap.lcr.api.cimclient"/>
                <property name="LibrariesReference"    value="sapxmltoolkit"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.rb"/>
                <property name="LibrariesReference"    value="com.sap.util.monitor.jarm"/>
                <property name="LibrariesReference"    value="tc/ddic/ddicruntime"/>
                <property name="LibrariesReference"    value="com.sap.security.api.sda"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.xml"/>
                <property name="LibrariesReference"    value="tc/col/api"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.misc"/>
                <property name="LibrariesReference"    value="tc/cmi"/>
                <property name="LibrariesReference"    value="tc/col/runtime"/>
                      <property name="ServicesReference"   value="sld"/>
                  </application-config>
      <components/>
      <services/>
      <webdynpro>
          <!-- applications -->
          <applications>
                        <part shortName="Order_list" name="com.pwc.app.Order_list">         
              <!-- application to component -->
                                  </part>
                    </applications>
          <!-- components -->
          <components>
                        <part shortName="Order_list" name="com.pwc.app.Order_list">
              <!-- component to component(Interfaces) -->
              <!-- component to models --> 
                                               <alias name="com.pwc.ModelComp" objectName="sap.com/MODEL_COMP"         partName="com.pwc.ModelComp" partType="Model"/>                 
                                            <!-- component to implementedInterfaces -->         
                                  </part>
                    </components>
          <!-- interface definitions -->
          <interfaces>
                    </interfaces>
          <models>
              <!-- models -->
                    </models>
         <runtime-classes>
         </runtime-classes>
         <wdgeninfo>
              <wdgencomponent name="SapMetamodelCore">7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelCommon">7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelDictionary">7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelWebDynpro">7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapGenerationFrameworkCore">7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapDictionaryGenerationCore">7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapDictionaryGenerationTemplates">(unknown)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationCore">7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationTemplates">7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:53[UTC], changelist=384368, host=pwdfm101)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationCTemplates">7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:53[UTC], changelist=384368, host=pwdfm101)</wdgencomponent>
              <wdgencomponent name="SapIdeWebDynproCheckLayer">7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
         </wdgeninfo>
      </webdynpro>
    </application>
    Thanks in advance .
    Raktim

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • How to parse XML for internal table

    hi guys, I would like to know how to parse xml for an internal table. I explain myself.
    Let's say you have a purchase order form where you have header data & items data. In my interactive form, the user can change the purchase order quantity at the item level. When I received back the pdf completed by mail, I need to parse the xml and get the po qty that has been entered.
    This is how I do to get header data from my form
    lr_ixml_node = lr_ixml_document->find_from_name( name = ''EBELN ).
    lv_ebeln = lr_ixml_node->get_value( ).
    How do we do to get the table body??
    Should I used the same method (find_from_name) and passing the depth parameter inside a do/enddo?
    thanks
    Alexandre Giguere

    Alexandre,
    Here is an example. Suppose your internal table is called 'ITEMS'.
    lr_node = lr_document->find_from_name('ITEMS').
    lv_num_of_children = lr_node->num_children( ).
    lr_nodechild = lr_node->get_first_child( ).
    do lv_num_of_children times.
        lv_num_of_attributes = lr_nodechild->num_children( ).
        lr_childchild = lr_nodechild->get_first_child( ).
       do lv_num_of_attributes times.
          lv_value = lr_childchild->get_value( ).
          case sy-index.
             when 1.
               wa_item-field1 = lv_value
             when 2.
               wa_item-field2 = lv_value.
          endcase.
          lr_childchild = lr_childchild->get_next( ).
       enddo.
       append wa_item to lt_item.
       lr_nodechild = lr_nodechild->get_next( ).
    enddo.

  • How to retrieve the data/property value from portalapp.xml

    Hi I would like to retrive the some common data from the portalapp.xml file
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
          </application-config>
      <components>
        <component name="DynZMMGR">
          <component-config>
            <property name="ClassName" value="DynZMMGR"/>
            <property name="SecurityZone" value="DynZMMGR/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMMGR.jsp"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="dynpagedel">
          <component-config>
            <property name="ClassName" value="dynpagedel"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="VARIANTLIST">
          <component-config>
            <property name="ClassName" value="com.sap.ep.r3rpts.VARIANTLIST"/>
            <property name="SecurityZone" value="com.sap.ep.r3rpts.VARIANTLIST/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    The above is my portalapp.xml file .
    I want to retrieve the common data across the component.
    These  datas are common across the components .
    I kmow by putting the data inside the
    component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
    <component-profile>
       <property name="UserID" value="userid"/>
       <property name="password" value="password"/>
    </component-profile>
    </component>
    this becoms component specific ... which I can retriev the by using
    String ClientVal = request.getComponentContext().getProfile().getProperty("Client");
    in doContent()  method ..
    But this way i have to specify these properties in all the component.. which is repetetive in nature.
    I would rather put it in common location and want to retrieve the info from the portalapp.xml...
    How to achieve this
    I am using "AbstractPortalComponent"  .
    thanks
    pkiran

    Hi Prashanth,
    see Reading another iView's profile personalized values and Validate PCD URI
    Anyhow, maybe you should implement a service which returns the values (from the service profile). This would be more clean for accessing global values.
    Hope it helps
    Detlev

  • Security Zones and portalapp.xml

    On the page http://help.sap.com/saphelp_nw04/helpdata/en/25/85de55a94c4b5fa7a2d74e8ed201b0/content.htm
    it says that the settings (security zone, permission) in the portalapp.xml defines who can access this application.
    Then it says that PRT checks the users iView-permission and then optionally the security zone permission, depending on the setting of the parameter -Dcom.sap.nw.sz=true in the J2EE.
    Question:
    When this parameter is disabled (default), are the security zones just not checked when accessing an application throug an iView or also when they are accessed through direct URL?

    Hi Manuel,
    I just checked it against our SP12 installation, with the same component, which has the same settings as yours:
    > it can be run by any authenticated user
    This at least does not hold for our portal installation. Each access with the given URL, called by an authenticated user which does not have one of the admin roles set within the security zones, ends with:
    Access denied (Object: com.sap.portal.system/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.runtime.system.console/components/ClusterAdminConsole)
    The application permissions do not play a role here, these are for the iView wizards, which applications are to be chosen.
    So, double check the user you are testing with; maybe the version is buggy?
    > In the Security-Zone-Permissions
    > ara:/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.runtime.system.console
    Under components/ClusterAdminConsole the same settings are to be found? (I expect it, but just to be sure.)
    Hope it helps
    Detlev

  • Explain about xml schema with example

    Hi,
    Kindly anybody explain about xml schema with example?
    With Regards,
    L.rajesh

    Maybe this is what you are looking for ??? If not give us more info...
    Re: How it work?

Maybe you are looking for

  • Dvd+r burned on a dvd-r imac

    I bought some +r dvds. burned one on my new imac w/the -r burner. seems to work cause i played the dvd in another mac. is this kosher? will this work elsewhere in other dvd players.? what is the basic difference between -r and +r dvds???

  • Airport Extreme "default password" error

    After resetting Extreme, I cannot rectify the amber light error for "default password in use". The password is not set to the default. Have tried various new passwords, but after updating each time nothing changes. All internet and wireless connectio

  • WRT54GC: Internet dies when accessing a webpage with alot of pictures

    Hi all, recently I noticed that when I'm browsing to a webpage with alot of pictures my internet dies on the PC I'm accessing it on. I disabled all software-firewalls and it keeps doing it. I'm surfing wired. Tested it with both IE and FF. The other

  • Aironet 350 configuration to Aironet 1300

    Is it possible to download an ini configuration from an Aironet 350 bridge, convert it and upload it to an Aironet 1300 bridge?

  • Toplink Workbench Exceptions …….

    When I tried to open a Toplink project (project.mwp) generated by Toplink 9.0.3 in the newer version 9.0.4, I got the following errors during the conversion process. What should I do to correct this issue? Many thanks for the help. Throwable Class Na