How to change the ejbgen templates in workshop

I want the EJBHome interfaces generated by ejbgen via workshop to extend a proprietary
interface as well as the EJBHome interface like so
public interface MyHome extends EJBLocalHome, implements MyProjectHome
The ejbgen site says that when using ejbgen directly (not inside workshop) I can
extract the templates like so..
c:> ejbgen -extractTemplates c:\my-directory
then edir them and then change the template dir when calling ejbgen to generate
the files...
c:> ejbgen -templatedir c:\my-directory -d gen myclass.java
I want to know how to work with proprietary templates when working with ejbgen
and workshop.

The rate at which ejbgen is upgrade is far often than unpredictable SP
releases. Is there a way to change the EJBGen that workshop uses?
"Raj Alagumalai" <[email protected]> wrote in message
news:3f8d6366$[email protected]..
Aaron,
Unfortunately this feature is not supported by the Ejbgen version shipped
with Workshop GA but will be available in SP2. This can also be verifiedby
running java weblogic.tools.ejbgen.EJBGen on GA installation.
The -templateDir option will not be listed. whereas this option is listedin
the standalone version on EJBGen.
Regards,
Raj Alagumalai
Backline Workshop Support
"Aaron" <[email protected]> wrote in message
news:3f82071a$[email protected]..
I want the EJBHome interfaces generated by ejbgen via workshop to extend
a
proprietary
interface as well as the EJBHome interface like so
public interface MyHome extends EJBLocalHome, implements MyProjectHome
The ejbgen site says that when using ejbgen directly (not inside
workshop)
I can
extract the templates like so..
c:> ejbgen -extractTemplates c:\my-directory
then edir them and then change the template dir when calling ejbgen togenerate
the files...
c:> ejbgen -templatedir c:\my-directory -d gen myclass.java
I want to know how to work with proprietary templates when working withejbgen
and workshop.

Similar Messages

  • How to change the device template in GPIB 2.0

    I am not able to communicate with the device. I am using the function call ibfind. Previous versions of the GPIB enabled us to modify the device name from dev0. How do I do this in NI 488.2 2.0 version?
    Please help thanks
    Praveen.

    In the NI-488.2\bin\ directory within the installation directory, there is an executable gpibconf.exe that will allow you to modify the device templates. Just run the executable and you should be able to change dev0 to another name.

  • How to change the default template for a concurrent prog ?

    Hi i have Std Conc prog "Payables Posted Invoice Register". It has a std template with same name "Payables Posted Invoice Register". Now i have created a custom template and attached it to the same Data Definition.
    The Requirement is that only particular users will use the custom template, hence they will chose it while running. BUt what happened now is in the Conc Prog submit screen it is taking my custom template as the default one.
    Hence majority of the users wudnt look at the template and get the custom o/p.
    I want to make the std template itself as the default template and make the custom template available to chose for a smaller set of users.
    Thanks,
    Vj

    Hi Shadab,
    Yes, that is a valid work around but my task is not to create a seperate data definition and a seperate concurrent prog for it. I HAD to use the standard concurrnet prog but jsut add my template as a non defaulted template.
    Anyways, i have solved it now. This is how
    System Adminitration => Concurrent Programs => select ur Concurrent Prog => Update => OnSite settings .... select the template you want to default.
    Thanks,
    Vijay

  • How to change the size of the text box in resume template?

    Hi, I started a document using the "Traditional Resume" template. I'd like to enlarge the main text box but for the life of me, I can't figure out how. I suspect it's something to do with changing the documents template but I can't figure it out.
    Can anybody help?
    Thanks.
    Message was edited by: Michael Hoyt

    Hi:
    I am using the "Milano Resume" template. I've taken your suggestion to widen the margins, and I've added the vertical ruler on the side, but is it possible to "stretch" the main "box" of the template vertically?
    I ask b/c I want to enlarge the font size to 10 pt., but in doing so I'm running out of room at the bottom and my text is being pushed onto a second page.
    Thanks,
    Bill in CT

  • I modified the budget categories on the numbers template so now the transaction tab does not communicate with the budget tab. I figured out how to change the drop down options but how do I get it to reflect on my budget sheet? Please help.

    If you are familar with the Numbers Budget Template it has two tabs 'Budget' and 'Transactions'. If you use the template as it is designed when you input expenses on the transaction tab it will automatically add that amount into the selected category on the budget tab. I have madified my budget tab to reflect the caegories that I need, which included adding several to the template. I also added to the table so it reflects my income and expenses so I can track where I am at with a glance. Since I did this, I can't get my transactions tab to communicate with the budget tab. I figured out how to change the options in the drop down box for category but I con't figure out how to get it to reflect onto my budget tab. I'm sure that it is an easy fix, however, I am just not well versed in Numbers. I appreciate your time in helping me with this issue.
    Respectfully,
    Jon

    My guess is that while you added catetories to your Budget Sheet by adding new lines and filling in the category column, you didn't also add the formulas to these new budget lines.
    The proper way to add those lines would have been to select a cell in the line just above where you want to add a line and type Option/Alt-DownArrow. This would have copied the formulas into the new line. Maybe you did this, and maybe not. You didn't give details on how you added the lines.
    Select C2 and D2 and Command-C to copy them to the Clipboard.
    Select all the cells of Columns C and D except for the top and bottom rows and Command-V to Paste.
    If I have properly guessed the problem, you should be in business. This assumes that your Categories are exaclty the same as the entries in your Pop-up menus. Spelling counts, as does case.
    Jerry

  • SAP Cloud For Customer : How to change the Logo or Image into the Standard Form Template

    Hi Experts,
    I have requirement to change the standard template format.
    I have copy standard template and edit using Adobe Life Cycle Designer to change the logo / image.
    After changed and upload modified template and change the output setting for print i can able to see the changes but logo / image can not display.
    Can anyone have idea how to solve this issue ?
    Can we change the template within cloud system?
    If Yes than How ?
    Regards,
    Mithun

    The following are the instructions (November 2014 version of SAP Cloud for Customer)
    Edit a Form Master Template
    Overview
    As an administrator, you can edit existing form master templates. These are used to define the header, footer, and logos used in form templates. Form master templates also contain an e-mail disclaimer that is appended to automatically generated e-mails sent to business partners when a document is output from the system.
    Procedure
    1. Go to Application and User Management or Administrator Business Flexibility Master Template Maintenance .
    2. In the Master Template Maintenance view, select Form Master Templates from the Show menu.
    3. Select the master template you want to edit and click Edit.
    4. On the Form Master Template tab, do the following:
    Under Header, click Upload and browse to find the file you want as logo. Adjust the size and alignment of the logo, as required.The file formats .gif, .bmp, .jpg, .png, and .tif are supported. The logo should not be larger than 40 mm width x 20 mm height. If you upload a graphic that is larger than 40 mm x 20 mm, it is resized automatically.Select the Header Divider checkbox if you want a graphical divider to appear on your form.Under Sender Address, enter your company’s address. The sender address is shown above the recipient's address in a letter.Under Footer, choose the number of footer columns you want to display. Enter the footer text exactly as you would like it to appear on the form. You can maintain up to 4 footer blocks with a maximum of 10 lines per footer.Note that the width of each footer block is equally divided over the available space. If a line of text in the footer is too long for the current font size, the system will automatically enter a line break. If this automatic line break does not meet your needs, you may need to enter the text after the line break as a separate line.To maintain multiple languages, you must first add the language from the Add menu and then maintain the texts in that language by selecting the language from the dropdown list.
    5. Click the refresh button to preview your changes. From the dropdown list under Preview, you can select a country. The preview is then displayed using the country-specific template, for example, some countries do not use sender addresses or have different paper sizes.
    6. On the E-Mail Disclaimer tab, you can enter a disclaimer or other company-specific legal information.
    This text is appended to the main text body of e-mails that are created when a document is output by the system. It is not possible to create separate language versions of this text; therefore if your company uses multiple communication languages, you should enter all language versions of the disclaimer here.
    7. Click Save and Close.
    Result
    If required, you can now assign the form master template to a company/org unit and/or output channel. For more information, see the Master Template Maintenance Quick Guide.
    Note that master templates can be activated and deactivated for each form template in the Form Template Maintenance view. For more information, see the Form Template Maintenance Quick Guide.

  • How can I change the default templates to from A4 to Letter US?

    Hi,
    I live in Québec, the french part of Canada. Because I use French, iWork think I leave in France, so the default templates are in A4.
    How can I change the default templates to from A4 to Letter US? It seem's impossible. In Pages 06, each language folder had templates. But with Pages 08, it's different.
    Please help.

    Autre façon : Ouvre un nouveau document. Il va être en A4. Dans le menu Fichier--->Format d'impression. Une fenêtre apparaît. Dans la ligne... Taille du papier, tu choisis... Lettre US; tu fais OK. Ensuite tu sauves ce document comme modèle. Menu Fichier----> Enregistrer comme modèle et tu lui donnes le nom, par exemple... USLettre.
    Ensuite, va dans le menu Pages, va dans préférences et dans la fenêtre qui s'ouvre - Préférences générales - tu choisis : Utiliser le modèle... et tu cliques sur Choisir... à droite un peu en bas de Utiliser le.... et là, dans la fenêtre qui va apparaître, tu trouves le modèle que tu viens de faire...USLettre.
    Voilà. Chaque fois que tu vas ouvrir Pages, ce sera USLettre qui sera là par défaut.
    J'espère que ça va te satisfaire.
    Évidemment l'idéal serait de pouvoir changer la template Vierge par une template Vierge US... mais j'ai pas encore réussi.
    Message was edited by: BenwaR

  • How would you change the default template?

    How would you change the default template?

    Hi,
    what do you mean by changing the default template? Do you want to change the standard BEx web template for all web applications? This can and should be done with transaction SPRO, there you can change it to your own (maybe by copying the standard template and fitting it to your needs).
    With regards,
    Daniel

  • How to change the default BC image that shows in the address bar?

    Does anyone know how to change the default BC image that shows in the address bar? I want to swap it out so the client logo shows next to their URL.
    Thank you!

    Hi,
    If you are trying to change the favicon for your site,
    You can do it from Site Manager-> Page template -> Default Template
    Look for the code   <link type="image/x-icon" href="/Path for your image" rel="icon" />, and Click save.
    Now where you will use this template, it will display your favicon for that webpage instead of BC favicon. You can define it on Page directly if you are not going to use template.
    Please let me know if you have any doubt.

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • How to create the web template

    Hi BW Experts,
       how to create the web template.....!
       I just want to know what is the use of Web template. i want to display the report
    in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
    Thanks
    shahina..!

    Hiu2026
    Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
    Go to All programs and select your web application designer
    Select the button to create a new page in WAD
    Select the chart and place in the layout
    Next goto Data provider Target and select your query
    Give your report name in the given data provider screen
    Select your query in History/find/Favourites/Infoareas button
    Select your query in this screen and click OPEN
    Now we can see the data provider is assigned to the chart.
    To edit the chart you have to right click on the chart
    After right click on it we will find another screen where we can edit all the settings
    In this screen we can find NEXT click button to change our settings
    In this screen we can state the tasks (Title, units, values, range)
    In this screen we can change our background /validity/color
    In this screen we can add values to the chart
    In this screen we can add validity/positions/order/axis types to the chart
    In this screen we can change the global settings/and overview of the chart.
    This screen shows that we have customized the chart successfully
    After successful creation of the chart we have to save the chart
    Save your chart in your favorites by giving the description and technical name in the given block.
    Now execute your WAD by selecting the execute button
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6

  • How to change the default workspace polling behaviour

    Here are the instructions on how to change the polling interval in workspace:
    The workspace source project is usually under (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace)
    The file that needs to be modified is SessionManager.as and is under  (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace\ws\Workspace\foundation\src\lc\fou ndation)
    Set the value in a javascript file and then read this from the Workspace app.  You can see an example of this in the same createChannelSet() method wrt the “enableSmallMessages” variable. To do this:
    1- Add the following lines to the workspace-config.js file right after the enableSmallMessages var definition (the js file is in the sdk under (C:\Adobe\Adobe LiveCycle ES2\LiveCycle_ES_SDK\misc\Process_Management\Workspace\ws\Workspace\ui\html-template\js) – note that my example sets it to 10 seconds:
    1- Then in the createChannelSet() method, define a new var with the same name and type=Number and default it to 3000 (to be consistent with the current behaviour):
                   var pollingInterval:Number = 3000;
    2- Then, in the existing block where ExternalInterface.available is true, add the line to read the new value from the js file like this:
                  pollingInterval = ExternalInterface.call(“pollingInterval”);
    3- Set pollingInterval on the channel with:
                 channel.pollingInterval = pollingInterval;
    4- Add this function to the workspace-config.js file
          // pollingInterval is the channelset polling interval in millisecs   
          function pollingInterval()
                return 10000;
    Compile this code and rebuild the workspace war, making sure the war contents contain the updated js file too, and then the polling interval will be read from the js file, making it much easier to change.
    Here is the doc on how to customize workspace: http://help.adobe.com/en_US/livecycle/9.0/customizeworkspaceui.pdf

    Changing the Workspace Polling intervals just got a whole lot easier.  Go to http://blogs.adobe.com/ADEP/2011/08/workspace-polling-in-adep.html for more info.

  • How to change the colour of chart in WAD.

    Hi,
    I have problem with web report. The web report with bar charts used to show with different colours earlier. Now when I execute the web report, the chart displays in single colour (All the rectangular bars in the charts are displayed in single colour say for example red). customer would like to see the chart with different colours. Please put some lights on it how to change the colour of chart in the report.
    Thanks,
    Sravan.

    Hi Krish,
    I have followed the steps which you suggested, but I am unable to see the changes when I execute the web report.
    I could able to see the colour changes to the bars in the chart in the preview (i.e when I select the series 1 and change the colour for series 1 under Area properties). Like that I have done for all the 5 series, then I have clicked on Complete button, saved the web template and executed it, and I could able to see the changes in the preview but not in the report after execution.
    I have two charts in my case, one is <b>Job function</b> chart and the other is <b>Job type</b> chart. The Job function chart is displaying with different colours from the begining, but the job type chart is displays all the columns in RED colour.
    Is there any setting I need to do after selecting the colour at the series level.
    Please correctt me if I am worng in doing the procedure.
    Please update me how to do it...It is usefull if you can come back to me ASAP .
    Thanks,
    Saravanan.
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI
    Message was edited by:
            SARAVANAN PAYANI

  • Anyone know how to change the default font for the new pages? Apparently it does not even come up when I search the 'Help' section of Pages. The level of incompetence in this new version seems breathtaking

    I cannot find how to change the default font in the new Pages. It does not appear in the Help area when I search for it. I am never sing Helvetica for my standard documents and cannot seem to change it. What am I missing? And why does Pages help not have an easy answer?
    dan

    You open a blank template and change the font to you liking. Remember to also get all the styles changed with new font. Then Save As Template. Now you have a template with the font you like.

  • Change the Appraisal Template in Mid of Year.

    Hi All,
    We want to edit the appraisal template which is being used in Production.
    System is allowing to edit the template in development as there are no documents created. Once we transport the change to production what will be the implication.
    Q1. Is it recommended to change the template after it is being used.
    Q2. If really need to edit the template in mid of appraisal process how do we go forward.
    Thanking you in advance.
    Kamal R.
    Edited by: Nalin Jain on Aug 5, 2009 7:41 AM

    Hi Suresh,
    We are on ECC 6.0 and SP 43.
    We need to put some extra fields / Notes to the targets and extra sub statuses to correctly identify the condition.
    But already appraisal process started and documents are created. Now we cannot either create the same documents in new template or postpone the appraisal template change to next year.
    In this situation we decided to change the existing template. We want to know what will be the implications if we change the template in development and transport it to production???
    Download and upload will create a new template which will not be useful for our case.
    Thanking you in advance.
    regards,
    Kamal.

Maybe you are looking for