limit the width by changing the page template

Hi all

I'm trying to get my site looks like http://www.plsqlchallenge.com

so I tried to limit the width of the content page by changing the default page template as follows:

go to the components shared = > models

Theme: 7 Blue modern

Type: page

Choose the default template: No. Tabs - right Sidebar (optional / based on a table)

just before #FORM_OPEN # I added this:

< div id = "DΘmarrer" style = "width: 970;" height: 100%; box-shadow: 0 0 20px #333333; border-radius: 10px 10px 10px 10px; background-color: #00FFFF; ">

and just after I added #FORM_CLOSE #.

< / div >

I also played a little with the other divs (changed colours)

I can't seem to get the right result

Help, please

KR

Martin

Martijnke wrote:

Hi all

I'm trying to get my site looks like http://www.plsqlchallenge.com

so I tried to limit the width of the content page by changing the default page template as follows:

go to the components shared-online models

Theme: 7 Blue modern

Type: page

Choose the default template: No. Tabs - right Sidebar (optional / based on a table)

just before #FORM_OPEN # I added this:

and just after I added #FORM_CLOSE #.

In CSS units must always be specified for dimensions (except if the value of the dimension is 0). This means that width: 970 is not a property is valid and it is ignored by the browser. You must use width: 970px; to the rule.

Tags: Database

Similar Questions

  • Possible to have shared SelectList in the Page template?

    Hi all

    I have a simple question about "what I am missing?

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a < div > shared region in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    Is it by creating the shared list?

    Thanks for your help

    user8115477 wrote:

    Please update your forum profile with a recognizable username instead of "user8115477": Video tutorial how to change username available

    I have a simple question about "what I am missing?

    One thing missing is that information which is necessary to obtain a rapid and effective response when ask you a question.

    We want to add a dropdown "Select job number" to each page. The drop-down list is based on a database query.

    All the work is done, but I have a problem.

    We are creating a SELECTLIST element on each page!

    We use a shared

    area in the Page template.

    We use a javascript in the Page template code.

    We use a common OracleSQLPackage for the entire treatment.

    We use a shared item in demand for the job number.

    But on each page, we have controls on the page P185_SELECTLIST, P186_SELECTLIST, P187_SELECTLIST, P188_SELECTLIST, P189_SELECTLIST... and the problem will only get worse.

    How do we code the drop-down list in the page template?

    You do not have. Add a global page to the application and create the item selection list it. Dynamic measurements can also appear on the overall page to implement the behaviors associated with the element. Conditions can be used to control the pages of the element and the DAs are displayed on.

  • XmlMenuModel in the page template

    I've defined a template page with an attribute of type XMLMenuModel, for the consumer of this model must provide the menu template.

    < afc:attribute >
    < afc:attribute - name > xmlMenu < / afc:attribute - name >
    < afc:attribute - class > org.apache.myfaces.trinidad.model.XMLMenuModel < / afc:attribute - class >
    < afc: required > true < / afc: required >
    < / afc:attribute >

    < af:menuBar id = "bar menu" value = "#{attrs.xmlMenu}" var = "item" > "
    < f: facet name = "nodeStamp" >
    "< af:commandNavigationItem text =" #{item.label} "action =" #{item.doAction} ".
    ID = rendered = "#{item.rendered"cni1"} '"
    Disabled = "#{Item.Disabled}" / >
    < / f: facet >
    < / af:menuBar >

    It does not work when I provided a correct object. To ensure that I created a page with this template and copied the menu bar code in the page. The two model menu bar and directly in the page using the same model. The page works, but that of the page template does not work. It shows an empty menu bar.

    "< af:pageTemplate viewId="/WEB-INF/org/Template.jsf "id ="pt1">
    < f: facet 'content' = name >
    < af:group >
    "< af:menuBar id ="bar menu"value ="#{root_menu}"var ="item">"
    < f: facet name = "nodeStamp" >
    "< af:commandNavigationItem text =" #{item.label} "action =" #{item.doAction} "id ="cni1 ".
    rendered = "#{Item.rendered}" disabled = "#{item.disabled}" / > "
    < / f: facet >
    < / af:menuBar >
    < af:region value = "#{bindings.dummybtf1.regionModel}" id = "r1" / > "
    < / af:group >
    < / f: facet >
    "< name f: attribute ="xmlMenu"value ="#{root_menu}"/ >".
    < / af:pageTemplate >

    Any ideas?

    Thank you

    JDev 11.1.2.4

    I finally found the answer. The reason is that I have two models of pages in my project. Because I trust JDeveloper to generate the correct code, I does not change the value of property var. So it was set at uploading for two models of pages. For some reason, the page template attributes not were not passed. So to resolve the issue make sure that all your page templates have the same value of property var. always a pleasure to work with such a test framework. You get what you pay for...

  • How to set the page template for a page in app

    I've been looking for a way to re - assign a specific page to a different page template, and I must be blind. I did it with the regions and reports, but never a whole page. The closest I can find is how to set the default page for an application model template. What I have is a printable form that they want in a specific format. I was able to code the whole thing into a region of PL/SQL, but I was hoping that I could take an existing page template and modify the model to different regions in the areas I would like to.

    Can someone help me find this? I have already created a copy of the page template I want to twist.

    If you are in the tree view, double-click the entry of title of page (top); If you are in the component view, simply click the edit button in the page area. Either way will take you to the screen of the Page change. in the display attributes section, you will see a Page Model drop-down list.

    -David

  • How to use the pageDef of the Page template file.

    Hello

    JDev Version 11.1.2.3.0.

    I have an app with the pageTemplate file that is used on all pages. I added a taskflow bounded to the page template. To use this bounded taskflow, I need to have in the file pageDef the taskflow definition:

    "< taskFlow id ="languageBTF2"taskFlowId="/facets/language/languageBTF.xml#languageBTF ' activation 'deferred = '.

                  xmlns=" http://xmlns.Oracle.com/ADF/controller/binding "/ > "

    However this was automatically added in the model pageDef file. If I want to use it in all of my pages, I need to add it to all their files pageDef manually, because the #{bindings} resolves to the pageDef of the current page and not the model page.

    Kind regards

    Pamela

    If you add the template, you must update all the linking pages to access the model pageDef pageDef. You can try this:

    1 - Open one of you request page (.jspx) and go to the pageDef, this page, and in the executable section add this as:

    
        
        
    
    

    in the path to write the path of the file for pageDef model.

    2 - Open the .jspx page and in the pageTemplate add this value = "#{bindings.ptb1}" as "

        
          
            
    
            
          
        
    

    3 - Repeat these 2 steps for all pages.

  • Create new region in the page template

    Hello

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    Hani says:

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    You cannot create additional region position placeholders. Why do you think that you need to do?

    Several areas can be assigned to each position in the region, the existing placeholders can be moved, regions may contain subregionsand region controlled by the attributes of the region and/or CSS page layout. These options provide more flexibility for most requirements.

  • How to use the application element in the page template

    How to use the point of application in the page template.

    Thank you

    Rajendra

    I found out the answers, you can use & application_item.

    Thank you

    Rajendra

  • How to identify the locale in the development of the Page template

    Hello.

    While building the page template, I need a way to identify in what I m local work. Some files is on the Complutense University of MADRID (in a segregation of the structure of language).

    For example: the English file will be in an address and the same (but in Portuguese) in another (address) - one and its referenced by the Page template. So, I need a flag on which local (idiom) is the current - use the right file for the right idiom.

    There is an implicit variable Webcenter give us with the current language?

    Way to do that?

    Thank you.

    You must use the Expression langauge

    #{view.locale}

    Outside of your condition, you can mix jstl and use it more productively.

    as


    content of the Complutense University of Madrid

    content of the Complutense University of Madrid

    Hope this helps you.

    Kind regards
    Hoque

  • Local service of custom data not available in the page template

    Hi guys,.

    I created a custom service that is return of Image in response as shown below:
    public void GetImage
    Producer = config.getProducerImpl () (producer);
    String capText = producer.createText ();
    m_binder.putLocal ("capText", capText);
    BufferedImage bi producer = .createImage (capText);
    m_binder.setContentType("image/JPEG");
    m_binder.m_contentType = "image/JPEG";
    AA ByteArrayOutputStream = new ByteArrayOutputStream();
    Wrapper DataStreamWrapper = new DataStreamWrapper();
    Wrapper.m_dataType = "image/JPEG";
    Wrapper.m_clientFileName = "image.jpg";
    ImageIO.write (bi, "jpg", aa);
    wrapper.initWithInputStream (new ByteArrayInputStream (aa.toByteArray ()), aa.toByteArray () .length);
    This.m_httpImplementor.sendStreamResponse (m_binder, wrapper);
    }

    I call this service into the page as a template below:

    & lt; img src = "http://localhost/ucm/idcplg?IdcService=getJcaptchaService" / & gt;

    & lt; input type = "text" name = "capText" value = "<!-$capText - > ' / & gt;"


    <!-$capText-> capText value is empty here. It is not available here.

    Please suggest how capText value may be available in the page template.

    Thank you

    Your custom class must extend a class of Service. Then use this line of code to access the value of the variable capText:

    String lCapText = this.m_binder.get ("capText");

    Let me know if it works!

  • How to change the order of the Pages templates?

    I created a half a dozen models, but puts the Pages at the bottom of all models, it comes with. I've never used any of the templates, but I have to scroll all the whenever I want to open a new page. Multiply it by hundreds of times, and there are a lot of lost time. A way to put my own models first?

    Thank you

    Tapping my models in the left side bar is much faster to scroll through ALL models.

    If you have a model, you use often and then change page > preferences > general to open new Documents with your favorite model.

    OR keep the templates in a folder easily localized (in the Finder) and use them as a starting point for your new documents

  • Hello! How to change the page templates in Business Catalyst?

    Hi all

    I'm relatively new to Business Catalyst. I'm working on my e-commerce site that I originally created in Adobe Muse.

    I want to create a page template in British Colombia for the page of the e-commerce site... and I don't know how the template of style... is anyway I can attach the CSS file for the model? I have found no option for this. I intend to create a page template that I can continue to add new products as and when I want to.

    My knowledge of html and CSS is very limited and fight with the same. So, I would appreciate any help that anyone can give to the creation of a new page template for a beginner like me.

    Thanks in advance!

    Rgds,

    ~ Arti

    Thank you for posting.

    You can download a CSS file in the folder CSS in the folder root of your business catalyst site. Please refer to the following screenshot:

    http://aishday2.worldsecuresystems.com/Aish/2012-10-16_1447_001.PNG

    Once you have downloaded the file, you can link it to your model as shown in the following screenshot:

    http://aishday2.worldsecuresystems.com/Aish/2012-10-16_1432_002.PNG

    Best regards,

    Scott Rouanet

  • Get and update the Page Template dynamically

    Hello everyone,

    I use JDeveloper 11.1.2.3

    I am faced with a situation that I thought it would be simple to solve, but in fact, I'm not finding an overview. I had provide some customization to the end-user at my request (to be more precise, each user can set the default language, which would be loaded whenever it connects and do its work). To get the changes immediately, I inserted the standard way to fully refresh the current page.

            FacesContext context = FacesContext.getCurrentInstance();
            String currentView = context.getViewRoot().getViewId();
            ViewHandler vh = context.getApplication().getViewHandler();
            UIViewRoot x = vh.createView(context, currentView);
            x.setViewId(currentView);
            context.setViewRoot(x);
    
    

    The problem is my pages using a page template (actually there three different page templates in use at the present time). And the model did not get updated with the page (he does only after some navigation). It is clear to me from the model it is another page and has it's own pageDef. My question is, "How can I get the updating of page template at the same time as the current page?"

    PS: I can't follow this example: Blog of Andrejus Baranovskis: model Page of ADF refreshing of ADF Fragment , because the direct child of my patterns is one facet and cannot have an affair.

    Please advice!

    Hi Brian,.

    Thank you for your response. My goal was to change the language of the page (ie: the locale), based on a value of the "Language" property on the users table. The problem was on the page of model component that did not change immediately.

    In any case, I think that I managed to solve this problem. Each jsf page has a 'f: view' and a 'Local' property So I make this property value gets a managed bean in which ownership of 'Language' referred to above is extracted, and the problem with the model is solved. The only problem is I want to set it for each page, but it seems that it works pretty well.

    Definition of this topic as resolved!

  • Make the page template TITLE a &amp; quot; Editable (Andes) &amp; quot;?

    I have a model that works very well, except that I can't figure out how to set the TITLE of the PAGE as an 'editable '.

    I would like the default template title to "this is my title Page. Then I would update this title field in each new HTML page created on this model.

    Currently, I just typed in 'This is my Page title' in the title of the template field. But the pages created from this template to * not * allow me to update the title. I get a message something to the effect of: "page properties are locked by the model, you can not change" (sic).

    The other "boxes" located in the model of BODY * are * works very well. It's just the TITLE page that gives me heartburn.

    Someone has an idea?

    Thank you.

    Add this encoding to the encoding of html in the title on the second model

    JANET inside Page

    It should work

  • import of page loses references of region model and the page template

    I have a dev and test environment. The test workspace is an export of the workspace of dev. Both applications have the same id app.

    I export a dev page and import to test. This works.

    I run the test page and the page does not. When I had the look of admin test page model has been implemented by default and the 'report' two models of User Interface have been updated the model No. and the submission of the report was by default (standard) HTML, that is not what was in the app dev.

    I looked at the page in dev and the page model was a standard tabs, UI were region of report and the presentation of the report was 101. Standard, row of alternating colors.

    Does anyone have an experience with imports no implementation of pages they were exported?

    TIA,

    Sam

    Sam,

    The object associated with an application are created specifically for each application.

    Whenever you create a component that a unique ID is assigned for use as the primary key, although some components have composite primary keys - a page, for example, is identified solely by the application ID and the ID of the page.

    Then, unique IDS are not transferable through an import / export.

    Install an application and keep the ID of the original application won't change any internal ID in the installed application.

    If the ID name and app object were used to the "key" which would allow applications to be a little more portable/leachable (is that a Word).

    I don't see how it works, or how it would do something more flexible that it isn't already.

    The import of components and of the page, but when he tries to use the same ID internal to the models and other application classes opposed the ID internal are not the same as the IDS exported and therefore fail.

    Right. The ID of the shared components, such as templates, referenced by the page that you have installed are the IDS used in the application that you have exported the page of. Normally, you should install the page in an exact copy of this application, one with the same ID for components shared as the source application. But you've actually created two new applications in two different workspace by changing their application during the installation ID, which makes them 100% dissimilar for such purposes. (Regardless that they now have the same application ID, they cannot be correlated).

    Where can I find a list of the components that are unique to the current mix of work/App space IDS and those who are not independent.

    All components except the pages and applications, I think, get their identity papers adjusted when you change the application during the installation of the application ID.

    Now, what you could have done when you request 202 and want to make 150 has been to change the export file and changed several references to 202 to 150, remove app 202, and then use SQL * more to install the application using this file. There would have not been in the ID being adjusted.

    Scott

  • Taskflow added to the Page template

    I created a taskflow in my Webcenter Portal application.  Then, it is included in my page template (drag + drop so that all the necessary links are created)

    When I run the application, my workflow is not running.  I am able to test in debug mode with a breakpoint in a method of bean of support of a method call.

    Question: The workflow can be included in a Page template?  Or should it be included from Pages?

    Jdev: 11.1.1.7

    Yes.

    When Creating Custom Task flows and adding them to your JAR ADF libraries, you must go to jazn-"Data.xml" to assing roles can view, manage... your custom task flow.

    Kind regards.

Maybe you are looking for

  • What is a waveform CSYNC acceptable for a 1409?

    I understand the PCLK, HSYNC and VSYNC inputs because we use those with our current project.  I also understand the NTSC & RS - 170 video.  But the entry for CSYNC confuses me.  In the manual it says to the Mode "external" CSYNC, luminance, or signal

  • Last update of Windows XP and SVCHOST. EXE problems?

    Hello. My PC runs XP SP3 (HP Media Center) 3G of ram. It worked very well lately without any problem whatsoever. This morning I started as usual. I noticed the familiar Microsoft Update 'yellow shield' in the lower right of the task bar. I flew over

  • error code 2250

    I can't start the workstation service.  I get a 2250 service-specific error code. I replaced the mup.sys file according to the instructions of MS and am still getting the same error when you try to start the workstation service I am running XP servic

  • Computer Install__printer

    I am trying to install a HP Deskjet F4280 printer to my windows vista. And in the printer folder that it does not show that the printer is installed, but somewhere she told me that it was installed just do not know where

  • BlackBerry Q10 all is currently blocked on my Q10

    I cannot even accept an incoming call. It seems that all functions and keys are blocked. Does anyone have an idea what we were wrong and the way to unlock the device and touchscreen? Thank you. Marcus