Change style property at run time

Hi,
I have one table with update icon(as column), if i click that icon of any row means it needs to change the table as editable.
I don't know whether it is possible or not.
If possible means please tell me how to do that.
Thanks
SAN

Hi San
Yes it is possible.You need to make use of SPEL and PPR for that.I have exact scenario on my blog.You can refer
http://oracleanil.blogspot.com/2010/08/how-to-make-read-only-selected-row-in.html
Thanks
--Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Can we change [maximum number of records per page] property at run time

    can we change [maximum number of records per page] property at run time in report 6i

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Design issue with sharing LV2 style global between run-time executables

    Hi,
    Just when I though that I had everything figured out, I ran into this design issue.
    The application that I wrote is pretty much a client-server application where the server publishes data and the client subscribes data using data sockets. Once the client gets all the data in the mainClient.vi program, I use LV2 style (using shift registers) to make the data global to all the other sub-vi’s. So the LV2 is in initialize mode in the mainClient.vi program and then in the sub-vi’s the LV2 is in read mode. Also, I had built the run time menu for each sub-vi that when an item is selected from the menu, I would use the get menu selection to get the item tag which will be the file nam
    e of the sub-vi and open the selected sub-vi using vi server. This all worked great on my workstation where I have labVIEW 7.0 Express installed. But the final goal is to make exe’s for each of these sub-vi’s and install runtime on the PC’s that do not have labVIEW installed. Of course when I did that only the mainClient.exe program was getting the updated data from the server but the sub-vi’s were not getting the data from the mainClient.exe. I did realize that the reason for this is due to the fact that I had compiled all the sub-vi’s separately and so the LV2 vi is now local to each executable (i.e. all executables have their own memory location). Also, the run-time menu did not work because now I am trying to open an executable using vi server properties.
    To summarize, is there a way to share LV2 style global's between executables without compiling all of the sub-vi’s at one time? I tried using data-sockets (local-host) instead of LV2 st
    yle gloabls to communicate between the sub-vi’s but I ran into performance issues due to the large volume of data.
    I would really appreciate it if anyone can suggest a solution/alternative to this problem.
    Thanks
    Nish

    > 1)   How would I create a wrap-around for the LV2.vi which is
    > initialized in my mainClient.vi and then how would I use vi server in
    > my sub-vi to refer to that LV2.vi?
    > You mentioned that each sub-vi when opened will first connect to the
    > LV2.vi via via-server and will keep the connection in the shift
    > register of that sub-vi. Does this mean that the sub-vi is accessing
    > (pass-by-reference) the shared memory of the mainClient.vi? If this
    > is what you meant I think that this might work for my application.
    >
    If the LV2 global is loaded statically into your mainClient.vi, then any
    other application can connect to the exe and get a reference to the VI
    using the VI name. This gives you a VI reference you can use to call
    the VI. Ye
    s, the values will be copied between applications. That is
    why you need to add access operations to the global that returns just
    the info needed. If you need the average, do that in the global. If
    you need the array size, do that in the global. Returning the entire
    array shouldn't be a common operation on the LV2 style global anyway.
    > 2) Just to elaborate on my application, the data is
    > transferred via DataSockets from the mainServer.vi on another PC to
    > the client’s PC where the mainClient.vi program subscribes the
    > data (i.e. 5 arrays of double type and each arrays has about 50,000
    > elements). The sub-vi’s will have to access these arrays
    > located on the mainClient.vi every scan. Is there any limitation on
    > referencing the mainClient.vi data via vi-server from each sub-vi?
    Your app does need to watch both the amount of data being passed across
    the network, and the amount being shared between the apps. You might
    want to consider puttin
    g the VIs back into the main app. What is the
    reason you are breaking them apart for?
    Greg McKaskle

  • 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

  • Change display pattern at  run time

    I have a date/time field which has display pattern set as MM/DD/YYYY...
    During run time, if user clicks on a check box...the display should change to DD/MMM/YYYY...How can i do that?

    You can do this with a little bit of script on your check box's Click event (in FormCalc in this example):
    if ($ == 1) then
    DateTimeField1.format.picture = "DD/MMM/YYYY"
    else
    DateTimeField1.format.picture = "MM/DD/YYYY"
    endif
    The trick is to know that in XFA, what Designer refers to as the "Display" picture is the <format> node which contains a <picture> which, in turn, contains the "display" picture; or, the picture used to
    format the field's value for display purposes.
    I've attached a sample form which demonstrates this.
    Stefan
    Adobe Systems

  • Change Item Type at Run Time!!

    Hi all,
    I am using apex 4.0, and I want to know if their is any plug-in that can help me to change the type of an item at run time.
    what exactly i want to do is to change the type of an item according to the value of a select list, for example when the user select a specific value from the select list,this item should be displayed as a date piker.
    so, can any one help me?
    thanks in advance,
    Ola,

    Hi,
    Here is sample
    https://apex.oracle.com/pls/otn/f?p=40323:81
    When you select "Date" from select list and submit Field is changed to datepicker.
    I did create select list P81_SELECT with static LOV
    STATIC2:Text;T,Date;DNormal text item P81_FIELD and to page JavaScript Execute when Page Loads
    if($v('P81_SELECT')=='D'){
    $('#P81_FIELD').datepicker({showOn:'both',buttonImage:'#IMAGE_PREFIX#asfdcldr.gif',buttonImageOnly:true});
    }Regards,
    Jari

  • [CS4 Mac] Change PictureWidget image at running time.

    Hello,
    I have a PictureWidget on a panel - by default it displays a PNG file loaded from resources.
    It can also display error icons when a query fails - etc: these icons are loaded from plugin's 'PICT' resources.
    So far so good.
    Now - when a query doesn't fail it would need to display an image stored as a 'PICT' file on a server: the query result is telling me which 'PICT' file is to be displayed in the PictureWidget.
    For QXP I was using DrawPicture() to draw the PicHandle directly in the item rectangle.
    Switching it to InDesign - I am looking for a recipe to achieve same result but following InDesign SDK means and spirit.
    In other words - how do we change a PictureWidget image at running time in order to display a PICT files from server instead of built-in default PNG or 'PICT' resources.
    Any pointer or direction to achieve this would be very much appreciated indeed.
    Best regards
    Patrick Perroud

    Hi,
    I have to add a image on a dialog, I am able to add a image on Windows by associating a image resource ID with image path in .rc file. But not able to do the same on mac. How can we associate image resource ID with image path on MAC?
    Thanks in advance.

  • Loading style sheets at run time

    I have created few fonts css and compiled them into swf to
    load them at run time.
    There is one custom component Card, is placed into a Module
    and this Module is loaded by main application.
    The Card component contains TextArea, MyTextArea(custom
    component) and ComboBox (which display font list).
    Now when user select any font from ComboBox, Card component
    load css and when it get loaded, it updates fontFamily of TextArea
    and MyTextArea. But only TextArea updated with new fonts while
    MyTextArea is not getting update anytime.
    Can anyone help me to figure out this.
    I am using following code to load css run time.
    var myEvent:IEventDispatcher =
    StyleManager.loadStyleDeclarations(fontSource[0].src,true,false,ApplicationDomain.current Domain);
    myEvent.addEventListener(StyleEvent.COMPLETE,fontComplete);
    myEvent.addEventListener(StyleEvent.ERROR,fontError);
    Any help will be appreciated, Thanks

    Could you save the CSS files as SWCs instead of SWFs and compile them in to the IPA?
    Just a thought; I've never done this myself.
    -Randy Nielsen
    Senior Content and Community Manager
    Adobe Systems Incorporated

  • How to change the data type property of a feild property at run time.

    i have feild varchar2(15) in database, but if want to insert alphanumric, char, number it at runtime by changing its parameters dynamically (parameter is a).
    i have write this code
    if a= 'C' then
         set_item_property('CAPTION1',DATATYPE,'Char');
    elsif a='N' then
    set_item_property('CAPTION1',DATATYPE,'Number');
    else
    set_item_property('CAPTION1',DATATYPE,'alphanumeric');
    end if;
    no compile time error but its not working at runtime, any one can help me.

    Checking for number is easy:
      Declare
        c varchar2(100) := 'hello';
        n number ;
      Begin
        n := To_Number(c);
      Exception
       When Others Then
       -- cannot convert string to number --
      End;You can do the same to check dates also
    Francois

  • How to change style property in runtime

    Hallo. I have this style tag in my main application:
    <fx:Style>
         @namespace s "library://ns.adobe.com/flex/spark";
         @namespace mx "library://ns.adobe.com/flex/halo";
         @font-face {
         src: url("../caratteri/MyriadPro-Bold.otf");
         fontFamily: "MyriadPro-Bold";
         embedAsCFF: true;
         .mioStileMyriadProBold {
         fontFamily:MyriadPro-Bold;
         fontLookup: embeddedCFF;
    </fx:Style>
    It works good but i wish to change the fontFamily while the program is running. How can i do that?
    Thx a lot.
    Max

    Hallo. Thx for the answer. I would like to know if your solution is working always. I mean, in my example i showed you that i have this:
    .mioStileMyriadProBold {
    fontFamily:MyriadPro-Bold;
    fontLookup: embeddedCFF;
    But what if i have 2 custom styles??.. How can i change one or another specifically ??
    I hope you understand what i mean.
    Max

  • Change Windows Title in run-time

    I can change windows title in File-->VI Properties--< Windows Title.
    I wish You write in a string box change the windows title. How can i made it?
    Thanks.

    GerdW,
    If you open a reference, and then, in a loop, change the title, there is no
    problem.
    But if you open a reference and change the title in a loop, you get problems
    when you don't close the reference. This does not happen when you don't use
    the Open VI Reference.
    The attached VI will hopefully clear things up...
    Regards,
    Wiebe.
    "GerdW" wrote in message
    news:[email protected]..
    > Hello Wiebe,
    >
    > what do you mean with new and old reference? Does the reference of the
    > vi change, when you change the FP.Title property?
    > I have a vi, that runs as long as I'm sitting in front of my computer
    > (say 10 hours a day). It sets the title every 90 seconds to signal
    > running pr
    ocesses in Windows taskbar. I close the reference on vi exit
    > and never realize some memory leaks.
    >
    > Best regards,
    > GerdW
    [Attachment Change Title Leak.vi, see below]
    Attachments:
    Change_Title_Leak.vi ‏50 KB

  • Can i change tabIndex order in run time

    iam giving tabindex order. some swf file loading runtime than can i change tabIndex order. if possible how

    yes, you can use the tabIndex property of interactive objects:
    textfield1.tabIndex=1;
    movieclip1.tabIndex=2;
    button1.tabIndex=3;

  • Creating cache for multiple property files run time/dynamically.

    Hi,
    I have a requirement, where in I need to create cache for each property file present in a folder at server side or in the lib or resources directory. Please help me how I can do this?
    Thanks.

    ok thank you.
    I follwed this method implementation:
    static HashMap<String, HashMap<Object, String>> cacheHolder = new HashMap<String, HashMap<Object, String>>();
         static HashMap<Object, String>[] cache = new HashMap[2];
         static Integer fileCount = 0;
         static int incrementSize = 2;
    public method1(Map<Object,String>map){
    File file = new File((new StringBuilder(
                             "ABC/XYZ/")).append(value)
                             .toString()); // where value is the file name returned from the external method
                   int newSize = existingMapLength+incrementSize;
                   if (someVal== null) {                    
                        synchronized (fileCount) {
                             int oldSize = cache.length;
                             if(fileCount==cache.length){
                                  HashMap[] oldData = new HashMap[oldSize];
                                  oldData = cache;                              
                                  cache = new HashMap[newSize];
                                  LOGGER.info("New Size added:==>"+cache.length);
                                  for(int i=0;i<oldSize;i++){                                   
                                       cache[i] = oldData;
                                  cache[fileCount] = readExternalPropertiesFile(file); // external method which returns the properties of the file in hashmap
                                  cacheHolder.put(value, cache[fileCount]);                    
                                  keys = cache[fileCount].keySet();
                             else{                         
                             cache[fileCount] = readPropertiesFile(file);
                             cacheHolder.put(value, cache[fileCount]);                    
                             keys = cache[fileCount].keySet();
                             someVal= cache[fileCount];
    fileCount = fileCount + 1;
    Please let me know if any improvemnets are possible.

  • Merger two style sheets at run time

    Hi,
            Can we merge two css files to get one swf after compiling.
    Thanks,
    Jayagopal.

    Should just be StyleManager.loadStyleDeclarations(…)
    You shouldn't need FlexGlobals.topLevelApplication.
    I'm not sure exactly what your 3.6 pattern was, but I don't think there was a FlexGlobals class in 3.6.

  • 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.

Maybe you are looking for

  • Can't install iTunes on my computer?

    Hi All, I know this is a very frequently asked question but let me just fill you in. I went to sync my iPad and iPhone 6 with iTunes on my computer (I had downloaded and installed the very latest version). I had the same problem as others where my de

  • Serious Album Art Question!

    here is the situation, for the songs i have purchased it works perfectly, however, for other songs that i have that i have applied album art too, even though when i select it in the iTunes the album art is the same for the whole album, for other albu

  • JMS SENDER ADAPTER SONICMQ

    Hi experts, i am having a problem with a sender communication channel. The communication channel is active but i am not receiving messages. in the RWB the following error details are displayed. Any id's? XI inbound processing failed for message at ti

  • Solution to ERROR ITMS-9000: "Invalid Segment Alignment."

    I was using Flex 4.13 SDK and AIR 14 SDK. When I build a release version of my iOS app for the iTunes App Store, I received the following error. ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have proper segment alignment and should b

  • What in included in an Apple Gift Card (not iTunes gift card)?

    Can I use an Apple Gift Card for hardware such as an iPad mini?