Content Area in a page Template should not be inside a h:form

In my template page I have some buttons which reside in a <h:form> tag. If I place a Content Area somewhere inside the <h:form> tag, the ACTION methods of the buttons DO NOT WORK!!!!
e.g. Action methods of the buttons WORK PROPERLY
<f:view>
<BODY>
<h:form styleClass="form" id="frmTemplate">
...some buttons...
</h:form>
<%-- tpl:insert attribute="bodyarea" --%>Default content of bodyarea<%-- /tpl:insert --%>
</BODY>
</f:view>e.g. Action methods of the buttons DO NOT work
<f:view>
<BODY>
<h:form styleClass="form" id="frmTemplate">
...some buttons...
<%-- tpl:insert attribute="bodyarea" --%>Default content of bodyarea<%-- /tpl:insert --%>
</h:form>
</BODY>
</f:view>Any ideas why?

AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
Nancy O.
Alt-Web Design & Publishing
Web | Graphics |  Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb

Similar Messages

  • Page Background Lost on Regions above Content Area for Some Pages

    Hi - I am a iWeb novice, but not a total rookie on this kind of software...
    I have a simple iWeb project that applies a gradient fill to the page background, and applies one of the gradient colors to the Browser background on every web page. I am using the "White" theme, and I have trouble with the "Photos" page template drawing Page backgrounds correctly. I have my content area set wider than the default to 1008 pixels to fill a 1024-wide display. I set my display area to 877 pixels high to coincide with the largest media dimension that I see with the inspector.
    I looked here for previous discussions on this and failed to find anything. Maybe I missed a post...
    Initially, most web pages load and display correctly the first time. One Photos web page, however, displays the Browser background - not the Page background above the centerline of the page name.
    On several pages with a "Photos" template (but not all), the initial page is displayed correctly. But, when I click on a photo thumbnail and the page is revised to display the larger photo image in the content area, the Browser background is displayed in error above the content area, and the Page background displays correctly below the top of the content area.
    I have looked for some consistent issue or characteristic that might let me predict when this problem occurs, but it ll looks rather random. It is repeatable, though - clearing caches and reloading the same page exposes the problem the same way a second time for the same page, in other words...
    Is this a bug, or something subtle in placement or overlap of areas on the page that I haven't noticed? Anything to be careful with to avoid this problem?
    Thanks anyone for any advice!
    Brian
    Message was edited by: Brian Crowe1

    Hi Cyclosaurus and Apnewbie -
    Thank you for your interest and replies. Here is a simple page that illustrates the problem I am having with a Page Background Gradient Fill on top of a Browser Background Solid Fill
    http://web.mac.com/bccrowe/Troubleshooting/KyliesArt2.html
    Here, I intend the page from the very top to the bottom of the defined content area to transition from pink to white as the eye moves left to right. The browser background is also pink to add some depth to the image - that's what you will see when the page loads.
    Click on the child's drawing to present the image, and you should see the gradient disappear above the centerline of the second text box (above the comment area) when the page finished loading with the large drawing.
    The Content area coincides precisely with the bottom of that second text box. I have tried to move the content area further below the text boxes so that they are not imtimate - no difference. I haven't tried to separate the text boxes, yet.
    The two text boxes immediately above the content area are 45px x 630 px (18 pt text) and 30 px x 630 px (14 pt text) - they overlap by about 10 pix.
    The content area that displays the thumbnail is 1008 px x 445 px (I thought that I set that at 877px...). I can try to set the content area to 877 px... Maybe this is the problem - maybe the Page Background shifts down to coincide with the bottom of the next page#2... Hmmm...
    When you click on the thumbnail, the page#2 content area is 1008 px x 877 px.
    In iWeb, this all looks the way I want it to.
    Please diddle with the page, and ask me any new questions! I appreciate your insight and help. In reality, Kylie won't notice the background change, but my next objective is a corporate site - this child's site is my "training" site. iWeb is really pretty flexible and easy to use. If I there's a work-around or something to avoid, I can live with iWeb just fine.
    Thanks again -
    Brian

  • Link to Content Area from ASP page brings up default page

    I have a link on an ASP to the content area. When the user clicks on the link, he/she is required by the portal to provide their username/password. After entering the correct information, the users are displayed their default page NOT taken to the content area.
    Any ideas?

    Unfortunately, the only way to do this would be to not show the sub-folder region and add URL items in another region that link to the folder page in question.

  • Content Area in Portal Page: subfolder vs category

    Hi everybody,
    i've tried to publish a content area + navbar in a portal page: if i click to a SUBFOLDER on the folder portlet , the subfolder appears in the context of the portal page. But if i click a link to a CATEGORY, the category is loaded in the content area and not in the portal page. Does anybody know how to keep the content area in the portal page, that is
    to refresh the
    portlet in the context of the portal page ?
    Thanks.

    Currently not possible. We're considering this for a future release.
    Regards,
    Jerry

  • How make the Top-level Navigation and Content Area in one page as a whole?

    I want to make the Top-level Navigation and the Content Area in the one page as a whole displayed in user interface.In the default framework,the Top-level Navigation and the Content Area were contained  in 2 pages, So the vertical scroll bar could only control the Content Area. I want to control the full page with  one vertical bar like the page of "www.sdn.sap.com" Web.

    Hi Jianguo,
    One advantage of the external facing portal solution (SP14) is that the framework page is displayed in a single frame. Perhaps this could be of use to you.
    Hope this helps.
    Daniel

  • JavaScript search main content area of a page

    Hi
    I am hoping someone might be able to help. I am new to SharePoint and I'm looking to write a script on the master page which searches through the main content of a certain webpage.
    My question is; what is the variable for JavaScript to call the main content area so I can search it. I believe it is something like item.maincontentarea?
    Any help is appreciated.
    Thank you

    Hi
    This could  sometimes happen because of  multiple users working on the same content .
    Edited by: chandana kallu on Mar 11, 2008 1:41 PM

  • How to avoid printing a page if does not contain data in smart forms

    deat all,
    here is urgent requirement for me .
    i have 3 pagelayouts in smartforms.
    if there is no data in page 2 how to avoid it from printing(the second page should not come in even if it contains hedings and logo)

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • Header in .rtf template should not come on the first page?

    Hello,
    I developed a custom AR statements report, in the report I to print repeatedly from the second page ( it shouldn't come on the first page header), how can I do this.
    Please input your comments?
    Thanks,
    Sridhar

    you can use different page header and footer have develope the report in 2 pages or only one page .
    if you develope the report in 2 pages
    in the first page remove header and use different first page header property in word and paste the header in second page.

  • Are there free Pages templates anywhere?

    Hello,
    I just bought Pages yesterday, and overall I'm very happy with that app. There is just one issue I'm disappointed with.
    I live in Denmark, and the app is in English. I don't have any problem with that, but all the built in templates are in English as well. Is there any way to get Danish templates?
    Also, I saw that there are templates for sale in the market.. But is it possible to download free templates anywhere for Pages on iPad?
    Thanks!

    dmag,
    Yes, there are other sites offering Pages-compatible templates, although they're not likely to be as attractive as the ones Apple provides. Still, you should check them out at iWork Community and Microsoft's Mac web set at Mactopia. Although the latter are made for Word, they usually open fine in Pages if the they have a .doc extension. If they don't, change the extension to .doc.
    -Dennis

  • Why some contents are available in Thai store but not in US store

    I want to buy Foxes's album 'Glorious' so bad.

    Has to do with media rights.
    Maybe Amazon has it, try there.

  • Item should not duplicate in sales order form in line tab ..

    Hi All,
    Not very sure this is the right forum for this if not please tell me the correct forum to post this.
    We have a requirement(11.5.9) which we have to achieve it using custom.pll, as I am very much new to use it need help on this.
    In Sales Order form once we enter in Lines Information TAB,
    For example we will enter Item 'ABCD' at Line 1.1 then again at Line 2.1 if I try to enter the same item 'ABCD' it should pop up a message saying "Item Already Entered" once we press Tab on Ordered Item Field.
    If we enter a different Item it should take as usual.
    I will appreciate if some body posts the code for the same which we can do it using CUSTOM.pll
    Thanks in Advance
    Devender

    If you are in the WHEN-VALIDATE-ITEM trigger, you cannot navigate back through the list of already entered records (especially if record you are in is not complete). It does delay the validation, but duplicate checks are typically done by querying the database on both WHEN-VALIDATE-ITEM and PRE-INSERT/PRE-UPDATE triggers. This means when entering a new Sales Order, you won't be warned that Line 2 has the same item as Line 1 until you save, but there are no navigation required to avoid issues such as trying to leave the current record before it is valid.

  • No "presence" Attribute for Master Pages or Content Areas?

    Is it true that there isn't a .presence attribute for master pages and content areas?  I have a form with multiple master pages, and based on certain criteria, I'd like to not display the master page.
    This master page has 1 content areas.  One is a header area.  The rest of the page is content area 2.  It is blank.  I have a conditional breakpoint that sends line items from a table to content area 2 if I have more than 7 line items.
    If I have 7 or fewer line items, I'd like to hide this master page, but LiveCycle doesn't seem to think you should ever hide an entire master page.  If I could hide the top content area, then at least the page would print blank.
    I can't wrap content areas in subforms.  If I could do that, then I could hide the subform.
    Thanks!!

    My problem is I have page 1 with fields in the header, then there are line items attached to a database table.  There could be 1 line item or 200.  I can print up to 7 line items on the first page and then a footer must appear on just page 1.
    If there are more than 7 line items, I continue to another page.  I have to have a bunch of header fields at the top of this continuation page.  The line items continue under this.  If another continuation page is needed, then the header info appears at the top and then the line items continue.  This goes on until all line items are displayed.
    I have to use a conditional breakpoint in this line item table so I can tell it to go to a content area under the header on the continuation page.  I can't have the line items continue at the top of a page because I need that header.
    I define the content area under the content area for the header on the continuation page.  I have only been able to define content areas on master pages.
    I have more than 1 master page.  Page 1 and the final page are on 1 master page and they must always print.  The line item continuation page is another master page with 2 content areas (header and line item continuation).
    If I have 7 or fewer line items, the continuation page is not needed.  I need to be able to hide or display this page dynamically based on the number of line items from the database.
    I can show some examples when I get back to work.
    Thanks!

  • Iview calls new Page on Content Area

    Hello Everybody,
    I have a Page with 3 Iviews on it, and would like that an Iview call a new Page.
    Wich means, I have Iview 1,2,3 on Page A and if you trigger a link on of these Iviews a new Page B should be loaded.
    All I got is that the Page loaded in the Iview itself. Is there an opportunity to change that behavior, to call a Page B from an Iview that reloads the content area with a Page B?
    Thanks in advanced,
    Marcus

    Hi Marcus,
    you can call EPCM.doNavigate with the PCD target, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enterprise portal client.pdf
    Hope it helps,
    Detlev

  • Setting focus to content area or top of the page

    Hi,
    I have a page with 3 columns, Left navigation (KM Document iView) in column 1 and Content Area (URL iView) column2 and there are other iViews in column 3. On click of the links in left navigation area the content is loaded in the content area. My left nav is too long, so I get scroll bar and when I click the bottom most link in the left nav, the content is uploaded in the content area. But the focus is not set to content area or top of the page.
    Is there anyway to set the focus to the top of the page or to content area.
    URL iView uses URL isolation method and we don't want to use embedded isolation method.
    Thanks in advance.
    Jayanthi

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    See http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works

  • Content Area Export / -page switch

    I am using Portal Production 3.0.7.6.2 under NT.
    If I try to export a content area using the "-page" switch, then I get the following error in SQLPLUS:
    SP2-0310: unable to open file "pagename.sql"
    any ideas what is wrong?
    tks!!

    On Windows NT, the content area export script when invoked with the -page option looks for a script file named pagename.sql which was left out of the install (it has been fixed in 3.0.8). Using a text editor, save the following into a file named pagename.sql and place it in the <PORTAL_HOME>/admin/plsql/wwu directory:
    /* --- Cut Here --- */
    select 'set page_name='&#0124; &#0124;name from wwpob_page$
    where id = (select pageid from wwsbr_sites$ where upper(name) = upper('&&1'))
    set serverout on
    set echo off
    set feedback off
    set verify off
    set newpage 0
    set pagesize 0
    set space 0
    set heading off
    set trimspool on
    set termout off
    spo pagename.bat
    spo off
    exit
    /* --- Cut Here --- */

Maybe you are looking for

  • Audigy 2 ZS + Creative T5400 Speakers giving no 5.1 in mov

    Hi there, I've had this setup for a while but never really tried to play movies on my machine until recently. I have no trouble playing games in perfect 5., and it sounds wonderful, but I have been trying to watch DVD's and trailers in 5. but only ge

  • Proximity sensor failure

    I've been using my Xperia Z1 for some time now, and since the latest update, I have noticed a few strange problems. 1) the screen will suddenly go very dark, and gradually increase to maximum brightness. This happens when I'm playing Dragons - Rise o

  • Process Chain Logic Please

    Hello BI experts,   Iam making a Process chain where I need to load the data in to 2 DSOs (say B1 & B2) from DSO A  . I have created Transformation and DTP between A - B1  and A - B2 . DSO B1 is required for the year of 2007 and B2 for 2008. Can any

  • Elements 10 - disks 2 & 3

    I sucessfully installed Elements 10 from disk 1.  Disks 2 & 3 in the package were called for, are they needed and if yes what are they for?

  • Change facebook username in settings

    I have changed my facebook emai address on a computer as my login and deleted the old email address as it does not exist anymore.  However, my iphone in the IOS settings is stuck on trying to log me in under the old username which does not exist anym