How to change the attribute names of viewobj dynamically?

I have a table with columns eg.:
productlineID, month1, month2, month3....
Then I have a view object created for this table, and I would like the column names month1, month2,... to be changed dynamically from another query to get the current month (eg. 200011), such that month1 becomes 200011, month2 becomes 200012, month3 becomes 200101 etc... to make the jsp page for browsing and editing the records display the column name correctly, and also the element tag of the XML output by XMLData bean. I'm using JDev 3.1.1.2. Thank you in advance.

five years after nobody has solution to this and I am posting same question.... interesting...

Similar Messages

  • How to change the attribute name for a relation

    When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
    When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
    So I have two questions:
    How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
    http://public.ceving.de/2012050300/relationattribute.png
    And if it is not possible:
    How can I preserve any changes on column names in the relational model during a re-engineering run?
    Edited by: 931739 on 03.05.2012 08:07

    Hi,
    I've logged an Enhancement request on this.
    I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
    What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
    David

  • How to change the attributes of screen fields dynamically

    <b></b>
    well i have created a table by name empmaster_data with following fields.
    *emp_id.
    *emp_fname.
    *emp_lname
    *dob.
    *doj.
    *dept.
    *desig.
    now using a single screen i want to create,change and display the information.even i am using save and exit button.
    now i want to change the attributes of screen fields dynamically like active,input,output,invisible.

    Hi,
    Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to Change the Alias name for Internet user in SU01 tr code through cod?

    Hi Guys,
                 My req is we have to change the Alias name(SU01 tr code) for the existing users thru code.So can anybody tell me how to change the Alias name like which we do it in SU01 tr code thru code or FM.?
                Is there any FM for tha changing Alias Name?
    Thanks,
    Gopi.

    Hello Gopi Anne ,
                                 You can use the following FM / BAPI :
    BAPI_USER_CHANGE
    MY_BAPI_USER_CHANGE
    For BAPI_USER_CHANGE :
    You need to make use of the IMPORT parameter :
    ALIAS     TYPE     BAPIALIAS                               User Name Alias
    ALIASX     LIKE     BAPIALIASX                               User alias change flag
    Thanks,
    Greetson

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

  • How to change the bluetooth name? in my pc,

    Hi there!
    How to change the Bluetooth name for my N70.
    I can change it in my N70, but the first installed name still pops up on my computer. Can't find it anywhere so i can have the same name in my phone as on the computer. Is there some kind of registry that keeps the first name maybe??
    Any ideas?
    Owned: Nokia 1600 - 3120 - 5110 - 6110 - 7110 - 6310i - N70 - N72.
    Using now: 6310i & N70 - N72

    I am not sure about how to change SERVICE_NAME in PL/SQL Developer (if at all it can be done in that ), but you will have to change the SERVICE_NAME in the TNSNAMES.ORA file.
    1. Locate the entry for PLSExtProc in the file tnsnames.ora at:
    $ORACLE_HOME/network/admin/tnsnames.ora
    2. Change the SERVICE_NAME = ORCL
    3. Save and reconnect
    Aalap Sharma :)

  • I have a MacBook Pro, how to change the computer name in the "Find Iphone"

    I have a MacBook Pro, how to change the computer name in the "Find Iphone"?

    Thank you for help! I was inattentive reading your answer. The thing which confused me was that I noted in blue. I had to just write in a red box and close the configuration window.

  • Has anybody found out how to change the workgroup name in 10.5?

    I have been trying to connect to XP machine shared folders and it is not working.
    I've tried using smb and it gives connection error or says Ithe user has not permission in the machine
    I've started in 10.4 from backup disk and it is working OK.
    I see that in 10.4 it asked for DOMAIN/ Workgroup name , and this option has disappeared in 10.5
    Has anybody found out how to change the workgroup name in 10.5?

    System Preferences - Networking

  • HT1428 How to change the account name in Mac OS X via a command line. I did a type-o on the account name. So instead of it saying "Company" it says "Comany"  for the account logon.

    How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
    None of these Macs have been used currently.
    Thank you,
    Brian

    If user account shortname, see Changing user account shortname

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

  • How to change the package name for a msg class

    Can anybody tell me how to change the package name for a message class.
    and how will it effect in the rerport?
    thanks in advance
    kp

    >>and how will it effect in the report?
    You wouldn't see any direct effect on the Report.. But if you transport the report to QA & leave the Message class in Dev, it might result in syntax issues & you will not be able to execute the report. Just ensure that both of them get transported to QA & you will be fine.
    ~Suresh

  • Flex 3 - How to change an attribute name ?

    like this
    <item code="1" />
    to
    <item id="1" />
    thanks

    Hi Alex,
    You can use setName to change the attribute name:
    Here for example change all your id attributes with code:
    var xmlTest:XML=<r><item id="1"/></r>;
    for each (var node:XML in xmlTest.item.descendants("@id"))
    node.setName("code");
    trace(xmlTest);
    Thanks,
    Bhasker

  • How to change View Attribute Name?

    Is there a way to change the attribute name of a view object that was added from and entity Object?
    I dont want to change the Entity Attribute Name since i want to use it in diferent view objects with diferent names...

    Hi Frank
    It would be very convenient to have view object attribute name updateable because the attributes may result from different joins (to same table) and have different meaning depending more on the association than to the table attribute itself (in most case the relationship extend the meaning of the attribute).
    In my use case i have :
    A table FlexTypologyClassMatrix with two foreign key pointed to FlexTypologyClass primary table. That mean that my matrix have two axis defined by the primary key of FlexTypologyClass table.
    I created a view object that correspond to this scheme with eo's FlexTypologyClassMatrix, FlexTypologyClass as FlexTypologyClassAxisX, FlexTypologyClassAxisY).
    The view object attributes from eo's FlexTypologyClassMatrixAxisX or Y are generated from the table attribute name with a suffix like FlextypologyclassL (for FlexTypologyClassMatrixAxisX) and FlextypologyclassL1 (FlexTypologyClassMatrixAxisY).
    The attribute name are the most used item used later in the development cycle and this is not easy to distinguish the X from the Y without analyzing the view object definition. It's not a very productive way to develop application.
    It would be very convenient to permit the view object attribute name to be updateable or the alias name of the entity object in the view object has to be displayed with, every time.
    I didn't check if the info is displayed every tiem, may be it is a workaround !?
    Hope you understand what I mean. Thank you.

  • How to change the tooltip names for my navbar

    Hi,
    Does anyone know how to change the tooltop names on the navbar as i need it to say "Next" instead of "Forward"
    Thank guys

    For SWF you'll need to edit the applicable playbar.fla
    C:\Program Files\Adobe\Adobe Captivate 7 x64\Templates\PlaybackFLA\AS3\
    In the Localization MovieClip:
    var pbcBtnTips_ENU:Array = new Array("Rewind ",
              "Back ",
              "Play ",
              "Pause ",
              "Forward ",
              "Closed Captioning ",
              "Audio On ",
              "Audio Off ",
              "Exit ",
              "Information ",
              "dummy for scratch bar ",
              "Table of Contents ",
              "2x Fast Forward Speed ",
              "4x Fast Forward Speed ",
              "Normal Speed ",
              "Print");
    For HTML 5 you'll need to edit the playbarScript.js file:
    C:\Program Files\Adobe\Adobe Captivate 7 x64\Templates\PlaybackFLA\HTML\
    cp.playbarTooltips =
    AudioOff : 'Audio Off',
    AudioOn : 'Audio On',
    BackGround : 'BackGround',
    Backward : 'Backward',
    Color : 'Color',
    CC : 'CC',
    Exit : 'Exit',
    FastForward : '2x Fast Forward Speed',
    FastForward1 : '4x Fast Forward Speed',
    FastForward2 : 'Normal Speed',
    Forward : 'Forward',
    Glow : 'Glow',
    Height : 'Height',
    InnerStroke : 'InnerStroke',
    Play : 'Play',
    Pause : 'Pause',
    Progress : 'Progress',
    Rewind : 'Rewind',
    Shade : 'Shade',
    Stroke : 'Stroke',
    Thumb : 'Thumb',
    ThumbBase : 'ThumbBase',
    TOC : 'TOC'

  • How to change the default name of new adjustment layers? (and other Q's)

    How do I change the default name of new adjustment layers?
    How can I make it so that adjustment layers don't come with a mask when I create them (unless I have a selection active)?
    Why isn't the Shadows/Highlights functionality an adjustment layer? It's accessable under "adjustments" but you can't use it non-destructive
    Where can I find documentation on Photoshop's API? (I want o make tools for it - javascript)

    Forgive me for not looking into your Maya-specific links, but one can automate Photoshop using JavaScript indeed (on Windows also VB, on Mac also AppleScript).
    Not everything can be automated naturally, but a lot – and it can really speed up many tasks; and with the »small« repetitive ones like saving copies off of files etc. combining Scripts with Configurator Panels can be especially convenient.
    There is a Scripting Forum over at
    http://forums.adobe.com/community/photoshop/photoshop_scripting
    As for plugins: it's something I would like to learn some day (I guess you would have to go with Flash and AS3 for making actual plugins)
    I think you might also have to learn C++ or C.
    There is Forum the contributors to which might be able to give you pointers if you get to that. 
    http://forums.adobe.com/community/photoshop/photoshop_sdk

Maybe you are looking for

  • Where are the includes located in UCM

    Trying to edit "workflow_docs_list.htm" and now I'm trying to find where the include "workflow_docs_table" is located in UCM. Anyone have a idea where I can find the include at? Answered my own question so close this topic if possible. Edited by: JTy

  • Any ideas why PE7 will not handle avi from Pentax Optio w60?

    I am able to work with the avi video files on all of my other software editing programs but PE7 is my favorite. For some reason when I import the avi files from my SD card / Pemtax Optio W60 camera I can only hear the audio in the editing window...no

  • Tax deductions with tax directive

    I am running a South African payroll (4.6c)and need to know the following. 1. How are other sites handling Retrenchments 2  we are using normal tax deductions via the tax tables but on retrenchments we would like to capture a directive for the tax on

  • Data transfer from SAP to SAP

    Hi Gurus, I have a scenario where I need to transfer data from SAP to SAP. While the program is ran in source the idoc gets fired successfully and its available in WE02 with the status Green and text as "Sent to SAP port". But while checking in the t

  • Plug in to convert FMLE output to H264

    or anything other than .flv???