Source of the region with css script

Hi Andy -.

I've implemented the shape with the source of the region of css scripts. After the filling of data by default for an item, I tried to print the form using the print mode, the data appeared at the top of the form, it no longer is displayed in the input field.

I want to be able to print the form with the integrated data (mode friendly printer), is - it possible using scripts css as the source of the region?

Thank you
Yivon

Hello

Paste the HTML into a post is a bit of a pain.

First of all, you must surround your code with {code} tags. Second, all the < and > characters must be replaced by & lt; and & gt; Finally, all Roger has to be replaced by & amp; I tend to type/paste code in a text editor and then make replaces overall.

Thus, for example, to display:

< div > blah blah < / div >

You must enter:

{code}
& lt; div & gt; Blah blah & lt; / div & gt;
{code}

Andy

Tags: Database

Similar Questions

  • Can I use an IF statement in a Source in the region

    Hello, Im using Apex 3.x. I have a standard report page whose Source region is a simple select statement... SELECT xyz OF... WHERE

    I need to add an IF statement to this Source in the region, but when I do I get an error - query cannot be parsed in the generator.

    IF: P2_FILTER = 'A' THEN
    SELECT FROM ABC... WHERE
    ELSIF: P2_FILTER = 'B' THEN
    SELECT FROM ABC... WHERE
    END IF;

    The selected columns are the same in both scenarios. Is it possible to add an IF statement to the source of the region?

    Thank you
    you

    You can either:

    (1) create several springs in the area with a query and set a condition to show only based on your health status.

    (2) a function returning the pl/sql and return the generic as columns:

    if a then
      return 'select 123 from dual'
    else
      return 'select 456 from dual'
    end if;
    
  • modify the SQL in "source of the region", according to hidden parameter?

    Hello
    Is there a way to execute sql queries 'source region' 2, depending on the setting hidden past? In other words, if I want to show everyone "select * from emp" when clicking on a link 'total' as opposed to ' select * from emp where dept =: xxx "when clicking on a link dept, how the"source of the region' counts another sql statement?

    Thank you.

    My understanding is that according to the link you click on in a page (PX), it will go to a page (PY) that has an inside report and an element hidden with som value passed.

    If this is correct then do this in PY:

    select * from emp
    where dept=:xxx
    or
    :PY_PASSED_VALUE = 'total'
    

    This will show all THE records into emp if the passed value is total, that is, you clicked on the link total and 'total' to the element hidden in PY: PY_PASSED_VALUE
    but it will be visible only records specific Dept. otherwise.

    Hope this helps,
    Sam

  • Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    Hi all

    I have create report sql in version 4.2, and now we have apex version 5.0 upgrade.

    I encountered error when I change the State of sql

    The error massage:

    Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00905: lack of keyword

    My SQL

    SELECT VW.*

    , CASE WHEN (VW.file_code is null

    OR VW.cancel_flg = 'Y'

    OR (TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = trunc (sysdate))

    ) THEN

    ' < font color = "Red" > < b > other < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:51: & SESSION. : O PR: & DEBUG. : 51:P51_FILE_CODE, P51_COSTING_CODE, P51_TOUR_REG_NO, P51_VERSION_NO, P51_REQUEST, P51_AGENT_NAME, P51_ADULTS, P51_CHILDS, P51_MKT_CODE, P51_QUOT_CURR:'

    || FILE_CODE | «, » || COSTING_CODE | «, » || TOUR_REG_NO | «, » || VERSION_NO | «, » ||' OPR' | «, » || AGENT_CODE | «, » || VW. FROM_PAX | «, » || 0||','|| VW.mkt_code | ',' | VW. QUOT_CURR |': ' > < font color = blue > < b > other < /b > < / police > '. "

    END as "other Actions".

    , CASE WHEN ((VW.file_code is not null AND TOUR_DEP_DATE + GET_FILE_LOCKING_DAYS (VW. (SBU_CODE) < = TRUNC (SYSDATE))

    OR cancel_flg = 'Y '.

    OR (VW. REF_COSTING_CODE = VW. ADDL_FIELD2 AND VW. ADDL_FIELD1 LIKE '% COPIED FROM % OF APPROVAL'

    AND BOOKING_NAME LIKE "%-Backup")

    ) THEN

    ' < font color = "Red" > < b > edit < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:149: & SESSION. : & DEBUG. : 149:P149_COSTING_CODE:'

    || COSTING_CODE |': ' > < font color = blue > < b > edit < /b > < / police > '. "

    END AS 'Edit '.

    , CASE WHEN (Nvl (cancel_flg, 'n') = 'Y')

    )

    THEN

    ' < font color = "Red" > < b > add < /b > < / police > '

    ON THE OTHER

    "< a href =" f? p = & APP_ID.:33: & SESSION. : & DEBUG. : 33:P33_COSTING_CODE, P33_FILE_CODE, P33_MKT_CODE, P33_QUOT_CURR, P33_NO_OF_ADULT, P33_NO_OF_CHILD:'

    || COSTING_CODE | «, » || file_code | «, » || VW.mkt_code | ',' | VW. QUOT_CURR | «, » || VW. FROM_PAX | «, » || 0 | ': "> < font color = blue > < b > add < /b > < / police > '

    END as 'Services '.

    OF TOUR_MAS_VW VW

    How to solve it.

    Thank you

    Dear friends

    Thanks for your helping hands.

    I found the solution for this. We can solve this problem by using these solutions

    • A region of HTML:

      click me
      
    • Using PL/SQL:
      htf.anchor('f?p=100:5:'||V('APP_SESSION'),'click me');
      
    • Using a SQL query: SELECT htf.anchor('f?p=100:5:'||:APP_SESSION,'clickme') FROM DUAL;

    We can write the query in the form

    SELECT ' f? p = 100: 1 :'|| : APP_SESSION |': ' | : APP_UNIQUE_PAGE_ID |

    ': P1_EMPNO :'|| employe_id,

    first name,

    job_id

    Employees

    Thank you & best regards

    CORINE

  • Source of the region

    What is the diffrence between

    Use specific query column names and validate the query

    AND

    User names generic coloumn (analysis of running queries)



    the source of the region

    Use specific query column names and validate the query
    The name of the column is derived from your query and when you click button Save... It allows to check if the query is correct or not, if this is not correct it will not let you save the query.

    User names generic coloumn (analysis of running queries)
    Here the column name is generic for example. Col01, Col02, Col03 etc.
    Query is not validated, so if you enter a wrong query, it allows you to save the query, so it is your responsibility to make sure that the query is valid

    Kind regards
    Shijesh

  • Change the background color of a region with CSS

    Hi guys,.

    I have never tried to use CSS in any form before, and even less in the APEX, but I have a region that I need to change the white color and I discovered that you can do it in CSS.

    My region is called Login. Where I would place the CSS code and how I would write?

    Thanks for your help
    -Mark

    OK, while you're trying to change the background of the box connection stock? Took me awhile to understand without changing the model of connection.

    In the Source region of the region of Login, add this (if there is nothing in the source, just put this at the top).

    
    

    Here is a link to what it looks like:

    http://Apex.Oracle.com/pls/Apex/f?p=15552:101

    Published by: Rob Farver on March 8, 2010 08:11

  • Configuration problem of the mixture of the regions with and without installation of persistence of the disc causing the JSONFormatter to fail

    I have trouble setting my local setup correctly with a mixture of regions with different configuration of persistence of disc.  Is a configuration problem on my end or a bug in GemFire and/or Spring GemFire data?

    The configuration of my work is as follows:

    < gfe: replicated-region id = "replicatedRegion" cache-ref = "gemfireCache" disk-store-ref = "overflowOnlyDiskstore" persistent = "false" >

    < gfe:eviction type = threshold "HEAP_PERCENTAGE" = "90" action = "OVERFLOW_TO_DISK" / >

    < / gfe: replicated-region >

    < gfe:local - region id = "localRegion" cache-ref = "gemfireCache" / >


    With the above configuration, I can successfully call JSONFormatter.fromJSON (json) and get a reference to a PdxInstance object.  However, when I kinda modify configuration to enable the persistence of drive on one of the regions, the call to JSONFormatter.fromJSON (json) fails.  The change is as follows:


    < gfe:local - region id = "localRegion" cache-ref = "gemfireCache" persistent = "true" disk-store-ref = "persistOverflowDiskstore"/ >

    Without any additional modification, the following error starts occurring:

    com.gemstone.gemfire.pdx.JSONFormatterException: could not parse JSON document: [Source: java.io.StringReader@5549f0e, line: column 26,: 6]

    at com.gemstone.gemfire.pdx.JSONFormatter.fromJSON(JSONFormatter.java:66)

    ...

    Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: The PDX metadata must be persistent in a limb that has persisted data. See CacheFactory.setPdxPersistent.

    at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.checkAllowed(PeerTypeRegistration.java:531)

    at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.verifyConfiguration(PeerTypeRegistration.java:515)

    ...

    Note that it is breaking while I try to get a reference to a PdxInstance, and if the code has not yet arrived at the point where I place a PdxInstance object in a region.

    Thanks for any help in advance.

    Hello

    JSONFormatter PDX uses as is the serialization mechanism from the Gemfire cache. As indicators of error, you must have your persistent PDX meta-data when you use PDX with an area that itself is persistent. Adjust your configuration as follows:

    
    

    It will use a default for PDX record store, but you can also use a specific store if you wish.

    When you use PDX, a "PDXType" is created for each class serialized with PDX and this type id is stored with the data in the region. If this region is persistent, then the PDXType, associated with this object must also be kept.

    -Jens

  • Need help on the layout with CSS

    Hello

    Go easy on me I'm new to the Web design...

    I'm working with CSS, learning about various tutorials and have a basic understanding.  Where I am getting lost is I do a page template (dwt), I've done this before but this time I want to be more than a simple text in my pages editable region

    Thus, for example

    index

    loads with a text and a video

    Page1

    some of the texts, images, ads etc.

    Page2

    some of the texts, images, ads etc.

    fundamentally something different on each page, but I only see the option to leave an ' editable ' for each page... the logic in my brain is I create a DWT with my site header and navigation and footer and have content in the average change for each page depending on what I want to have this page?

    What confuses me, that of if I had to do more than 1 dwt, then how could manage navigation in one place?

    Thank you

    I think you mean I should use relative not absolute positioning?

    No, I mean that you must use no positioning at all. Read this - http://www.apptools.com/examples/pagelayout101.php

    with CSS, if I hear you correctly the style sheets should be used for the control of aspects throughout the site, page specific CSS should be put on the page itself... seems logical because it could keep things tidy.

    Yes.  You have a right, even if you can put also specific to the CSS in the stylesheet global page if the selectors so that the rules are specific for tags and attributes on specific pages.

    Good luck!

  • {tag_blogpostbody, 300} used in blog email feed campaign - can this will bring the title with CSS?

    Using of {tag_blogpostbody, 300} used in e-mail power campaign blog - can it be with CSS inline style?

    Have formatted the template to use in the email campaign - formatting in template (.tpl) as follows in the row in the table to display the blog - feed

    < b >

    < td colspan = "2" > < span style = "line-height: 20px;" font size: 13px; do-family: Verdana, Arial, Helvetica, without serif. color: # 3-3420; ">{tag_blogpostbody, 300}</span >

    < table >

    < /tr >

    Any help appreciated.

    Thank you, Megan

    They come as part of making the blogpostbody, 300 - you should change to {tag_blogpostbodypreview}, and white and it will pull the first paragraph and no reading more or after the comment to the text to read more.

  • Add/Remove the effect with CSS

    Hello

    I'm trying to implement some sort of entry in my application validation. I expanded TextField to accept only the entry with a number of characters and corresponding to a regular expression. When the regular expression match falls, I want textfield to have an innershadow, and he does. However, the effect is not removed when I remove the CSS class where this effect is defined.

    setOnAction(new EventHandler<ActionEvent>(){
                @Override
                public void handle(ActionEvent e) {
                    if(!getText().matches(restrict.get())) {
                        getStyleClass().add("invalid");
                    }
                    else {
                        getStyleClass().remove("invalid");
                    }
    
                    for(int i=0; i<getStyleClass().toArray().length; i++) {
                        System.out.println(getStyleClass().toArray()[i]);
                    }
                }
    

    .text-field.invalid {
        -fx-border-color: indianred;
        -fx-effect: innershadow(gaussian, indianred, 5, 0.5, 2, 2)
    }
    

    The style class "invalid" appears in the table when the entry is not valid. The class is removed successfully, but not the effect. How can I fix it? Do I need to set the effect in code and no CSS?

    Have you tried this:

    .text-field.invalid {
        -fx-border-color: indianred;
        -fx-effect: innershadow(gaussian, indianred, 5, 0.5, 2, 2)
    } 
    
    .text-field {
        -fx-border-color: indianred;  // change to some other color maybe transparent or use null
        -fx-effect: null
    } 
    

    Could be he you pls tell me how to use the CODE tags.

    Post edited by: jojorabbit

  • Change the size of the Page with a Script

    I did work in Illustrator which is defined as two-page spreads on 1 work plan.

    I need to convert this unique double pages.

    I.e. If for half of the documents, I need set the anchor point of the document at the top on the left and half the width of the artboard.

    For the other half of the documents, I need set the anchor on the right and half the width.

    Is this possible with scripts?

    I look around online to find ways to access the document and anchor point using the script, but not can't find all resources.

    Thanks for any help that can be offered.

    Edit: It is also possible to create a new work plan with a script and assign it a name?

    Here you go, this script splits the artboard into two

    // carlos canto
    // http://forums.adobe.com/message/5380624#5380624
    
    var idoc = app.activeDocument;
    var ab = idoc.artboards[0];
    var abBounds = ab.artboardRect;// left, top, right, bottom
    
    var ableft = abBounds[0]; // 0
    var abtop = abBounds[1]; // 612
    var abright = abBounds[2];
    var abbottom = abBounds[3];
    var abwidth = abright - ableft; // 792 // width
    var abheight = abtop- abbottom; // 0 // height
    
    var half = ableft + abwidth/2;
    
    var abright2 = half;
    ab.artboardRect = [ableft, abtop, abright2, abbottom];
    
    var ableft2 = half;
    var newAB = idoc.artboards.add([ableft2, abtop, abright, abbottom]);
    
  • Graphic Flex: how to remove the shadow with CSS?

    Hello!

    How can I remove shadow my columns with CSS?

    I know that I could do:

    <mx:seriesFilters>
      <mx:Array />
    </mx:seriesFilters>
    

    But I'd really only my CSS to control all of the visuals.

    Thank you!

    -Dwayne

    Don't think that you can. Since it is an array, you need to fix in the code. Sorry, Flex is like that, it makes you do a lot of things in the code that should be doable in CSS. But on the side of good news, instead of what you have done you can put this argument in your table tag: seriesFilters = "[]".

  • Batch Automation: Added the video with a script

    Hello

    I'm starting a project where I want to write a thing file/script/a batch that will allow me to add a list of new or existing video clips to a file first.

    I would also add an annotation.

    For example, I have 300 video clips in different folders. Each of them has a text file with a text that I would like to overlay for the first ten seconds of each video clip. I basically want to run the script/batch file and have the project to load 300 clips in the order with overlays of text with each folder becomes a different chapter.

    How would I go to do this?

    Can you point me to some resources that may help me?

    Thank you

    Robert

    Complete script was recently added to Photoshop. Maybe there is something in the works of PrPro, but none of us know him yet. If they add it, I hope it is better respected than the transcription function, which seems to run on about 1% of 1% of all possible files.

    This is the feature request form.

    Good luck

    Hunt

  • Fill the stage with Action Script

    Hello

    I'm new to flash and Action script. I would like to know how I could fill (instead of copy and paste) the scene with a small button e.g. 10 x 10 px. Let me explain what I'm trying to do here. It's a simple game that includes 4000 buttons, 50 lines of 80 buttons. Each button has States, not available, available and in the process. Visitors come to the page and start clicking, wins the one who has the most clicks.

    So instead of doing this with the painful copy and paste, to give the button a unique id, I was wondering if there is a way to do this with action script, generating 50 lines, 80 buttons per line, and each of them giving an id with j ++ or something.

    Thank you very much and sorry for my English.

    Of course, no problem actually. I would use two pieces of code. The first would be a
    class, which extends MovieClip and attached to your button element in the library.
    Then a little to the loop on the main timeline to attach buttons to the
    step and you're all set.

    For the class:

    class com.yourdomain.Sample extends MovieClip
    {
    var myID:Number;

    function Sample() {}

    public function set id(newID:Number):Void
    {
    myID = newID;
    this.onRelease = function() {}
    trace (this.) MyID);
    }
    }

    }

    Of course, you will need to change the com.yourdomain to your own class path.
    Then just put your clip in the library to export for ActionScript and set
    class: com.yourdomain.Sample

    In the main timeline then write a function createGrid bit as follows:

    function buildGrid (tot, sx, sy, pc, cs, rs) {}
    var startX = sx;
    var currX = startX;
    var startY = sy;
    perCol var = pc;
    var colSpace = cs;
    var rowSpace = rs;
    Use tot + 1 because we are not going to go 1-0 in the loop below
    var total = tot + 1;

    for (var i = 1; i)< total;="">
    Clip var = this.attachMovie ("btn", "btn" I, I + 10, {_x:currX,)
    _y:startY});
    clip.ID = i;
    currX += colSpace;
    If (I % perCol == 0) {}
    startY += rowSpace;
    currX = startX;
    }
    }
    }

    And call it:

    buildGrid (100, 20, 20, 10, 12, 12);

    This will make a grid of 100 occurrences of the element named "btn" (one with)
    your attached class), from 20,20 with 10 per line and 12 pixels
    between the centers... When you click on one any of them they will trace their
    appropriate index 1-100

    HTH

    --
    Dave-
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • Unable to create the region with tabs

    Hello
    http://www.danielmcghan.us/2009/07/jQuery-tabs-get-while-they-hot.html

    I followed the steps given above link.

    1.I download a file jquery - 1.2.3.pack [1] I copied to the location \oracle_home\oracle\product\apex\images\javascript

    I added this file in my page template.
    "< script type =" text/javascript"src="\oracle_home\oracle\product\apex\images\javascript\jquery-1[1].2.3.pack.js "> < / script >

    and I followed the same steps, but I am unable to proffer tabs.

    Please suggest some clear steps so everyone alread has worked on this example.


    Thank you
    Nr

    Hello

    In the example on page 17 app you can see region 1 of the article. Change this region, and you can see header region code

    Generates tabs.

    If change you it as

    Then change the region 3 region Footer Section to be

Then, create the new region. This place to the new header of region

and it's the footer Regin

you get extra tab of your new region Pentecost content

BR, Jari

Maybe you are looking for