Dynamically Changing stylesheets and images of B2B application

Hello All,
We have a requirement to dynamically  change the stylesheets and images of B2B application based on Country  US or UK of the logged-in user.
On looking into B2B source code, we identified  that stylesheets are defined in init-config.xml , ExtendedInitStyleHandler, BrowserType, ExtendedStyleManager, java classes are used.
Can  anyone  provide suggestions how this can be achieved?
Thanks,
Raj

What you are trying to achieve is not a simple task. It is better to put some thought and resources to build what yuo need. There is no out-of-the-box way to change the stylesheet dynamically.
Would it be a feasible option
No. But technically you can have your own tag with another parameter to specify the country and you can have custom logic to add the right stylesheet.
The class ExtendedInitStyleHandler initializes the application with the list of stylesheets defined in the init-config.xml and any extensions in the /xcm/customer/modification/initconfig.xml
It is the tag <isa:stylesheets/> that adds the stylesheet(s) to the JSP and class StyleSheetsTag uses ExtendedStyleManager
Try this out. Just prior to placing the tag <isa:stylesheets>, use the following class, methods and code in <% Java scriptlet  %>
public class ExtendedStyleManager;
public static Iterator getStyles();
public static void clear(); and
public static void addStyleSheet(StyleSheet style);
1. read the current styles (getStyles()),
2. keep a copy of the safe,
3. Clear the list (clear()),
4. Add your country specific stylesheet();
5. Add rest of the styles you need from the saved list
6. <isa:stylesheets/>
It is possible to write a custom tag lib too with the above logic and a country - parameter and use the custom tag in place of the isa tag.

Similar Messages

  • I want to change IP and Host Name of application serve

    our application server is on IBM AIX platform and now i want to change IP and Host Name of application server?

    Hi Again;
    For Ip please see:
    How to change the IP Address for a Release 11i Instance ? [ID 364099.1]
    How to Change IP Address in an Oracle Applications Environment [ID 553318.1]
    PS:Please mention your EBS version
    Regard
    Helios

  • Changing resolution and image size doesn't change result on screen?

    I'm using Photoshop CS3. I am trying to change the resolution of several images that will be printed in a newspaper. So the current images are 72 ppi and really huge -- for example 36 x 27 inches (document size), and when I change them to 300 ppi, the image sizes shrink to about 8 x 6 inches, as I expect. But the image I see on the screen doesn't change. So, for example, when I open up the image originally, it's at 33% and the entire image is visible. After I change the resolution, and the image size has changed accordingly, the image still appears the same and it remains at 33%. Shouldn't the image shrink on the screen since its size has shrunk? Or if it remains the same on the screen, shouldn't the percentage shift? I mean if the document size is now 8 x 6, it should be able to be displayed at 100% and not fill my whole screen... I'm so confused. Thanks...

    gradded,
    The "Document Size" area of the Image Size dialog is just to indicate the size (in inches) that your document will be printed. The ppi adjustment has nothing to do with what is displayed on your monitor. Your monitor doesn't care anything about ppi. The monitor contains a certain number of pixels and after you change that ppi setting, the monitor will still have that same number of pixels.
    As long as you leave the "Resample Image" box unchecked, your image size (Pixel Dimensions) will not change. You will see no change on your monitor. If you check the "Resample Image" box, then your image size (in pixels) will change.
    Hope this helps.

  • Best way to allow user to change text and image

    Hi,
    A friend wants to change his product images and pricing etc.,
    on his static web pages.
    At the moment each product is within a cell in a table and
    the cell below is where the text for details and pricing is. This
    is the only area he will need to be in. Each product and edtails in
    each cell of a table on each page.
    He does not know anything about web design, Dreamweaver etc.,
    but wants to do update himself.
    I would like to know the best way for me to go about this
    using DW CS3. Maybe there is another script or program that will
    allow this.
    Thanks
    oz

    ozstar wrote:
    > Hi,
    >
    > A friend wants to change his product images and pricing
    etc., on his static
    > web pages.
    >
    > At the moment each product is within a cell in a table
    and the cell below is
    > where the text for details and pricing is. This is the
    only area he will need
    > to be in. Each product and edtails in each cell of a
    table on each page.
    >
    > He does not know anything about web design, Dreamweaver
    etc., but wants to do
    > update himself.
    >
    > I would like to know the best way for me to go about
    this using DW CS3. Maybe
    > there is another script or program that will allow this.
    >
    > Thanks
    >
    >
    > oz
    >
    Hi,
    You could use....
    An easy CMS like -
    http://www.cushycms.com/
    Contentseed -
    http://contentseed.com/
    Contribute -
    http://www.adobe.com/products/contribute/
    HTH
    chin chin
    Sinclair

  • Change hostname and IPaddress of Oracle Application server node

    Hello,
    We have oracle application server on windows 2003 os. Recently we changed the ip address and hostname of the computer. We have only forms and reports in the application server. Database server is on other node. I have changed the ipaddress and hostname using chgiphost.bat -mid in $ORACLE_HOME/chgip/scripts. The host name and ipaddress was change successfully. Now, when I see the status using opmnctl status, it still shows me the old host name.
    Please let me know how to update the new hostname and ipaddress.
    Thanks.
    Ali

    Hi,
    Make sure the value of the NLS_LANG environment variable is compatible with the default locale setting of the operating system.
    Check the below links :
    http://docs.oracle.com/cd/B14099_19/core.1012/b14004/iasconfig.htm#BHCJHBBB
    Postinstallation Tasks
    Thanks,
    Sharmela

  • IWeb '08 Images Not Publishing and Image Distortion in Application

    I created a website a couple of years ago and recently noticed two issues:
    1) Images I included on the site are now not showing up on the published site, but still appear in iWeb '08 app.
    2) Images and graphics in iWeb '08 app are barely showing up. It looks like images that were really over exposed, but the rest of my computer shows colors and images beautifully.
    Anyone else run into these issues? How should I fix it?
    Thanks in advance for your help!

    Actually, somehow, I just solved both problems. I opened up iWeb 9 and it seemed to resolve both issues. Sorry for any confusion.
    Message was edited by: ethouston

  • Using SharePoint icons and images in commercial application

    I am developing a SharePoint client tool using SharePoint client object model. Is it okay to use SharePoint icons and images in the tool for example: Document library, list and site icons? I am planning to sell my tool online from my web site.
    Anuradha!!

    Hi,
    If you want to develop a SharePoint Client Tool for business, I suggest you use your own icons and images.
    About the copyright questions, you can call the Microsoft Support to get more information.
    http://support.microsoft.com/ContactUs
    Best Regards
    Dennis Guo
    TechNet Community Support

  • IPhoto is changing resolution and image quality

    I am currently and for the first time using iPhoto 6 to produce a book - a feature within the application. I have edited my images in Photoshop, some have not needed to be so they have simply been saved as either high-res JPGS or TIFFS. On importing them into iPhoto selected images are downsizing and stating that they are not big enough to print - this I know is not true as they are adequatley large enough for printing to A0 minimum at 300 dpi. There are also a select few that are changing in image quality - the colours are looking either bleached out or over-exposed and they have lost their original quality. When opening the exact files in Photoshop they are correctly exposed, perfect colours, sizes etc. If I am to try and 'retouch' them within iPhoto I can resume some of their quality but it seems through the transition into importing inot the application they are being corrupted.
    Can anyone assist me as its driving me mad!!!
    Thanks

    What is the color space of the photos in photoshop?
    In iPhoto Preferences, Advanced, do you have it set to add ColorSync Profile?
    BTW, the 72 ppi (pixels per inch) is irrelevant. iPhoto defaults to reporting 72 ppi because that is a typical screen resolution. What's important is the total pixel dimensions of the image, and whether that size gives you an adequate dpi (dots per inch) when printed at the designated print size. So, while the image looks great on-screen in photoshop, that doesn't mean that it will be adequate for printing in a book. But you are right - you shouldn't see a significant shift in color when importing into iPhoto.
    Regards.

  • Changing Text AND Image

    PLEASE IGNORE _ JUST FOUND SIMILAR QUESTION. SORRY.
    Hi, please could you help?
    Using remote rollovers, I need to change an image and related
    text (maybe in a text box) at the same time. Both events need to be
    triggered by the same text link rather than an image.
    Changing the image is no problem but I don't know if it is
    possible to change related text or how to do it.
    Any pointers would be very gratefully received.
    Thanks
    Mike

    Search this forum for a subject of "Rollover text question".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "PlutoNash" <[email protected]> wrote in
    message
    news:fgqa18$i6t$[email protected]..
    > Hi, please could you help?
    >
    > Using remote rollovers, I need to change an image and
    related text (maybe
    > in a
    > text box) at the same time. Both events need to be
    triggered by the same
    > text
    > link rather than an image.
    >
    > Changing the image is no problem but I don't know if it
    is possible to
    > change
    > related text or how to do it.
    >
    > Any pointers would be very gratefully received.
    >
    > Thanks
    >
    > Mike
    >

  • Uploading changed pages AND images

    Hi
    this is probably possible, but cannot find a shortcut or
    extension to do it. When I changed a web page, it frequently
    involves changed an image or image property. The CNTRL/SHIFT U
    saves and uploads the page, but does not include changed images?
    The synchronise utility takes far too long on a large site to
    upload changed files.
    I am wondering if there is a shortcut, or way of adapting the
    upload function to include ALL changed files on a webpage.
    One long winded work around is to change the file display to
    'modified' but images are in a separate directory to html files, so
    that involves hunting through directories to uploaded modified
    files.
    Is there a way of displaying modified files, or a way of
    modifiying code to that the put command includes images?
    thanks
    Barry

    If your page is that graphically heavy, then you would have
    other problems.
    But, the good news is that if the timestamp on the local and
    the remote
    files are the same, then they are not uploaded. So, you are
    not uploading
    all of the images - only those that have been changed.
    > To my mind, it would be so easy to set up a 'check' when
    the upload
    > happens
    > for files change in the last 5 or 10 mins only to be
    uploaded? Perhaps a
    > time
    > parameter could be set, ranging from all files to 'only
    files that have
    > changed
    > in the last 10 minutes?
    You can do that already, but not with quite that granularity.
    From the
    expanded site panel, use EDIT | Select Recently Modified
    Files.
    Unfortunately, your options are only by days.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dhachintya" <[email protected]> wrote in
    message
    news:[email protected]...
    > mmm good point, unfortunately, if there are a lot of
    images that have not
    > changed on the page, then it can take ages to see them
    all uploading for
    > no
    > reason. Or if there are flash objects, or downloadable
    pdf's etc.
    > Presumably
    > they would all go.
    >
    > To my mind, it would be so easy to set up a 'check' when
    the upload
    > happens
    > for files change in the last 5 or 10 mins only to be
    uploaded? Perhaps a
    > time
    > parameter could be set, ranging from all files to 'only
    files that have
    > changed
    > in the last 10 minutes?
    >
    > This would be such a useful choice to have when working
    on a lot of pages
    > and
    > uploading them to the server.
    >
    > Another option would be to be able to have an
    alternative 'display' option
    > in
    > the top of the files panel which allowed 'only changed
    files' to appear.
    > They
    > could then easily be highlighted as necessary and
    uploaded?
    >
    > Any suggestions for a way to modify code, or an
    extension which could do
    > this
    > would be greatly appreciated by the Dreamweaver
    community I am sure. The
    > whole File Management side is not that developed in
    Dreamweaver in terms
    > of day
    > to day 'real time' use by site managers?
    >
    > thanks for your reply
    >
    >
    > Barry
    >

  • Firefox in Windows 7 under a proxy do not show many icons and images in Google applications. Reinstall it does not solve the issue.

    Google applications (spreadsheet, ...) does not show the icons properly.
    Only when hovering over the buttons, the tip appear and you can see what does the button.
    Best regards

    Hello all
    Thank you very much!.
    I have tried the solution and it worked perfectly, both for Google search "Images" tab and for Google Docs icons. The problem was in the Google images and icons permissions.
    Other person in my company had the same problem and now it is solved. You have killed two birds with one stone (^_^).
    Thank you
    Koldo

  • Changed computers and didn't backup application

    Do I need to re-download the trial period of iWorks if I switched laptops and forgot to back up application from the old one? I have 15 days left free.

    Todd M. wrote:
    I've tried to download this again 3x and it fails.
    What failed ?
    Is it the download of the trial version or is it its installation.
    If you can't download the trial version, The only soluce is to buy the "inthebox" version and this will imply delivery time.
    Yvan KOENIG (from FRANCE mercredi 5 août 2009 12:36:10)

  • Dynamically changing node and items properties in CL_GUI_COLUMN_TREE.

    Hello ABAP experts ,
                                            I am printing a tree with cl_gui_column_tree in which there are two checkboxes. i want to give radiobutton effect to these check boxes. i want to update second checkbox if first is ticked and vice versa . is it possible to do so ? i also have seen the standard control examples but it does not contain this functionality. I want the method that will update the node and item and how to build the tables for it . Please response wether this is possible or not.  My code is below..
    Data :  G_TREE TYPE REF TO CL_GUI_COLUMN_TREE.
    METHOD  HANDLE_CHECKBOX_CHANGE.
        " this method handles the checkbox_change event of the tree
        " control instance
    which method should be used here in order to update the nodes and items?
    endmethod.

    hi,
    perhaps this helps:
    MESSAGE node_key TYPE 'S' display like 'E'. " display in "command line"
    or
    MESSAGE node_key TYPE 'I' display like 'E'. " display in popup
    moreover perhaps the F1 Doku for "message" helps ?
    regards
    olaf

  • How to call the css file and its images from our application......

    hai,
    Im uploading a .css file and some images in Apex shared components ,now how to call the css file and images from my Application.... plz tell me detailed.....
    Edited by: anoo on Nov 3, 2008 12:51 AM

    Hi Anoo,
    Sorry, didn't see that you'd started a new thread, so have answered this in 'undefined' is null (or) not an object "
    Andy

  • How to use CSS and images in a plsql-dbms_output reports?

    Hi.
    Windows 2000 SP4
    SQL Developer 1.2.1.32.13
    Java 1.5.0_07
    Oracle 9.2.0.6
    I'm trying to create a plsql-dbms_output report with HTML that uses a stylesheet (CSS) and an image. These seem to be ignored by the report viewer.
    The following example works fine in Internet Explorer 6 but the stylesheet is ignored by the viewer and the viewer does not show the images (shows broken images instead). I've tried with various image types (PNG, GIF and JPEG).
    <!--
    begin
    dbms_output.put_line('<head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>');
    dbms_output.put_line('<H1>This is Level-1 Heading</H1>');
    dbms_output.put_line('<H2>This is a Level-2 Heading</H2>');
    dbms_output.put_line('<p>This is regular paragraph text.</p>');
    dbms_output.put_line('<img src="file://c:/temp/fig01.png"><br>');
    dbms_output.put_line('<img src="file://c:/temp/fig01.gif"><br>');
    dbms_output.put_line('<img src="file://c:/temp/fig01.jpg"><br>');
    dbms_output.put_line('</body>');
    end;
    -->
    Is the HTML viewer limited to not support stylesheets and images?
    Thanks in advance.
    Cheers
    Finn Ellebaek Nielsen

    It also seems that links don't work. The mouse cursor changes to a hand when hovering over links and the links are shown in blue and underlined but nothing happens when clicking on them.
    Example:
    <!--
    <html>
    <head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>
    <p>First heading</p>
    <p>Second heading</p>
    <H1 id="x1">This is Level-1 Heading</H1>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    a<br>
    <H2 id="x2">This is a Level-2 Heading</H2>
    <p>This is regular paragraph text.</p>
    <img src="file://c:/temp/fig01.png"><br>
    <img src="file://c:/temp/fig01.gif"><br>
    <img src="file://c:/temp/fig01.jpg"><br>
    <p>First heading</p>
    <p>Second heading</p>
    <p>Other document</p>
    </body>
    </html>
    -->

Maybe you are looking for

  • Error while executing a procedure in Package

    ORA-04068: existing state of packages has been discarded ORA-04061: existing state of package "PLLODS.LK" has been invalidated ORA-04065: not executed, altered or dropped package "PLLODS.LK" ORA-06508: PL/SQL: could not find program unit being called

  • Microphone not working - Satellite C655-S5132 - Windows 7

    I have a microphone plugged into my Satellite C655-S5132 which is running Windows 7.  I can't get it to record.  From Start I typed 'microphone' and selected 'Manage audio devices'.  Clicked the Recording tab.  Two microphones showed up which confuse

  • PO tax details

    hi which table contains details about excise duty, vat , cst information in oracle apps purchase order. as we need to get purchase order details with tax thanks and regards, userg

  • Schedule Brio/IR Reports to Trigger Based on External Events

    Hi all, we have a new request to trigger reports to run when a) the database refresh is completed or b) other reports have completed. We have both Brio V8 and Hyperion 9 BI+ platforms. I've thoroughly investigate 'external trigger' but it appears the

  • Table Maintenance Generator - Change

    Dear experts, I hv created a TMC for customize table with field lifnr and name1. I am getting F4 for lifnr field and the requirement is when i enter vendor code and press enter, the name field should be populated automatically from LFA1 table. When I