GUI/Formatting question

I have a page where I want to display an image at the top, a scrollable panel in the middle, and a button at the bottom. I get all of these components, but they are all inside of the scroll panel and I don't understand why.
Here is the code:
<f:view>
        <html lang="en-US" xml:lang="en-US">
            <head>
                <meta content="no-cache" http-equiv="Cache-Control"/>
                <meta content="no-cache" http-equiv="Pragma"/>
                <title>DisplayDiagnosis Title</title>
                <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
            </head>
            <body style="-rave-layout: grid">
                <h:form binding="#{DisplayDiagnosis.form1}" id="form1">
                    <h:panelGrid binding="#{DisplayDiagnosis.centeringGridPanel}" columns="1" id="centeringGridPanel">
                        <h:graphicImage binding="#{DisplayDiagnosis.image1}" id="image1" value="resources/suresmileLogo.JPG"/>
                        <h:panelGrid binding="#{DisplayDiagnosis.diagnosisPanel}" columns="3" footerClass="" id="diagnosisPanel">
                            <div style="height: 250px; width: 400px; overflow: auto">
                            </div>
                        </h:panelGrid>
                        <h:panelGroup binding="#{DisplayDiagnosis.groupPanel1}" id="groupPanel1" style="height: 50px; width: 100px">
                            <h:commandButton binding="#{DisplayDiagnosis.button1}" id="button1" onclick="history.back(); return false" value="Back"/>
                        </h:panelGroup>
                    </h:panelGrid>
                </h:form>
            </body>
        </html>
    </f:view>How should this look in order to get the image above the scroll panel and the button below it?
Note that I tried surrounding the DiagnosisPanel (the only one I want to scroll) with the div tag, but that didn't do what I expected.
In short, how do I get the DiagnosisPanel to be the only thing that scrolls?
Thanks.

Well that didn't come out too well (the code tag didn't seem to work right).
Here is my question posted on another site (JavaRanch) where everthing can be read correctly:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=82&t=000546

Similar Messages

  • Landscape formatting question

    Can anyone help me with a formatting question? I have a number of PDFs that are landscape format. Every time I open them they default to portrait, even when I change orientation in page set-up and re-save...

    You are only changing the view, not the pdf. Use the Rotate command in the Document menu, not the view menu.

  • Locale Formatting question

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

    Locale Formatting question
    In the preceding code the number 50 represent currency.
    The output of NumberFormat is 50 with the local symbol
    The output of DecimalFormat is 50.00 without the local symbol
    The question is how to show 50.00 with the local symbol ???
    import java.text.*;
    import java.math.BigDecimal;
    public class LocalFormating {
    public static void main(String[] args) {
    NumberFormat nf = NumberFormat.getCurrencyInstance();
    DecimalFormat decfs = new DecimalFormat("#,##0.00");
    BigDecimal anumb = new BigDecimal(50);
    String temp = nf.format(anumb);
    System.out.println("local anumb = " +temp);
    String temp2 = decfs.format(anumb);
    System.out.println("Decimal format anumb = " +temp2);

  • Cascading lookup format questions

    Hi everyone,
       I have a couple of questions regarding formatting the cascading look up fields.  I have a list that filters classes and mnemonics by educator which works fine however on the entry form, when the "Educators" drop down menu is changed,
    a secondary description box appears. The question is, how do I get rid of that secondary description box?
    The second formatting question is that when I have filled out the form, on the edit entry form, there is a hyperlink to the list that the cascading lookup is using as a reference. How do I get rid of that link? See image 002 below

    It's not easy to understand the question, please attach the image here.
    if you mean to achieve a cascade lookup in SharePoint new/edit form, after selecting one column, the cascaded column below will show with filtered value, otherwise, the column is hidden, you may consider to use JavaScript/JQuery to show/hide the second column,
    following is an article about how to use cascaded lookup in SharePoint:
    http://www.sharepointboris.net/js/spcd/
    Qiao Wei <br/> My blog:http://blog.goobol.com

  • Adding loops and loops format question

    Hi, i've been facing difficulties adding loops into my GB. My problem is: "Loops do not appear in my loop browser nor the loop list from the silver loop bar above the browser".
    Yes, forgive me for asking this repeated question but after checking the help tutorial, my personal GB guide books, and even HangTime's FAQ, sadly, i still dont find any answers.
    Generally, the procedure is pretty simple from all the sources i've read. Simply drag the folder or loops into the browser and thats DONE right? I did exactly what it said but sigh...maybe there's something wrong with my Macbook?
    For your information, all the loops that i've been adding are loops from CDs coupled with FutureMusic and ComputerMusic magazines, so i believe the sources are pretty reliable i hope.
    As i was struggling to add the loops, this msg popped up for the first time; "Loops that are not in Apple format will not be added into GB"
    So, is the loop format the main cause of my problem?
    if yes, is there any way to convert the format? what is the procedure?
    ps: My current status is, some loops i added are in my browser while some dont although they exist in User/Library/Audio/AppleLoops/UserLoops.
    Thank you in advance.
    Peace

    So, is the loop format the main cause of my problem?
    likely.
    if yes, is there any way to convert the format? what is the procedure?
    apple's loop utility:
    http://www.bulletsandbones.com/GB/GBFAQ.html#looputility
    also note:
    http://www.bulletsandbones.com/GB/GBFAQ.html#missingloops

  • Converting from PDF directly to Java Objects/XML (and PDF format questions)

    Hi,
    I posted this originally in the Acrobat Windows forums but was told I might have more luck here, so here goes:
    I am desperately trying to find a tool (preferably open source but commercial is fine also) that will sit on top of a PDF and allow me to query it's text for content and formatting (I don't care about images). I have found some tools that get me part of the way there, but nothing that seems to provide an end-to-end solution but is quite lightweight. My main question is WHY are there so many tools that go from PDF to RTF, and many tools that go from RTF to XML, but NONE that I can find that go PDF to XML.
    To clarify, by formatting I simply mean whether a line/block of text is bold/italic, and its font size. I am not concerned with exact position on the page. The background is that I will be searching PDFs and assigning importance to whether text is a heading/bodytext etc. We already have a search tool in place so implementing a pure PDF search engine is not an option. I need a lightweight tool that simply allows me to either make calls directly to the PDF OR converts to XML which I can parse.
    Some tools I have tried:
    1) PDFBox (Java Library) - Allows the extraction of text content easily, but doesn't seem to have good support for formatting.
    2) JPedal (Java Library) - Allows extraction of text content easily, and supports formatting IF XML structured data is in the PDF (not the case for my data).
    3)  Nitro PDF (Tool) + RTF to XML (script) - This works quite nicely and shows that PDF to XML is possible, but why do I have to use 2 tools? Also, these are not libraries I can integrate into my app.
    4) iText (Java Library) - Seems great at creating PDFs but poor at extracting content.
    I don't really expect someone to give me a perfect solution (although that would be nice!).
    Instead, what I'd like to know is WHY tools support PDF to RTF/Word/whatever retaining formatting, and other tools support RTF to XML with the formatting information retained. What is it about PDF and RTF/Word that makes it feasible to convert that way, but not to XML. Also, as I found in 3) above, it is perfectly feasible to end up as XML from PDF, so why do no tools support this reliably!
    Many thanks for any advice from PDF gurus.

    XML doesn't mean anything - it's just a generic concept for structuring
    information.  You need a specific GRAMMAR of XML to mean anything.  So what
    grammar would you use?  Something standard?  Make up your own?
    However, there are a number of commercial and open source products that can
    convert PDF to various XML grammars - SVG, ABW, and various custom grammars.
    But the other thing you need to understand is that most PDF files do not
    have any structure associated with them (as you saw when using JPEDAL).  As
    such, any concepts of paragraphs/sections/tables/etc. Are WILD GUESSES by
    the software in question.

  • And a partition in a pear tree...format question

    Well, I've spent almost an hour of my life I won't get back. Trying to archive an iDVD project (33gb) from internal hard drive to new Lacie 160g external. Keep getting "Error in archiving project" message. Even though I was able to copy some large folders onto the drive, with no problem, iDVD doesn't like that the drive is apparently formatted to FAT. I assume. Whatever. Okay, I'll play: I'm ready to reformat the drive. Understand HOW....but that's not the question....
    "You can choose up to eight partitions." Okay, Eight. How about seven? Why not 1,000? How do I, as the APPLE tech support docs says, "choose the number of partitions I want" if I don't have a clue as to why I am choosing them. I figured two would be good enough. So, any help would be appreciated (I've copied the files back over to what's left of the hard drive so I can format now with impunity. I hope this solves the "you can't get there from here after spending more time and money" message. All I want to do is archive the files so I can get 155gb of the 160gb hard drive back. And understand "choose the number of partitions you want" and run the disk utility instruction.

    Hi TuckerdogAVL
    What you need to do is partition the drive in Mac OS extended for it to work with iDVD6.
    Go to applications>Utilities>Apple's DU
    The procedure might look something like this:
    Click Here
    Hope this is Helpful.
    P.S. I like the title to your Post! (Merry X-mas).

  • Photo format question

    Newbie question: when designing an ID document (let's say ID CS4, since that's what I'm using), is there any difference in placing a Photshop image (.ps) versus a .TIF file? I've done both. And is there any harm in using high-res .JPG's? I have a friend who works in Quark and he always changes every photo to .TIF before placing. Thanks.

    Resizing is a different issue altogether from format.
    It's safe to scale the image in ID regardless of the format. If you look in the info panel with the image selected you'll see two resolution numbers listed, actual and effective. Actual is just the resolution at the dimensions the image was saved and is essentially irrelevant. Effective resolution is what you have at the dimensions you are currently using, and that's the number that counts. If that number is in the range that is acceptable for the type of output you are using, there is no need to resize the image in Photoshop at all.
    If you MUST resize the image, then yes, convert to something besides jpeg if that's what it is to start. And keep in mind that up-sampling won't improve image quality in general, and downsampling more than 20% or so can cause you to lose fine details (but so will scaling down).
    Peter

  • Apple mail formatting Question

    I just bought a MBAir and in using Apple mail I cannot seem to format email replies to contain an extra two lines of blank space above the original email.  Is there a way to format email replies to do this automatically?

    Roland,
    What is the question? The reference to the system administrator, is more in reference to how the IMAP server is configured. Does this IMAP work, as expected?
    Ernie

  • Script format question: Title over

    Question: In the script format when using a "TITLE OVER" is it a General, Shot or an Action format. Appreciate any input here, thanks.
    Rich

    It a good question, as it is worth thinking how the elements in our screenplays will be used down the line. So for example, although the formatting of making it a Shot certainly would put TITLE OVER in caps, and making it Action would allow the paragraph it is in to be lower and upper case, it better to think how the elements may be used as metadata when you move on from writing, rather than how they look on the page. The tags and elements will be used by others in many different ways as the script moves through the planning and shooting steps.
    Shot elements will be processed by an application like Adobe OnLocation which will create a placeholder shot for it for the shoot. That could be theoretically correct in this case as the title will need to be shot. However to answer your question I think General is the appropriate element, just as the Title and Author are General on the titlle page.
    Are there other elements of the screenplay that will need to be tagged in special ways so they are available as the right kind of metadata later in the production process?

  • JFileChooser and date format questions

    I have a JFileChooser that currently works - I set the default directory and allow the user to select a file or enter a file name.
    I have been asked to modify this to prepopulate the file name field on the JFileChooser.
    How do I do that? It is not obvious which method to call to set the filename field.
    Also, the file name needs to be a timestamp "*yyyyMMddHHmmss*.dat"
    I tried creating the timestamp part with the following code, but it does not format as expected.
            String s = "";
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddddHHmmss");
            try
                java.util.Date now = new java.util.Date();
                java.util.Date dat = dateFormat.parse( now.toString() );
                s = dat.toString();
            }What is wrong with this?
    Thanks.

    I don't do Swing and this is also not the subforum for Swing questions. It has its own subforum.

  • GUI Development Question

    Hi everybody!
    I'm quite new in ALBPM and I have some questions about it, especially about user interfaces.
    I've been developing JSP aplications (using MVC frameworks) for a long time, and I can't figure out how does it fit in the ALBPM world.
    What's the paradigm for GUI development? At first, I believe the screenflow should act like the controler, the BPM object is the model, and the custom JSPs are the views.
    But... sincerely for me, the Screenflow/BPM object/Custom JSPs seem less flexible than a regular MVC (Struts, JSF, ...)
    My question is: Is it mandatory to use screenflows, or I'm able to use a MVC architecture inside ALBPM? If it's possible how should I implement it?
    For example: I have a custom JSP with some menu items, and this items are links to other JSP pages. This behaviour should
    be modeled using screenflows or can I use another approach? What's the best practice for this task?
    In MVC architecture, the menu will be inside an html form with an action pointing to a servlet (a controller). And what about screenflows?
    Well, I'd like to hear some opinions about this, especially because i'm triyng to get used to BPM paradigm, and in my opinion the best approach for this is hearing from people who had experienced this situation.
    Thanks in advance

    The reason for this is due to our JVM. This application is being developed for an embedded system. There are no swing components in this JVM environment for a couple reasons: size constraints and possible license issues.

  • PDA Formatting questions ...

    Environment
    APEX 2.2 - I know, I know, we're working on the upgrade, they say 'soon'.
    Oracle 10gR2 on the database side
    I'm trying to format an APEX application to fit on a PDA screen even though the PDA hasn't been selected yet, I'm using a Symbol scanner running Windows CE as a test bed.
    The application runs OK but there are still some blank lines that I can't seem to get rid of.
    Here are a couple of questions:
    1- Can I change the height of the text and item fields on the screen?
    2- How can I get rid of the Region/Page name and reclaim that space?
    3- I have 2 buttons at the bottom that appear side-by-side on my PC but are on top of each other on the PDA, can't find out why?
    4- Is there a way to put a 2nd label (or free text area) for an item to the right of it?
    I'm pretty newbie-ish at this so please be gentle with your suggestions! ;-)>
    Thanks very much! APEX rocks!
    -gary

    Dimitri, et al
    I've done as much as I can with the version of APEX I'm currently using, thanks for the suggestions.
    I now need to know how to initiate the scanning function on the scanner. I'm using a Symbol NC9060 to test but it looks like we'll be using NC9090 for Production. I believe the NC9060 is running Windows CE and the NC9090 is running Windows Mobile 6.
    Is there a function code I need to send to the scanner before we start the application? If so, is that done through APEX or some program outside?
    We'd obviously like to use the scanning function to gather barcode information as input.
    Thanks in advance for any assistance.
    -gary

  • CFMAIL formatting question

    I'm sending out a email using CFMAIL, but have noticed that
    the formatting
    gets all screwed up in places like Hotmail.
    What is the best type of formatting options to pick? I have
    the options set
    as shown below:
    <cfmail from="[email protected]"
    to="#form.Email#"
    bcc="[email protected]"
    subject="Requested fencing information"
    server="mail.site.com"
    port="25"
    charset="iso-8859-1"
    type="html"
    mimeattach="c:\emailDocs\#SendFileName#.zip"
    mailerid="Site"
    failto="[email protected]"
    replyto="[email protected]">
    And the the actual mail is being sent as:
    Dear #user1#,<br>
    <p>Thanks for requesting fencing
    information.</p>
    <p>Your requested information has been attached to
    this email in the
    form of a ZIP file. You will need a program such as PKZIP or
    WinZIP to
    decompress the attachment. The programs listed above can be
    obtained from
    <a href="
    http://www.pkware.com">PKware</a>
    or from <a href="
    http://www.winzip.com">WinZip</a>,
    if not already
    installed on your computer.</p>
    <p>You have requested the following
    documents:<br>
    <cfloop list="#form.Events#" index="i">
    <cfset file1=findnocase("/",#i#,4)>
    <cfset dl_file=right(#i#, file1+2)>
    <strong>#dl_file#</strong><br>
    </cfloop></p>
    <p>We hope this information answers your questions,
    and we hope to see
    you at a fencing class soon.</p>
    Is there a better way? The message is getting all jammed
    together, no
    spacing for paragraphs, etc......
    Thanks!

    What a pain that is!! :)
    "jdeline" <[email protected]> wrote in message
    news:f59jt7$pbu$[email protected]..
    > I've noticed the same thing at some (not all) Web mail
    sites. On one
    > application, I had to resort to sending text, not
    TYPE="html" That
    > required a
    > string to be constructed as the body of the e-mail:
    > <CFSET myBody = "Dear " & user &
    "#Chr(10)##Chr(10)#" & "Thanks for
    > requesting
    > fencing information." &Chr(10)##Chr(10)#" ... >
    > Your e-mail then looks like this:
    > <CFMAIL ... >
    > #myBody#
    > </CFMAIL>
    >

  • Format Question - Biz Objects

    I created a report with 8 data fields; I added a 9th column and included a formula that provides a 'status' for a given line item based on the data pulled within the report.  There are three seperate statuses; I then inserted a break which now seperates my three statuses into groups by that status, which is exactly what I want.  I can't figure out out to get a 'heading' above the three groups though.  Since I created a formula for the column of 'status', it won't let me drag that column heading to 'drop here to create a section' when I am in view structure mode .  I would simply like to be able to have a static heading above each section and have scoured the options/formatting/etc.  Is that possible to do?
    Thanks

    New to business objects; valid question you ask.  In my 'research', it is only a dimension value that allows for the section headers, which is why I havne't been able to figure this out.  That said, I guess I am not clear on exactly what a dimension variable is or how to do that.
    To drive my status, I created the following formula in that column:
    =(If Not(IsNull([Income])) And (([Address]) <> "To Be Determined") Then "***Needs Action***" ElseIf((([Address]) = "To Be Determined")) Then "No Action - Property TBD" ElseIf(IsNull([Income])) Then "No Action - Incomplete")
    Thanks for the reply.

Maybe you are looking for

  • Win 7 32bit or 64bit for PRE9 and PSE9

    Hi, I'm about to purchase a new computer.  Would the PE9 and PSE9 run ok on WIN 7 64bit? Thanks

  • Send Mail with PDF Attachment in ABAP

    Hi Experts, I have a requirement where I need to convert internal table data into PDF format and send it as an E-Mail with PDF attachment to Outlook mail using ABAP. How do I achieve this . Can anyone send me example code for doing this. Thanks Kumar

  • Implement digital signatures ?

    Is it possible to implement digital signatures ( xml-based ? ) into a HTML DB ? May be someone can point me to the right URL or manual to start with... Thanks in advance Tobias

  • GRC10: Initiator issue

    Dear forum, Some time ago I successfully created initiator rules for a parallel work based on business processes. That was quite easy because it is somewhat documented. Now Iu2019m struggling with creating an initiator that routes the request to the

  • Photoshop CS3 Not Reading CR2 files ( Suddenly stopped reading!)

    Hi All...       I have been using photoshop CS3 for years now to work on CR2 Camera Raw formats ( Canon 40D). After months of not working on any photos       now that i try to open any CR2 file i receive the message that says :       "Photoshop Does