Make a simple template

Hello,
I bought the Core Java Server Faces book and I would like to have an environment similar to the examples given in the book.
What I want to do is I want to make very simple templates with only the basic JAR libraries that I don't need yet.
The problem I'm having is setting up Studio Creator for a very basic environment. Is there a way to strip the IDE of the JDBC, UI components so I can work with the core JSF/HTML tags?
In particular, I want to remove the
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
and the other <ui:/> components from automatically appearing when I try to view the "Design" page.
Is this possible? or sticking to a text editor like vim and gedit the only way to do this?

Get NetBeans from http://www.netbeans.org/.
Java Studio Creator is based on NetBeans, with the addition of advanced features for building web applications. NetBeans is more general purpose, with extensive support for a wide range of Java and related technologies. As your needs become more advanced, see http://developers.sun.com/prodtech/javatools/ for more NetBeans based IDE focused on the needs of different developers.

Similar Messages

  • How to make a custom template the default for Apple Mail (10.7.5)?

    Hi,
    I'm OK with making a new custom template in Apple Mail.  It shows up fine once under "custom" in the stationary pane (and once I take off signature in a new email).  But... that's a lot of trouble to go through everytime I want to send an email.
    So the question is: can I make my custom template my default for all my emails, unless I want to manually change it?  Seems like this should be possible but I can't figure it out and haven't run into any solutions (only on how to make a template).
    Do I really have to select it each time?
    Best,
    Joel

    As an FYI: I just solved the problem by going the "low road." I'll be a bit laborious in case someone else wants a solution at a later date (I know I Googled the topic and found nothing). I experimented by simply:
    Opening a new email message
    Selecting my custom template
    Copying the custom signature (Select All)
    Opening another new email message
    Selecting Edit on the Signature pulldown menu
    Hitting the plus symbol to create/add a new signature in the pane
    Pasting into the new signature
    Naming it
    Selecting "Choose signature" at the bottom of the signatures pane
    And violà!!
    It now appears as a possible selection *and* as the default.
    Better yet - it is now my default and will work as a reply to an email.
    I think I got it all right in the list above.
    OK, granted, this is a pretty simply signature - a list of my website, SoundCloud, twitter etc with those names in bold and a graphic of my color logo - but... it works! YMMV.
    Give it to Apple to make it so simple that any fool could do it (that would be me), you wouldn't need a "specialized" app, and - of course - there wouldn't even be instructions on how to do it!
    Best,
    Joel

  • Make my own template for a one page book?

    I need to make a book template that will appear in the list of possible book designs -- is that possible?
    Secondly -- I want to make a one-page book (call it a poster if you want) it's really a form that I want to print out with a different photo each time. It's actually a casting form/release for models. I want to be able to shoot a tethered photo of model, put it into a one-page form which already has a model release in it and print it out so they can sign it.
    I have not been able to work with any of the existing templates because they won't permit me to reduce the number of pages to one or two. (sure I can always just choose to print one page, but I want to keep all this as simple as possible as it will be casting assistants or studio assistants doing this).
    So my questions are:
    1. Can I create my own Aperture book template?
    2. Can I create a template that is only one or two pages?
    3. Can I enter the model's name, email, phone, etc in metadata and have that print out as a release form for them to sign?
    4. Can I use Automator to make this a "push the button" operation?
    Many thanks and open to all suggestions.

    Never mind. I figured it out already. Can turn off page numbering from the pop-up menu on "book action". Should have just the manual. Thanks.

  • Trying to make a facelets template containing a dataTable

    i'm trying to make a facelets template containing a dataTable. i have several problems, but first i'll show you how i wrote the template, simplified of course (the final template contains much more):
    <ui:composition>     
    <h:dataTable value="#{tableSource}" var="#{vaar}" binding="#{tableBinding}"  id="#{faceletId}">
    <ui:insert />
    <h:column>
        <h:commandButton action="#{modifyAction}" id="modifyButton" value="Modify" />
    </h:column>
    </h:dataTable>
    </ui:composition>ok, this was the template. now i'll show you how i'm "calling it" in my page:
    (simpleColumn is another template i made, which works -has no problems)
    <xyz:myDataTable tableSource="#{mainBean.jobsList}" tableBinding="#{mainBean.jobsTable}" vaar="job"
              faceletId="jobsListTable"   modifyAction="#{mainBean.actionTodo}">
    <xyz:simpleColumn headerTitle="Nume job" faceletId="jobName" fieldValue="#{job.name}" />
    </xyz:myDataTable>ok so here are my problems:
    1 - i write "#{job.name}" to add a column with that value, but i get an error that the property "name" does not exist in type java.lang.String.
    how do i fix this? i understand the problem ("job" is not defined as a variable, but as the simple string) but i don't know what to do
    2- i write "#{mainBean.actionTodo}", and the function actionTodo() certainly exists in that bean, but i get an error that the property "actionTodo" is could not be found in that bean (i guess it's looking for a property, not a function). but why, it's in the "action" property of a submit button, so it should not be this way. how can i fix this?

    seeing your answer, i don't think you've used facelets. the id's are not the issue here, they work fine. and besides, they're not variable.
    i'm asking about the other two issues. what's the part that you don't understand? there isn't any more code than this, other than the template for xyz:simpleColumn, which isn't important anyway, since it works ok.

  • How to make a draft/template of a transition

    Hello,
    I'd like to know how to make a draft/template of a transition in adobe premiere pro cs 5.5.
    Is this possible and if it is, how can I do it?
    Thanks

    You can't. You can copy and paste a transition, though, if you target the destination track. You can also change your default transition (right-click the transition you want in the Effects panel) and the default transition duration (Edit > Preferences > General) and apply that one by one or to a group of clips by selecting them and going to Sequence > Apply Default Transitions to Selection.
    And, make a feature request: Adobe Feature Request/Bug Report Form

  • I cannot make a simple purchase of a $.99 of Beethoven's 9 symphony 4th Movement. When I click on the orchestra, a pop-up states "connecting - loading" and nothing happens. When I click on "View iTunes" for this selection, nothing happens.

    I cannot make a simple purchase of a $.99 of Beethoven's 9 symphony 4th Movement. When I click on the orchestra, a pop-up states "connecting - loading" and nothing happens. When I click on "View iTunes" for this selection, nothing happens.

    AlexCarey, I've been having issues purchasing recently and place a number of calls to the support team. On Oct. 5th, and on my own decision, I went into my itunes profile and re-entered my credit card expiration date and security code. (Notice, it is not displayed for safety measures.) Today, I received an email from Apple support verifying if I made changes made to my account. For the heck of it, I logged back into itunes; click "Buy". It's working again after three days of failure. However, diagnosis still displays "Secure link to itunes store failed". Very confusing state of affairs, lately. See my post on "Itunes dilemma"

  • How can I make a blogger template in DW?

    I generally know how to use DW, and I am still learning. I
    was hoping to make a Blogger template for my new blog. I know that
    it's a CSS heavy thing, which is fine. I guess I just wondered, can
    I just make a template and import it and still have the same
    functionality that blogger gives me? Do I have to do anything
    special?
    Thanks

    Welcome to Apple Support Communities.
    Open Mail, Help
    So, create your template from scratch or edit an existing Mail template and re-save it with a new name.
    Your own saved or edited/re-saved templates are stored in the Custom list at the bottom of the Stationery types.
    The default templates remain with original names in the original folders.
    Then to use your template in a New Message, select it from Show Stationery, Custom.
    To make it easier to select Stationery templates, first open Mail, New Message, View, Customize Toolbar, and then drag the Show Stationery button to the New Message toolbar. (It will not ever appear in the default Mail toolbar, only the New Message toolbar, and can only be added to the New Message toolbar.)

  • How can i make a simple app?

    Hi,  i just became an apple develiper,  Im wondering how to make a simple app like a "flashlight" like app,  Can anybody help me out?  would i have to start from scratch or could i use someone else's start??

    Use your logon to the iOS Dev Center and see this links:
    iOS Human Interface Guidelines
    iOS Starting Point
    Start Developing iOS Apps Today
    App Development Overview
    App Store Review Guidelines for iOS Apps
    Your First iOS App

  • I want to make a simple line chart

    i want to make a simple line chart using the data in two nonadjacent columns.
    it seems that the easiest way to do this is to export the sheet to google docs and use THEIR charting, which is a two-click deal.
    is there an easy way to do this in numbers?
    my impression:
    numbers:
    very fancy, super pretty, easy to modify APPEARANCE, difficult to use actual charts. custom paint job on a junker
    googledocs:
    available everywhere, basic, more difficult with actual data flexibility, but you can use what you've got.
    the whole emphasis on numbers seems to be how pretty i can make displays, but not a lot of emphasis on making it easy to make things work.
    can anyone shed some light on how to make this simple instead of pretty?

    You can definitely use the technique I mentioned to order the columns to make it easy to chart:
    Here I created a table (the top one) to hold the original data and make a second table (the lower one) to pull data into two adjacent columns:
    The bottom table, as I said pulls data from the top data table:
    Then highlight the data in the table to chart, and selec the chart type from the menu (I suggest the bar chart which is the first item in the chart tool menu):
    I made up this data and mean it to be no reflection on your running ability 

  • Im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    im trying to make a simple 360 rotation for a 3d logo in CC 2014 but when i tried to create the 1st key frame the image when out axis

    I find that if you have multiple 3d object  they must be merged into a single 3d layer their positions reset to align to the same axises then sized and positioned along them. The layer should then be able to be animated well around an axis like the y axis. Here a Sphere, Cylinder and ring. http://www.mouseprints.net/old/dpr/McAssey-CC.mp4

  • How do i make a simple title in fcpx?

    okay stupid question, how can I make a simple title without any preadjusted parameters/animation/etc..?

    Use the Custom title.

  • Howto make a simple connection?

    hi,
    I'm quite new to JDev, so I downloaded the 10.1.3 preview. I'm here with a copy of the book '10g PL/SQL Programming' by Scott Urman.
    In chapter 2.2.1 it is described how to use JDev to make a simple connection to the DB and debug a PL/SQL script.
    But I just cant find the Connection Wizard?! I can only create a connection to a CVS server in my JDeveloper.
    Any hints? thx!

    Which version of JDeveloper 10.1.3 did you downloaded?
    You need the J2EE packaging (not the core Java one) if you want to have the DB connection.

  • Simple Template Help

    Hello, I hope someone can help, I need some help. I'm a
    dreamweaver newbie. Came over from Frontpage.
    I am trying to make a flexible template and I'm having
    problems. I've watched the adobe video on templates but this hasn't
    helped me out.
    I'm working on a portion of my website that will have
    multiple pages with the same header AND the same drop down menus. I
    am trying to build the editable region of my template with tables.
    I want one table to be a 2 column, 2 row table. One of the columns
    is reserved for Google ads. and the other column I want to be
    "editable" with text and photos.
    My problem is that I am not able to get the freedom I want in
    my editable regions. I want to be able to add more tables within
    the editable cells. I'm just NOT getting the flexibility I need in
    the editable regions of my template. Help!!! I've been trying to
    build this for hours without getting it figured out.
    Appreciate any advice and I will gladly add more details if
    necessary. Here is the page I'm trying to make a template out of.
    http://www.alaskaadventurejournal.com/InsidePassage2008.htm

    > Hello, I hope someone can help, I need some help. I'm a
    dreamweaver
    > newbie.
    > Came over from Frontpage.
    Be aware that DW will 'expect' you to know lots more about
    HTML and CSS than
    FP did. That transition may be rocky for you.
    For your page -
    <html>
    <head>
    You're going to want to have a doctype there! Without it,
    your page will
    render in quirks mode - a very bad thing. Try adding this
    above the <html>
    tag -
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"
    http://www.w3.org/TR/html4/loose.dtd">
    Umm - you can remove this -
    <meta name="GENERATOR" content="Microsoft FrontPage
    4.0">
    <meta name="ProgId"
    content="FrontPage.Editor.Document">
    <meta name="Microsoft Border" content="tl, default">
    Now tell us -
    > My problem is that I am not able to get the freedom I
    want in my editable
    > regions. I want to be able to add more tables within the
    editable cells.
    What is preventing you from adding these tables? This should
    be a piece of
    cake. And why do you have so many optional regions?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JJS IN AK" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello, I hope someone can help, I need some help. I'm a
    dreamweaver
    > newbie.
    > Came over from Frontpage.
    >
    > I am trying to make a flexible template and I'm having
    problems. I've
    > watched
    > the adobe video on templates but this hasn't helped me
    out.
    >
    > I'm working on a portion of my website that will have
    multiple pages with
    > the
    > same header AND the same drop down menus. I am trying to
    build the
    > editable
    > region of my template with tables. I want one table to
    be a 2 column, 2
    > row
    > table. One of the columns is reserved for Google ads.
    and the other
    > column I
    > want to be "editable" with text and photos.
    >
    > My problem is that I am not able to get the freedom I
    want in my editable
    > regions. I want to be able to add more tables within the
    editable cells.
    > I'm
    > just NOT getting the flexibility I need in the editable
    regions of my
    > template.
    > Help!!! I've been trying to build this for hours without
    getting it
    > figured
    > out.
    >
    > Appreciate any advice and I will gladly add more details
    if necessary.
    > Here
    > is the page I'm trying to make a template out of.
    >
    http://www.alaskaadventurejournal.com/InsidePassage2008.htm
    >

  • JDialog Problem: How to make a simple "About" dialog box?

    Hi, anyone can try me out the problem, how to make a simple "About" dialog box? I try to click on the MenuBar item, then request it display a JDialog, how? Following is my example code, what wrong code inside?
    ** Main.java**
    ============================
    publc class Main extends JFrame{
    public Main() {
              super();
              setJMenuBar();
              initialize();
    public void setJMenuBar()
         JMenuBar menubar = new JMenuBar();
            setJMenuBar(menubar);
            JMenu menu1 = new JMenu("File");      
            JMenuItem item = new JMenuItem("About");      
            item.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                  // About about = new About(this);
               // about.show();
            menu1.add(item);
         menubar.add(menu1);
    public static void main(String args[]){
         Main main = new Main();
    }** About.java**
    =============================
    import java.awt.*;
    import javax.swing.*;
    public class About extends JDialog{
         JPanel jp_top, jp_center, jp_bottom;
         public About(JFrame owner){
              super(owner);
              setDefaultCloseOperation( DISPOSE_ON_CLOSE );
              Image img = Toolkit.getDefaultToolkit().getImage(DateChooser.class.getResource("Duke.gif"));          
              setIconImage( img );
              setSize(500,800);
              Container contentPane = getContentPane();
             contentPane.setLayout(new BorderLayout());           
             contentPane.add(getTop(), BorderLayout.NORTH);
              contentPane.add(getCenter(), BorderLayout.CENTER);
              contentPane.add(getBottom(), BorderLayout.SOUTH);
              setResizable(false);
               pack();            
               setVisible(true);
         public JPanel getTop(){
              jp_top = new JPanel();
              return jp_top;
         public JPanel getCenter(){
              jp_center = new JPanel();
              return jp_center;
         public JPanel getBottom(){
              jp_bottom = new JPanel();
              jp_bottom.setLayout(new BoxLayout(jp_bottom, BoxLayout.X_AXIS));
              JButton jb = new JButton("OK");
              jp_bottom.add(jb);
              return jp_bottom;
    }

    Code looks reasonable except
    a) the code in the actionPerformed is commment out
    b) the owner of the dialog should be the frame
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • How to make a simple Pc Speaker sound output?

    Hello,
    how can a make a simple PC Speaker sound output like the standard beep for errormessages?
    Can anybody help me?
    Thanks,
    Alex

    Use this:Toolkit.getDefaultToolkit().beep(); or this: System.out.print("\0007");
    System.out.flush();

Maybe you are looking for

  • I went swimming but forgot to take my iPhone out of my pocket, how can i get it back working?

    hello everyone, i went swimming today but i forgot to take my iPhone out of my pocket, it was only about a minute in the water, but still it can't be good. I haven't touched anything to avoid damage. The screen is withe on the upper edge, behind the

  • Wallpaper in iOS 4

    So in OS 3 you have no wallpaper on the home screen. In 4 you choose one, but how do you go back to no home screen wallpaper?

  • Im going Crazy!! Need Help Fast!!

    I cannot Get Videos On my ipod and im Loosing my mind!!! can some one please Try and help me!! ive hit rock Bottom with this one!! no one can seem to help me!!

  • Photoshop CS5 Crashes when saving...please help!

    Someone please help...this is driving me crazy. Photoshop randomly crashes when I try to save...specifically I see it happen when I do ctrl+S and it only seems to happen on my first save. If my first save is successful all other saves for that docume

  • Anyone else notice this instance bug with components?

    This seems to affect all components. It seems to work if the instance names are left out or if they are both the same. Try this: Put a button on frame 1 and a button on frame 2 (it doesn't matter if you duplicate the button for frame 2 or add it to a