vote up 0 vote down
star

Hi,

Suppose you have a region on Page 0 called: P0_REGION. You then create a page, P100, with no region. If you try to create a Page Item you get the following message:

Unable to Create Page Item You must create at least one region before you can create a page item.

Shouldn't we be allowed to create a page item and apply it to the P0 region? I didn't file this as a bug since I didn't know if this is what should happen.

Thank you,

Martin Giffy D'Souza
http://apex-smb.blogspot.com/

flag

2 Answers

vote up 1 vote down

Hi Martin,

I think it's normal to have at least 1 region on a page. It wouldn't be a good development practice to have a blank page used as a dispatcher to call page zero(0).

In the past, I've done something similar. Page zero(0) contains a region displayed on every page of the application. On all the other pages, I create a region for an interactive report and I create items but I put them in the region reprt_filtr. This wasn't a good idea... because my pages are not modular (stand alone), they depends on page 0 to work.

Dimitri, I think this is what you meant by saying "I'm not sure I find it logic to be able to create an item on another page".

Louis-Guillaume

www.lgcarrier.com

link|flag
vote up 0 vote down

Hi Martin,

Why don't you create the item on Page 0 then? Because then the APEX context knows which regions there are on the Page.

I'm not sure I find it logic to be able to create an item on another page especially when that item would have been created on Page 0 it might be displayed on every other page.

Thanks,

Dimitri

http://dgielis.blogspot.com

link|flag
Hi Dimitri, I'm using the Page 0 regions as place holders for the items. To give you some background, we have a reporting application which will have several hundred report parameter/filter pages and a report display pages. The report parameters region should be the same for all the parameter pages, however the items in it are different. I decided to use a P0 region to keep the look and feel consistent for all the parameter pages. Thanks, Martin Giffy D'Souza apex-smb.blogspot.com – Martin Giffy D'Souza Oct 8 at 15:03

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.