How do you make JSF draw frame in browser w/o JSP & HTML ?

Hi all,
I already have small web application which uses HTML & JSP and I want to convert it to JSF based application.
I've read O'Reilly JSF books written by Hans Bergsten and in Chapter 15 he states that you can use pure Java classes only (without JSP & HTML) in your web application.
My web application contains some frames. Since I only want to use pure Java classes using JSF what component should I use to draw frame ?
I use MyFaces implementation of JSF.
Any advice would be greatly appreciated.
Best Regards,
Setya

I don't know anything about myFaces, but as far as I know, there is no component to draw frames. The JSF book you read is correct to a degree... It's possible to write completely with JSF tags, but it can be cumbersome sometimes.
To output frame tags using a JSF tag, you can use one of two methods.
First, you can use the outputText tag with escape attribute set to false.
<h:outputText value="<FRAMESET blah blah blah>" escape="false" />The second way is to just wrap HTML in f:verbatim tags.
<f:verbatim><FRAMESET blah blah blah></f:verbatim>If using the second method, be careful not to have any other JSF tags inside the f:verbatim tags.
Hope this helps,
CowKing

Similar Messages

  • How do you make firefox NOT your default browser?

    I accidentally made Firefox my default browser thinking that you could change it back to not default. Is there a way to make a browser other than Firefox default when Firefox is currently default? (i.e. i want to know how to un-default Firefox.)

    I found an answer to this question at https://support.mozilla.com/en-US/questions/761175.
    Don't mess with the registry keys, this part worked for me:
    Check the default settings in:
    Control Panel > Add/Remove Programs > "Set Program Access And Defaults" (on the left)
    Open: Custom (click arrow on the right)
    Select "Internet Explorer" under "Choose a default Web Browser"
    Click OK

  • How do you make a clip move on a frame

    how do you make a clip move on a frame

    777
    It is not clear what you are asking about. Could explain another way?
    Please start with what version of Premiere Elements you are working and on what computer operating system it is running?
    From what you wrote, I am not sure if you are saying
    a. The Timeline Indicator is stuck and will not more from left to right when you try to play back the Timeline content in the Edit area
    or
    b. You want to create an animation
    or
    c. You are doing a Picture in Picture (PiP) and want the picture (or video insert) to move to different locations within the frames over the course of
    time.
    or
    d. Other
    We will be looking forward to your clarification with details so that we can give you the information that you seek.
    Thank you.
    ATR

  • How do you make photos vertical in iPhoto calendar?

    When making a calendar in iPhoto, and you choose 6 or 7 photos to be displayed on that month, how do you make the 4 little photos vertical?

    You can't change the frame.  But you can Control-click on the photos and select Fit Photo to Frame Size and it will reduce the size of the photo so the entire portrait photo will display in the frame.  The excess background will be the same color of the page's background.
    Happy Holidays

  • How do you make images transparent in inDesign?

    How do you make images transparent in Adobe InDesign CS5.5?

    Dittco wrote:
    It IS possible: Select the image. Open effects (Window > Effects). Switch from "normal" to "multiply". Viola! White background is gone.
    That only works with a white background. In addition, it introduces a transparency effect, with its associated problems.
    With a rather light background: Select the image. Open clipping path (Object > Clipping Path > Options). Select Type > Detect Edges; use Threshold and Tolerance to get as close as possible to the edge of your image. This may be difficult because of a too low resolution image, or too much fringe on the edge -- if all fails, use the Inset Frame value to force the mask "into" the image. Click OK, and the background is gone.
    But that's not the only way: you can always create a clipping path manually, and then you are in total control, not limited by transparency side effects, auto-edge detection, and busy backgrounds.

  • How can I make a drawing stable and not disappear?

    When I draw some shapes in a panel, if another window goes over the panel, then the drawing disappears and I have to draw it again.
    How can I make the drawing stable?

    Encephalopathic wrote:
    Of course you've read the graphics tutorials, and you are doing all of your drawing in a paintComponent(Graphics g) method override, correct?Encephalopathic is correct. If you want the stuff you draw to persist, you should override paintComponent() and redraw everything there. Just because you've drawn something on a component once (say, a line or an Image) does not mean it'll be redrawn the next time the component needs to be painted. You have to re-draw your custom stuff every time a repaint event is sent to the component, and that means overriding paintComponent().
    If your component will have lots of custom painting done to it (such as if you're making a MS Paint-style program), you might want to consider drawing to a BufferedImage, then in your component's paintComponent() override, just rendering the BufferedImage. Check the documentation for more details.

  • How do you make a title just fade away

    I would like to put a still frame title into a clip, and instead of having it just be on the screen one second and a few seconds later instantly be gone, I would like to make the title slowly disapear into nothingness?  Anyone know how to do that?

    Yes, I'm very sorry. I keep forgetting that Encore and PPCS4 are separate programs. Yes, you do indeed create fading titles in PPCS4. I finally figured it out today. All that is necessary is to Put the new title on the timeline. Then place the timeline indicator bar, or whatever that thing is called, at the front of the title box on your timeline. Open up the effects control box, and expand the opacity box. Click the little diamond on the right side, and this will add a keyframe to the beginning of your title. Go to the end of the title box and click the diamond again to add a key frame to that end. Then just grab the keyframe on the right and pull it down. The title will disappear over the length of the time that it is on your screen.
    Thank you Hunt. Also thank you for the advice about the book. I do appreciate it.
    Terry Lee Martin
    Date: Mon, 10 Aug 2009 20:36:49 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you make a title just fade away
    Terry,
    I could be wrong, but isn't this something that one would do in PrPro?
    Now, if one wanted a Menu (in Encore) to "fade away," they could create (in PrPro) a Button Transition to do that.
    Good luck,
    Hunt
    >

  • How do i make the old frame dissapear when i click a button for a new frame

    I have a program were you have 2 buttons in a frame. When you click on a choice a new frame pops up with another choice. I wanted to know how can i make the old frame dissapear after the user makes the choice and the new frame has come up?
    Thank you,
    Dan

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Frame extends JFrame implements ActionListener
         private JButton Three;
         private JButton Four;
         private JButton One;
         private JButton Two;
         static int num = 0;
    public Frame()
         JPanel p1 = new JPanel();
    getContentPane().add(p1);
         if(num == 0)
         p1.add(One = new JButton("Admin"));
         One.addActionListener     (this );
         p1.add(Two = new JButton("Buy"));
         Two.addActionListener     (this );
    if(num == 1)
         this.dispose();
         p1.add(Three = new JButton("Password"));
         Three.addActionListener (this);
    if(num == 2)
         p1.add(Four = new JButton("Product-ID"));
         Four.addActionListener(this);
    public void actionPerformed(ActionEvent e)
         if (e.getSource() == One)
              num = 1;
              Frame g = new Frame();
              g.pack();
              g.setVisible(true);
    if (e.getSource() == Two )
                   num = 2;
                   Frame h = new Frame();
              h.pack();
              h.setVisible(true);
         if(e.getSource() == Three )
              System.out.println("Password");
         if(e.getSource() == Four)
                   System.out.println("Product-ID");
    public static void main(String[] args)
         Frame frame = new Frame();
    frame.pack();
    frame.setVisible(true);

  • How do you make ruler display ticks every 12 inches instead of every 16 inches?

    Hi all,
    How do you make ruler display ticks every 12 inches instead of every 16 inches?

    I just wish that common features like layers, color, swatches, styles, masks, adjustments, character, paragraph and so on - looked and functioned the same across adobe applications. Is that too much to ask for?
    In some cases, that would be absurd. Photoshop and Illustrator are fundamentally differerent environments, as they should be. Photoshop Layers and Illustrator/InDesign Layers are entirely different things, because a vector drawing program works with arranging OBJECTS (raster images, vector paths, text objects) in a Z stacking order and XY position. A Photoshop Layer is essentially just another raster image of the same pixel count as all the others, viewed optionally opaquely or transparently on your screen. It would be ridiculous if Photoshop created a whole new raster image every time you colored another selection of pixels. It would be ridiculous if Illustrator created a new Layer everytime you draw a new path.
    Regarding text, Photoshop and Illustrator share the same lame text engine. Illustrator's should be like InDesign's, not like Photoshop's.
    And that is a good case-in-point negating the silly defensiveness of Illustrator's outdated and buggy functionality. Illustrator's text handling remains poor today. But it was not updated even to today's treatment until CS 1. For most of its history, its text handling was pathetically primitive compared to that of other programs which were designed for exactly the same purpose and which competed directly with it. Should one "defend" that fact with some nonsensical argument that 'Illustrator is not meant to be a word processor'?
    It was not until AI10 that its print dialog acquired a simple Fit To Page command. You had to manually figure and enter a scale factor, and that was limited on the low end to 25%. Can that logically be "defended" on the basis that 'AI is not an imagesetter'? Every dang software on the planet provides a Fit To Page print option!
    This "It's not a technical illustration program" argument is every bit as nonsensical. Every one of Illustrator's direct competitors provides for user-defined drawing scales, and has for decades. Illustrator is just as "technical" a drawing program as those others are. It's just particularly lame at it in this regard. And since when is "technical" illustration not "illustration"? And since when is user-defined drawing scale only needed for "technical" illustration? Absolutely ridiculous.
    So what if in its infancy Illustrator was a tool for PostScript workflow? Illustrator's leading competitor for most of its history, FreeHand, was initially based on the path drawing engine of a font design software. But when it went to market as a general illustration tool, it blew the functional and interface doors off Illustrator, and continued to do so throughout its history.
    The simple fact is this: Throughout its history, Illustrator never kept up with the basic drawing features, interface refinements, and performance of its direct competitors. Its market share is primarily due to its carrying an Adobe label--and to the absurd defensiveness of too many of its users who have next to no experience with anything else.
    Ilustrator, Indesign and Photoshop share about 90% of the same functionality.
    Where do you get that?
    Photoshop's primary purpose is fine-tuning of raster imagery, especially photography. You don't do sophisticated color correction, channel operations, sharpening, etc., in Illustrator or InDesign. That's what I would call its "90% functionality."
    InDesign's primary purose is automation of repetitive assembly tasks and text handling in high page-count documents. You don't do master pages, indexes, tables of contents, constant spooling the hard disk, hundreds of externally linked raster and vector files, chapters-long threaded text stories in Illustrator or Photoshop. That's what I would call its "90% functionality."
    Illustrator's primary purpose is general-purpose vector drawing (which most certainly includes many kinds of 'technical' illustration) using cubic Bezier curves, and page-assembly for low page-count, illustration-intensive documents. That's what I would call its "90% functionality."
    Now ask yourself: Should programs fundamentally structured for different primary purposes necessarily share the same interface? I say no, not necessarily. Example: The mere use of the same term (Layers) in Photoshop and Illustrator for what are fundamentally two different things has led to a gross misunderstanding on the part of Photoshop users who are Illustrator beginners, which is repeated here in this very forum almost every day.
    Ask yourself this: Should unyielding adherance to the organizational dictates of Adobe's so-called "unified" interface be allowed to result in a palette flyout menu in InDesign that contains only one option? Is the very concept of a 'menu' not fundametally antithetical to a single choice? Is that not just poor interface design, regardless of whether it "matches" that of the other programs in the so-called "suite"? (Frankly, I find Adobe's over-use of flyout menus--which effectively HIDE important options--generally both ill-conceived and poorly executed.)
    No, there simply is no excuse for Illusrator's still lacking user-defined drawing scales, just as there was no excuse for its lacking multiple pages for two full decades, just as there is no excuse for its still lacking reliable snaps, connector lines, live shape primitives (!), proper arc-drawing, proper corner rounding, inline graphics, auto-fitting textframes, the ability to join multiple paths at once, (note that NONE of those can be called specifically "technical" drawing features) and a plethora of other functions that are bare-bones basic to vector drawing. The programs is just archaic and outdated in all these regards, and that's all there is to it.
    JET

  • How do you make a web browser?

    I would like to make a Web Browser of my own but how did you make FireFox?

    Read this:
    http://thepattysite.com/window_sizes1.cfm
    You don't want to try to launch your site to full screen,
    honest, as you'd
    drive your (potential) visitors away.
    Jo
    "Steve Zavodny" <[email protected]> wrote in
    message
    news:escrfa$s7$[email protected]..
    > How do you make a web browser launch your site to a
    specific size or even
    > full screen?
    > Thanks...

  • How do you make superscripts and mathematics in Preview's text annotation?

    When adding text annotations that include scientific notations, how do you make superscripts, e.g. "3.2 × 10^{-23}"?
    Searching Help for 'superscript' turns up nothing, suggesting the command does not exist, as it does under Baseline etc. in iWork. Please tell me this is not the case! If it is, has the situation been improved in the new operating system?
    A related issue: I wish to include other mathematics -- is there a way to include mathematics similar to LaTeX? Might Preview incorporate using latex code in the future, so I can easily type "\exp{-\lambda t}" etc and have the math appear?
    I'm adding text annotations to PDF lecture notes in Preview, basically filling in blanks the instructor has left so students will pay attention in class, and these annotations include superscripts; I wish to format properly.
    Thank you!

    Once you have the circle shape displayed, long press on the border of the circle. Once it is highlighted, drag horizontally or vertically. This should allow you to distort the circle into an ellipse (or the square into a rectangle).
    Hope that helps,
    Frank
    Sketch Engineering

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How can you make the iPod tell the diff between a movie and music video

    Greetings!
    How can you make iPod tell the difference between a Music Video and Movie? Everything I put up on the iPod falls into Movie. So is it something I have to do in iTunes?
    Thanks for the help!

    Rightclick the video in iTUnes, hit Get info then the "Options" tab. Beside kind you can set it to movie. music video. or TV show

  • How do you make the sentences you input in a drop down list wrap to the next line?

    How do you make the sentences that you input in a drop down list to wrap to the next line?

    You can't.
    see this thread for more info:  Can you set drop down list as multi-line???

  • HT204053 I have multiple devices used by family members, how do you make sure the kids don't see Moms messages from Dad and visa versa?

    I have multiple devices used by family members, how do you make sure the kids don't see Moms messages from Dad and visa versa?

    Hi Roger:
    Thanks for the reply.  I think I figured out the problem.  Apple has confused (at least in my mind) the different IDs that people can have.  In the iCloud settings, they use the term Apple ID and not iCloud ID.  I guess there really is no such thing as an iCloud ID.  There are Apple IDs with various attributes.  This is not clearly explained or easy to see (how could I look up to see if my Apple ID is associated with iTunes for example?).
    I created, what I thought were iCloud IDs for each family member, but we all use my Apple ID for iTunes.
    One other question - why does the syncing of Notes using iCloud require an @me.com email account.  That makes no sense to me.
    Thanks for your help!
    AO

Maybe you are looking for

  • Wi-fi on iPod touch is grayed out

    After restoring factory settings to my 3rd generation iPod touch, the wi-fi was grayed out along with iCloud, email, twitter, navigation, etc. I'm in the process of restoring it again and hopefully the newest update of 5.1.1 will fix the problem.

  • Bonjour - Connect Windows 7 to external hard drive on Airport Extreme

    I have to use a laptop with windows 7 for work and I want to back up to a hard drive that is connected to my airport extreme station. I downloaded the bonjour print services and I had the printer set up in a minute. I can't figure out how to connect

  • Page Up and Page Down

    How do I make the PageUp and PageDown keys work in Forms6? I've just read in previous postings that you need to use Oracle Terminal and some patches but those postings were a few months back. Before I try what those posting suggested, are there any u

  • What happends when there is an "x" showing in the battery and is not charging when the charger is connected?

    on the top right hand corner where the date and time and sound and wifi and battery symbols are, i have my battery symbole set up to show me how much battery life i have by how full the battery icon is, but how instead there is a little "x" icon int

  • Give iView as link in portal content area

    Dear All, I have divided my portal content area into 4 section. In one section i got my GP process. I have created the process as iview. I have tried to give this iview link to the end-user to open the process. Is it possible to bring iview inside on