How can I modify the default jsf template

Hello everyone,I don't like the default jsf template in jdev.I want to change it to this:
<%@ page language="java" pageEncoding="GB18030"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af" %>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh" %>
<f:view>
<afh:html>
<afh:head>
</afh:head>
<afh:body>
     <af:form>
     </af:form>
</afh:body>
</afh:html>
</f:view>
how can i do this?In eclipse,I can modify a file to do this.

Refer
http://technology.amis.nl/blog/?p=1405

Similar Messages

  • How can I modify the default styles or create new ones in pages for IPad?

    Hi, I have recently bought the pages for IPad App. It is nice, but I wonder How to modify the default styles or create My own ones...Can anyone help me?

    Unfortunately, pages on the iPad does not support editing styles. The mac version is an extremely powerful piece of software (I know someone who has recently completed their PhD thesis in it), but the iPad version has only a fraction of the features.
    The only word processor for the iPad I'm aware of that fully provides support for styles is UX Write - see http://www.uxproductivity.com (disclaimer: I've been involved with the development of this app). This is designed for the sort of high-end professional authoring tasks that you can do with Pages for Mac. Customisable styles are one of the most fundamental aspects of this app, and it provides extensive formatting options and the ability to define your own, new, custom styles.

  • 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 can I modify the Contacts Template to display additional fields with out selecting "add field" everytime?

    How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?

    Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
    public int compareTo(Object o1, Object o2)
    The compare method would cast the Objects to HairSalons and return the difference in price.
    Then use java.util.Arrays.sort(Object []);

  • How can I change the default  driver to OracleXADataSource in JDeveloper

    Hello,
    How can I change the default oracle driver: oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource in JDeveloper Studio Edition Version 11.1.1.0.2, Build JDEVADF_MAIN.BOXER_GENERIC_090328.0229.5205.
    If I modify the file connections.xml from jdeveloper\system\system11.1.1.0.31.52.05\o.jdevimpl.rescat2\connections in the sense that I change the driver class, then in JDeveloper when I test my connection I have this problem: Test failed: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver
    Why do I need this XA version of the oracle driver? Well I tried, from a book to reproduce the model of an application: entities, stateless and stateful session beans, mdb, web services and a client to test one part of the model.
    And because of the JMS server I need an XA driver.
    I deployed to the integrated wls 10.3 and when I test my client, if I use the default driver for the connection the an error message appears tell me either to emulate two-phase commit or to use XA driver.
    My application works very well, if I configured in the console of the integrated wls 10.3 a datasource with the same name as my ide/application connection that has for the Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource in the Connection Pool tab.
    Thank you.

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • How do you modify the default Execute thread count in Weblogic Server 9.2?

    How do you modify the default Execute thread count in Weblogic Server 9.2?
    How can you tune the starting number of weblogic.ExecuteThread on server startup and/or set minimum number?
    Is there an option from the console?
    Please let me know.
    Thanks

    Self tuning will automatically manage the threads but however you can still control the min and max by adding the min and max values for each instance either directly adding in config.xml or through JVM settings
    1) Modifying the config.xml
    Just add the following line(s) to each server definition :
    <server>
    <name>AdminServer</name>
    <self-tuning-thread-pool-size-min>100</self-tuning-thread-pool-size-min>
    <self-tuning-thread-pool-size-max>200</self-tuning-thread-pool-size-max>
    </server>
    2) Adding some JVM parameters
    It's safer the following way :
    add the following option in your command line : -Dweblogic.threadpool.MinPoolSize=100
    Regards
    RR

  • How can I modify the logon screen on the portal

    Hi,
    We have designed some BI queries, when we open Query Designer and execute them (CTRL + R) an Internet Explorer open and ask us to log on this BI Portal.
    On this Portal login screen, I can only provide my user name and password.
    We would like the user to be able to select the language and to change is password.
    How can we enable those changes ?
    Thanks,
    Hugo

    Although in iSQL*Plus 9.0.1 you can't modify the default
    login HTML, you can create your own static HTML "login"
    page. Just make sure the correct login credential
    parameters are passed to the iSQL*Plus URL. Your users will
    have to call your new static page instead of the default
    iSQL*Plus login page.
    Copy the HTML from the default login page and change the
    FORM ACTION to include the host and port:
    <FORM ACTION="http://host.port/isqlplus" METHOD="post">
    and change the "Connection Identifier" field to a drop down
    list of the connection identifiers you want:
    <TD CLASS="label">Connection Identifier:</TD>
    <TD>
    <SELECT NAME="sid">
    <OPTION SELECTED>SID1</OPTION>
    <OPTION>SID2</OPTION>
    <OPTION>SID3</OPTION>
    </SELECT>
    </TD>
    Add your own logo, joke of the day, and put it in
    production....
    iSQL*Plus 9iR2 has an option for a drop down list of connect
    identifiers to be configured in the default login screen.
    This allows sys admins to restrict the DB servers that can
    be accessed. No other connect identifiers can be used, even
    from CONNECT commands in scripts.
    On the OTN home page there seems to be an "early access"
    link for down loading the 9i Database R2.
    -- CJ

  • How can I change the default settings in the new pages?

    How can I change the default settings in the new pages?

    Create a new document and change the settings to what you want i.e. Times New Roman, 12 pt. and save as a template from the Edit menu. Then go to Pages Preferences (Cmd +,) and under general change the template to open to your saved template that you want as your default setting.
    Hope that helps.

  • How can I change the default blue colors of Planning web forms?

    Hi,
    how can I change the default blue colors of Planning web forms and the Logon screen colors?
    thanks

    That PDF file mentioned updating file HspCustomImgs_en.template in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\HyperionPlanning\custom folder:
    But for what I needed to do, here's another undocumented file to change color in right side menu: Update global.css file
    in D:\Hyperion\deployments\WebLogic9\servers\HyperionPlanning\webapps\ HyperionPlanning\ui_themes\tadpole

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • Hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Question
    When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
    If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
    davewdan

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

  • How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.

    How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.
    I'm using XP Pro.

    You can find search engines on the Mycroft Project website.
    * http://mycroft.mozdev.org/
    * http://mycroft.mozdev.org/google-search-plugins.html

  • HT3965 How can I change the default Apple ID on and IPad?

    My daughter just gave me her IPod - how can I change the default Apple ID? Every application update comes up with her email address.

    Delete all the applications, sign into the iTunes Store with your Apple ID, and download the ones you want.
    (98113)

Maybe you are looking for