Function call another function variable
Is it possible to call another function variable?
Below is my Script:
f2();
function f1() {
var v2 = 1;
function f2(v2) {
var v3= 2;
alert(v2);
Hi creativejoan0425,
Some additional notes:
> Is it possible to call access another function variable?
No, it isn't. A local variable only lives in the scope of the function (body) where it is declared. In that sense any local variable should be considered private—in OOP terms.
pixxxel schubser's solution is based on setting a global scope for the variable myA, so it is visible from every place of your code.
Another solution could be implemented using JS closure mechanism. You can create a local scope (in an anonymous function which is executed once) then return your main function and additional helpers from that scope. All inner functions have then access to the local variables that have been declared in the scope. For example, you can create your function f1 and attach a getter function to it, as follows:
var f1 = (function(/*anonymous*/__)
// Local variable to be nested in the closure
var v1;
(__ = function(/*optional init value*/x)
// Here is your *actual* function
// do what you want with v1
v1 = 'undefined'!=typeof x ? x : Math.random();
).getVar = function()
// Here is your getter
return v1;
return __;
var f2 = function()
alert( f1.getVar() );
// Process
f1('init');
f2(); // => 'init'
f1();
f2(); // => some random number
f1();
f2(); // => another random number
// etc
This way v1 remains almost private but the outer code can read it through f1.getVar().
Anyway this seems to me a complicate approach for a basic script that probably does not require high security level. Another option, really easy to set up, is to use the fact that a function is an object. Instead of declaring a local variable, just handle v1 as a (public) member of f1, as follows:
var f1 = function F(/*optional init*/x)
// Do something with F.var
F.v1 = 'undefined'!=typeof x ? x : Math.random();
var f2 = function()
alert( f1.v1 );
f1('init');
f2(); // => 'init'
f1();
f2(); // => some random number
f1();
f2(); // => another random number
That's it!
> why every function need to return?
No, return is not required. By default, any function that has no return statement will simply return undefined.
@+
Marc
Similar Messages
-
Calling another function if upate statement fails
Hi there,
I have written an update procedure and insert procedure. Is there a way of calling another function if the update statement fails? Thanks a lot for your help.
Chris
procedure update_costing(in_period in DATE,
in_project_id IN VARCHAR2,
in_user_id IN VARCHAR2,
in_thu IN VARCHAR2,
in_fri IN VARCHAR2,
in_sat IN VARCHAR2,
in_sun IN VARCHAR2,
in_mon IN VARCHAR2,
in_tue IN VARCHAR2,
in_wed IN VARCHAR2)
UPDATE TBL_COSTING
SET
HOURS_THU = to_date (in_thu, 'HH24:MI'),
HOURS_FRI = to_date (in_fri, 'HH24:MI'),
HOURS_SAT = to_date (in_sat, 'HH24:MI'),
HOURS_SUN = to_date (in_sun, 'HH24:MI'),
HOURS_MON = to_date (in_mon, 'HH24:MI'),
HOURS_TUE = to_date (in_tue, 'HH24:MI'),
HOURS_WED = to_date (in_wed, 'HH24:MI'),
WHERE PERIOD = in_period
AND PROJECT_ID = in_project_id
AND USER_ID = in_user_id;
EXCEPTION
--CALLL HERE THE INSERT FUNCTION WITH SAME DATAMEMBERS
SOMETHING LIKE THIS---
WHEN others then
insert_costing(in_period, in_project_id, in_user_id ,in_thu,in_fri,in_sat,in_sun,in_mon,in_tue,in_wed ,in_submit);
COMMIT;
END update_costing;begin
UPDATE statement
IF SQL%ROWCOUNT =0
then
INSERT statement|procedure
end if;
end;
/Hi,
i have a simple doubt over here, i read somewhere that cursor attributes can be used only as long as the cursor is open, then in the above case whiel doing the update operation, oracle implicitly will open an cursor and will do the operation and then will close the cursor, then how does SQL%ROWcount works???please revert...
cheere -
Calling one function in another function
Hi,
How to call one function in another function?
regards,
Kishore.example:
SQL> ed
Wrote file afiedt.buf
1 declare
2 function bob(x number) return number is
3 begin
4 return x*x;
5 end;
6 function fred(x number) return number is
7 begin
8 return x+bob(x);
9 end;
10 begin
11 dbms_output.put_line('Value: '||to_char(fred(5),'fm9999'));
12* end;
SQL> /
Value: 30
PL/SQL procedure successfully completed.
SQL> -
Calling an OA Function from another function
Hi,
I need to create a link in a function that calls another function.
I've created a new Item 'Static Styled Text' writing in the destination URL 'OA.jsp?OAFunc=FUNCTION_NAME&pPersonID=&pFromMenu=Y'.
I am able to connect to the Function but the person_id parameter passed is not the right one.
To be clear I'll write down an example. I am a super user and in FUNCTION A I query an employee and enter in the function. Subsequently I click on the link I've created to view this employees information in FUNCTION B. Instead it queries my information, passing my person_id.
Can someone help?
thanksYou would need to get hold of the person id of the employee you queried, this may be a VO attribute
Once you get the person Id, you would need to set the URLs parameter value to this value.
so the URL when you are in the next pahe would look like
http://<server:port>/../OA.jsp?OAFunc=FUNCTION_NAME&pPersonID=<the value you passed>&pFromMenu=Y
Thanks
Tapash -
Can a function module call another function module
Can a function module call another function module:-
within the same function group
(ii) within different function groupsHi,
We can call function from another function. If there is a function which is like a calculator and all the operations are from different functions then we have to call the functions from the calculator function for different functions.
If all the function are from same function group, Then the data is globally available to all the functions with in the group.
Otherwise we have to declare the data definitions for each of the functions if they are in different function groups.
Yes it is possible to call a function module from another function module:-
within the same function group
(ii) within different function groups
Reward. -
How can i call another view variables in another view
how can i call another view variables in another view and pass that variables to the function
my situation is i have a view FAC which i need to pass par_id_fac TO THE VIEW AGR.AFTER THAT i what to take start_dt in agr view and par_id_fac from Fac and pass this variables to the function i have check the documentation but does not do what i what,the doc simply talk about creating variables and pass then to function.i what to pass variables from the views and return value to my contractno Variables value
something like if :agr.contract_no is null
and :agr.agr_start_dt is not null then
:agr.contract_no := sms_fapp.get_contract_no(:fac.par_id_fac,:agr.agr_start_dt);
end if;
y view is
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="AGR"
Version="11.1.2.60.81"
BindingStyle="OracleName"
CustomQuery="true"
PageIterMode="Full"
UseGlueCode="false"
RowClass="sms1405.AGRRowImpl"
ComponentClass="sms1405.AGRImpl"
DefClass="sms1405.AGRDefImpl">
<DesignTime>
<Attr Name="_isExpertMode" Value="true"/>
<Attr Name="_codeGenFlag2" Value="Access|Def|Coll|Prog|VarAccess"/>
<Attr Name="_isCodegen" Value="true"/>
</DesignTime>
<SQLQuery><![CDATA[SELECT SmsAgreements.ID,
SmsAgreements.FAPP_ID,
SmsAgreements.PAR_ID,
SmsAgreements.SSCH_ID,
SmsAgreements.COSERV_ID,
SmsAgreements.IREA_ID_TERMINATED,
SmsAgreements.IREA_ID_SUSPENDED,
SmsAgreements.SPTYP_ID,
SmsAgreements.CLAIM_BASED_YN,
SmsAgreements.NOTES,
SmsAgreements.SUSPENSION_DT,
SmsAgreements.TERMINATION_DT,
SmsAgreements.SPECIAL_PROJECT_END_DT,
SmsAgreements.CAPITAL_FUNDING_APPROVED,
SmsAgreements.PERIODICAL_PAYMENT_AMOUNT,
SmsAgreements.DATE_CREATED,
SmsAgreements.DATE_MODIFIED,
SmsAgreements.MODIFIED_BY,
SmsAgreements.CREATED_BY,
SmsAgreements.CONTRACT_NO,
SmsAgreements.OFF_ID,
SmsAgreements.DATE_APPROVED,
SmsAgreements.AGR_START_DT,
SmsAgreements.AGR_END_DT,
SmsAgreements.MONTHS_FUNDED,
SmsAgreements.PFRE_ANNUAL_FREQUENCY,
SmsAgreements.FUNDED_NO,
SmsAgreements.REGISTERED_NO,
SmsAgreements.CONTRACT_NAME,
SmsAgreements.OPEX_ALLOCATION,
SmsAgreements.EMERG_ORG_YN,
SmsAgreements.SCHEDULE,
SmsAgreements.PERIODICAL_PAYMENT_AVERAGE,
SmsAgreements.NO_OF_PAYMENTS,
SmsAgreements.ADVANCE_PAYMENT_PERCENT,
SmsAgreements.QUALIFY_NO,
SmsAgreements.ENROLLED_NO,
SmsAgreements.MULTI_YEAR_ALLOCATION,
SmsAgreements.AGR_ID_SOURCE,
SmsAgreements.FYEA_YEAR_ACTIVE,
SmsAgreements.PTYPE_CODE,
SmsAgreements.CONTRACT_VALUE,
SmsAgreements.MAGR_ID,
SmsAgreements.PROG_ID,
SmsAgreements.EMERGENCY_BED_#,
SmsAgreements.drep_id,
SmsAgreements.srep_id,
(select name from sms_offices off where off.id = SmsAgreements.off_id)officeName,
(SELECT PROG.NAME FROM sms_programmes prog where PROG.ID = SMSAGREEMENTS.PROG_ID)programe,
(select prog.code || '.' || bvspro.code || ' ' || bvspro.NAME budget_vote from sms_subsidy_schemes ssch,
sms_budget_vote_sub_programs bvspro,
sms_programmes prog
WHERE bvspro_id = bvspro.ID AND prog.ID = prog_id
and prog.id = SMSAGREEMENTS.PROG_ID)Sub_programme,
(select ssch.NAME from sms_subsidy_schemes ssch where SSCH.ID = SMSAGREEMENTS.SSCH_ID)subsidy,
(SELECT master_contract FROM sms_master_agreements magr WHERE MAGR.ID = SmsAgreements.magr_id)masterContract
FROM SMS_AGREEMENTS SmsAgreements]]></SQLQuery>
<ViewAttribute
Name="ContractNo"
IsPersistent="false"
IsNotNull="true"
PrecisionRule="true"
Precision="20"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="CONTRACT_NO"
SQLType="VARCHAR">
<TransientExpression><![CDATA[CONTRACT_NO]]></TransientExpression>
<DesignTime>
<Attr Name="_DisplaySize" Value="20"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="AgrStartDt"
IsPersistent="false"
PrecisionRule="true"
Type="java.sql.Timestamp"
ColumnType="DATE"
AliasName="AGR_START_DT"
SQLType="DATE">
<RecalcCondition><![CDATA[true]]></RecalcCondition>
<TransientExpression><![CDATA[adf.currentDate]]></TransientExpression>
</ViewAttribute>
</ViewObject>and my FAC view is
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="FAC"
Version="11.1.2.60.81"
BindingStyle="OracleName"
CustomQuery="true"
PageIterMode="Full"
UseGlueCode="false">
<DesignTime>
<Attr Name="_isExpertMode" Value="true"/>
</DesignTime>
<SQLQuery><![CDATA[SELECT SmsFacilityVw.PAR_ID_ORG,
SmsFacilityVw.ORGANISATION,
SmsFacilityVw.ORG_KEY,
SmsFacilityVw.C_CODE,
SmsFacilityVw.FACILITY,
SmsFacilityVw.PAR_ID_FAC,
SmsFacilityVw.NPO_REGISTRATION_NO,
SmsFacilityVw.ADDRESS,
SmsFacilityVw.TELNR_WORK,
SmsFacilityVw.ADDRESSLINE,
SmsFacilityVw.Town,
SmsFacilityVw.Suburb,
SmsFacilityVw.PostalCode,
SmsFacilityVw.DSD_REGION,
SmsFacilityVw.SERVICE_DELIVERY_AREA,
SmsFacilityVw.FAXNR,
SmsFacilityVw.EMAIL,
SmsFacilityVw.PAR_TYPE_DEF
FROM SMS_FACILITY_VW SmsFacilityVw]]></SQLQuery>
<ViewAttribute
Name="ParIdOrg"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="38"
Scale="0"
Type="java.math.BigInteger"
ColumnType="NUMBER"
AliasName="PAR_ID_ORG"
Expression="PAR_ID_ORG"
SQLType="NUMERIC"/>
<ViewAttribute
Name="Organisation"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="100"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="ORGANISATION"
Expression="ORGANISATION"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="100"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="OrgKey"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="10"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="ORG_KEY"
Expression="ORG_KEY"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="10"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="CCode"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="30"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="C_CODE"
Expression="C_CODE"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="30"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Facility"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="100"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FACILITY"
Expression="FACILITY"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="100"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="ParIdFac"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="38"
Scale="0"
Type="java.math.BigInteger"
ColumnType="NUMBER"
AliasName="PAR_ID_FAC"
Expression="PAR_ID_FAC"
SQLType="NUMERIC"/>
<ViewAttribute
Name="NpoRegistrationNo"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="30"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="NPO_REGISTRATION_NO"
Expression="NPO_REGISTRATION_NO"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="30"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Address"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="227"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="ADDRESS"
Expression="ADDRESS"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="227"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="TelnrWork"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="150"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="TELNR_WORK"
Expression="TELNR_WORK"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="150"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Addressline"
IsPersistent="false"
PrecisionRule="true"
Precision="120"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="ADDRESSLINE"
Expression="ADDRESSLINE"
SQLType="VARCHAR"
IsUpdateable="false">
<DesignTime>
<Attr Name="_DisplaySize" Value="120"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Town"
IsPersistent="false"
PrecisionRule="true"
Precision="60"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="TOWN"
Expression="TOWN"
SQLType="VARCHAR"
IsUpdateable="false">
<DesignTime>
<Attr Name="_DisplaySize" Value="60"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Suburb"
IsPersistent="false"
PrecisionRule="true"
Precision="60"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="SUBURB"
Expression="SUBURB"
SQLType="VARCHAR"
IsUpdateable="false">
<DesignTime>
<Attr Name="_DisplaySize" Value="60"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Postalcode"
IsPersistent="false"
PrecisionRule="true"
Precision="4"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="POSTALCODE"
Expression="POSTALCODE"
SQLType="VARCHAR"
IsUpdateable="false">
<DesignTime>
<Attr Name="_DisplaySize" Value="4"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="DsdRegion"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="40"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="DSD_REGION"
Expression="DSD_REGION"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="40"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="ServiceDeliveryArea"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="SERVICE_DELIVERY_AREA"
Expression="SERVICE_DELIVERY_AREA"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Faxnr"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="50"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="FAXNR"
Expression="FAXNR"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="50"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="Email"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="80"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="EMAIL"
Expression="EMAIL"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="80"/>
</DesignTime>
</ViewAttribute>
<ViewAttribute
Name="ParTypeDef"
IsUpdateable="false"
IsPersistent="false"
PrecisionRule="true"
Precision="12"
Type="java.lang.String"
ColumnType="VARCHAR2"
AliasName="PAR_TYPE_DEF"
Expression="PAR_TYPE_DEF"
SQLType="VARCHAR">
<DesignTime>
<Attr Name="_DisplaySize" Value="12"/>
</DesignTime>
</ViewAttribute>
<ViewLinkAccessor
Name="AGR"
ViewLink="sms1405.par_facfkViewLink"
Type="oracle.jbo.RowIterator"
IsUpdateable="false"/>
<ViewLinkAccessor
Name="SmsParAddrVwView"
ViewLink="sms1405.parLink"
Type="oracle.jbo.RowIterator"
IsUpdateable="false"/>
<ViewLinkAccessor
Name="DOC"
ViewLink="sms1405.FAC_DOC"
Type="oracle.jbo.RowIterator"
IsUpdateable="false"/>
</ViewObject>Edited by: ADF007 on 2012/08/23 6:10 PMi try this
public class SMS_AGREEMENTSImpl extends EntityImpl {
RowSet newContractNoBeforePost = null;
public static int NUMBER = Types.NUMERIC;
public static int DATE = Types.DATE;
public static int VARCHAR2 = Types.VARCHAR;
protected Object callStoredFunction(int sqlReturnType, String stmt,
Object[] bindVars) {
CallableStatement st = null;
try {
// 1. Create a JDBC CallabledStatement
st = getDBTransaction().createCallableStatement(
"begin ? := "+stmt+";end;",0);
// 2. Register the first bind variable for the return value
st.registerOutParameter(1, sqlReturnType);
if (bindVars != null) {
// 3. Loop over values for the bind variables passed in, if any
for (int z = 0; z < bindVars.length; z++) {
// 4. Set the value of user-supplied bind vars in the stmt
st.setObject(z + 2, bindVars[z]);
// 5. Set the value of user-supplied bind vars in the stmt
st.executeUpdate();
// 6. Return the value of the first bind variable
return st.getObject(1);
catch (SQLException e) {
throw new JboException(e);
finally {
if (st != null) {
try {
// 7. Close the statement
st.close();
catch (SQLException e) {}
protected void doDML(int operation, TransactionEvent e) {
String amDef = "sms1405.sms1405Module";
String config = "sms1405ModuleShared";
String NewContract = null;
ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
ViewObjectImpl vo = (ViewObjectImpl) am.findViewObject("AGR1");
vo.executeQuery();
Row row = vo.first();
// NewContract = (String)vo
NewContract = (String)row.getAttribute("ContractNo");
SMS_AGREEMENTSImpl newcont = new SMS_AGREEMENTSImpl();
//AGRRowImpl res = new AGRRowImpl();
// NewContract = NewContractNo();
if (operation == 1) {
newcont.setContractNo(NewContractNo());
//res.setContractNo( NewContractNo());
//NewContractNo();
super.doDML(operation, e);
public void postChanges(TransactionEvent TransactionEvent) {
/* Only bother to update references if contractno is a NEW one */
if (getPostState() == STATUS_NEW) {
* Get a rowset of contract related
* to this new partyaddress before calling super
newContractNoBeforePost = (RowSet)getSMS_AGREEMENTS();
super.postChanges(TransactionEvent);
public Date getAgrStartDt() {
return (Date)getAttributeInternal(AGRSTARTDT);
* Sets <code>value</code> as the attribute value for AgrStartDt.
* @param value value to set the AgrStartDt
public void setAgrStartDt(Date value) {
setAttributeInternal(AGRSTARTDT, value);
public String NewContractNo() {
String amDef = "sms1405.sms1405Module";
String config = "sms1405ModuleShared";
String NewContract = null;
ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
ViewObjectImpl vo = (ViewObjectImpl) am.findViewObject("FAC1");
// vo.setWhereClause("ParIdFac = 38844");
vo.executeQuery();
Row row = vo.first();
Integer par_id = null;
//oracle.jbo.domain.Date today = new oracle.jbo.domain.Date(oracle.jbo.domain.Date.getCurrentDate());
oracle.jbo.domain.Date today = new oracle.jbo.domain.Date();
//FACRowImpl res = new FACRowImpl();
//res.setParIdFac(par_id);
par_id = (Integer)row.getAttribute("ParIdFac");
today = this.getAgrStartDt();
return (String)callStoredFunction(VARCHAR2,
"sms_fapp.get_contract_no(?,?)",
new Object[]{par_id,today});
}at the moment am geting this error
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:415)
at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:477)
at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2007)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1659)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at oracle.jbo.server.EntityImpl.getEntityCache(EntityImpl.java:4665)
at oracle.jbo.server.EntityImpl.saveEventOrigTransAttrVals(EntityImpl.java:729)
at oracle.jbo.server.EntityImpl.saveEventOrigAttrVals(EntityImpl.java:719)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1935)
at sms1405.SMS_AGREEMENTSImpl.setContractNo(SMS_AGREEMENTSImpl.java:998)
at sms1405.SMS_AGREEMENTSImpl.doDML(SMS_AGREEMENTSImpl.java:1628)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
at sms1405.SMS_AGREEMENTSImpl.postChanges(SMS_AGREEMENTSImpl.java:1645)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
... 43 more
## Detail 0 ##
java.lang.NullPointerException
at oracle.jbo.server.EntityImpl.getEntityCache(EntityImpl.java:4665)
at oracle.jbo.server.EntityImpl.saveEventOrigTransAttrVals(EntityImpl.java:729)
at oracle.jbo.server.EntityImpl.saveEventOrigAttrVals(EntityImpl.java:719)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1935)
at sms1405.SMS_AGREEMENTSImpl.setContractNo(SMS_AGREEMENTSImpl.java:998)
at sms1405.SMS_AGREEMENTSImpl.doDML(SMS_AGREEMENTSImpl.java:1628)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
at sms1405.SMS_AGREEMENTSImpl.postChanges(SMS_AGREEMENTSImpl.java:1645)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:112)
at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
Function Invoking Another Function
Trying to invoke 1 function from another function, using same parameters for each.
Trying to invoke 1 function from another function. MasterFunction has parameterX which is a dictionary Name. When attempting to call ChildFunction from within MasterFunction, and passing it the same parameter that MasterFunction has, got javascript error 'Invalid Object'.
Here is basic scenario:
MasterFunction(dictionaryName)
ChildFunction(dictionaryName);
Both of these functions are in the JavaScript function list.
Any help on this would be appreciated.You need to pass the dictionary object, not the dictionary name. So you would pass in a parameter of "serviceForm.DictName", which is the dictionary object. Then, if your parameter name was "objDict", you would call methods against it, for example: "objDict.setVisible(false);" and "objDict.FieldName.getValue();"
If, for some reason, you do need or want to pass a string of the dictionary name, you need to use the "eval" method to get the dictionary object back: eval("serviceForm." + dictString + ".FieldName.getValue()"); -
How to you refer to a function in another function in a cfc
HI,
How to you refer to a function in another function in a cfc like so
<cffunction name="getApplicationConstants" access="remote" returntype="struct">
<cfset flash.result.users = [the result from the getUsers function]>
<cfreturn flash.result>
</cffunction>
<cffunction name="getUsers" access="remote" returntype="query">
<cfquery name="q" datasource="#datasource#">
select c.*
from USERS as c WHERE looksLikeUserIsDeleted = 'False'
AND userPrivileges = 1
ORDER BY fullName
</cfquery>
<cfset flash.result = q>
<cfreturn flash.result>
</cffunction>Hi, Nikos,
If the CFCs are in the same directory, you could do the following:
CFCA
<cfcomponent>
<cffunction name="getApplicationConstants" access="remote" returntype="struct">
<cfset flash.result.users = cfcB.getUsers() />
<cfreturn flash.result>
</cffunction>
</cfcomponent>
CFCB
<cfcomponent>
<cffunction name="getUsers" access="remote" returntype="query">
<cfquery name="q" datasource="#datasource#">
select c.*
from USERS as c WHERE looksLikeUserIsDeleted = 'False'
AND userPrivileges = 1
ORDER BY fullName
</cfquery>
<cfset flash.result = q>
<cfreturn flash.result>
</cffunction>
<cfcomponent>
If the CFCs were in different directories, the cfset expression in CFCA would be this:
<cfset flash.result.users = path.to.cfc.cfcB.getUsers() />
Where I have path.to.cfc, you would use either a mapping from CF Admin or the hierarchy of folders to the CFC from the web root.
Does that help? -
Calling a Function from another Function within CFC
Hi all,
I have many functions in my CFC that do various things, but
one query is a query that selects absolutely every record from a
table.
The thing is, I need to do a query like this in another
function to obtain only a recordcount of the same table used in
both separate functions. Instead of writing the query out again,
how can I utilise the function already written?
My question is, how can I invoke and use the results of a
query in one cffunction for another cffunction in the same CFC
component?
An example may look like the code attached...
Many thanks for your patience and help!
Mikey.quote:
Originally posted by:
Dan Bracuk
Generally, to call a function from within a cfc, you do
exactly what you do outside a cfc.
For your specific case, if your requirements permit it, you
might consider caching the big query for a couple of seconds. Then
you can continously call the function and not have to wait for it
to run and bring back the data each time.
Do you mean to say that within a CFC function I can execute
the same cfinvoke tags I use in normal CFM pages?
Mikey. -
How do i call a Function from another Function ?
When i press a button, i want a series of functions to execute one after another (they contain tweens, but its irrelevant), each of them waiting for the previous to be completed. I want to put the series of functions inside one function, so i can call just this function to execute all the others. The animations are working fine, but i dont know how call Functions from within another function. Also it would be necessary each function to wait until the previous has completed, to execute. Here is a clear example of what i need to do:
boton.onPress = animate ;
Function animate () {
animation1 (onComplete: animation2);
animation2 (onComplete: animation3);
animation3 ;
Function animation1 () { Tween 1};
Function animation2 () { Tween 2};
Function animation3 () { Tween 3};
any suggestions ?I'd do something like this:
boton.onPress = animation1 ;
Function animation1 () {
var Tween1 = new Tween();
Tween1.onComplete = animation2;
Function animation2 () {
var Tween2 = new Tween();
Tween2.onComplete = animation3;
Function animation3 () {
var Tween3 = new Tween(); -
Problems calling a function from another function
Hello all.
I am trying to create a function that will loop a few other function.
Basically the main function is this
private function publish(event:MouseEvent):void
if (doPublish.label == 'Publish')
// create a new NetStream object for video publishing
nsPublish = new NetStream(nc);
nsPublish.addEventListener(NetStatusEvent.NET_STATUS, nsPublishOnStatus);
// set the buffer time to zero since it is chat
nsPublish.bufferTime = 0;
// publish the stream by name
nsPublish.publish(publishName.text);
// add custom metadata to the stream
var metaData:Object = new Object();
metaData["description"] = "Chat using VideoChat example."
nsPublish.send("@setDataFrame", "onMetaData", metaData);
// attach the camera and microphone to the server
nsPublish.attachCamera(camera);
nsPublish.attachAudio(microphone);
doPublish.label = 'Stop';
else
// here we are shutting down the connection to the server
nsPublish.attachCamera(null);
nsPublish.attachAudio(null);
nsPublish.publish("null");
nsPublish.close();
doPublish.label = 'Publish';
I am then trying to call that function like this
protected function startloop():void {
publish(event);
But i get the error Access of undefined property event.
Any ideas on how i can call this function ? I need to call it as part of a loop against a timer..
Thanks in advanceNeed more info. Are you using a ViewStack or other navigator container, and trying to access a view that has not been displayed yet, due to deferred instantiation?
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services -
Temp table gets deleted when calling another function
Hello Everyone
I am using temporary tables which gets deleted on commit to workaround a multiset union (which doesnt work on Oracle 9). Now, this table somehow gets deleted (the content) during execution of my stored procedure but there is no delete or commit statement.
Here is what I am doing
start
delete temp table (just to be sure)
prepare array
loop array {
output count of temp table
a = some other function(...)
output count of temp table
insert stuff I need to temp table
output count of temp table
end
The output is giving me (example). The correct result would be 140 at the end
0
0
100
0
40
I checked all further function calls, there is no delete or commit, just some objects are created (and collections) which are then processed and returned.
Could it be that there is a automatic commit or something like that?
Thanks
Edited by: maschlegel on Jan 26, 2009 6:36 AM
Edited by: maschlegel on Jan 26, 2009 6:37 AM
Edited by: maschlegel on Jan 26, 2009 6:38 AMjust some objects are created (and collections) which are then processed and returneAll DDL statements issue COMMITs implicitly - once before the statement is processed and once after. (so any data changes are committed even if the DDL statement fails).
This is just one reason why it is such a bad idea to stick DDL statements in the middle of transactions.
Cheers, APC
blog: http://radiofreetooting.blogspot.com -
Can't call a function inside another function
Hello,
i have the following function :
FUNCTION test_day_week (P_DATE DATE)
RETURN VARCHAR2 IS
BEGIN
RETURN TO_CHAR(P_DATE ,'DAY');
END;
--it returns the day name of a given date
FUNCTION TEST_DAY_NUMBER (P_DAY_NAME VARCHAR2)
RETURN NUMBER IS
V_RESULT NUMBER;
V_RETURN_DAY VARCHAR2(30);
P_DATE DATE;
BEGIN
V_RETURN_DAY := test_day_week (P_DATE );
MESSAGE('V_RETURN_DAY'|| V_RETURN_DAY);
MESSAGE('V_RETURN_DAY'|| V_RETURN_DAY);
IF V_RETURN_DAY = 'MONDAY' THEN V_RESULT :=1;
END IF ;
IF V_RETURN_DAY = 'TUSEDAY' THEN V_RESULT :=2;
END IF ;
IF V_RETURN_DAY = 'WENDSDAY' THEN V_RESULT :=3;
END IF ;
IF V_RETURN_DAY = 'THURSDAY' THEN V_RESULT :=4;
END IF ;
IF V_RETURN_DAY = 'FRIDAY' THEN V_RESULT :=5;
END IF ;
IF V_RETURN_DAY = 'SATURDAY' THEN V_RESULT :=6;
END IF ;
IF V_RETURN_DAY = 'SUNDAY' THEN V_RESULT :=7;
END IF ;
RETURN V_RESULT;
END;
--The above function returnds the day name in numbers
The proble is that when i call test_day_week function it returns no value even it is tested separatly and works fine don't know where is my problem :
1-number of argrments in function[b] TEST_DAY_NUMBER
?? and so ..!
Regards,
Abdetu..You could also cut the whole thing down to a simple function... (assuming you have a need to customise your start of week rather than use built in date functionality)
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE FUNCTION test_day_week (P_DATE DATE) RETURN NUMBER IS
2 BEGIN
3 RETURN (INSTR('MONTUEWEDTHUFRISATSUN',TO_CHAR(P_DATE,'DY'))+2)/3;
4* END;
SQL> /
Function created.
SQL> select test_day_week(sysdate) from dual;
TEST_DAY_WEEK(SYSDATE)
1
SQL> select test_day_week(sysdate+1) from dual;
TEST_DAY_WEEK(SYSDATE+1)
2
SQL> select test_day_week(sysdate+2) from dual;
TEST_DAY_WEEK(SYSDATE+2)
3
SQL> select test_day_week(sysdate+3) from dual;
TEST_DAY_WEEK(SYSDATE+3)
4
SQL> select test_day_week(sysdate+4) from dual;
TEST_DAY_WEEK(SYSDATE+4)
5
SQL> select test_day_week(sysdate+5) from dual;
TEST_DAY_WEEK(SYSDATE+5)
6
SQL> select test_day_week(sysdate+6) from dual;
TEST_DAY_WEEK(SYSDATE+6)
7
SQL> select test_day_week(sysdate+7) from dual;
TEST_DAY_WEEK(SYSDATE+7)
1
SQL> -
Call Trusted function insidd another function.
Note: - In simple word all i want to do is to use different functions inside a function to improve the speed of my script.
i have been reading through Adobe document since last a few days, but couldn't find answer to use object name "getPageNumWords" inside my trusted function. adobe script just simply does not recognize "this" object when it is inside trusted function. I understand that i have to use some document object but how, i am not sure. can someone please help me with this issue.
var mytestfunc = app.trustedFunction(function()
app.beginPriv();
apnumWords = this.getPageNumWords(1); //for page # 2
for (var z = 0; z < apnumWords; z++)
apWord = this.getPageNthWord(1,z);
if (apWord == "Model")
app.alert("The text is " + myWordFound)
app.endPriv();
var myfunccheck = app.trustedFunction(function()
mytestfunc();
app.addMenuItem({cName:"AMM Linker",cParent:"Tools",cExec:"myfunccheck()"});
reff
http://acrobatusers.com/forum/embeded-trusted-functions-function-embeded-functions#comment -71413i got it thanks, now how my function can through a value and how can my other function accept the value.
in simple function 1 & 2 through a value and function 3 uses them to create a link.
app.addMenuItem({cName:"Linker",cParent:"Tools",cExec:"mycheck_3()"});
function mycheck_3 (doc)
//my function mycheck_3 is creating link.
//i want to use these key words to create link around my subject.
apWord_mycheck_1 + apWord_mycheck_2)
function myfinalfunction()
app.trustedFunction(mycheck_1(this));
app.trustedFunction(mycheck_2(this));
app.trustedFunction(mycheck_3(this));
function mycheck_1 (doc)
var apWord_mycheck_1, apWord2, apnumWords;
apnumWords = doc.getPageNumWords(1);
for (var z = 0; z < apnumWords; z++)
apWord_mycheck_1 = doc.getPageNthWord(1,z);
if (apWord_mycheck_1 == "Model_1")
//how to through out apWord_mycheck_1 ?????
function mycheck_2 (doc)
var apWord_mycheck_3 =
function mycheck_2 (doc)
var apWord_mycheck_2, apWord2, apnumWords;
apnumWords = doc.getPageNumWords(1);
for (var z = 0; z < apnumWords; z++)
apWord_mycheck_2 = doc.getPageNthWord(1,z);
if (apWord_mycheck_2 == "Model_2")
//how to through out apWord_mycheck_2 ????? -
Hello,
If a fumction say F1 is calling an another function say F2.
If I change the definition of the function F2, then what will happen with the function F1.
(F1and F2 are stored function)
Does Oracle automatically recompile the function F1?
THANKS.See this
CREATE FUNCTION F1(ARG_1 IN NUMBER) RETURN NUMBER AS
VAL NUMBER;
BEGIN
SELECT ARG_1*2 INTO VAL FROM DUAL;
RETURN ( VAL );
END;
SQL> ED
Wrote file afiedt.buf
1 CREATE OR REPLACE FUNCTION F2(ARG_1 IN NUMBER) RETURN NUMBER AS
2 VAL NUMBER;
3 BEGIN
4 SELECT F1(ARG_1) + 100 INTO VAL FROM DUAL;
5 RETURN ( VAL );
6* END;
SQL> /
Function created.
SQL> SELECT OBJECT_NAME,STATUS FROM DBA_OBJECTS WHERE OBJECT_NAME IN ('F1','F2');
OBJECT_NAME
STATUS
F1
VALID
F2
VALID
SQL> ED
Wrote file afiedt.buf
1 CREATE OR REPLACE FUNCTION F1(ARG_1 IN NUMBER) RETURN NUMBER AS
2 VAL NUMBER;
3 BEGIN
4 SELECT ARG_1*2 + 100 INTO VAL FROM DUAL;
5 RETURN ( VAL );
6* END;
7 /
Function created.
SQL> SELECT OBJECT_NAME,STATUS FROM DBA_OBJECTS WHERE OBJECT_NAME IN ('F1','F2');
OBJECT_NAME
STATUS
F1
VALID
F2
INVALID
SQL> SELECT F2(100) FROM DUAL;
F2(100)
400
SQL> SELECT OBJECT_NAME,STATUS FROM DBA_OBJECTS WHERE OBJECT_NAME IN ('F1','F2');
OBJECT_NAME
STATUS
F1
VALID
F2
VALID
Maybe you are looking for
-
Hello, Did anybody see Aperture on the Macbook Air at the Mac World? How does it run? JO
-
Lost ability to sign and edit a document in Adobe reader
I have just downloaded the newest upgrade for Adobe reader and I am not able to sign or edit documents in Adobe Reader. I have tried to edit the toolbar as instructed in the help text but there is not sign or edit text obtion in the file tab on the t
-
Itunes shows app is installed but actually it is not!
FIFA 14 was downloaded by itunes on my pc. When i tried to transfer it to my iphone , it started syncing and finished.. but when I opened my iphone it shows that the app was only 75% installed. Not Fully. Later the icon turns gray. And the app is not
-
Backing up to external drive connected to another mac on network
My sister has an external drive connected to her iMac which she backs up her Mac to using Time Machine. I have a Mac Mini downstairs that I would also like to back up to the drive (also using Time Machine.) Is there any way to mount the drive on the
-
Accidentally deleted aif file and cannot open my project or even backups!
Please let me know if there is any hope for recovery...I emptied my trash with an aif file in it and now when I open my project it appears to nearly load but then the 100% complete loading bar becomes solid gray and never opens. I apparently never se