Asking about layout on apex page
Hai all, i'm newbie on web programming especially on apex,
is there tutorial or information about design region layout on page, because my region so crowd and not looks solid, especially about width region and centering contains on region
thank you
5f97ccbf-340e-4ea9-b68d-3878e2d2dbc8 wrote:
Please update your forum profile with a real handle instead of "5f97ccbf-340e-4ea9-b68d-3878e2d2dbc8".
Hai all, i'm newbie on web programming especially on apex,
is there tutorial or information about design region layout on page, because my region so crowd and not looks solid, especially about width region and centering contains on region
In APEX page layout is controlled using a combination of HTML and CSS via themes and templates. You need to have an understanding of these web technologies to make best use of APEX. If you're not familiar with them you're advised to get at least a basic understanding by spending some time on the tutorials here: start with HTML, then HTML5 and CSS. To modify behaviour as well as structure and presentation, Javascript, the HTML DOM and jQuery are also required.
Similar Messages
-
Hello
Recently, I asked about the possibility to swap from windows to mac with Adobe Design Standard CS5.5. In response, I was directed to the help page and i know that it is possible. But today I see that the help page is out of date.
How cann I now swap platforms for Adobe Design Standard CS5.5? Do I realy need to buy CS6? Or afer dowloading the mac version of CS5.5 I get the key. And if I realy need upgreade the CS5.5 cann I use the Mac version of CS6 for the dowloaded mac version of CS5.5? Is it possible?Thanks !
I didn't know that I cann buy CS6 Mac upgrade in Adobe Store.
So I have only to buy the CS6 Mac versions and upgrade CS5.5 Win to CS6 Mac?
How does look the procedure?
Do I need to install first the CS5.5 Mac on my Macbook and then upgrade it or is it not necessary?
Thanks
Langosz -
hi , I faced with a new problem recently while installing a free app.
when I am installing a new free app on my iphone , I'm asked about the way of payment . I check the none option in my apple Id account but it wouldn't be accepted . what should I do ?
regardsYou need to ask Apple for assistance with getting back into your old ID. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to resolve this issue through the Account Security team, fill out and submit this form.
(118441) -
How to make sure all the apex pages open up in new tab (or) new windows ?
- Lets say I create an Apex application in 4.0.2 with 10 pages.
- Now I wanted to check if there is some property in the Apex Admin or some settings which control this:
1) anything you click on application, either a page,field- it needs to open in a new tab in the same browser
2) anything you click on application, either a page,field- it needs to open in a new browser window>
1) anything you click on application, either a page,field- it needs to open in a new tab in the same browser
2) anything you click on application, either a page,field- it needs to open in a new browser window
>
I normally say that 98% of questions asked here have been asked (and answered) before, but I think this is a new one...
What needs to open in a new tab/window? The target APEX page? It would be interesting to hear the reasoning behind this.
If this is referring to each page view, as Matt points out there are a number of technical reasons in both browsers and APEX that would make this difficult to achieve. However these are dwarfed by usability and accessibility concerns. Using such a UI model would drive most users insane in short order. More seriously it would confuse infrequent users and users with learning disabilities, and present significant orientation and navigation problems for visually impaired users and people using assistive navigation technologies. -
A beginner question: How can I call an APEX page from outside
I want to mix APEX functionality and other enterprise tools.
Thus I wish to call by an URL an APEX page by transmitting the mandatory page argument and optionnal argument like an order number. I just couldn't found any information in the documentation about own argument in an URL
Any idea?
FredericHello,
The following will give you everything you need to know about using ApEx URL:
http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/concept.htm#BEIFCDGF
Regards,
Arie. -
When trying to download the free applications from itunes app store its asking about billing information.
Billing popup will display and navigating to billing detail page.Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
then credit card details will need to be entered before the account can be used to download any item (free or paid-for) from the store.
If you are being prompted to review the account then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
If not then you will need to enter credit card details - you should be able to remove the card after entering it -
About creating an AJAX page with DML procedures using dynamic actions
About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
I want to share my experience, creating AJAX procedures in APEX 4.0.
LIMITATIONS
• How Can I Hide UPDATE button while I press NEW button. ??
• How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
• How can I avoid multiple Inserts or Updates. ??
Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
1) Create a blank page
2) Add a Report Region for departments (It shows the columns deptno, dname and loc).
3) Add an HTML Region and create the elements to edit a Department.
a. P1_DEPTNO (Hidden to store PK)
b. P1_DNAME (Text Field)
c. P1_LOC (Text Field)
4) You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
5) Open Page Attributes and in the HTML Header Section include the following code.
<script>
function doSelect(pId){
$x_Value(‘P1_DEPTNO’,pId);
$x_Value(‘P1_ACTION’,’SELECT’);
</script>
6) Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
7) Create the following Buttons in the Form Region.
CANCEL Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
NEW Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
SAVE Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
CREATE Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
8) Create the following Dynamic Action to Select a Department
Name: Select Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: SELECT
Action: Execute PL/SQL Code
PL/SQL Code:
SELECT dname, loc
INTO :P1_DNAME, :P1_LOC
FROM dept
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: (none) (leave it blank)
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: (none) (leave it blank)
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
9) Create the following Dynamic Action to Update a Department
Name: Update Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: CREATE
Action: Execute PL/SQL Code
PL/SQL Code:
UPDATE dept SET
dname = :P1_DNAME,
loc = :P1_LOC
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
Action: Set Value
Unmark ‘Fire on page load’ and ‘Stop execution on error’
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: P1_DNAME
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: P1_LOC
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
Finally to refresh the Departments report, add the following true action at the end
Action: Refresh
Affected Elements: Region Departments
10) Create the following Dynamic Action to Create a Department
Name: Create Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: CREATE
Action: Execute PL/SQL Code
PL/SQL Code:
INSERT INTO dept(deptno,dname,loc)
VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
Page Items to Submit: P1_DEPTNO, P1_DNAME, P1_LOC
Don’t include any false action and create the Dynamic Action.
Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Function Body
PL/SQL Function Body:
DECLARE
v_pk NUMBER;
BEGIN
SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
RETURN v_pk;
END;
Page Items to submit: P1_DEPTNO
Affected Elements: Item P1_DEPTNO
Action: Set Value
Unmark *‘Fire on page load’* and *‘Stop execution on error’*
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_DNAME
Page Items to submit: P1_DNAME
Affected Elements: Item P1_DNAME
Action: Set Value
Unmark ‘Fire on page load’ and ‘Stop execution on error’
Set Type: PL/SQL Expression
PL/SQL Expression: :P1_LOC
Page Items to submit: P1_LOC
Affected Elements: Item P1_LOC
These actions allow refresh the items display value.
Finally to refresh the Departments report, add the following true action at the end
Action: Refresh
Affected Elements: Region Departments
11) Create the following Dynamic Action to delete a department
Name: Delete Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: DELETE
Action: Execute PL/SQL Code
PL/SQL Code:
DELETE dept
WHERE deptno = :P1_DEPTNO;
Page Items to Submit: P1_DEPTNO
Don’t include any false action and create the Dynamic Action.
Include the following True Actions AFTER the Execute PL/SQL Code true Action.
Action: Refresh
Affected Elements: Region Departments
Action: Clear
Unmark ‘Fire on page load’
Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
12) Finally Create the following Dynamic Action for the NEW event
Name: New Dept
Event: Change
Selection Type: Item(s)
Item(s): P1_ACTION
Condition: equal to
Value: NEW
Action: Clear
Unmark *‘Fire on page load’*
Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOCI need some help to solve this issues
• How Can I Hide UPDATE button while I press NEW button. ??
• How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
• How can I avoid multiple Inserts or Updates. ?? -
Documentation for exporting apex page to Word or PDF
Hi,
Do you know of any examples or documentation for exporting several regions on an APEX page to either a word doc or a pdf? I have tried using the report print functionality but it's not quite robust enough and I can only do one report.
Any direction would be greatly appreciated.
Best,
ForrestHi -
Not sure if I've understood your requirement but I'll guess that you have multiple reports or other items on a page and you want to generate 1 report with values from all regions...
If that's the case the approach I would take:
1) Configure either BI Publisher or Apache FOP printing.
2) Define a Report Query and Layout under shared components that pulls in all the data you require.
3) Call the new report from a button on the page.
You can find docs for all of this on apex.oracle.com, look for "Configure PDF Printing".
Good luck. -
Dynamic lov on a apex page parameter form
I'm trying to create a dynamic lov on a apex page parameter form. I read another post to look at metalink note. 292521. I asked our DBA to review the note but he claims he can't find the article. he's also been unable to find the last 2 metalink requests i've made. can someone verify metalink note 292521 exists so i can inform the DBA?
Thanks,
BrianBrian, I cannot find that note either, try posting your question in the APEX forum, this forum is for Oracle Portal questions.
Cheers,
Mick. -
I want to know critics about Layout Mode
Hi,
I want to know critics of Layout Mode feature in DW. Seems
like a wonder tool to me, and apparently solves many of the
problems i had when laying out pages, all you have to do is drag
and drop tables or cells here and there and add content to them!
Is there any disadvantage or inconvenience with this
approach? Why isn't it the typical workflow in town (CSS seems to
be the dominant approach, despite obvious more steps and workforce
than layout mode).
Thank you in advance for your opinions, i appreciate.Hello,
If the web were static like print media, layout mode would be
fine.
In many graphics applications like Photoshop, you can drag
elements (layers)
around until you get your design exactly how you want it.
Then, you simply save your design in whatever image format
you'd like. All
of the layers are merged into one, static image,
All of the parts have merged into one element, no longer the
multiple parts
you were dragging around.
When a user sees your image, either on a piece of paper or on
their computer
screen, it looks the same to everyone.
Overall, it might be bigger or smaller in whole dependant on
print size or
monitor resolution, but the layout itself can't change.
A web page, unless the page is one giant image, remains
multiple parts after
you publish it and some of these parts the user can change,
such as text
size.
Any area of your design with text in it will look different
on their screens
than on yours, but the images won't change size.
This is how the web works, and this is where layout mode
fails.
As you drag things around in layout mode, DW writes code to
try to keep the
elements exactly where you want them in relation to other
objects.
It merges cells which fills the code with colspans and
rowspans, and it adds
spacer images by the tens or hundreds in an effort to keep
everything "stuck
together" exactly where you dropped the elements.
The more things your drag and drop, the more complex the
code.
When you are done, your layout looks like you want it to on
your screen but
behind it is code that is very fragile and cumbersome.
With this code, if any part of your layout changes size in
someone's browser
(like a text area), everything else in the layout that is so
tightly tied to
it
will be affected as well.
This usually results in things shifting and not lining up any
more, the page
"breaking" and filling up with gaps and misalignments
throughout the page.
The one change ripples throughout the whole page, because
every element is
so tightly connected by the code Layout Mode wrote.
In essence, Layout Mode wrote such stringent and unforgiving
code that your
design will only work reliably at 1 text size and 1 browser
viewport size.
Those sizes are the sizes your browser was set at when you
designed the
page.
Think of it this way.
You have 100 playing cards and you lay them out on a table in
10 rows of 10
columns each.
You make sure all of the edges are touching.
It's a nice, tight layout.
On one of the cards in the center, you write some words in
marker.
If you saved this as an image, it would look the same to
everyone.
A hundred cards with all the edges touching and text written
on one of them.
If someone enlarges the image to read the text on the single
card, all the
other cards grow equally and the layout looks exactly the
same, only bigger.
However, if you saved this as a website and someone enlarges
the text to
read it, only the card with the text gets bigger.
All the others stay the same size. But you wanted all the
edges touching.
You'd like to keep as many cards as neatly arranged as
possible, but layout
mode doesn't care about that.
It's trying to keep every card edge touching, just like you
did when you
dragged and dropped them..
What happens to the neat rows and columns of cards if the
single card with
text on it doubles in size?
Cards all around it move and nothing lines up anymore. Gaps
appear between
every card.
Changing the size of that one piece of the layout ripples
through the rest
of the page because of that really complex, cumbersome code
Layout Mode
wrote. It really wants to keep everything just like you
wanted it, all the
edges touching and it doesn't care what the layout looks
like.
If you had used standard mode instead of layout mode, the
page would be
dynamic in that the elements (the cards) can freely flow in a
logical manner
under different user's settings.
When this single card doubles in size, the group of cards
above wouldn't be
affected. They would stay neatly arranged in rows with all
their edges
touching as would the group of cards below the enlarged card.
You'd keep a nice, neat layout of cards with just one row of
cards in the
center taller than the other rows because of the single
bigger card.
Instead of being filled with gaps and misalignments all over
the place that
Layout Mode's code caused, the page would still look good.
Layout Mode wrote such bad code as it tried to keep a layout
static in a
dynamic environment, that it has been removed from
Dreamweaver.
Here's more very good info, including a graphic example of a
common problem
Layout Mode creates for the unsuspecting....
http://apptools.com/rants/spans.php
There's something arguably as bad as layout mode you should
also stay way
from.
They, too, offer the ease of drag and drop but at a huge
price when you
realize all the troubles and then have to completely rebuild
your site.
Please read this:
http://apptools.com/examples/pagelayout101.php
Particularly, the section entitled "The trouble with layers"
(AP Divs)
Take care,
Tim
"mballom3" <[email protected]> wrote in
message
news:[email protected]...
> Hi,
>
> I want to know critics of Layout Mode feature in DW.
Seems like a wonder
> tool
> to me, and apparently solves many of the problems i had
when laying out
> pages,
> all you have to do is drag and drop tables or cells here
and there and add
> content to them!
>
> Is there any disadvantage or inconvenience with this
approach? Why isn't
> it
> the typical workflow in town (CSS seems to be the
dominant approach,
> despite
> obvious more steps and workforce than layout mode).
>
> Thank you in advance for your opinions, i appreciate.
> -
Create Report Layout File from page
I am trying to mimic the Report layout create from my APEX page. The process is referencing
wwv_flow_report_layouts, but it won't compile on my page. Am I able to insert into this from APEX page (insetad of builder)?
declare
l_report_layout clob;
l_report_layout_id number;
begin
for c1 in (
select blob_content from wwv_flow_files
where name = :P539_LAYOUT_FILE
) loop
l_report_layout_id := wwv_flow_id.next_val;
l_report_layout := wwv_flow_utilities.blob_to_clob(c1.blob_content);
insert into wwv_flow_report_layouts (
id,
flow_id,
report_layout_name,
report_layout_type,
page_template
) values (
l_report_layout_id,
:FB_FLOW_ID,
:P539_REPORT_LAYOUT,
'RTF',
l_report_layout
);Hi Guys,
If you're going to provide the DIAdem axis scaling information from LabVIEW, your going to have to send the axis scaling information to DIAdem and then run a DIAdem VBScript to apply that scaling information. My recommendation is to continue using the DIAdem Report.vi that ships with LabVIEW, but use it to run a VBScript instead of load a REPORT layout file (*.TDR). This means you will need to create a TDMS file that contains the parameters you want to pass to DIAdem, then have the VBScript that LabVIEW tells DIAdem to run always load that TDMS file to receive those parameters, then run VBScript commands that use those parameters.
I'm including an example,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
DIAdem Report File Scaled.zip 92 KB -
Stored package/procedure to drive APEX pages?
Not sure if this is possible with 10G express Edition- however would also like to know if you can do this with the full blown database.
I have a stored procedure that utilizes the pl/sql packages that contain http calls.
I want to have this package run and render the web pages. The package is dynamic and allows users to create their own queries after selecting a table.
I see how to put an anonymous block into your page. How do you reference a stored package/procedure that is store in the database?
In Oracle app server the url is something like
http://machine.com:7778/dad/myproc.main
How do you put this into an Apex page?
Thanks1) Why do you want to do such a thing? Is not the point with apex that it generates the html you need? On the other hand if you want only part of the page to be generated by your pl/sql then you can just use the sql or pl/sql output as the source for a text fiield. See [this post|http://forums.oracle.com/forums/message.jspa?messageID=3349966#3349966]
2) This should probably be asked in the [apex forum|http://forums.oracle.com/forums/forum.jspa?forumID=137] -
Adding a Layout to a Page NOT as DL (via API)
Hi everybody,
I have added layouts to a page, but at my customer, there are page where layouts are added not as delta links, but as copies (DL state = -1). At these pages, I'm trying to do the same with new layouts to add:
layoutToAdd = (INewObjectDescriptor) iViewSrv.instantiateDescriptor
(CreateMethod.NEW, newLayoutPath, user);
page.addLayout(layoutToAdd, newLytID);
This leads to a strange result: The object added is interpreted by the PCD as -- iView! Not as a layout! The same operation works like a charm if I use CreateMethod.DELTA_LINK.
I would consider this being a bug, and maybe will open an OSS message about it, anyhow, we need a solution quite fast, so maybe there is someone outside knowing an ad hoc workaround...?!
Thanks in advance
DetlevHi Praveen,
Hm, I should have checked this by my own...
Anyhow, I have been aware of this strange combination, but (a) as it is documented the way I used it and (b) as it did work for delta links, I forgot that...
I will open an OSS message to get the documentation http://help.sap.com/saphelp_nw04/helpdata/en/a6/ce9d4207e1c86ae10000000a155106/frameset.htm corrected.
Thanks!!!
Best regards
Detlev -
JWS shows a dialog asking about update new shortcut in no-Japanese
I installed an application at JRE 1.4.1_03, with Japanese JWS. After
JRE1.4.2 came up, I uninstalled JRE1.4.1_03
and re-installed JRE1.4.2 without the uninstalled application.
JWS shows a dialog asking about updating new shortcut. But the "Yes" and
"No" buttons in the dialog box are not in Japanese, they are just empty
squares.
How can I fix these boxes into Japanese "Yes" and "No" buttons?Thank you very much for answering my question.
I installed JRE1.4.2 Japanese Page, so it will be International version. The installer and other dialog words are in Japanese. Just "Yes" and "No" buttons in Dialog are not in Japanese.
Thank you,
Miki
Sounds like you installed the JRE1.4.2 English only
instead of the
International version.
Manfred. -
Static html with url to apex pages
I have a table with html content that contains url's to apex pages similar to
<a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:test_page>test page</a>
<a href=f?p=115:300:???:PAGE:::P300_PAGE_NAME:another_test_page">another test page</a>
Where ??? needs to be the session id.
I could use wwv_flow.do_substitutions to render the content and use &SESSION. in place of the question marks. Did not like this option as my content is in a CLOB and didn't want to parse all the content if the links are never clicked, also the content could be very large.
I don't have much control on how the url is generated, only the base path.
I also thought about building my own procedure to change the link value and then call the original f procedure, similar to:
<a href="set_session?p=115:300:#SESSION#:PAGE:::P300_PAGE_NAME:another_test_page>another test page</a>
This set_session procedure would get the session using plsql and then do the substitution and then call the existing f function.
Is there another solution to have static url's and render the content in an html region so that when clicked the session id is maintained?mwooldridge wrote:
I have a table with html content that contains url's to apex pages similar to
<a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:test_page>test page</a>
<a href="f?p=115:300:???:PAGE:::P300_PAGE_NAME:another_test_page>another test page</a>
Always post HTML code using <tt>\...\</tt> tags to prevent it being rendered by the forum software.
Where ??? needs to be the session id.
I could use wwv_flow.do_substitutions to render the content and use &SESSION. in place of the question marks.How do you retrieve and render the content?
Did not like this option as my content is in a CLOB and didn't want to parse all the content if the links are never clicked, also the content could be very large.I don't like that option because it uses an undocumented, unsupported API call.
Maybe you are looking for
-
Album view in iTunes 11.1.5.5
Sorry if this is a 'noob' type question ... I used to have views of albums in the Music folder. Something has happened to iTunes and now all that I get is a list (organised by album name), Have tried various things and nothing gets me back to the vi
-
A Jrame with progressbar that is setVisible() in a n otherThread
This title may seem a bit weird, but I really don't know how to explain it. My problem is this: For a (huge :p) project for school we need to read csv( Comma separated value) and put them in a database. Because this can take a while on remote servers
-
Re-mounting Ejected Drives and Flash Memory
After using an external drive (both Firewire and USB,) I often eject it to be sure that I do not unintentionally work with directories and files stored on it. To use the device again, I disconnect and reconnect to cause it to be mounted. Can I re-mou
-
Load balancing error 88: Cannot connect to message server (rc=9)
Hi, We are facing a problem in the system object. initially we created a system object with loadbalancing template ,and everything worked fine, but after couple of months we found a error "Load balancing error 88: Cannot connect to message server (rc
-
Apple TV and the 10.5.1 firewall
After updating to 10.5.1 I received an error message in iTunes when trying to update my Apple TV. The error message said my firewall software needed to allow communication over port ####. Turning the built in firewall off fixes the error message and