Split frame in JSF

Hi everybody !
I have a problem with frame when use JSF. . In html, we use tag <a> and target attribute to display wanted pages in the right frame. But in JSF, we use navigation System (XML), so how can we control it?????

JavaServer Faces is not an HTML specific Web technology.
I think the best approach for using JSF is NOT TO USE functionalities that is dependant on a
particular mark-up language environment.
<quote>
Usual mobile devices have small size of screens, and some of them support only
textual information. Frames strongly depend on screen interface, and are not part
of the HTML 4.0 Strict. Therefore, frames should not be used.
</quote>
from: http://www.w3.org/TR/1999/NOTE-html40-mobile-19990315/

Similar Messages

  • Frames In Jsf

    Firends
    i want to set url of the frame in jsf. i can set web url but i can't set the jsp page in there. when i set a jsp page its showing Faces context not found ...

    Explain better!

  • Using Frames in JSF

    Can anyone provide an example on how to use frames inside JSF? I don't know how to define the framesets inside the jsf file. A simple example will go a long way. Thanks.

    Nope, I'm not big on samples, especially of code I've never tried to write. Give it a try, if you have a problem post your code and we'll take a look.

  • Split frame problem

    I can't use the split frame at playhead function for video layers that are just two frames long.  Can anyone help?

    I can't use the split frame at playhead function for video layers that are just two frames long.  Can anyone help?

  • Can anyone split frame into three independent areas with JSplitPane??

    Hi,
    has anyone tried to use JSplitPane to split JFrame in to 3 different areas? How should it be done correctly?
    What I have now is two nested JSplitpanes, i.e. I have 'baseSplitPane', which divides frame in two sections, and then I have 'upperSplitPane' as a top component of the baseSplitPane. Then I have three JPanels with JTables inside them; I need to show three JTables (lets call the upper, middle and lower;=) in one JFrame, and I should be able to resize them some some clever way.
    The problem is:
    When I move splitter of the baseSplitPane towards the top of the screen, first the middle table is shrinken. After that upper table starts to shrink, until splitter is in the top of the screen. When I start to move the splitter back to the bottom, the upper table still remains "minimized", and only the middle table is enlarged. No good!
    What I would need is a splitpane for three components, which splitters don�t affect each other. So that when moving a splitter, it just changes the size ratio of the two componts around it, and if you move it to the other splitter it stops. There�s no such component in SWING, is there??
    All hints are appreciated, thank you!
    /Jari

    That�s not exactly what I needed, but anyway that is much better than it used to be! So thank you for it, but still; moving one splitter effects to another splitter also.
    If no one tells me a better way to handle this, maybe I can live with it...
    Any other good hints, GraemeHook?
    /Jari

  • Navigation between 2 frames in JSF

    Hi,
    I have 2 frames. I want to change the right frame when pressing a link on the left frame. How can I do so in JSF?
    Thanks,
    Eran
    Message was edited by:
    Eran

    Hi Fernand,
    I guess by now you can easily understand the reason behing this error. The obvious reason is because you cannot create a cycle while defining the used components.
    in you scenario you are using the component A in component B as used component and then again to come back to component A you are using Component B in component A as used component. This has created a cycle and therefore the cyclic dependencies.
    This kind of component usage is not allowed. Instead just check whether you can resolve this issue by ysing another compoent which can be a launch component? Like this:
                                                    Component C
                                       Component A             Component B
    I hope using this kind of architecture you can resolve this cyclic dependency.
    Thanks and Regards,
    Pravesh

  • Example of using frames in JSF

    I am considering using frames in my JSF/JSP page but am having trouble getting started. I'd like to display my page as
    Frame 2 | Frame1
    Frame 3 |
    I started using iFrames in my JSP page but because I needed Frame1 to be resizable, I dropped iFrames and started using Frames.
    I wrote my JSP page to contain these frames. My JSF project compiles successfully but at runtime, my page appears blank in the browser window.
    Can someone give me an example of using frames in a JSF/JSP page or point out the error in my JSP.
    My page looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1">
    <frameset rows="16%,84%">
    <frame name="top" src="faces/overview/overview.html"/>
    <frameset cols="30%,70%">
    <frame name="left" src="faces/overview/leftPage.jsp"/>
    <frameset rows="20%,80%">
    <frame name="right" src="faces/overview/rightPage.jsp"/>
    <frame name="right2" src="faces/overview/rightPage.jsp"/>
    </frameset>
    </frameset>
    </frameset>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    thanks,
    tsc

    <frameset> should not be the child of the <body> element. It should be the child of <html> element.
    This works:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page id="page1">
    <ui:html id="html1">
    <ui:head id="head1">
    <ui:link id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <frameset cols="30%,70%">
    <frame name="left" src="faces/Page1.jsp"/>
    <frameset rows="80%,20%">
    <frame name="top" src="faces/rightPage.jsp"/>
    <frame name="bottom" src="faces/bottomPage.jsp"/>
    </frameset>
    </frameset>
    </ui:html>
    </ui:page>
    </f:view>
    <ui:form binding="#{bean.form1}" id="form1"/>
    </jsp:root>
    thanks,
    tsc

  • By using div or frames in jsf such as visisble and hidden

    hi
    i have 2 buttons in my page if i click on one i want to show one DIV or IFRAME
    and on click of second button it should show second DIV of IFRAME
    can some one send me code snippet or guide me how to do it as jsf is not recognising div in the jsf page.
    i placed between div between verbatim tags also.
    looking forward for ur help
    thansk in advance

    should be done with javascript
    like so
    function changeDisplay(elmnt)
    if(document.getElementById(elmnt).style.visibility=="visible")
    document.getElementById(elmnt).style.visibility="hidden";
    document.getElementById(elmnt).style.display="none";
    else
    document.getElementById(elmnt).style.visibility="visible";
    document.getElementById(elmnt).style.display="";
    then have
    onclick= changeDisplay(id of div)
    if you dont want to use javascript
    check out the rendered attribute and use panelGrids but this will require a round trip to the server

  • How do I combine two FLVs into a split frame single player?

    Hello. I want to know how to duplicate the functionality on
    http://www.vcasmo.com
    There is what appears to be a single flash player, but two
    separate FLVs (one video, and one PPT). The PPT is synced to the
    video based on timing settings created when you upload and mash the
    assets.
    I know how to convert PPT to Flash, easy. But I don't know
    how to put both FLVs together into one. Secondary, is how do I sync
    the timing?
    Thanks!

    P.S. I am trying to do all this via command-line so I can
    automate everything (using ColdFusion of course!) for an in-house
    web project.
    So if all I have to do is create the SWF that houses the two
    vids/clips, sounds like I should still be able to use command-line
    to set everything up, right? I am new to this obviously.
    For the PPT, as I mentioned, I would be converting it to FLV
    (or any format really so that I can combine things).
    Thanks for the feedback!

  • 30 to 24 frames, pulldown removal issue

    I'm working at this animation place. The animators work with the live footage that comes in to composite their animations. So I have to convert each shot from 30 to 24 fps (it comes in at 29.97)
    So far the workflow has been export each scene using the current settings of 29.97 10 bit uncompressed non drop.
    bring that qt into after effects.
    interpret footage > conform to 30 fps > guess pulldown removal (WWSSW) then i'd render out a targa sequence at 24 frames, and everything works out nicely.
    until,
    I'm working on a sequence that when exported to QT
    shows some scenes with split frames on EVERY frame.
    so the remove pulldown feature in AE fails because of this.
    I then discover that some of the scenes in question
    have time remapping applied to them (frames blended).
    Does anyone have a fix for how to handle footage with
    time-remapping applied, so it exports with proper 3:2 pulldown?

    Cinema Tools can remove the pulldown in one step from the 29.97 files. I doubt this will work right at all with time remapped clips though, so you need to go back to the originals, then time remap them back after they've had their pulldown removed I'd think.
    You are right about the clips... need to do them one at a time. I suppose you could try a sequence, but the result would end up being one long clip... might not want that?
    Jerry

  • How can i work with frames in html

    i am working with frames and jsf
    left side is one.jsf
    right side is login.jsf
    frame
    one.jsf | login.jsf
    ............ |.................
    .............|...............
    ............ |...................
    after login is successful . i am in success.jsf in right frame
    1.e
    frame
    one.jsf | success.jsf
    ................... |........................
    .................... |.......................
    ----------------|-----------------
    then if i am refreshing the content by refresh button.
    again i am getting login.jsf on right side which i don't want.
    1.e
    FRAME
    one.jsf | login.jsf
    ............. |..................
    .............. |..................
    ------------|-------------
    but what i want is even after refresh i have to get success.jsf after login like this what to do
    FRAME
    one.jsf | success.jsf
    ............... |.....................
    ................ |.......................
    -------------|------------------
    with regards

    You need to convert the string date to datetime or date. See conversion examples here:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Example for the where clause:
    WHERE DATEDIFF(DD, convert(datetime, lastdate, 101), getdate() ) < 1
    Can you post sample string dates?
    Are you looking for today's records? Another option (depends on lastdate format):
    WHERE lastdate = convert(char(8), getdate(), 112)
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to make footage in between position key frames stay in a straight line?

    I used position keyframes to move the footage to the right, in different positions near the right side of the sequence frame (not all the same position), in preparation for a split frame crop effect. Between keyframes the footage jumps back to the original position. I selected all the key frames and did a rightclick and set Temporal and Spatial interpolation to Linear or Bezier - but that doesn't do anything at all. What am I missing?

    Thanks for trying to help me Ann. The temp. & spatial interpolation on all keyframes is Linear. There don't appear to be any hidden keyframes, but I don't see how to zoom more than the default shown here. Where the playhead in this screencap - between the 2 keyframes - is where the motion jumps back. All the position keyframes align the footage to the right. In between keyframes - and not every one - it jumps back to the center. The extra keyframes in the clip were an attempt to keep that from happening but it justs happens in shorter increments now.
    Just curious - is a person able to mark their own answer as correct?

  • Problems removing Advanced Pulldown frames

    I'm relatively new to 24PA, until now, I have captured quite a few projects now without any problems. The footage is always shot DVCPRO 50, I use the Panasonic AJ-SD93 Deck to capture the footage, selecting "remove advanced pulldown frames" in the FCP capture settings, and end up with great 23.98 progressive advanced footage.
    The most recent project I've been working on, we received tapes that were shot by the same production group, same settings, same camera, and I was capturing with the same deck, same FCP settings, etc...however, after capturing, the files were not 23.98, but 29.97 (as a test, I captured from tapes in a previous project, it immediately came in as 23.98).
    I tried to solve the issue after the fact by selecting the "Remove Advanced Pulldown" selection in the tool menu and received the error message *"File does not contain frames encoded using Advanced Pulldown".*
    The 29.97 footage, based on my knowledge, seemed to indicate that it was, in fact, 24PA. For two reasons, one - every fifth frame in the 29.97 footage was a "split" frame, and two, breaking the footage down into fields, it seemed to have the 2-3-3-2 cadence associated with 24PA. However, for whatever reason, Final Cut could not find the cadence.
    Why might this be?
    I'd appreciate any informed opinions, but I can say that my guess is it has something to do with timecode and timecode breaks. The footage had an awful lot of timecode breaks and the timecode was being forced. I am wondering if this has something to do with why FCP could not pick up the cadence in the footage. (The only other variable that changed from previous successful 24PA projects is that these tapes were dubbed, and perhaps the dub house - which has shown itself prone to the occasional mistake - messed something up, but in this instance, don't see any evidence of that.)
    Ultimately - I worked around the issue just fine, but it only makes matters more confusing, I brought the footage into Cinema Tools and did a Reverse Telecine (3:2 pulldown) and the footage turned it into clean-looking 23.98 progressive footage. Like I said before, analyzing the footage appeared to reveal that it was certainly 24PA with a 2-3-3-2 cadence and not 24P with a 2-3-2-3 cadence.
    Any thoughts are welcome, thanks -

    Just a thought: if the dub house made the dubs over SDI or analog, then the 24PA "flags" that were on the originals were likely not retained. That may be why FCP isn't seeing the pulldown cadence. I believe the only way to retain those advanced pulldown flags is to dub via firewire.
    You can try capturing at 29.97 and running the files through Cinema Tools. Or see if the production company can send you the camera originals.
    Jay

  • Choppy frame rate after  cmd-j

    Hello,
    My son is trying to edit a .mov file he has brought into fce, every time he uses the razor tool and then chooses his split frame and applies cmd-j to 70% on play back the frame rate is choppy. I've tried the same clip using the same method on my copy of fce on my iMac 2.4 with 2gb ram (he has uni macbook with 2.26 and 2gb ram) my playback is super smooth. Any ideas as to the cause and cure of this issue..
    Regards.
    Jez

    You can set the field order in FCE exactly as you can in FCP with the same tools. Without knowing any information about your media or what format you're editing in anybody's guessing.

  • Frames Help (Stuck on a class project)

    Hello my instructor wants me to use Dreamweaver CS4 to create
    a page that uses a frame. I named the primary frameset (split frame
    left) to galleries.html. I then named the left frame window as
    Menu.html and the right frame window as Index.html. The goal is to
    have 3 gallery links in the left frame window that when clicked
    open up a flash gallery (already created) in the right frame
    window.
    Now here is the problem. When I create the link and click the
    target pull down menu I get 4 options _blank, _parent, _self, _top.
    Self opens the flash gallery in the left window (which I dont want
    to happen) and the other 3 options open the flash gallery in a new
    window (which I don't want to happen). Nothing I seem to do can get
    the flash gallery link to open in the right frame window while
    keeping the left frame window looking like a menu. I have reviewed
    a ton of tutorials and they all say more options should be
    appearing in my target pull down box OR I could just type in the
    frame name "Index.html" (which doesn't work).
    Any advice would be more than welcome.
    Thank you

    Tell your instructor that frames are Sooo last decade. I'm
    stunned that
    s/he is even taking class time to teach them.
    What you need to know is that they are SOOOOO poor a choice
    even DW has
    forgotten to code them properly. When you create your
    frameset in DW, you
    only get the ID attribute for the individual frames, NOT THE
    "NAME"
    attribute, which is what you need to see the frames in the
    target field.
    So - you need to MANUALLY change the
    id="whatever"
    to
    name="whatever"
    for each frame.
    And then never use frames again.
    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
    ==================
    "Caliguy13" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello my instructor wants me to use Dreamweaver CS4 to
    create a page that
    > uses
    > a frame. I named the primary frameset (split frame left)
    to
    > galleries.html. I
    > then named the left frame window as Menu.html and the
    right frame window
    > as
    > Index.html. The goal is to have 3 gallery links in the
    left frame window
    > that
    > when clicked open up a flash gallery (already created)
    in the right frame
    > window.
    >
    > Now here is the problem. When I create the link and
    click the target pull
    > down menu I get 4 options _blank, _parent, _self, _top.
    Self opens the
    > flash
    > gallery in the left window (which I dont want to happen)
    and the other 3
    > options open the flash gallery in a new window (which I
    don't want to
    > happen).
    > Nothing I seem to do can get the flash gallery link to
    open in the right
    > frame
    > window while keeping the left frame window looking like
    a menu. I have
    > reviewed a ton of tutorials and they all say more
    options should be
    > appearing
    > in my target pull down box OR I could just type in the
    frame name
    > "Index.html"
    > (which doesn't work).
    >
    > Any advice would be more than welcome.
    >
    > Thank you
    >

Maybe you are looking for

  • 11.5.10 installation on RHEL as 4.0

    Hi, Please see if all the steps have been maintained for installation on RHEL as 4.0 Oracle Applications 11.5.10 - Installation Update Notes for Linux x86, Solaris SPARC, MS Windows, HP-UX PA-RISC, HP-Tru64, IBM AIX - B13590-01 [ID 287453.1] OS: Red

  • Firefox 26 causes kernel panic in Mac OS X 10.6.8 when viewing video

    Last December 2013 when viewing the video on this site: http://www.telegraph.co.uk/topics/christmas/10534852/Tracking-Santa-Claus-with-NORAD-5-things-you-should-know.html a kernel panic happened on my iMac running OS X10.6.8 "Snow Leopard". (1.83 GHz

  • Apply different eases to sections of a tween? Please help.

    Flash CS4 has a feature where a tween can have more than two keyframes. If a tween has three keyframes, then changing keyframe 2 will affect the motion from keyframes 1 to 2 as well as the motion from keyframes 2 to 3. This is a very cool feature. Bu

  • Deleting Photos in iPhoto and Finder

    I just bought a MacBook Pro that will arrive Monday and I'm getting everything organized on my iMac so it will be easy to transfer everything, including my photo library. I'm using Adobe Bridge CS3 to look through photos and then using Finder to dele

  • Restrict access using PHP

    Hi, I created a PHP/MySQL site useing Dreamweaver CS3. I created a set of pages that display, add and edit manes in a database, this is working fine. When I add Restrict Access to the pages every time I go to a new page I am taken back to the login p