How to change the skin at run time

I am using jDeveloper 11.1.1.3 for ADF.
My UseCase: i want to give a dropdown for skins. User should be able to select the skin at run time and it should be loaded. Please let me know how can i achieve it.
Zee

As per usecase, looks like you have the LOV containing the different skins.
You can ensure that the application is skinned according to the selected value in the LOV.
Ensure that you have a session scope variable that is set, whenever you change the LOV.
For more details, look into this link http://download.oracle.com/docs/cd/E14571_01/web.1111/e10140/skinning.htm
Thanks for your reply, but then...... what will be the skin loaded by default before the user selects the skin - drop down. Do i have to set something default before hand .?Define the LOV such that there are no empty elements. i.e the first element in the LOV is selected.
In the Managed bean, if the session scope is not set, return the skin family for the first element. This would be the scenario when the application loads.
Thanks,
Navaneeth

Similar Messages

  • How to Change the Skin

    How to change the Skin of Siebel Analytics 7.8.5 ?

    Hi Cosimo,
    Thanks for providing that link. But in that forum it specified how to change the syles only not skins.
    For the styles also i have to Copy that style folder & paste it under
    //oc4j_bi/j2ee/home/applications/analytics/analytics/res folder. This folder does not exist. Is that Oc4j folder exist under Siebel analytics 7.8.5.?
    I need skins also to be changed.
    Thanks

  • How do change the back light to time out?

    how do change the back light to time out?

    Hi snowboarder100,
    You can change the Auto-Lock in Settings> General> Auto-Lock.
    "Auto-Lock
    +Locking iPod touch turns off the display to save your battery and to prevent+
    +unintended operation of iPod touch." from page 94 of the iPod touch user guide+
    http://manuals.info.apple.com/enUS/iPod_touch_2.2_UserGuide.pdf
    -Jason
    Message was edited by: Jason L

  • How to change the "content created" date/time in FCPX?

    Since I've had problems importing my whole iMovie event library into FCPX I decided to run some tests with importing individual files (part of iMovie events and originally imported from camera into iMovie). Some of them for some reason got the wrong "content created" date/time in them while in iMovie they have the right date/time set. Does anybody have an idea on how to change the "content created" timestamp?

    I had a bunch of DV files that imported stamped with the file modification date and time.  I did not find a way to change it in FCPX. With FCPX not running, I used A Better Finder Attributes to modify the creation and modification dates of the files in the event folder. FCPX reconnected to them but the event still showed the old range of dates so I created a new event and moved the clips to it. Maybe ther is a beter way but that is how I did it.

  • How to change the skin dynamically

    Hi
    I have six projects in my application.so each project has trinidad.xml file for Skin configuration. My problem is if I changed the skin at one project it should reflect in all other projects .
    When I moved from one .jxpx in a project to another one .jspx in another project within the application the skin need to be set in Trindad-config.xml file
    Can u plz post your ideas?????

    Thanks for your reply Frank,
    Actually Im following the steps you have mentioned,
    1.I used selectOneChoice in a .jspx file in the 2nd project to set the skins in the database using the managed beans
    2.In the managed bean itself I tried to set in the trindad-config.xml file by setting in the following EL #{sessionScope.skinFamily} and used to refresh the page by redirecting to that particular URL.I have given the following code used in the managed bean
    String skin;
    public void changeSkin(ValueChangeEvent valueChangeEvent) {
    this.skin = (String)valueChangeEvent.getNewValue();
    int result = 0;
    CommonAppModuleImpl appModuleImpl =
    (CommonAppModuleImpl)BackingUtils.getApplicationModuleForDataControl("CommonAppModuleDataControl");
    result = appModuleImpl.updateSkin(this.skin);
    FacesContext context = FacesContext.getCurrentInstance();
    if (result == 1) {
    ELContext elContext = context.getELContext();
    ExpressionFactory ef =
    context.getApplication().getExpressionFactory();
    ValueExpression ve =
    ef.createValueExpression(elContext, "#{sessionScope.skinFamily}",
    Object.class);
    ve.setValue(elContext, skin);
    } else {
    System.out.println("*****Skin value did not change in DB*****");
    String currentView = context.getViewRoot().getViewId();
    String actionUrl =
    context.getApplication().getViewHandler().getActionURL(context,
    currentView);
    try {
    ExternalContext eContext = context.getExternalContext();
    String resourceUrl = actionUrl;
    eContext.redirect(resourceUrl);
    } catch (IOException ioe) {
    System.err.println("Problem trying to reload the page:");
    ioe.printStackTrace();
    3.While Im moving from some1.jspx file in the 2nd project to some6.jspx file in 5th project,
    I used the following steps,
    In the beforePhase() of the some6.jspx, I called a managed bean and retrived the skin value from the database and set it in the EL but It will not reflect in the trindad-config.xml because when we hit any URL in the project then only the xml files configured.
    But while Im trying in the __onLoad()_ in the pageListener controller class_ it works.
    this works fine..
    this works fine..
    this works fine..
    But now my problem_ is In my some2.jspx file in 2nd project Im using four panelBox ,in these panel box they used to call the some4.jspx file in the 4th project as inline frame by some URL[] methods.As a beginner I dont know about that.can you please give me Idea about this method
    the follwing InlineFrame is used in the panelBox
    <af:inlineFrame id="iframe1"
    shortDesc="#{bindings.PanelTitleList.items[1].label}"
    source="#{url[bindings.PanelUrlList.items[1].label]}" //please note this source url[] method
    styleClass="Panel"
    partialTriggers="refreshLink1"/>
    can you please give me information about this url[[] method
    Thanks in Advance,
    Felix

  • How to chang the environment of running process in C?

    Hi All,
    I have a application written in C ( OS Solaris 10 ) actually this application runs under some pre defined and standardised environment (specific to my project ).
    Now I have requirement to access API of a library( already existing code ) in my application to perform some operations. I need to enhance my C code.
    This API ( or library ) is not compatible with the standardised environment set for my application.(standardised environment (specific to my project ))
    Can anybody please suggest me how can I set the environment (compatible to the library)while using that API (or library ) and reset to my project specific environment after the result is obtained from the new API (library ).
    To be more specific during execution of my C-Application ( Environment variable LD_PRELOAD=/usr/lib/secure/libmtmalloc.so ). I am enhancing my application to use PAM Modules ( Pluggable Authentication Modules ) PAM APIs exposed performs internally some operation and return some values to me.But inside the PAM my application is crashing during malloc operation.
    I have written a test application when it uses PAM APIs and perform the same operation under normal enviroment (uses libc for memory related function) it works fine.
    So please tell me how can I set this environment variable LD_PRELOAD to libc only during execution of this API and revert this environment variable LD_PRELOAD back to libmtmalloc after it performs this operation is done.
    Please dont tell me about the bug with libmtmalloc.so instead please provide me with some programming solution to achieve this.
    Thanks alot in advance.
    Regards,
    Rahul.

    rahulsingh wrote:
    *What do you mean "linked"? libC is dynamic (run-time) object. So your
    library will be linked with the necessary items at runtime. If mtmalloc
    is preloaded, then it may well use the mtmalloc routines.*
    By linked I mean if I that library(libraryA) during compilations process it is linked to libC ( -lC). No, that doesn't normally happen at compile time. It might check the library to see what functions are in it, but it doesn't actually take sections of libC and place them in the library.
    Instead, the run-time linker places both your library and libC (and the app, and other dynamic libraries) in memory when the app is run. LD_LIBRARY_PATH and LD_PRELOAD both affect the run-time linker in where and how it will look for libraries to load. You can see where it resolves by using 'ldd' on the app.
    This will show dynamic libraries that were required at compilation time. It is also possible for an application to explicitly grab a library via 'dlopen'. Any such files will not appear in 'ldd' output.
    Darren

  • How to change the skin of  a space page dynamically

    Hi,
    how can we change the page skin( for example font size to different size based ) based on the user.

    See explenation in the other thread: Change skin on button click

  • Where / How to change the Em Alert schedule time for a target ?

    Hi,
    We have a cron tab say running on 30 20 * * 1-5 on our production. And in EM it was set to 30 20 * * 0-4 earlier, so we r getting alert on Sunday. So I want to change in EM also to 30 20 * * 1-5 so that we ll not get the EM alert on Sunday night. Where or how in EM to change this ?
    Thanks in Advance.
    Edited by: Kuldip on Jul 8, 2010 2:43 AM

    I am afraid that using Blackouts is the only way to avoid OEM GC generating alerts.
    Note that I am revering to the Alerts that will be shown in the OEM Console.
    If you want to influence the moment a Notification will result in an E-mail, you might want to take a look at the Notification Schedule, that allows you to do a-mail notification based on date and time to different mailboxes.
    Regards
    Rob

  • How to change field text at  run time in alv

    Hi all,
    Following are the columns need to displayed in an alv. year shd be the year which was entered in the selection screen.
    if the year entered was between 2001 and 2003 then the o/p(for year)  shd be as follows
    Division/Name     Position     Management Level     year 2001     Year 2002      Year 2003
    How can i achieve this. i have tried as follows:
      data : lv_yr1(4),
           lv_yr2(4),
           lv_yr3(4).
      clear: lv_yr1,
             lv_yr2,
             lv_yr3.
      lv_yr1 = s_date-low(4).
      lv_yr2 = s_date-high(4) - 1.
      lv_yr3 = s_date-high(4).
      perform fill_fieldcats using:
      'PERNR'         'GT_FINAL' '1'  'Employee No.'            ' '       ' ',
      'RTEXT1'        'GT_FINAL' '5'  'Year'  lv_yr1                ' ',
    form fill_fieldcats using %fname
                              %tabname
                              %col_pos
                              %text_l
                              %text_m
                              %emphasize.
      gs_fieldcat-fieldname  = %fname.
      gs_fieldcat-tabname    = %tabname.
      gs_fieldcat-col_pos    = %col_pos.
      gs_fieldcat-seltext_l  = %text_l.
      gs_fieldcat-seltext_s  = %text_m.
      gs_fieldcat-emphasize  = %emphasize.
      append gs_fieldcat to gt_fieldcat.
      clear gs_fieldcat.
    but the o/p i'm getting is only year. where shd i pass the value of year in the fieldcatalog?

    Hi all,
    My self resolved the issue.

  • How to change the context name

    I have deployed an application in oracle 9iAS, with the context as Sample,
    now iam able to access the application as
    http://ipaddress:7777/context
    how to change the application to run in default context
    how to change it to http://ipaddress:7777 to access the application, where should i make the changes

    Just to share the solution.
    Solved it following way:
    deployed like I usually deploy via EM and then used "Fetch Deployment Plan" in EM (you can actually fetch the plan in admin console, too, I think). And then modified that plan.xml istead of creating my own. The advantage is: EM does the magic, you only have to copy the solution ;-)
    The problem for me was, that I was not modifiying the appropriate deployment descriptor because I haven't seen the descriptor's xml file in JDeveloper. This xml was generated by JDev when using "Deploy to EAR". Only realised that after I have unzipped the generated ear.

  • Create the pages at run time in smartforms

    How to create the pages at run time in smartforms????

    Hi..
    You cannot create pages at run time, however you can decide based upon conditions and using commands in Smartforms, which page needs to be displayed next.
    Those pages should be created beforehand.
    Regards,
    Karthik

  • How to change the Schema (DB2, Oracle) in CommandTable at run time

    Dear all,
    I have a problem as below:
    I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
    Please help me on this.
    Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
    Thanks,
    Nha

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • How to change the font size and style on run time

    dear all
    i try to change the font style and font size on runtime. I did the following:
    1- i created an item(:font_size) in which i will write the size of the font for the the other item ('customer_name')
    2 on the post_change trigger for 'font_size' i write this code
    SET_ITEM_PROPERTY('customer_name',FONT_size,(:font_size);
    i write 12 then then font size changed , then i write 18 , the size does not change. and when i write any value , no change happens. I do not know why
    the second problem is how to change the font style
    i made three checkbooks (bold,italic,underline)
    on the trugger when_checkbox_checked i write
         IF :BOLD = 'B' THEN
         SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'BOLD');
         ELSE
    SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'REGULAR');
         END IF;     
    no change happend at all.
    please help

    Hi friend,
    it's a really really strange tip... May be it's a Forms bug? I've tried with set_item_property..and.. you're right, it doesn't work..
    So.. you can try making this:
    - create a visual attribute with an specific font size....
    - use the
    SET_ITEM_INSTANCE_PROPERTY('block.item',CURRENT_RECORD,VISUAL_ATTRIBUTE,'you_visual_attribute');
    and call it from psot-change....
    It works
    Hope it helps,
    Jose.

  • Why doesn't siri know how to change the time of a reminder? When asked, "Do you want to confirm or cancel your reminder?" Reply, "Can I change the time to a half hour later?" Siri doesn't know how to respond.

    Why doesn't siri know how to change the time of a reminder? When asked, "Do you want to confirm or cancel your reminder?" Reply, "Can I change the time to a half hour later?" Siri doesn't know how to respond.

    Hi
    In iMovie'11 (version 9.0.x)
    on top menu row - Apple/iMovie/File/Edit/Cut (Can vary dep. on language - in Swedish Apple/iMovie/Arkiv/Redigera/Klipp . . . )
    down Cut menu - Slow playback/Raspid Playback/Re-play in Slow Motion and onvards
    Here one can select the Pre-Set speeds
    Are you familiar with getting 'inspector' to run?
    No - but I guess that Double Click on clip/sequense or ctrl-Click on it might open it.
    Yours Bengt W

  • How to change the properties of waveform graph from time domain to frequency domain?

    Actually, I want my output waveform graph give me the answer in x-component in frequency instead of time after the FFT. My output waveform graph gives the x-components in time instead of frequency. How to change the properties of the waveform graph?

    vasus wrote:
    Hi,
           I amtaking sensor input signals through NI FPGA cRIO-9004. i am analysing this using wave graph. the problem is i am not getting accurate singal.How to decrease the frequency? 
    You are responding to a very old (8 years) thread, be aware that that might not be the best option.
    However, you want to decrease the frequency? or increase?
    What is the code you are running?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

Maybe you are looking for