Difference between regions...
Hi,
In my application I have Page 0 ( with defined region ) and other pages.
I have few items on a page for example page 1.
Well now... when I want to put items on a region in combobox it ( ApEx ) offers me all my defined regions on the page, Page 0 region ( if it is defined ) and region called %.
I'm wondering what is the difference between Page 0 region and the region %.
What would happend if I put my item on Page 0: region or on region %.
Thanks for answers,
Zlatko...
Zlatko - If you put an item in a region on page 0, the item will appear on every page in the chosen region of page 0. The position of the page 0 region is determined by the region attributes on page 0 and the page template of the current page. If you change an item's region from some named region to %, you're just saying don't associate this item with any particular region. It is then shown as a "page" item on the definition page and it's kind of orphaned, so it's best to put it into an existing region.
Scott
Similar Messages
-
Regional Settings differences between 2008 and 2012
Hi There,
Can anyone explain why some of the regional setting details have changed with Win 2012?
Example: Dutch (Belgium) - nl-BE
The 'Digital Grouping Symbol' has changed from a DOT to a WHITESPACE.
2008 - €1.000,00 whereas 2012 - €1 000,00
If the settings are changed on the servers will they persist after OS updates etc?
Rgds,
FrankHi Vivian,
I see no reference in the KB article to modifications for the CET timezone nor any reference to the resolution of culture format info discrepancies.
A further issue is that the active regional settings on our PRD servers will be set to United States and it would appear that any modification to the Belgium locales (i.e. nl-BE, fr-BE) are not persisted once you switch to United States as the
active setting.
The knock on effect of this is that for our PRD web-applications (which are active across many regions), we have to write code to override the OS information. .NET uses the OS info to populate its Culture information.
Could you confirm if the differences between 2008 and 2012 are the result of a bug or are the changes planned? Based on communication with some of our customers in Belgium, they are of the opinion that the 2008 (and Win 2003) settings are per their expectations.
I really do not what to have to handle these situations across our application landscape and am sure that other people with globalized applications will also hit problems. -
In Oracle Forms What is the difference between the Regions and Blocks ?
Hi,
In Oracle Forms What is the difference between the Regions and Blocks ?
thanks
sivaHi Siva
in oracle forms Block are entities which represent your data (table, views etc), you can say like EOs and VOs.
Well I dont know about regions in forms. -
Difference between GB and Europe/London Time Zone Region
Is there any difference between the GB and Europe/London Time Zone Regions?
I've checked through the documentation and I can't find anything in there. I've also queried the V$TIMEZONE_NAMES view and they show the same abbreviations, so I'm assuming that they're the same, and it's just a case a being as specific as you want.
ORA11GR1> SELECT * FROM v$timezone_names WHERE tzname IN ('GB', 'Europe/London');
TZNAME TZABBREV
Europe/London LMT
Europe/London GMT
Europe/London BST
Europe/London BDST
GB LMT
GB GMT
GB BST
GB BDSTIf anyone can point me in the direction of any docs/articles that might be able to shed some light on it I'd appreciate it, if not then I think I'll settle for Europe/London and I'm in England.
Cheers
Rich
Edited by: RichDBA on 03-Aug-2012 04:01Hi;
AFAIK no difference. Plesae see:
Timestamps & time zones - Frequently Asked Questions [ID 340512.1]
Regard
Helios -
Difference between Not Null and Null..
Hi All,
In Conditional Region portion i would like to know the difference between
Value of item in Expression 1 is not null and we will assign the text filed name in expression.
Value of item in Expression 1 is null
When we have use the above two scenerio's ..
Not null means what it has some value in text filed or not.
pls help me out.
Anoo..Hello Anoo,
Validations check the input and will return an error message if the validation is not met (like 'Field is required').
Conditions can be used to run a Process (or render an item) when some condition is met - or not- (like do this only when field is not null).
Greetings,
Roel
http://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.logica.com/ -
What are differences between the target tablespace and the source tablespac
The IMPDP command create so manay errors. But the EXAMPLE tablespace is transported to the target database successfully. It seems that the transported tablespace is no difference with the source tablespace.
Why create so many errors?
How to avoid these errors?
What are differences between the target tablespace and the source tablespace?
Is this datapump action really successfull?
Thw following is the log output:
[oracle@hostp ~]$ impdp system/oracle dumpfile=user_dir:demo02.dmp tablespaces=example remap_tablespace=example:example
Import: Release 10.2.0.1.0 - Production on Sunday, 28 September, 2008 18:08:31
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "SYSTEM"."SYS_IMPORT_TABLESPACE_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_TABLESPACE_01": system/******** dumpfile=user_dir:demo02.dmp tablespaces=example remap_tablespace=example:example
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
CREATE TABLE "OE"."CUSTOMERS" ("CUSTOMER_ID" NUMBER(6,0), "CUST_FIRST_NAME" VARCHAR2(20) CONSTRAINT "CUST_FNAME_NN" NOT NULL ENABLE, "CUST_LAST_NAME" VARCHAR2(20) CONSTRAINT "CUST_LNAME_NN" NOT NULL ENABLE, "CUST_ADDRESS" "OE"."CUST_ADDRESS_TYP" , "PHONE_NUMBERS" "OE"."PHONE_LIST_TYP" , "NLS_LANGUAGE" VARCHAR2(3), "NLS_TERRITORY" VARCHAR2(30), "CREDIT_LIMIT" NUMBER(9,2), "CUST_EMAIL" VARCHAR2(30), "ACCOUNT_MGR_ID" NU
ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
ORA-39117: Type needed to create table is not included in this operation. Failing sql is:
CREATE TABLE "IX"."ORDERS_QUEUETABLE" ("Q_NAME" VARCHAR2(30), "MSGID" RAW(16), "CORRID" VARCHAR2(128), "PRIORITY" NUMBER, "STATE" NUMBER, "DELAY" TIMESTAMP (6), "EXPIRATION" NUMBER, "TIME_MANAGER_INFO" TIMESTAMP (6), "LOCAL_ORDER_NO" NUMBER, "CHAIN_NO" NUMBER, "CSCN" NUMBER, "DSCN" NUMBER, "ENQ_TIME" TIMESTAMP (6), "ENQ_UID" VARCHAR2(30), "ENQ_TID" VARCHAR2(30), "DEQ_TIME" TIMESTAMP (6), "DEQ_UID" VARCHAR2(30), "DEQ_
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
. . imported "SH"."CUSTOMERS" 9.850 MB 55500 rows
. . imported "SH"."SUPPLEMENTARY_DEMOGRAPHICS" 695.9 KB 4500 rows
. . imported "OE"."PRODUCT_DESCRIPTIONS" 2.379 MB 8640 rows
. . imported "SH"."SALES":"SALES_Q4_2001" 2.257 MB 69749 rows
. . imported "SH"."SALES":"SALES_Q1_1999" 2.070 MB 64186 rows
. . imported "SH"."SALES":"SALES_Q3_2001" 2.129 MB 65769 rows
. . imported "SH"."SALES":"SALES_Q1_2000" 2.011 MB 62197 rows
. . imported "SH"."SALES":"SALES_Q1_2001" 1.964 MB 60608 rows
. . imported "SH"."SALES":"SALES_Q2_2001" 2.050 MB 63292 rows
. . imported "SH"."SALES":"SALES_Q3_1999" 2.166 MB 67138 rows
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."REGIONS" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."REGIONS" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."COUNTRIES" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."COUNTRIES" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."LOCATIONS" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."LOCATIONS" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."DEPARTMENTS" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."DEPARTMENTS" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."JOBS" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."JOBS" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."EMPLOYEES" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."EMPLOYEES" TO "EXAM_03"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'USER1' does not exist
Failing sql is:
GRANT SELECT ON "HR"."JOB_HISTORY" TO "USER1"
ORA-39083: Object type OBJECT_GRANT failed to create with error:
ORA-01917: user or role 'EXAM_03' does not exist
Failing sql is:
GRANT SELECT ON "HR"."JOB_HISTORY" TO "EXAM_03"
ORA-39112: Dependent object type OBJECT_GRANT:"OE" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"OE" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
ORA-39112: Dependent object type INDEX:"OE"."CUSTOMERS_PK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type INDEX:"OE"."CUST_ACCOUNT_MANAGER_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type INDEX:"OE"."CUST_LNAME_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type INDEX:"OE"."CUST_EMAIL_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type INDEX:"PM"."PRINTMEDIA_PK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMER_CREDIT_LIMIT_MAX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMER_ID_MIN" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"OE"."CUSTOMERS_PK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type CONSTRAINT:"PM"."PRINTMEDIA__PK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
ORA-39112: Dependent object type CONSTRAINT:"IX"."SYS_C005192" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUSTOMERS_PK" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_ACCOUNT_MANAGER_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_LNAME_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_EMAIL_IX" creation failed
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"PM"."PRINTMEDIA_PK" creation failed
Processing object type TABLE_EXPORT/TABLE/COMMENT
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type COMMENT skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39112: Dependent object type REF_CONSTRAINT:"OE"."CUSTOMERS_ACCOUNT_MANAGER_FK" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39083: Object type REF_CONSTRAINT failed to create with error:
ORA-00942: table or view does not exist
Failing sql is:
ALTER TABLE "OE"."ORDERS" ADD CONSTRAINT "ORDERS_CUSTOMER_ID_FK" FOREIGN KEY ("CUSTOMER_ID") REFERENCES "OE"."CUSTOMERS" ("CUSTOMER_ID") ON DELETE SET NULL ENABLE
ORA-39112: Dependent object type REF_CONSTRAINT:"PM"."PRINTMEDIA_FK" skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
Processing object type TABLE_EXPORT/TABLE/TRIGGER
ORA-39082: Object type TRIGGER:"HR"."SECURE_EMPLOYEES" created with compilation warnings
ORA-39082: Object type TRIGGER:"HR"."SECURE_EMPLOYEES" created with compilation warnings
ORA-39082: Object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" created with compilation warnings
ORA-39082: Object type TRIGGER:"HR"."UPDATE_JOB_HISTORY" created with compilation warnings
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
ORA-39112: Dependent object type INDEX:"OE"."CUST_UPPER_NAME_IX" skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"OE"."CUST_UPPER_NAME_IX" creation failed
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"OE"."CUSTOMERS" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"PM"."PRINT_MEDIA" creation failed
ORA-39112: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
Processing object type TABLE_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/POST_INSTANCE/PROCACT_INSTANCE
ORA-39112: Dependent object type PROCACT_INSTANCE skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
ORA-39083: Object type PROCACT_INSTANCE failed to create with error:
ORA-01403: no data found
ORA-01403: no data found
Failing sql is:
BEGIN
SYS.DBMS_AQ_IMP_INTERNAL.IMPORT_SIGNATURE_TABLE('AQ$_ORDERS_QUEUETABLE_G');COMMIT; END;
Processing object type TABLE_EXPORT/TABLE/POST_INSTANCE/PROCDEPOBJ
ORA-39112: Dependent object type PROCDEPOBJ:"IX"."AQ$_ORDERS_QUEUETABLE_V" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE_N" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE_R" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
ORA-39112: Dependent object type PROCDEPOBJ:"IX"."AQ$_ORDERS_QUEUETABLE_E" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
ORA-39112: Dependent object type PROCDEPOBJ:"IX"."ORDERS_QUEUE" skipped, base object type TABLE:"IX"."ORDERS_QUEUETABLE" creation failed
Job "SYSTEM"."SYS_IMPORT_TABLESPACE_01" completed with 63 error(s) at 18:09:14Short of trying to then reverse-engineer the objects that are in the dump file (I believe Data Pump export files contain some XML representations of DDL in addition to various binary bits, making it potentially possible to try to scan the dump file for the object definitions), I would tend to assume that the export didn't include those type definitions.
Since it looks like you're trying to set up the sample schemas, is there a reason that you wouldn't just run the sample schema setup scripts on the destination database? Why are you using Data Pump in the first place?
Justin -
Difference between text data and attributes in master data?
Hello,
a charcteristic in BW maintains texts, hierarchies and attributes.
What exactly is the difference between texts and attributes?
Attributes describe master data like a customer. The country where the customer resides, the industry etc. describe and classify the customer. Attributes are not just the structure/metadata of the characteristics. They are also the content. The following table should visualize what i mean:
customer-no. | name
112 | mcpherson inc.
113 | donalds inc.
Texts contain contain the description of a characteristic. Texts define a characteristic. An example is the customers name. It does not describe the customer but defines him/her.
Is my understanding about these two parts of master data right?
What else except the customer's name belongs to the texts?
If I set up a characteristic like the customer in SAP BW, do I have to create an attribute "name". The name belongs to texts, not to attributes?? If I upload master data then, how does it work?
Thanks in advance.Hi,
If your analysis includes country and region then country and region should be included in the Infocube.This is required because only if you include these characteristics then you can restrict your queries for country and region.You may need to select some particular countires/region and show the report.Then you have to restrict your queries to only those countries/region.This is possible only if you have these characteristic in your infocube.
I am just envisaging your model like this.
Characteristic in the Infocube
Customer
Country
Region
Customer Attributes
Customer Number (SID which is self generated)
Customer Address1,2 ,3
Registration No
Date of Registration
Deposit Amount
etc ...
Region Attributes
Region Number (SID)
Total Customers
Sale Office Address
Number of Sales Persons
Customer Attributes
Customer Number (SID)
Total Customers
Head Office Address
Number of Sales Persons
GDP
Total Population
So the conclusion is whichever entity you want to restrict or analyse should be a part of Infocube.It is very difficult to do analysis based on attributes as I mentioned in my earlier post that they are only "Display attributes" (u can just show that's it).
Yes!! there are methods available for analysis based on characteristics in attributes table and you have to do either with virtual characteristic or replacement path or with writing code in customer exits.But a good design and earlier study of all possible report combination and having a good design will avoid good amount of development time and changes.
I have suffered when I had only 0CALDAY in my cube and when I want to take a monthly analysis, I was unable to do it and then I have to redesign my whole cube.
Please anyone, correct me if I am wrong.
Regs
Gopi. -
Difference between business area and profit center
hi all
could you please tell me about difference between business area and
profitcenter.
thanks,
regards,
chennuri.HI
Read below
Profit Center - The profit center view shows the various
internal areas of responsibilities. Objects such as cost
centers, materials, etc can be used for profit center
analysis. Profit center can be used to determine the
revenues, costs, and profitability for specfic areas of
responsibility.
Business Area - Business area forms an important part of
external reporting. Analysis of various segments, product
divisions, regions etc is possible using business areas.
Business Area: This is optional
This can be used cross compane codes
This is for Internal Purpose
It is not Legal Entity like Co Code
The transation entered in Business are, Debit total will
not tally with credit total
Since it is used for segment wise or area wise or line wise
this is used for internal report purpose only .
Balance Shhet and P & L stataments can be drawn on segment
wise
Profit Centre: Generally in terms of SAP or Finance the
meaning of Profit centre is to know the profitabilty.
In same manner , The managers wants to know the ROI from
their investments, obviously we nned to use the tool.
This ROI may be geographically or area wise or division
wise. P.C provided us profitablity of the particular area
for internal purpose ( Only for Internal )
Business Area is an optional entry.Whenever company wants
financial statements businessarea wise we can maintain
BAs.And also we can maintain BA as Segment Wise,Product
Wise,Geographical Location wise.
Profit center is used to know the profits of companies.PC
is also used for to know the profits as aProduct
wise,Segment wise,geographical location wise.If anything
wrong inthis answer plz correct me..
Hope this helps
Good Luck
Hari -
Considering buying refurbished. Is there a big difference between a refurb with an original date this year vs. one from over a year ago??
MacBook Air, 13", Mid 2013:
On June 10, 2013, Apple released an updated MacBook Air in the same form factor as the 2012 model during the company's Worldwide Developer Conference (WWDC). The 11-inch and 13-inch models have a minimum standard 4GB RAM, with a maximum configuration of 8GB. Both models are powered by the Haswell ULT 1.3GHz dual-core Intel Core i5 processors with Turbo Boost up to 2.6GHz and 1.7GHz Dual-Core i7 with Turbo Boost up to 3.3GHz option available. Each model has a 128GB configuration and a 256GB configuration available, with the 256GB model being upgradeable to 512GB SSD.
1.3 GHz (Core i5) or 1.7 GHz (Core i7)
MacBook Air, 13", Early 2014:
On April 29, 2014 Apple released an updated MacBook Air featuring faster processors and better battery life. The standard configurations also saw a price drop in most regions.
1.4 GHz (Core i5) or 1.7 GHz (Core i7)
MacBook Pro, 13", Retina, Late 2013:
At the Apple Special Event on October 22, 2013, Apple announced that it had updated the 13-inch and 15-inch MacBook Pro with Retina display. Both versions feature the new Intel Haswell chipset.
2.4 or 2.6 GHz (Core i5) or 2.8 GHz (Core i7)
MacBook Pro, 13", Retina, Mid 2014:
On July 29, 2014 Apple announced updated prices and processors for their Haswell Macbook Pro with Retina Display.
2.6 or 2.8 GHz (Core i5) or 3.0 GHz (Core i7)
I would go for the Pro Retina since the display is much better. -
Question about main difference between Java bean and Java class in JSP
Hi All,
I am new to Java Bean and wonder what is the main difference to use a Bean or an Object in the jsp. I have search on the forum and find some post also asking the question but still answer my doubt. Indeed, what is the real advantage of using bean in jsp.
Let me give an example to illustrate my question:
<code>
<%@ page errorPage="errorpage.jsp" %>
<%@ page import="ShoppingCart" %>
<!-- Instantiate the Counter bean with an id of "counter" -->
<jsp:useBean id="cart" scope="session" class="ShoppingCart" />
<html>
<head><title>Shopping Cart</title></head>
<body bgcolor="#FFFFFF">
Your cart's ID is: <%=cart.getId()%>.
</body>
<html>
</code>
In the above code, I can also create a object of ShoppingCart by new operator then get the id at the following way.
<code>
<%
ShoppingCart cart = new ShoppingCart();
out.println(cart.getId());
%>
</code>
Now my question is what is the difference between the two method? As in my mind, a normal class can also have it setter and getter methods for its properties. But someone may say that, there is a scope="session", which can be declared in an normal object. It may be a point but it can be easily solved but putting the object in session by "session.setAttribute("cart", cart)".
I have been searching on this issue on the internet for a long time and most of them just say someting like "persistance of state", "bean follow some conventions of naming", "bean must implement ser" and so on. All of above can be solved by other means, for example, a normal class can also follow the convention. I am really get confused with it, and really want to know what is the main point(s) of using the java bean.
Any help will be highly apprecaited. Thanks!!!
Best Regards,
AlexHi All,
I am new to Java Bean and wonder what is the main
difference to use a Bean or an Object in the jsp. The first thing to realize is that JavaBeans are just Plain Old Java Objects (POJOs) that follow a specific set of semantics (get/set methods, etc...). So what is the difference between a Bean and an Object? Nothing.
<jsp:useBean id="cart" scope="session" class="ShoppingCart" />
In the above code, I can also create a object of
ShoppingCart by new operator then get the id at the
following way.
ShoppingCart cart = new ShoppingCart();
out.println(cart.getId());
...Sure you could. And if the Cart was in a package (it has to be) you also need to put an import statement in. Oh, and to make sure the object is accessable in the same scope, you have to put it into the PageContext scope. And to totally equal, you first check to see if that object already exists in scope. So to get the equivalant of this:
<jsp:useBean id="cart" class="my.pack.ShoppingCart"/>Then your scriptlet looks like this:
<%@ page import="my.pack.ShoppingCart %>
<%
ShoppingCart cart = pageContext.getAttribute("cart");
if (cart == null) {
cart = new ShoppingCart();
pageContext.setAttribute("cart", cart);
%>So it is a lot more work.
As in my mind, a normal class can also
have it setter and getter methods for its properties.True ... See below.
But someone may say that, there is a scope="session",
which can be declared in an normal object.As long as the object is serializeable, yes.
It may be
a point but it can be easily solved but putting the
object in session by "session.setAttribute("cart",
cart)".Possible, but if the object isn't serializable it can be unsafe. As the point I mentioned above, the useBean tag allows you to check if the bean exists already, and use that, or make a new one if it does not yet exist in one line. A lot easier than the code you need to use otherwise.
I have been searching on this issue on the internet
for a long time and most of them just say someting
like "persistance of state", "bean follow some
conventions of naming", "bean must implement ser" and
so on. Right, that would go along the lines of the definition of what a JavaBean is.
All of above can be solved by other means, for
example, a normal class can also follow the
convention. And if it does - then it is a JavaBean! A JavaBean is any Object whose class definition would include all of the following:
1) A public, no-argument constructor
2) Implements Serializeable
3) Properties are revealed through public mutator methods (void return type, start with 'set' have a single Object parameter list) and public accessor methods (Object return type, void parameter list, begin with 'get').
4) Contain any necessary event handling methods. Depending on the purpose of the bean, you may include event handlers for when the properties change.
I am really get confused with it, and
really want to know what is the main point(s) of
using the java bean.JavaBeans are normal objects that follow these conventions. Because they do, then you can access them through simplified means. For example, One way of having an object in session that contains data I want to print our might be:
<%@ page import="my.pack.ShoppingCart %>
<%
ShoppingCart cart = session.getAttribute("cart");
if (cart == null) {
cart = new ShoppingCart();
session.setAttribute("cart", cart);
%>Then later where I want to print a total:
<% out.print(cart.getTotal() %>Or, if the cart is a JavaBean I could do this:
<jsp:useBean id="cart" class="my.pack.ShoppingCart" scope="session"/>
Then later on:
<jsp:getProperty name="cart" property="total"/>
Or perhaps I want to set some properties on the object that I get off of the URL's parameter group. I could do this:
<%
ShoppingCart cart = session.getAttribute("cart");
if (cart == null) {
cart = new ShoppingCart();
cart.setCreditCard(request.getParameter("creditCard"));
cart.setFirstName(request.getParameter("firstName"));
cart.setLastName(request.getParameter("lastName"));
cart.setBillingAddress1(request.getParameter("billingAddress1"));
cart.setBillingAddress2(request.getParameter("billingAddress2"));
cart.setZipCode(request.getParameter("zipCode"));
cart.setRegion(request.getParameter("region"));
cart.setCountry(request.getParameter("country"));
pageContext.setAttribute("cart", cart);
session.setAttribute("cart", cart);
}Or you could use:
<jsp:useBean id="cart" class="my.pack.ShoppingCart" scope="session">
<jsp:setProperty name="cart" property="*"/>
</jsp:useBean>The second seems easier to me.
It also allows you to use your objects in more varied cases - for example, JSTL (the standard tag libraries) and EL (expression language) only work with JavaBeans (objects that follow the JavaBeans conventions) because they expect objects to have the no-arg constuctor, and properties accessed/changed via getXXX and setXXX methods.
>
Any help will be highly apprecaited. Thanks!!!
Best Regards,
Alex -
What are the differences between Qosmio X300 and Qosmio X305 ?
According to my understanding X300 European model while X305 is American model and they have different power supplies, and different default regional settings in pre-installed Windows.
Anything else?
-TechnologovHi
As far as I know there are no more differences between these notebooks.
The X305 is just for the American market and the X300 for the European market and the differences that you already said. Of course the other keyboard layout (depending on the country) too. ;)
The hardware should be the same on both notebooks. For example some models are equipped with two graphic cards (SLI), faster CPUs and so far. Therefore check the specifications on the Toshiba website.
Bye -
Differences between US and UK versions???
Hi.
I'm about to buy a Black MacBook and am wondering about the differences between the 2 versions.
I know the keyboard layout is slightly different. The UK version has a £ key and the enter key and "\" keys are re-configured. I'm also aware of the region coding on the DVD drive but once it's changed (first played movie) that won't be an issue. Are there any other obvious differences that I need to be mindful of?
ThanksThe slide on plug for the MagSafe adapter is different. Depending on where your going to use it you will need the correct plug adapter for it.
-
Whats the difference between these versions of photoshop?
First of all to make things clear I want to mention this first that I lives in Pakistan and Adobe doesn't support my region so in order to buy the Adobe Photoshop CC I have to contact the authorized resellers, after contacting them and asking for a invoice proposal for Adobe Photoshop CC, they send me several invoice proposals (per user team liscense). But I just got in a trouble as these proposals are offering Photoshop CC different versions so its like kinda making me double mind, i am just confused which to buy as prices are differ too and kinda noticeable. As for making my intentions clear I also wanna mention that I am looking for Single App Liscense i mean i just wanna buy Photoshop CC thats it. But for sure its not gonna be that photography version nor student one. Also i wanna know that whats the difference between these two versions and also tell me the pros and cons.
So please help me choose which one is better for me as I am really confused with it.
Here are the links
Note: You will have to translate these pages into english
Link one:
[65224660BA01A12] ราคาพิเศษ จำหน่าย Photoshop CC ALL Multiple Platforms Multi Asian Languages Licensing Subscription Mo…
Link two:
[65226001BA01A12] ราคาพิเศษ จำหน่าย Photoshop CC ALL Multiple Platforms Multi Asian Languages Licensing Subscription Mo…
I've attached screenshots tooThe features in both of the Photoshop CC are identical, there is a difference in price because, the higher priced is the original Photoshop price, the less priced is the promotional priced Photoshop CC eligible only if you have CS3 or later version of Adobe creative suite product.
Hope this answers your question.
Regards
Rajshree -
Differences between getMessage() and getLocalizedMessage()?
Hello,
I have a small question about exceptions.
What are the exact differences between e.getMessage():String and e.getLocalizedMessage():String?
kind regards
DanielTo my understanding, getMessage returns the name of the exception. getLocalizedMessage returns the name of the exception in the local language of the user (Chinese, Japanese etc.). In order to make this work, the class you are calling getLocalizedMessage on must have overridden the getLocalizedMessage method. If it hasn't, the method of one of it's super classes is called which by default just returns the result of getMessage.
So in most cases, the result will be the same but in some cases it will return the exception name in the language of the region where the program is being run.
At least, that's what I understand of it :)
Most of that from here:
http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-java101.html -
Who knows the hardware difference between carriers, at
Trying to figure out the difference between these carriers as they relate specifically to the iphone 4S. Family wants them, but I'm not sure if it's worth switching carriers, or if there's a real advantage, one carrier to the next. I won't choose Verizon, they were just way too expensive, so I'm really just asking about AT&T and Sprint. Or, is there really no difference at all. We live in Houston area.
So I'm guessing you are currently with T-Mobile? MetroPCS?
Talk to neighbors in your area who have Sprint and AT&T and see how their reception is, do the same thing for where you work and any other place where you spend a good bit of time. Won't do you any good to buy one from a company that has poor coverage in your area. And keep in mind cell coverage is block by block, not city, state or region so do ask around.
If you are going to travel out of the country you can buy unlocked iPhones from Apple and get a microSIM from the country you are visiting to save money. Your best route in this case is AT&T. If you aren't going to do this kind of travel then go with the subsidized phones.
Finally, Sprint is the only company left with an unlimited data plan so if you plan on downloading a lot, streaming movies, listening to Pandora, etc. your best bet might be Sprint.
Maybe you are looking for
-
Delete mail from iPod Touch but not from webmail
I like to access my webmail with my Touch but I don't like leaving mail on my Touch. How do I take it off without also deleting it from my webmail account?
-
Photo quality as if shot through glass
Most of my photos are washed out as if I took the photo through glass. I suspect because the back glass goes over the camera vs the 3GS design where it did not. Problem indoors or out. If I am in a room with an overhead light its really bad. It simpl
-
Patch Install Breaks TCP/IP Connectivity
Today (8/29/02) I installed the latest patch cluster for Solaris 2.8 (Sparc). Ever since I installed it, I have been unable to telnet or establish a socket connection from my Solaris system (port 10014) to a particular TCP/IP device. This is not a co
-
SolMon 3.2, Difference between SolMon report and Service .sap report?
Hi Guys, last week i found one strange thing, there are differences between the reports of our local SoMon server report and report from service.sap (service message). why there will be difference like this, Please help me in this regards. Regards S
-
Hello, I'm trying to write an update rule to transfer some data from one cube to another. I'll try to explain as much as i can :). I have an info object FACID (contains the facility ID for XYZ facilities), which has various attributes including one c