Web Control Consumer Postback Problems

We're experiencing a couple of postback problems with the web control consumer on .net portlets. We are using the 3.1.0.0 version.
The first problem is when the portlet executes an inline refresh via a postback, the bottom border of the portlet container disappears.
The second problem happens when the [Enter] key is pressed to submit a form that contains a submit button. The cursor changes into an hourglass and will not change back to a mouse pointer.
If anyone else is experiencing these behavior and know of a way to fix them, it would be much appreciated.
Thanks,
Joey Navarro
Harvard-Westlake School

I was told that WCC 3.0 was broken and wouldn't work and confirmed it myself, generated lots of errors. I'm using .Net 2.0 and WCC ver 3.1 does work (mostly) but note that 'inline-refresh' is broken and pretty much has the opposite effect... see this post:
http://forums.bea.com/thread.jspa?threadID=600018372
Wes

Similar Messages

  • Web Control Consumer 3.0

    Anyone know if .NET 2.0 portlets work ok against the .NET Web Control Consumer version 3.0? Any known issues using Framework 2.0 vs. Framework 1.1 SP1?

    I was told that WCC 3.0 was broken and wouldn't work and confirmed it myself, generated lots of errors. I'm using .Net 2.0 and WCC ver 3.1 does work (mostly) but note that 'inline-refresh' is broken and pretty much has the opposite effect... see this post:
    http://forums.bea.com/thread.jspa?threadID=600018372
    Wes

  • Environment selection problem at web control panel start

    Hi everybody.
    We are facing some problems after BPC web control panel logon. It appears a popup window asking for an environment selection. After that, the browser is refreshed and the popup appears again.
    This is the popup. Can someone help us? Thanks in advance.
    Best regards,
    Julián.

    Hi Andy,
    We tried clearing the cache of the browser, temporal windows files, clearing the server cache via
    http://<server>:<port>/sap/epm/bpc/web/clearcache  and http://<server>:<port>/sap/epm/bpc/web/resetcachebuster urls and accessing via /sap/epm_bpc/web but the result was always the same: after a few accesses, the popup appears again.
    As an extra data, we configure SCPM in the server some time ago. Could this be the cause of the system behavior?
    Thanks again to all of you.
    Julian.

  • Problems installing Web Controls 2.1 on 6.1 portal

    After problems upgrading from 5.04 to 6.1, we decided to build a 6.1 portal environment from scratch. I've run into problems installing the 2.1 web controls. Running the exe does nothing (the installer doesnt even launch). After a few attempts, I looked in the registry and found dr. watson errors indicating an acces violation. I tried running under compatibility modes for xp and 2000. Same error.
    We are running w2k3 sp2 servers with portal 6.1.
    Is it possible to manually install 2.1 wc from a server that already has it? Any other solutions?
    Any help would be EXTREMELY appriciated.

    Are you running the installer directly on the machine to be installed on? In case No then try that out. Also what is the edition of win2k3?

  • Can we install Web Controls 2.1 on IIS 6.0?

    We wish to install Web Controls 2.1 on some servers running Windows Server 2003 (in a clustered environment). This version of Windows ships with IIS 6.0. We note that on page 1 of the "Installation Guide for Plumtree EDK Web Controls 2.1" document, in the Remote Server section, it is stated that IIS 5.0 or 5.1 is required.
    Should this be amended to state that "5.0 or later" is required? Or is it indeed the case that Web Controls 2.1 requires either 5.0 or 5.1 only?
    Thanks,Nick.

    I have been running 2.1 beta on a 2003 machine since release. I have not had any problems(relating to 2003). I put 2.1GA on one machine and still have not seen any problems. I think that any portlets that you write can go on a 2003 machine. The portal server is really the only part that you can't put on 2003. I was told the reason at the ADC but that reason has slipped my mind.
    To over-simplify the awesome work Johathan Gilbert has done with the controls, the web controls are just a bunch of RegEx, an HTTPFilter and javascript that handles postbacks. Use them with .net framework1.1 and you should be fine.
    Michael [email protected]

  • Web Controls 2.1: HTTP not filtered

    I'm using the Web Controls 2.1 on a 5.0.3 Portal.
    Portlets are running on a Remote Server with IIS5, which has the complete Web Controls Installation. The <httpModules> entry is correctly placed in the Web.config. In fact, I'm using the Rerender Demo Sample.
    I can tell that something is happening, because the ptwc.log shows this entry on the first call to Controller.aspx after an IIS restart:
    [EDK Web Controls Log Start]2005-01-12 13:05:56,187 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: log4net, Version=1.2.0.22663, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: openfoundation, Version=2.3.1.8, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: Plumtree.LogWrapper, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: Plumtree.LogWrapper, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: Plumtree.RemoteLoader, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: edk, Version=5.0.2.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: jsregistry, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: Plumtree.WCFilter, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,218 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Loader.AssemblyLoader.LoadAssemblyToAppDomainInternal()] Loaded assembly: Plumtree.LogWrapper, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null to AppDomain: /LM/w3svc/1/root/RerenderDemo-1-1275000154412500002005-01-12 13:05:56,609 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Transformer.Token.PTWSClientRefGenerator.Configure()] Mapping override preference key set to PTWC.Mapping.Override2005-01-12 13:05:56,812 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Transformer.Token.TokenManager.LoadTokenGenerators()] Completed loading Token Generators2005-01-12 13:05:56,812 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Transformer.FilterManager.Load()] Completed loading main configuration2005-01-12 13:05:57,468 [3112] INFO EDK Web Controls [] - [Com.Plumtree.Remote.Transformer.Config.ConfigMonitor.Register()] Registering class WCConfig for dynamic configuration reloading from C:\Programme\plumtree\ptwc\2.1\settings\config\config.xml[EDK Web Controls Log End]
    However, on postback the portlet still takes over the whole browser. Upon closer inspection of the Portal Page source and the HTTP response from the portlet to the portal (using a YATT trace) revealed that the aspx page is not transformed at all. Javascript functions and form names all appear in their original form.
    Reinstalling the Webcontrols also didn't help. We really need this functionality. Does anyone have an idea, why this is not working?

    I am still unable to get the 2.1 Webcontrols to work, can anyone provide some insight to overcoem the cast exception?.-There seem to be some additional configuration items in this release - Can anyone explain their purpose? -The installation also placed the image server files in the wrong location - I had to move them from the ptimages folder to the ptimages/RemoteGadgets

  • How do I disable guest access in the advanced web controls? E2000

    Due to cisco connect not connecting and my rouer having some problems I have reset it and gone straight into the advanced web control panel. I have everything set up and running, but I see no way to turn off guest access. I do not want any "guests" to be able to access my  E2000 router, how do I disable that in the advanced web control panel?

    sabertooth is correct. The Guest network is managed by Cisco connect software only.
    You can reset the router and reconfigure it manually.
    Press and hold the reset button on the router for 30 seconds. Release the reset button and wait for 30 seconds. Power cycle the router and reconfigure it manually.

  • Hidden Report Viewer Confiugration Error on aspx pages that use report viewer web control

    I try to fix the problem. The error below is embedded on aspx pages that use report viewer web control. Please note that the div element is hidden, and the reportviewer is displaying correct contents.
    Div element hidden on aspx page
    <div id="ReportViewer1_HttpHandlerMissingErrorMessage" style="border-color:Red;border-width:2px;border-style:Solid;padding:10px;display:none;font-size:.85em;">
    <h2>
    Report Viewer Configuration Error
    </h2><p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add &lt;add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt; to the system.web/httpHandlers section of the web.config file, or add &lt;add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /&gt; to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
    </div>
    I tried adding the two elements to web.config, but to no avail.
    Add below to system.web/httpHandlers
    <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    or add below to system.webServer/handlers for Internet Information Services 7 or later.
    <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    The required assemblies below are installed under C:\Windows\assembly folder. I have installed both Microsoft ReportViewer 2010 Redistributable, and 2008 SP1.
    Microsoft.ReportViewer.WebForms, version 10
    Microsoft.ReportViewer.Common, version 10
    Below is the whole web.config:
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    -->
    <configuration>
    <connectionStrings>
    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
    </connectionStrings>
    <appSettings>
    <add key="car" value="myCar" />
    <!--<add key="ReportViewerServerConnection" value="WebForm.Lab.ReportConnection, WebForm" />-->
    </appSettings>
    <system.web>
    <httpHandlers>
    <add verb = "*" path = "Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />-->
    </httpHandlers>
    <compilation debug="true" targetFramework="4.0">
    <assemblies>
    <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    </assemblies>
    <buildProviders>
    <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </buildProviders>
    </compilation>
    <authentication mode="Forms">
    <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>
    <membership>
    <providers>
    <clear />
    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
    </providers>
    </membership>
    <profile>
    <providers>
    <clear />
    <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
    </providers>
    </profile>
    <roleManager enabled="false">
    <providers>
    <clear />
    <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
    <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
    </providers>
    </roleManager>
    <pages>
    <controls>
    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
    </controls>
    </pages>
    </system.web>
    <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
    <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </handlers>
    <httpProtocol>
    <customHeaders>
    <remove name="X-Powered-By" />
    </customHeaders>
    </httpProtocol>
    </system.webServer>
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding name="WebService1Soap" />
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://localhost:58269/WebService1.asmx" binding="basicHttpBinding"
    bindingConfiguration="WebService1Soap" contract="ServiceReference1.WebService1Soap"
    name="WebService1Soap" />
    </client>
    </system.serviceModel>
    </configuration>
    Any idea?
    Update:
    IIS is7.5, AppPool is Integrated.
    I have tried below, none of them works:
    1) Add it only to system.web\httpHanders. Changed AppPool to classic, still got hidden error.
    2) Add it only to system.webServer\handlers. Integrated mode,still got hidden error.
    3) Add both to both element. Integrated mode, still got hidden error.

    Hi Kingofwebguru,
    According to your description, when you use reportviewer control, you got the error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
    To troubleshoot the problem, please refer to the following steps:
    Click Start, click Run, then type InetMgr.exe and click OK.
    Click plus sign next to server name to expand it.
    Click Application Pools in left pane.
    In Application Pools list, click DefaultAppPool.
    In the Actions pane, in Edit Application Pool section, click Edit Settings to check the Pipeline mode.
    Configuration settings for the HTTP handlers are specified in the system.web/httpHandlers element and the system.webServer/handlers element. of your application Web.config file. The handler specified in system.web/httpHandler is used by Internet Information
    Services (IIS) 6.0 or IIS 7.0 in Classic mode, whereas the handler specified in system.webServer/handlers is used by IIS 7.0 in Integrated mode. To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS
    will not run the application, but will display an error message instead.
    For more information about Web.config Settings for ReportViewer, please refer to the following document:
    http://msdn.microsoft.com/en-us/library/ms251661.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Web Controls

    Some questions from todays webmeeting:
    What is the KB article for the <asp:button> bug
    Can a list of bugs be posted for the web controls?
    Is there a way for the ptrender=true be moved from the form tag to a button tag?
    Samples for the web controls...
    Thanks,Michael Bruce [email protected]

    The ptrender tag is present because almost all .NET web control clicks execute the javascript __doPostbackfunction, except standard buttons (& imagebuttons). Bypassing this code (as in the case of buttons) means that the plumtree 'special' postback cannot be performed. Therefore the ptrender tag causes the form to be submitted through this function my modifying the form onsubmit handler to append:
    __doPostBack_$PORTLET_ID('$PORTLET_ID','$FORMNAME_$PORTLET_ID','','');return false;
    It should therefore be possible to leave out the ptrender tag, and cause the button clicks to execute the function directly, by using the onclick handler for the button to run the above code (replacing the $VARIABLE's). Note the trailing return falseto prevent normal form submission.

  • 2.2 Web Controls

    Greetings,
    Using the same example in the Calendar Web Controls, I am trying to create a simple form where, user type in a value and click on the button - it should then display the value on the same portlet (without refereshing the entire page). Just as the sample provided in Calendar web control sample - In my WebConfig file I have the following line of code: <httpModules> <!-- Plumtree .NET Web Controls Support--> <add type="Com.Plumtree.Remote.Loader.TransformerProxy, Plumtree.WCLoader, Version=2.2.0.0, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5" name="PTWCFilterHttpModule" /> </httpModules>
    On my aspx page I have: <form id="Form1" method="post" runat="server"> <P>This portlet uses Plumtree Web Controls:</P> <P>Display the results using the Plumtree Web Controls in-page post.</P> <P><asp:label id="lblLabel" runat="server">Your Value: </asp:label><asp:textbox id="Value_TextBox" runat="server"></asp:textbox></P> <P> <asp:Button id="btnClick" runat="server" Text="Click"></asp:Button></P> <P><asp:label id="lblResult" runat="server"></asp:label></P> </form>
    And on my code behid page I have: Private Sub btnClick_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClick.Click lblResult.Text = Value_TextBox.Text End Sub
    The question is am I missing anything else, do I need to provided the adaptive java scripts within my aspx page.Any help would be appreciated,Thankx

    We get that error a lot with the portlets that use the web controls. We traced it in TCPTrace and found that the portal itself is having a hard time loading all the js files for the web controls. The real problem is with the gateway not loading the files fast enough. The portlet seems to timeout, but the error is immediate. We have opened several tickets on this matter all to no avail. Currently the 'solution' is to refresh the page or just not use the web controls anymore. We catch all exceptions within our code which show nothing because the problem is actually with gateway.
    Has anyone experienced this and found a real solution?

  • Portlet development with pure Ajax without the Plumtree Web Control

    Has anybody successfully using pure Ajax for portlet development. We've tried to test a little ajax code sample out, and it worked outside of the portal but when we put in the portal it would not work. We are trying this approach because we are having problems with our Plumtree Web Control 2.2.
    Please help.
    The following is our code
    Test.aspx
    <script type="text/javascript" language="javascript"> var http_request = false; function makeRequest(url) {        if (window.XMLHttpRequest) { // [url=http://www.sitepoint.com/print/%5C%22/glossary.php?q=M#term_31%5C%22]Mozilla[11], Safari,... http_request = new XMLHttpRequest(); } else if (window.ActiveXObject) { // IE            http_request = new ActiveXObject("Microsoft.XMLHTTP");        } http_request.onreadystatechange = alertContents; http_request.open('GET', url, true); http_request.send(null); } function alertContents() {        if (http_request.readyState == 4) {            if (http_request.status == 200) {                alert(http_request.responseText);            } else {                alert('There was a problem with the request.');            } } } </script> Make a request
    test.htm file:
    I'm a test.
    When we run it outside the portal we get the alert message "I'm a test".
    But wehn we run it inside the portal we get the message "'There was a problem with the request."

    Absolutely, here's some code:
    function UpdateDealerInfo(d) {    dealerNumber = d.split(':')[0];
    document.getElementById('s_dealer').innerText = dealerName + ' (' + dealerNumber + ')'; var ajax = new ActiveXObject('Microsoft.XMLHTTP'); var urlASMX = "<pt:url pt:href='http://portletserver/webservice.asmx/WSServiceMethod' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>"; ajax.open ('POST', urlASMX, true)
    ajax.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');
    ajax.onreadystatechange = function () {
    if (ajax.readyState == 4) {      var strResponseXml = ajax.responseXML;      var xmldoc = new ActiveXObject('MSXML.DOMDocument');
    xmldoc.async = false; xmldoc.load (strResponseXml); // read an element from the xml document var demoStock = xmldoc.documentElement.selectSingleNode('//DemoStock').text;
    // update the element in the portlet (aspx/html) document.getElementById('s_demo').innerText = demoStock
    var body = 'dealerNumber=' + dealerNumber;
    ajax.send (body); }

  • EDK Web Controls 2.1 Beta Features

    This topic is to describe how to use some of the new features in the EDK Web Controls 2.1 beta. Extra features and their descriptions will be added below. Feel free to ask questions.

    Alternative imageserver URL access
    With some network configurations the external imageserver URL is not the same as the internal URL. This can pose problems because the portlet server must be able to access the imageserver to look up the available JS support files, and uses the main imageserver URL set in the portal.
    New imageserver URLs can be used by the portlet server in a couple of ways. The most simple way is to add mappings from the external imageserver to the new one. This can be done by adding entries into the imageserver.mapping.xml, and then touching config.xml in the same directory to load the changes. New entries can be added like this:
    i.e. http://www.external-servername.com/ptimages/ -> http://internal-servername:8080/ptimages/:
    <mapping find="http://www.external-servername.com/ptimages/" replace="http://internal-servername:8080/ptimages/"/>
    Note that you must include the whole URL, sections of the URL will NOT be replaced. To replace sections you must use a regular expression mapper, i.e:
    <mapping regex="true" find="www.external-(\w+).com" replace="internal-$1:8080" />
    will do the same thing in this case - see .NET regular expressions for addition regular expression syntax.
    The second method to use an alternative imageserver overrides the first; it uses an Administrative preference to set the URL. The default setting name searched for in PTWC.Mapping.Override (this can be changed in HttpPipe.xml). To use this an administrative page would have to be created to set this preference, and this granularity of configuration should not generally be necessary except for specific remote portlets which access the imageserver via a specific unique URL.

  • PT Web Controls 2.2

    HiI have a very simple portlet that has a submit button that just refreshes a timestamp on the portlet. It works using ptwc 2.1 and the postback all works as it should. But when I change the ptwc version to 2.2 in the web.config it stops working. Clicking on the button does nothing at all. Any ideas? Portal version is 5.0.4.

    We have found a number of minor issues with the 2.2 version of the .net web controls. One of the cool new features is that it will execute javascript on postback. There are some things that it breaks. One of the issues that might apply is that it doesn't like <!-- --> within script blocks which is a fairly common practice to hide code from older browser versions. See if your page contains those xml comment symbols and remove them to see if things work better. Mike

  • Web service consumer wizard in ECC 6.0 SP17

    Hi,
    I'm trying to create web service consumer using the wizard. I completed the step and click finish button at the end of the wizard. However, the process is just stop there and the main menu SAP Easy Access is displayed. No objects created.
    I can generate the object after clicking the finish in the wizard on ECC 6.0 SP15.
    Any idea on what can I do to generate objects so I can consume the webservice?
    Additional info: When I tried this on different system with SP17, I got message 'no vendor specified' after the wizard analyzing WSDL given in the url. No service provider object is created after that message is displayed. It is a success message (green).
    Thanks,
    Iwan
    Edited by: Iwan Santoso on Feb 12, 2009 5:48 PM
    Update: I had a brain ****... when selecting Create -> Web Service, there is an options for Service Consumer, which I thought this is how you generate the proxy. Actually I need to select Create -> Proxy Object. When I select the proxy object, it works just fine. A class is generated.
    However, in different system, there is no option to create Web Service and Proxy Object. It's on SP17 as well. I'm going to do additional research since in that system I do not have proper auth. for SICF transaction.
    Edited by: Iwan Santoso on Feb 12, 2009 7:27 PM

    Hi
    Q :- we activate ICF service? How?
    Just goto TCODE - SE38 and run program - RSXMB_ACTIVATE_ICF_SERVICES
                                                                    SXMB_ACTIVATE_ICF_SERVICES
    some ICF service must be inactive
    Activating ICF service is a generic requirement.
    Check SAP Note 750287
    Thanks !
    Edited by: Abhishek Agrahari on Jan 8, 2009 9:22 AM

  • How to use a cascading LOV as a Web Services Consumer?

    How to use a cascading LOV as a Web Services Consumer?
    We are trying to populate a prompt programmatically.
    Our program is a Web Services Consumer.
    As an example we use Island Resorts Marketing
    The cascading LOV for City is
    Country -> Region -> City
    The City object is key-aware to the customer table
    The query is
    Customer | Revenue
    (where) City = [prompt]
    In order to make the key-awareness work, we must select the value (rowIndex) from the LOV
    When we run our program below, the LOV for City is not populated, as expected since we must first select the Country, then the Region.
    The code snippet below shows that the LOV for Country is populated. We have no idea how to go from there.
    Any hint will be immensely appreciated.
    Let us know if anything is unclear in the code.
    Source       
    RetrieveMustFillInfo retrieveMustFillInfo = RetrieveMustFillInfo.Factory.newInstance();
            RetrievePromptsInfo retrievePromptInfo = RetrievePromptsInfo.Factory.newInstance();
            retrievePromptInfo.setPromptLOVRetrievalMode(PromptLOVRetrievalMode.ALL);
            retrievePromptInfo.setRefreshReturnedLOVs(true);
            retrievePromptInfo.setReturnLOVOnMustFillPrompts(true);
            retrieveMustFillInfo.setRetrievePromptsInfo(retrievePromptInfo);
            // *-- need the "Refresh" action to get the .promptToBeFilled
            Action[] boActions = new Action[1];
            boActions[0] = Refresh.Factory.newInstance();
            try {
                documentInformation = reportEngine.getDocumentInformation(Integer.toString(infoObject.getID()), retrieveMustFillInfo, boActions, null, null);
                m_Token = documentInformation.getDocumentReference();
            } catch (Exception ex) {
                System.out.println(GetWSError(ex));
                return;
            if (documentInformation.getMustFillPrompts()) {
                PromptInfo[] promptInfoS = documentInformation.getPromptInfoArray();
                for (PromptInfo promptInfo : promptInfoS) {
                    System.out.println(String.format("Prompt '%1$s', hasLOV=%2$s", promptInfo.getName(), (promptInfo.getHasLOV() ? "Yes" : "No")));
                    if (promptInfo.getHasLOV()) {
                        LOV boLOV = promptInfo.getLOV();
                        for (Value boLOVValue : boLOV.getValuesArray()) {
                            System.out.println(String.format(" LOV item '%1$s' RowIndex=%2$s", boLOVValue.getColumnsArray(0), (boLOV.getRowIndexed() ? boLOVValue.getRowIndex() : "")));
                    System.out.println("--End LOV");
                    PromptInfo[] promptInfoS2 = promptInfo.getPromptToBeFilledArray();
                    if (promptInfoS2.length > 0) {
                        PromptInfo promptInfo2 = promptInfoS2[0];
                        System.out.println(String.format(" linked to %1$s", promptInfo2.getName()));
                        if (promptInfo2.getHasLOV()) {
                            LOV boLOV2 = promptInfo2.getLOV();
                            for (Value boLOVValue : boLOV2.getValuesArray()) {
                                System.out.println(String.format(" LOV item '%1$s' RowIndex=%2$s", boLOVValue.getColumnsArray(0), (boLOV2.getRowIndexed() ? boLOVValue.getRowIndex() : "")));
                            System.out.println("--End LOV");
    Result
    Prompt 'Enter value(s) for City:', hasLOV=Yes
    --End LOV
    linked to Enter value for Country of origin
    LOV item 'Australia' RowIndex=6
    LOV item 'France' RowIndex=2
    LOV item 'Germany' RowIndex=4
    LOV item 'Holland' RowIndex=7
    LOV item 'Japan' RowIndex=5
    LOV item 'UK' RowIndex=3
    LOV item 'US' RowIndex=1
    --End LOV

    Hi,
    Refer SAP Note 1278947. You would require a Service Market Place logon to access this article.
    Let me know if this helps.
    Regards,
    Shreyans Surana

Maybe you are looking for