WSRP - Changing the css of remote portlets

Hi,
Consumer: WLP 10.2
Producer: Websphere Portal 6
I need to apply css files of the consumer to the remote portlets (not the shell, but to the content inside the actual portlets). Is there any way to override the producer portlet stylesheets before rendering at consumer side?
I thought of creating same stylesheets at consumer side with same class names and with different attributes (according to requirements) inside the classes.While rendering, in the interceptor class I am planning to read markup data using response and try to change the css name to consumer side css name and again writing the markupdata. Is it possible or is there any other best solution for this. Please help me.
Thanks,
Sid

Hi George,
We tried to apply "!important" declaration for each rule in css file.Its not picking from local CSS (Consumer) file.But What i feel like remote portlet is not picking up the local css file when get the viewsource on remote portlet the css file path is producers.as below.
<link rel="stylesheet" type="text/css"
href='http://localhost:7001/WsrpConsumerWeb/resource;SSPXYYSESSIONID=gDQ5JH9V2TYtzph1XhpgsC301Qbbp516f0nCTFxmgQnqsgM0Qtl6!30602842?_pageLabel=voipTrunk_portal_page_10&_portlet.portalUrl=%2FWsrpConsumerWeb%2FvoipTrunk.portal&_windowLabel=portlet_6_1&_nfpb=true&_portlet.renderResource=true&wsrp-urlType=resource&wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css&wsrp-requiresRewrite=false&wsrp-resourceID=&wsrp-preferOperation=&wsrp-resourceState=&wsrp-resourceCacheability='
title="Style">
wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css
should be replaced with local css file path right.Which we are trying to do in interceptor file.But we are unable to replace existing path to local path If you any other way to do this please let us know.
Thanks
Kalpana,Sid & Anu.

Similar Messages

  • How to change the css behaviour of af:table column with rowheader

    Hi
    Can we change the css look and feel of the af:column with rowheader attribute set true ? Currently I am getting a projected look with shades in the left side. I want it to be like normal af:column style. If there any specific styleClass I need to put please provide the details
    THanks
    Suneesh

    Hi,
    you can use skinning for this. The skin selectors are shown here:
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm
    Frank

  • Changing the css of all a href tags under class ms-rtestate-field

    Hi,
    I am trying to set "a href", "a href visited" color as the same (#0072c6) for all the paragraphs under the div class "ms-rtestate-field".
    In IE developer tools, i can see the below:
    <div class="ms-rtestate-field" id="ctl00_PlaceHolderMain_RichHtmlField3__ControlWrapper_RichHtmlField" aria-labelledby="ctl00_PlaceHolderMain_RichHtmlField3_label" style="display: inline;">
    <h3>Guides</h3>
    <p>To ensure, we have created a number of guides for your use.</p>
    <p>The <a href="/test/Pages/Test1.aspx">guides</a> document on how to use them.</p>
    How to achieve this?
    Thanks

    Hi,
    The following CSS style for your reference:
    <style type="text/css">
    .ms-rtestate-field a:visited {
    color: #0072c6;
    </style>
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is there a way to force capitalise an entry in one field in a web form. What would the hard code be? I don't want to change the CSS class.

    This would be the code:
    <label for="CAT_Custom_162533">TYPE IN YOUR FASCIA NAME BELOW:</label>             <input type="text" placeholder="eg. Joe's Amazing Juice" class="cat_textbox" id="CAT_Custom_162533" name="CAT_Custom_162533" maxlength="4000" />

    You would do this with javascript.

  • CSS of Search Portlet

    Hi all
    i want to change the css of search portlet so that it should be like other portal pages. Can anybody guide me in this regard??
    Thanks

    The default search portlets have their own layout and cannot be changed. Consider to create your own search engine with the [wwsrc_api|http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/wwsrc_api.html] API.

  • How Do You Change the Remote Desktop Listening Port in Win 8.1 Pro

    I am trying to setup two Win 8.1 Pro computers for Remote Desktop access on my local network. I can get Remote Desktop working fine on both when they are using the default RD port 3389. I am unable to change the listening port on one of the computers so
    that I can access either via a public Internet connection. I change the listening port in the Registry, reboot the computer and verify that the port number has been changed BUT the computer still responds to the old port 3389 and can't connect via the new
    port number. I added a Firewall rule for the new port, but that did NOT solve the problem. 
    I have followed the procedure below and verified in the Registry that the port is changed but the Remote Desktop remains accessible only on the default port 3389. The new port number in the Registry is 39699. I used a network scanner and it shows the computer
    is still listening on port 3389 for Remote Desktop connections. Why is Win 8.1 Pro ignoring the new port number in the Registry and still responding on 3389? Is there another place in Win 8.1 Pro that the port also needs to be changed. I also added a new rule
    in the Firewall to allow incoming requests on port 39699? This is a very frustrating problem, any suggestions are greatly appreciated. 
    I followed the procedure shown below.
    Hi ,
    Based on my test, we can change the listening port for Remote Desktop.
    To change the port that Remote Desktop listens on, follow these steps.
    1.Start Registry Editor.
    2.Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
    3.On the Edit menu, click Modify, and then click Decimal.
    4.Type the new port number, and then click OK.
    5.Quit Registry Editor.
    6.Restart the computer.
    Meanwhile, please note, please type the new integer port number between 1025 and 65535 in the PortNumber text box.
    And make sure the new port number is not in use by other application.
    We may use the command below to check the result.
    netstat -a
    Also, we can use Network Monitor to trace the port.
    Microsoft Network Monitor 3.4
    Regards,

    Hi,
    There are two item that should be modified to change the default 3389 port:
    One is: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp]. Modify  the PortNamber to the one you want.
    The other is: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentContro1Set\Control\Tenninal Server\WinStations\RDP\Tcp]. Modify the PortNumber to the one you want.
    In your case, you missed the first one.
    Regards
    Wade Liu
    TechNet Community Support

  • How can I change the color of a object inside a symbol?

    Hello!
    I'm working on this study and I need to change the color of an object inside a symbol when I click another object.
    The object is called "bola", wich is inside the symbol "ponto" and the clicking object are the colored pencils (each pencil should change the color of the symbol's object, giving the impression you'd selecting a different pencil to draw).
    I think it's simple to understand what I mean when you see the files.
    I already tried this line on click event of the pencils, but it didn't work:
    sym.getSymbol("ponto").$("bola").css("color","#123456");
    Anyone knows how to make that work?
    I would like to improve the experience of drawing as well. I made it with the "mousedown" event. Is that a better way to get a similar effect?
    My files
    Thanks a lot,
    Clayton F.

    Ok here is another sample:
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.html
    http://www.meschrene.puremadnessproductions.net/Samples/HELP/LapisB/Lapis.zip
    You need to create a var that changes the css background color..
    Hopefully you can understand what I did...
    The text I left showing so that you could see it change...
    I updated the files and all colors should work now.
    Message was edited by: ♥Schrene

  • How to change the font size from tabs ???

    Hi
    I found a tip to change the CSS in the apache directory in the forum here.
    but i can´t find the directory on my hard disk/oracle directory
    i got this version installed:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    can i change the font size of tabs/regions etc in any other way??

    Hi,
    The font size is defined by the style class used for the tab cells (tabs are normally created as cells in a table).
    To do this, the simplest solution may be to edit the page template:
    1 - Go to Shared Components/Templates
    2 - Select the page template(s) that you are using (you will have to do this for each template that you've used that uses tabs)
    3 - Scroll down to "Standard Tab Attributes" - you'll see two sections: Current Tab and Non Current Standard Tab.
    In Current Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabcurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    In Non Current Standard Tab, you'll have something like:
    &lt;a href="#TAB_LINK#" class="t12standardtabnoncurrent"&gt;#TAB_LABEL#&lt;/a&gt;
    After the class="...." attribute add in style="font-size:12px" (use whatever px value you want)
    4 - You should repeat the process for Current Parent Tab and Non Current Parent Tab as these contain the same settings
    5 - Apply your changes
    Regards
    Andy

  • Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi there, I want to change the background-color of the browser, when a popup-picture is shown. This picture pops up by clicking a hyperlink in the text...can anyone help me please...thanks a lot

    Hi,
    CSS is interpreted by your browser, so server cache seems unlikely in htis case. There is however some hierarchy in CSS, so parts of the APEX CSS, theme CSS or page CSS might overwright or block yours.
    Does changing the CSS on runtime affect your page? Eg, run the following in your browser console and see if your page turns black: $('#uBodyContainer').css("background-color","black")
    Also try moving up your css in the hierarchy labeling it as important:
    div#uBodyContainer { 
      background-color:#000000 !important;  
    See:Assigning property values, Cascading, and Inheritance
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

    I have some problems during user ALUI(AquaLogic User Interaction 6.1).
    I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
    When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
    error detail:
    Error
    sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
    We recommend:
    • Refresh sso Portlet
    • Accessing this portlet at a later time.
    • Contacting your portal administrator if problems persist.
    Detailed error information
    • Response status: 401
    • Response body:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

    How to configure remote server to accept authorization header?
    I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
    The follow is the way to get login user infomation.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
    ICredentialProvider cProvider = portletContext.getCredentialProvider();
    String username = cProvider.getUsername();
    String password = cProvider.getPassword();
    Do you have other way to authenticate users?
    Thanks.
    Edited by: user2233298 on 2009-4-22 下午8:25

  • Name of Lockbox set in Remote Portlet Web Service?

    Using the ALUI 6.0 IDK API, does anybody know how to get the name of the Lockbox a Remote Portlet Web Service is using?
    Authentication Settings / Credential Vault Settings / Lockbox

    Hello,
    first: I don´t know anything about the right solution. I am unaware of the existence of the solution, because there were quite many of question about this multiple selection problem and I don´t remember a single "answer".
    I can recommend you to simplify everything and create the functionality yourself. I have done that before to avoid these "Adobe-standard" problems. If you have a problem with autofill of the object, ask your WS to send you a single string and pass it yourself using scripting (JS).
    And if you have problems with multiple selection, create your own field/ object. Get the string of values, parse it, create multiple lines of the dynamic table with some suitable tool to check/ select the rows you need (use checkbox for example, and your text as a table row). This way you can selected anything you want with no problems at all. It wil only cost you some extra work.
    Regards, Otto

  • How to change the direction of the Spry menu?

    Is there a way to change the SpryMenuBarVertical menu to fold
    out to the left? I am using this menu on the right side of the
    website and it now folds out to the right (standard). I have tried
    for hours to change the css (float left, etc) but must have
    overlooked something. Can somebody please help?
    This is what it looks like so far...
    http://www.norske.nl/zomer/tours/auto01.html
    (Click on the orange field: "50 Autotours")

    Is there a way to change the SpryMenuBarVertical menu to fold
    out to the left? I am using this menu on the right side of the
    website and it now folds out to the right (standard). I have tried
    for hours to change the css (float left, etc) but must have
    overlooked something. Can somebody please help?
    This is what it looks like so far...
    http://www.norske.nl/zomer/tours/auto01.html
    (Click on the orange field: "50 Autotours")

  • Changing ard admin prefs remotely

    Is it possible to change the ARD preferences remotely to allow the remote computer to control a computer which has ARD admin running.
    The example I give is a tech is out of the office and wants to check a computer, or their own, but cannot observe or control their mac if ARD admin is running. This of course can be circumvented by killing ardadmin process, but since I can execute a unix command and wipe the system out, I should be able to change the ARD settings without terming the process.
    Any ideas?
    Mike

    you can set the preference by sending this:
    defaults write
    /Library/Preferences/com.apple.RemoteManagement
    AdminConsoleAllowsRemoteControl -bool TRUE
    Thank you very much. you answered my question perfectly. Also I am guessing that since that was a preference key item in a plist that you could manipulate other preferences as well.
    is there any other documentation on command line editing of the plist?
    Thanks again for your assistance.
    Mike

  • Overriding or Adding CSS on a remote portlet

    Hi all,
    I have a producer portlet on Jboss and a remote consumer portlet on Weblogic Portal 10.2. I want to override or add the CSS on the consumer side to that portlet . I tried by giving the same path of the CSS file in both consumer and producer.
    Please tell me if there is any way to do that.
    Thanks
    V.K. Singla

    In G6, we have provided a way for a remote portlet to grab the parameters from the URL. If you go to the user info page for the web service, you will see a new option: "Host Page URL Query String". If you check that box, the remote tier will get the full query string, as typed into the browser, as a user info parameter. You can then parse that query string and get any additional arguments that you have passed in.
    We realize that this will not work in 5.x, which most of you use. Below you will find the code that you can put into your 5.0 portaluiinfrastructure.jar/dll to make the same change as what we did with G6. That way, if you write your portlets to this feature now, when you upgrade to G6 they will continue working and you shouldn't have to do any modifications to the portal UI.
    Locate AppDataObject file, which should be in portaluiinfrastructure.statichelpers package. Find this function:
    public static IPTState GetAppDataObject(int iCommunityID, int iPageID, int iGWParams, String strHostPageURI, AActivitySpace asOwner, boolean bResolveSecureBase)
    It should be a pretty long function that adds all sorts of stuff to objAppDataObject. At the very end of this function, immediately before the log.Debug statements, add the following line of code:
    //set the query string on UserInfoptSession.GetUserInfo().AddUserInfoSetting("HostPageQueryString", asOwner.GetCurrentHTTPRequest().GetQueryString());
    Build and deploy a new portaluiinfrastructure.jar/dll according to instructions published on the dev center.
    Start the portal, open the web service object corresponding to the portlet which should have access to query string parameters from the URL. On the User Info page, add user info setting name "HostPageQueryString". In your portlet, get the user info setting with that name - you will have the query string as entered in the browser.
    Feel free to post in this thread if you encounter any difficulties with this approach.

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

Maybe you are looking for

  • Creative Cloud doesn't include everything?

    Hi, I thought Creative Cloud was supposed to include all adobe services. So why doesn't it include SendNow, and Export/Create PDF when it includes Story Plus.. This confuses me, and kind of upset me as I thought it was supposed to be everything, and

  • Enter your system lock pin code to unlock this mac

    I just traded my Macbook Pro for a 27" Core i5 iMac. I wiped the iMac when I traded and I brought it home to do a full reinstall. I booted holding the Option key down and noticed this iMac had a recovery partition I opted to use the recovery partitio

  • Tasl list group and group counter

    hi, i have one requirement . I have give internal number range to the task list. so my need to to create task list with one group and several group counter. But what is happening is when i run LSMW for that. seperate group numbers has been generated

  • Problem syncing W518A with Lotus Notes 6 Calendar - PC Suite

    When syncing my W518A with Lotus Notes 6 calendar repeating meetings that are rescheduled do not change time on the phone and meetings scheduled in another time zone reflect the original time zone, not the local time zone as set by my copy of Lotus N

  • Flash drive recognized by computer but not opening.

    My friend has a HP v240 flash drive with storage capacity 4 GB.  Yesterday I plugged it in my laptop and copied some movies in it. I removed it from the laptop after I was done and then I plugged it in the desktop. There was some message saying the f