How to make changes through JAG without affecting manual changes in jspx?

hi,
In our Application , we are using JHeadStart for creating JSPX pages. We made manual changes to some component in Jspx page. Now I has to change TextBox Component to LOV (List Of values) Component. So I made changes in the ApplicationDefinition. xml file. Now If I run the ApplicationDefinition File, the Manual changes (adding setActionListener,creating ManagedBean, etc...) whatever I had made to the particular page is updated to its own default page based on ApplicationDefinition.xml.
So , is there any possibility that manual changes made to jspx file should not be affected even if we make changes through ApplicationDefinition.xml file.
Thanks,

You should write your customizations in generator templates before you JAG. You can add your customizations to affect various components, beans, etc. You then configure these templates to be used by JAG. Once you do this you do not need to re-write your customized code. You will need to know the basics of VTL (velocity template language) as all the templates used by JAG are written in .vm files that use VTL.
For a more detailed understanding of how using and implementing customized templates read Oracle JHeadstart 10g for ADF Developers Guide, chapter 4.7
Regards,
Amit

Similar Messages

  • How to make a method sleep without affecting the responsiveness of the GUI

    Hi,
    I want to make a method sleep for a few second before executing the rest of its body. Apparently Thread.sleep(10000) doesn't do the job as it makes the GUI non-responsive.
    Any advice would be deeply appreciated.
    Thomas

    Here's an example:
    package tjacobs.ui.ex;
    import java.awt.Color;
    import javax.swing.Icon;
    import javax.swing.JLabel;
    import tjacobs.ui.util.WindowUtilities;
    * @author tjacobs
    public class Blink extends JLabel implements Runnable {
         public static final long DEFAULT_TIME_LENGTH = 1000;
         private long mTimeLength = DEFAULT_TIME_LENGTH;
         private String mLabel;
         private Icon mIcon;a
         public void run() {
              mLabel = getText();
              mIcon = getIcon();
              try {               
                   while (true) {
                        Thread.sleep(mTimeLength);
                        String current = getText();
                        if (current.equals(mLabel)) {
                             setText("");
                             setIcon(null);
                        else {
                             setText(mLabel);
                             setIcon(mIcon);
                        repaint();
              catch (InterruptedException ex) {
                   ex.printStackTrace();
              finally {
                   setText(mLabel);
                   setIcon(mIcon);
         public Blink() {
         public Blink(String arg0) {
              super(arg0);
         public Blink(Icon arg0) {
              super(arg0);
         public Blink(String arg0, int arg1) {
              super(arg0, arg1);
         public Blink(Icon arg0, int arg1) {
              super(arg0, arg1);
         public Blink(String arg0, Icon arg1, int arg2) {
              super(arg0, arg1, arg2);
         public void setBlinkTime(long time) {
              mTimeLength = time;
         public long getBlinkTime() {
              return mTimeLength;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Blink b = new Blink("Hello World");
              b.setBackground(Color.RED);
              WindowUtilities.visualize(b);
              b.setFont(b.getFont().deriveFont(24.0f));
              b.run();
    }

  • How to make changes in deduction column in IT 2006

    Hi All,
    Scenario: Employee had a sick leave & casual leave quota 6 days in a financial year.
    Now the employee had used all his sick leaves and casual leaves and the leaves got exhausted pertaining to this quota.
    These days are reflecting in 2001 IT as leaves taken  but the deduction did'nt happen in IT 2006
    Can anyone tell how to make changes in the deduction column for specific employee code's
    Regards,
    Srikanth

    Hi Megha,
    The assignment is properly mapped to counting rule.. Issue is with the validity intervals. SInce the employee already availed the leaves the quotas cannot be deleted in the IT 2006. Issue resolved by making some changes in the deduction column through SQL table entry..
    Really appreciate your response..
    Regards,
    Srikanth

  • How to make changes in another program?

    Hi evrybody,
    how  to make changes from one program  to another program ?
    Changes should be reflecting in other program.
    thanx in advance n wud be surely Rewarded if answer is helpful.

    Hi Bharat,
    Thanx for the info.
    But what my requirement is , I'm scanning & reading another report into an Internal table. I want to change the Hyphen's
    '-' used in variable declarations of another program into Underscore '_' .
    My sample code is like this..
    Report Zmain.
    PARAMETERS:
      p_prog LIKE sy-repid,
      p_key LIKE stokex-str.
    Internal Table t_itab                                                *
    DATA:
      BEGIN OF t_itab OCCURS 0,
        line(256) TYPE c,
      END OF t_itab.
    *" Data declarations...................................................
    DATA:
      t_statements LIKE sstmnt OCCURS 0 WITH HEADER LINE,
      t_levels LIKE slevel     OCCURS 0 WITH HEADER LINE,
      t_tokens TYPE stokesx    OCCURS 0 WITH HEADER LINE,
      t_keywords LIKE t_itab   OCCURS 0 WITH HEADER LINE,
      w_i TYPE i,
      w_j TYPE i.
                            START-OF-SELECTION                           *
    START-OF-SELECTION.
      APPEND p_key TO t_keywords.
      READ REPORT p_prog INTO t_itab.
      SCAN ABAP-SOURCE t_itab
      STATEMENTS INTO t_statements
      LEVELS INTO t_levels
      TOKENS INTO t_tokens
      KEYWORDS FROM t_keywords
      WITH INCLUDES
      WITH ANALYSIS
      WITH COMMENTS.
                            END-OF-SELECTION                             *
    END-OF-SELECTION.
      LOOP AT t_statements.
        READ TABLE t_levels INDEX t_statements-level.
        w_i = t_statements-from.
        w_j = t_statements-to.
       IF t_statements-level > 0.
        WHILE w_i < w_j.
          READ TABLE t_tokens INDEX w_i.
          REPLACE '-' WITH '_' INTO t_tokens-str.
          w_i = w_i + 1.
        ENDWHILE.
       ENDIF.
      ENDLOOP.
    My called program is like this....
    Report Zcalled.
    DATA:
      w-var1 TYPE c,
      w-var2 TYPE c.
    DATA:
      fs_flight1 TYPE sflight,
      t_flight1 LIKE STANDARD TABLE OF sflight.
    START-OF-SELECTION.
      INCLUDE zinclude3.
      SELECT * FROM sflight
        INTO TABLE t_flight1
        WHERE carrid = 'AA'.
      SELECT * FROM sflight
       INTO TABLE t_flight1
       WHERE carrid = 'LH'.
    END-OF-SELECTION.
      LOOP AT t_flight1 INTO fs_flight1.
        WRITE: / fs_flight1-carrid,
                 fs_flight1-connid,
                 fs_flight1-fldate,
                 fs_flight1-price.
      ENDLOOP.
    Thanx very much.

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi,
    Can any body tell me how to make changes in the print layout of Fb03.
    I want to add comapny address on the layout.
    Regards
    Mave

    If you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business Transactions -> Outgoing Invoices -> Carry Out abd Check Settings for Correspondence. There, you need to assign your custom Program or Layout for the Correspondence Type (like SAP19) and Program.
    If you mean the display layout in transaction FB03, You can change a few settings, mainly with BKPF and BSEG fields. I don't think you can add company address, though.
    Good luck,
    Bhanu

  • How to make changes in default toolbar

    hi
    i m using oracle forms 6 and i want to know either it is possible to change in the default toolbar or not if so plz let me know how to make changes in default toolbar and re-adjust according to my need.i know how to create new toolbar and connect with form but i don't know whether this is possible to re-arrenge and change the default toolbar attached with forms.
    thnx in advance

    thnks for ur reply. i worte that i m using forms 6i so that ur reply do not fullfill my query.
    i posted my query because i have seen an application developed in oracle form 6 and he designed exactly the same iconic toolbar as we see normal while running the forms and i tried but could not able designed accordingly as button don't have "bevel" property and button we use .ico extension if we want to use icon buttons.now i m astonised if there is not any way make changes then how he did.

  • How to make changes in standard transaction ME51N.

    Hi,
       Can anyone tell me how to make changes in standard transaction ME51N.
       I want to call transaction AS01 by clicking on standard button create asset. Please do the needful.
    Regards.
    Aniruddha

    Hi anirudda
              As i understood from your question is that you want to add a new field 'CREATE ASSET' on me51n screen.
    If i am correct you can use 'MEREQ001' enhancement for this purpose and you can write you code in the exits available in this enhancement.
    Please check the documentation of this enhancement for more info.
    (Use Smod for this purpose)
    I hope it is helpful.
    Reward points
    Thanks,
    Prasanna

  • How to make changes in strong password policy

    hi,
    how to make changes in strong password policy.
    I m using apex 4.2.
    pls help

    1003090 wrote:
    I created a login page, but when i m putting a password or more then 7 character then in place of Invalid Login Credentials , its saying
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I need to put a password of min 8 character, since its taking not more then 7 so i cannot use validation for the same.You already have a thread open on that: +{thread:id=2532900}+. Continue with that issue there.
    If the original question above relating to how to configure password policies is answered then close this thread.

  • HT204053 How to make changes on my payment Account

    How to make changes to my payment account.

    in my Complete Selection window I have the following:
    FACT TTY( * ) FIG( RefDate <= CurrentDate And JDT1_BalDueDeb + JDT1_BalDueCred <> 0 )  Group By TTY.Code ,FIG.Ref1 ,FIG.OJDT_Ref2 ,FIG.LineMemo ,FIG.RefDate
    in the XLS cells I have the following:
    =ixGet("JDT1_BalDueDeb")
    and
    =ixGet("JDT1_BalDueCred")
    If you need additional clarification let me know.
    regards, Sotos Soteriou

  • How to make changes in company code global data

    Hi folks,
    Can some one suggest me how to make changes in company code global data (t code oby6). I want to assign 1 to co code > co Area which is blank.
    Thanks in advance

    Hi,
      actually if you want to change co code > co Area , it is under controlling (maintain controlling area), transaction code  OX06 .You change the assignment control and save it. It is automatic update you COmpany code global data.
    *give me a point if my answer solve your problem.
    Thank You.
    -akma-

  • How to make changes effect in log4j.xml without restarting weblogic server

    Hi ,
    I have successfully configured log4j in my weblogic server 8.1.
    Everytime i made a change in log4j.xml i need to restart the server
    is there any configuration or parameter to set without restarting server??
    Thanks in advance,
    CK

    I don't think you need to restart the server, atleast I never needed to when making changes to jsp pages. You only need to restart when you make changes to java classes. Some might argue jsp is converted to servlet which is a java class.....
    Try refreshing the page when you make any changes. This works for me, if it doesn't work try turning reloadable="true" in your context path in tomcat's server.xml

  • How do I reformat hard drive without affecting recovery partition?

    I would like to know how I can reformat my Toshiba hard drive without affecting the hidden recovery partition? I would like to get rid of the preinstalled Windows 7 OS and replace it with Windows XP, which is not as bloated. Also, does anyone know of a good 'free' disk scrubber program? I actually have the original 'disk scrubber' software, but the software disk just won't work any more. Finally, I tried to get the computer ready for the drive scrubbing, but I still can't change the disk order on my Toshiba laptop. I did get into the 'bios' screen by hitting the F8 key on startup, which did bring up the 'boot menu' screen. When I selected the cd/dvd drive and then hit the F10 key to save the change, nothing happened! I put in a data disk, but the laptop still booted into the Windows 7 OS. If I can't get the laptop to boot into the cd/dvd drive, I don't think that I can erase the hard drive and put Windows XP on since I wouldn't be able to boot up the laptop with the Windwos XP disk. Is that true? Anyway, without changing the boot order, I can't do anything. Please help! Thanks!

    If you use the recovery that is on the hidden partition (hold down the zero key while starting up computer) then your OS reinstall will not affect that hidden partition, just overwrite the c: drive. 
    L305-S5955, T9300 Intel Core 2 Duo, 4GB RAM, 60GB SSD, Win 7 Ultimate 64-bit

  • How can I navigate through tabs without using the mouse?

    I want to know how to navigate through tabs without using a mouse... just like you can navigate through multiple windows by using <alt><tab> ... because it's extremely annoying when I'm working on something to have to take my hands off the keyboard and go to the mouse.

    You can also use Ctrl + Page Up and Ctrl + Page Down to go to the next and previous tab. I prefer those because it doesn't require the Shift key (Shift + Ctrl+ Tab) to go to the previous tab.
    See also [[Tabbed browsing]]

  • How to make changes in infose query in SQ01

    Dear experts,
    I hv question abt infoset query.
    I m not very familiar with infoset query and now i hv to make some changes in already existing query.
    I hv found the infoset in use.
    from this infoset i can find the query.
    Now the question is I just hv to insert one field in selection screen and and same in output list. This field has to come from a table which is already in use in joins. I just have to tick the checkbox to appear the field in selection screen and in outputlist.
    But I m not sure, if i make any changes in query, what will be the effects because the query is in production system and i hv to make changes in the production system only.
    and before sq01 i hv to drag and drop that field in infoset sq02..
    Can any one pls guide me , how i should make changes in query.
    Thanks in advance
    Jaspal Kumar
    Edited by: jaspalkumar on Feb 25, 2011 10:43 AM

    Thank you very much for ur reply.
    Actually, there are tjhree table joined in sq02.  One is KNVV. i hv to add customer group into selection screen and output list also.
    SO i will hv to make changes both in sq02 and then sq01.
    how i supposed to do it.   I m very sory asking again and its like spoon feeding,
    but to be very true report is in production and i m very scared of ripple effects of changes as i hv less idea abt the infoset.
    Pl;s guide,
    With best regards,
    Jaspal Kumar

  • How to make change in Issue list across all project sites?

    Hi,
    We all have issue list in our project sites. We need to add some values to some of the columns in that issue list. The requirement is we need these changes to reflect in all the new sites. Also how to make these changes reflect in current existing sites.
    Can anybody suggest a way to achieve this. One thing that i am aware of is creating a new project site template and associating it with EPT but that still not solves the issue for preexisting sites.
    Please help asap.
    Thanks in advance.

    Hi SpWrk
    If you have already created some sites. You would need to apply these changes either Programetically (Powershell or C#) or Manually.
    However, you can take the following approach to avoid this problem in future. (i.e. Your "future" changes will appear in existing sites too). I am writing the procedure breifly but let me know if you need more details on this
    1) Create a content type (e.g. "Project issues" at PWA level)
    2) Associate this content type with the Issues List in your site template as well any existing project sites. Make it a default content type for Issue lists. save your site template
    3) Create all your custom columns in this new Content type (changing OOB issue columns can break your reporting)
    4) Your changes to content type should reflect in future sites as well as existing sites (whereever the content type was appiled)
    Regards
    Hammad Arif EPM Advice Blog

Maybe you are looking for

  • How to Open a Specific Folder in the Finder via Shortcut Key

    I'm sure this has been covered elsewhere, so sorry for not finding it... Is it possible to assign a shortcut key to open a specific folder with Automator or AppleScript? There are 4-5 commonly used folders buried 10-11 levels deep on a server and I'd

  • App-V 5.0 MAK activation in Office 2013

    Hi, I created a App-V package for Visio and Project 2013 Standard Edition using ClicktoRun Office Deployment Kit. Now i have the Keys. How can i implement the MAK activation in the App-V package. Is there any thing that i can do in the configuration

  • HP Officejet Pro 8610 bought 2 weeks ago. giving vertical lines while printing.

    Dear Sir, I bought new officejet pro8610 . 2 weeks ago. its giving vertical lines on printing any document from printer. scanner is absolutely fine just problem while printing and copying. i clear printhead few times.  i just check that when i am pri

  • Block one material out of stock for a while, but no saldo correction.

    Hi All I have one material, which is not complete and that is why it is not relevant to sell to any customer. My question is that how I can block it away from saldo for this certain period. I do not want to do any saldo corrections with MB1B or MB1C

  • Home sharing icon not showing up.

    I enabled home sharing on my Dell desktop, HP laptop, and my MacBook. The home shring icon isn't showing up on the sidebar on both my Dell and HP. It is showing up on my MacBook, but that doesn't really help because I want to transfer the music from