ADF 11g: Possible to programatically set the pivot handle label ?

Hi all,
I am using JDev/ADF 11.1.1.3. I have a pivot table and I would like to dynamically set the pivot handle labels. The value needed for the label is another column in my view object.
I tried 3 different approaches to no avail and I am running out of ideas:
1) I tried to override the createViewRowAttrHints method as per Steve's article (http://blogs.oracle.com/smuenchadf/examples/#137). While I could see that it did work in the BC tester, it did not get picked up by the pivot table
2) I tried to set the value in the page definition but the itemLabel tag seems to only accept a literal
3) Lastly, I tried the setLayerMetadata method in the underlying DataDirector, still no dice.
If anyone could point me in the right direction, it would be greatly appreciated.
Thanks,
Michel

Hi Dharmathej,
Wht Jdev version u using....... since in JDeveloper 11.1.1.4 ADF provides to hide the status bar of the panelCollection
refer here http://ramadf.blogspot.com/2011/01/jdeveloper-11114-af-panelcollection.html
Regards,
Suganth.G

Similar Messages

  • Programatically setting the IP address of a 8234 ethernet port in a specific PXI slot

    Hi, I have a system with multiple 8234 ethernet cards in a PXIe chassis.  Each port has its own subnet and IP address.  I need to ensure that the user never has to swap ethernet cables from port to port after a 8234 card is replaced.  I.e., how do I programatically set the IP address and subnet of a specific port in a specific slot?
    Any comments welcome.

    Hi ROgelio,
    You are right there is no way to assign IP address to physical interface.
    ace-4710-1/Admin(config)# int gigabitEthernet 1/1
    ace-4710-1/Admin(config-if)# ip ?
    % invalid command
    cdn-ace-4710-1/Admin(config-if)# ?
    Interface config commands:
      carrier-delay  Set port up delay value
      channel-group  Map physical port to port channel
      description    Interface specific description
      do             EXEC command
      duplex         Configure duplex operation
      end            Exit from configure mode
      exit           Exit from this submode
      ft-port        Make physical port specific for Fault Tolerance(FT)
      no             Negate a command or set its defaults
      qos            Configure QoS operation
      shutdown       Shut down the interface
      speed          Configure speed operation
      switchport     Set switching mode characteristics
    So there is no option to configure an IP address on physical interface.
    regards,
    Ajay Kumar

  • Im having problems with my Kids facetime accounts that seem to be because they are both using my itunes and there are conflicts with multiple email addresses? Is it possible to now set the kids up with their own accounts without losing their apps etc

    Hi All,
    I have my kids using iTunes via thier ipods etc through my own account and this hase been the case for some time?
    This has started to cause issues lately with imessaging and facetime, as there seems to be a limit on email addresses that can be associated with one account?
    I wonder if I would be best off setting the kids up with their own accounts, but want to be able to do this without them losing their existing apps, music etc?
    Is this possible, if so is there a simple process cos I can seem to find anything relating to this?
    many thanks, Jim

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

  • Newbie iPhone: How do I programatically set the text of a UIBarButtonItem?

    Hello,
    This is probably really more of a question on IBOutlets but here goes. I want to have an updateable label on my Toolbar. A label doesn't seem to "stick" on the toolbar so I figured I would drop a UIBarButtonItem on it and then just update the Title property of it to change the text as I needed. Problem is I can't figure out how to get a reference to the UIBarButtonItem in my code.
    With a pure label control, I can drag from the File's Owner to the label in my view to make it an outlet for my ViewController and then access the text property of the label in code. With the UIBarButtonItem, I can't make it an outlet. I know the button is more of an action thing but I don't need to respond to taps, I just want to change the text.
    Thanks for any help,
    Tom

    Tom,
    You should be able to assign the UIBarButtonItem to an outlet as long as:
    1) you have defined an instance variable in FilesOwner of UIBarButtonItem and prefixed it with "IBOutlet".
    2) FilesOwner is set to your custom view controller in the Interface Builder's Inspector panel. If it still thinks it's a standard UIViewController it won't pick up your custom outlets.
    All that being said, I'm not sure you can change the title without using a custom view. The default UIBarButtonItem has an initWithTitle: initializer that may be static (perhaps others know of a way to change it once set). But you can define a custom view for the button. That gives you the ability to add a UILabel and programmatically set the text of the label.
    Cheers,
    George

  • ADF - Component File Download Listener - Setting the output filename

    Studio Edition Version 11.1.1.2.0
    Hi, I would like to learn how to set the output filename as current data + filename. I have a button with the component File Download Listener that has theses parameters
    Content/Type: application/pdf
    Filename: test.pdf
    Method: fullReportPDF()
    I needed that when the user clicks the button, that he return the current date + filename statically defined.
    How i may to make this?

    In a bean you implement a method which return the filen ame date and static part concatenated and set it as EL into the af:fileDownloadActionListener
    // on the page
    <af:fileDownloadActionListener contentType="application/pdf"
                                             filename="#{XYZBean.filename}"
                                             method="#{XYZBean.fullReportPDF}"/>
    // in the bean
        public String getFilename()
            String fn = (new Date()).toString() + "static_part.xyz";
            return fn;
        public void fullReportPDF(FacesContext facesContext, OutputStream outputStream) { ... }where XYZBean is the bean where you have implmented the method fullReportPDF.
    Timo

  • How do I programatically set the date and time of my FP-2000 in LabVIEW RT?

    I checked out the following knowledgebase document which has a tool for setting the system time, but I also need to set the date:
    http://zone.ni.com/devzone/explprog.nsf/ 6c163603265406328625682a006ed37d/ 37175dbc3696a1ac86256a850051097d?OpenDoc ument
    How can I do this?
    -Jim

    That is great, Steven. I also found a solution using GetSystemTime and SetSystemTime which are functions in kernel32.dll that get and set the system date-time. This function call worked on the FP-2000 that I have and should work on RT-Embeded systes, as well.
    -Jim
    Attachments:
    GetSystemTime.vi ‏16 KB
    SetSystemTime.vi ‏14 KB

  • I would like to programatically set the "Date Unused" on X Scale formatting for time plots.

    I can use the X Scale formatting on the front panel, but when I change from time to decimal using property nodes the "date" keeps showing up. How can I turn the date feature off so I just see Time in HH:MMS format?

    Disregard. I found the answer. Set the XScale.Format value to 6 (relative Time). feed in total seconds from start of day to the Xo, The reciprocal of data frequency to DeltaX, and set the decimal resolution to 3. This results in a time tagged plot showing just time (no Date).

  • How to set the font of label in ColumnChart correctly?

    hello, everybody
    By flex sdk 4.1.0, 4.5.1,
    the same source but two effects of font of label of ColumnChart will be displayed.
    .mxml:
    <!-- mxml start -->
    <?xml version="1.0" encoding="utf-8"?>
    <s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:s="library://ns.adobe.com/flex/spark"
                       xmlns:mx="library://ns.adobe.com/flex/mx"
                       width="100%" height="100%"
                       styleName="backgroundChart" xmlns:local="*" xmlns:common="common.*">
        <fx:Declarations>
            <s:SolidColorStroke id="white" weight="1" color="#CCCCCC"/>
        </fx:Declarations>
        <s:Label text="" id="titleLabel" textAlign="left" styleName="graphLabel" x="10" y="10" width="100%" height="40" visible="true"/>
        <mx:Legend id="ch01Legend" direction="horizontal" dataProvider="{mainChart}" height="100%" width="100%" x="30" y="30" styleName="myLegend1"/>
        <!-- Define custom Strokes. -->
        <mx:ColumnChart id="mainChart" showDataTips="true" x="20" y="60" width="100%" height="100%" dataTipFunction="dataTip">
            <mx:backgroundElements>
                <mx:GridLines horizontalChangeCount="1" gridDirection="horizontal">
                    <mx:horizontalStroke>{white}</mx:horizontalStroke>
                </mx:GridLines>
            </mx:backgroundElements>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer axis="{linearAxis}" showLine="true" showLabels="true" styleName="myAxisStyle1">
                    <mx:axisStroke>{white}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:verticalAxisRenderers>
            <mx:verticalAxis>
                <mx:LinearAxis id="linearAxis"
                               minimum="0"
                               autoAdjust="true"
                               title="Unit"
                               />
            </mx:verticalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer id="horizonLabel" labelRotation="45" axis="{ch01_a2}" showLine="true" showLabels="true" styleName="myAxisStyle3">
                    <mx:axisStroke>{white}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:horizontalAxisRenderers>
            <mx:horizontalAxis>
                <mx:CategoryAxis id="ch01_a2"
                                 dataProvider="{mainChart}"
                                 title="Period"
                                 categoryField="Period"
                                 />               
            </mx:horizontalAxis>
        </mx:ColumnChart>
    </s:BorderContainer>
    <!-- mxml end -->
    .css
    <!-- css start -->
    .myAxisStyle1 {
        placement:bottom;
        minorTickPlacement:none;
        tickLength:5;
        tickPlacement:none;
        color:#FFFFFF;
        verticalAxisTitleAlignment:vertical;
        fontFamily: Arial_AFE;
    .myAxisStyle3 {
        placement:bottom;
        minorTickPlacement:inside;
        tickLength:5;
        tickPlacement:inside;
        color:#FFFFFF;
        fontFamily: Arial_AFE;
    @font-face {
        src:url("font/arial.ttf");
        fontFamily: Arial_AFE;
        embedAsCFF: false;
    <!-- css end -->
    environment:
    flex sdks->4.1.0
    chart image:
    the font looks like "Arial"
    environment:
    flex sdks->4.5.1
    chart image:
    the font looks like "Times New Roman"
    Working at flex sdks 4.5.1,
    the labelClass can be set to 'spark.components.Label'(defalut) or 'mx.controls.Label',
    it seems that we can set labelClass to mx.controls.Label to get the same effect of font of label in ColumnChart when flex sdks->4.5.1
                <mx:AxisRenderer axis="{linearAxis}" showLine="true" showLabels="true" styleName="myAxisStyle1" labelClass="mx.controls.Label">
                <mx:AxisRenderer id="horizonLabel" labelRotation="45" axis="{ch01_a2}" showLine="true" showLabels="true" styleName="myAxisStyle3" labelClass="mx.controls.Label">
    but it also causes a memory leak.
    1) Can anyone tell me how to show the font of label of ColumnChart correctly (looks like "Arial") when using the labelClass 'spark.components.Label' ?
    2) Can anyone tell me how to solve the memory leak when using the labelClass 'mx.controls.Label'?

    Hi,
    for combobox in a table (I assume the combobox is shown un column 2, thus the index 1)
    oracle.jbo.uicli.jui.JUTableLOVEditor lovCellEditor = (oracle.jbo.uicli.jui.JUTableLOVEditor) jTable1.getColumnModel().getColumn(1).getCellEditor();
    lovCellEditor.getComponent().setFont(new Font("Arial",Font.BOLD,13));
    For the LOV panel this is a bit more complicated because you need to create a custom LOV panel as described in http://www.oracle.com/technology/products/jdev/howtos/10g/jclientlov/customadfjclientlovpanel.html
    I filed a bug today to expose the component on a LOV to public so they can be modified
    Frank

  • Setting the text in label components

    Please help with the following very simple code. I have done
    everything I am supposed to do according to the in-program help,
    the Flash 8 Actionscript bible and every other source I can find
    online, yet the following code will not generate a simple label
    component. I've checked to insure it is not placed too far in any
    direction and even played around with its styles, setting the font
    and font color -
    nothing. It's been 2 hours now... I'm really starting to
    hate components.
    Without exaggerating, it took me roughly 4 hours to figure
    this out: I replaced all of the "getNextHighestDepth"s with numbers
    (starting the numbering at 0) and everything showed up. Turns out
    the label code was working, but the label was getting replaced by
    the next component called in the code because they were all at the
    same depth. I thought getNextHighestDepth() was supposed to prevent
    this!

    >> I have done everything I am supposed to do according
    to the in-program help
    Not exactly. You should have been using the DepthManager
    instead of getNextHighestDepth.

  • Is it possible to programatically determine the children of a class during program execution?

    I am basically trying to determine programatically if a class is a child of a specific parent class OR along the same lines I need a list of all children of a parent class.  Either method would work.  Is this possible to do via code?
    -Daniel | CLA
    Solved!
    Go to Solution.

    And an image to go with Yair's reply...
    If no error then it is a child.
    More LVOOP images here.
    See this thread for more words.
    Ben
    PS: An yes that error wire should be wired between the loops.
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • It's possible to set the number of frame?

    It is recommand to set the number of channels as low as possible, and it is easy to do. But it is recommended to decrease the number of frames? If yes, how can i do it? It seems to me that the manuals do not mention this aspect.
    Thanks.

    Yes but if it is so why it is recommended to set the numbers of channels as low as possible?
    It is sure that is not possible to to set the number of frame? I remember that long time ago  maybe I find something about how to set the frame's number, but
    it is possible that I'm wrong. 
    Thank you.

  • OpenScript recording is slow with FireFox and ADF 11g

    Hi everybody;
    I trying the OpenScript for recording some scenarios, and I am facing some problems:
    1-     When I use the internet explorer (IE) it records fine with an acceptable speed, but when I replay the recorded script it misses out the fields and the links that I clicked, meaning: it starts to highlight other places on my page which I didn’t click while I was recording.
    2-     When I use FirexFox, I get other kind of problems. First the recording is unbelievably slow. It might take a minute or two for every link I click to respond. Also when I replay the script it executes faster than it did while recording but much more slower than doing the same scenario in real time meaning: doing it directly on the browser by a real user.
    Kindly note that my application is an ADF 11g application with EJB3 and the application server is Weblogic 11 and the database is oracle 10g.
    Any ideas will be appreciated
    Thank you all

    Note that Firefox 36 has been released officially.
    *https://www.mozilla.org/en-US/firefox/36.0/releasenotes/
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating

  • ADF 11g support for Internet Explorer 8 plus x

    hi
    Given the current situation for ADF 10g, see forum thread "ADF 10g support for Internet Explorer 8" ...
    at ADF 10g support for Internet Explorer 8
    ... I was wondering about the future browser support in ADF 11g.
    (Specifically about IE8 the knownissues.html document for JDeveloper and ADF 11g (11.1.1.1.0) currently says "Internet Explorer 8 is neither supported nor certified. If you must use IE8, set the compatibility view settings in your IE8 browser to ALL. In IE8, go to the Tools menu -> Compatibility View Settings and check the last checkbox "Display All Websites In Compatibility View"." and "... IE8 support should be in the upcoming first patch set. ..." Re: PanelStretchLayout on IE8.)
    question
    (q1) What is the life expectancy of applications built with ADF (Faces) 11g in regard to their future browser support?
    many thanks
    Jan Vervecken
    edit 20091001 : fixed link to knownissues.html

    Thanks for your reply Shay.
    We plan to officially support IE8 with the next patch release to JDeveloper 11g - currently planned for later this year.That matches what I wrote in my initial post in this forum thread about IE8 support.
    We usually only certify browsers after they officially go production.That does not really answer my question (q1) in this forum thread.
    It is more like, how can I assess that Oracle will support any successor(s) of IE8 or successor(s) of any currently supported browsers for ADF 11g applications in the future? How long will Oracle support "commonly used browsers" for an ADF 11g application I build today, so how long will I be able to use that application?
    How do I answer such questions for ADF 11g applications that should be deployed on the internet (where, as some extranet environments, you typically have not that much (or no) control over which browsers your users use ... although some would like to argue with that, see forum thread "ADF Faces RC browser support and browser market share")?
    (By the way, do you have any feedback for the forum thread "ADF 10g support for Internet Explorer 8"?)
    regards
    Jan

  • Programatically Launching the Specify Module Dialog

    I am calling some ActiveX modules written in VB6 from TestStand 3.1. I am developing a user interface (UI) in VB6 that reads the specific instruments I have installed on my station (from StationGlobals) and allows the application developer select which instrument to configure. I have worked out how to read the type library for these modules and to programatically set the TestStand hidden properties for Server, coClass and Interface ID's. What I'd really like to do now is to call the ActiveX specify module dialog from within the VB6 UI so that the application developer can select the applicable methods/properties and parameters.
    Does anyone know if this is possible (e.g. in a method similar to the way the expression browser can be programatically launched using the TS Engine.DisplayBrowseExprDialogEx method)?
    Thanks,
    David

    Thanks Allen.
    Yes - that did just the trick. I found that I was able to obtain a reference to my current step using the sequence class's GetStepByUniqueId method, and passing the step's TS.ID property. I was then able to call the specify module method, which displayed the specify module dialog for this step. For anyone interested, code similar to that below worked for me in VB6.
    Dim objSeqContextPO As PropertyObject 'reference to TS SeqContext property object
    Dim objSeqContextSequence As Sequence 'reference to TS SeqContext Sequence
    Dim objTSStep As TS.Step 'reference to TS step
    Set objSeqContextPO = SeqContext.AsPropertyObject()
    Set objSeqContextSequence = SeqContext.Sequence
    'Obtain a step reference and call the Specify module box
    Set objTSStep = objSeqContextSequence.GetStepByUniqueId(objSeqContextPO.Step.TS.Id)
    If Not objTSStep.SpecifyModule(0) Then
    'log an error
    End If
    Thanks again for your help.
    David

  • How can I set the date field to auto populate the current date?

    I have many forms to create where the current date dictates a specific change in options or conditions for the form filler to follow. I cannot see any way to handle that issue. Is it possible to simply set the current date as a default?
    jcytrny

    Sorry, we currently do not support having today's date show up in a date field by default
    Randy

Maybe you are looking for

  • Unable to Open NetWeaver Adminstrator

    Hi All, I have Installed NetWeaver 2004 SR1 with EP. I could able to log in to the Administration tools like Visual Admin, Config Tool etc. But When I try to Log on to NWA an error is occuring with message number 404. The requested resource does not

  • Fluid layout

    Hi, I am trying to build a site with fluid layout. I have three classes: Preloader, Main and Background. Preloader loads main.swf and has resize function where it can access Background like so: Sprite(loader.content).getChildAt(0).y = stage.stageHeig

  • Removing the need to change password

    This is related to [Pass language parameter to MSA; Because we are looking to pass username and a set password with the mobileclient.exe we would like to remove the need to change password every x days Is there a database entry that we can change or

  • PSE 4  Use Filenames as Captions in Slide Show

    Most of my files have meaningful filenames. However when I want to make a slide show I can't figure out how to get the filenames to display as captions so people know whats going on. Is there a way of copying the filenames to the captions field. I wo

  • Can't get WIFI on my new Mac Book Pro

    Setting up my new Mac Book Pro and on the WiFI page, I see and select my network name.  Enter password and it hangs.  Try other networks and get same result.  I have two iPads and they work fine as do other devices. I thought I maybe maxed out on my