Changing Application currentState within custom components
Hi Gurus,
I am starting development with Flex and would like a little
help on how to perform a currentstate change from within a custom
component. I have created a custom component that consists of a
ToggleButtonBar and a custom login component. When the user clicks
on a button from the togglebuttonbar, I would like to set the
currentstate of the application to the new state. However, I do not
have access to the application to make this state change. Is there
a way to perform this?
Please let me know. Thanks in advance.
Hi fi2itoxlay,
You could do something like this:
1. Create a public function in the mx:script within main
application which do the changing of the state; then simply call
this function within your custom component. This should work as
long the custom component is in the same project as the main
application (a mxml file or as file);
2. You could define an event inside the custom component and
just add an event listener to the custom component from the main
application with a call back (a function defined in the main
application that does the state changing).
Here is a link about this:
http://livedocs.adobe.com/labs/flex3/html/help.html?content=createevents_1.html
Hope that helps,
- Mihai
Similar Messages
-
Error while accessing application with the custom components
Hi experts,
I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER). For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
While trying to access the application, i am getting the error as Null object reference.
the details of the error is as below. Please advice.
Heading 1: h1. P:ortal Error
The URL http://******************/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
Note
The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
Heading 2: h2. ST22 - Dump Analysis
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "WDDOINIT" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component.
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Information on where terminated
Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
in "WDDOINIT".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 4640
of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
Termination occurred in a Web Dynpro application
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
code begins in line
4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
Active Calls/Events
No. Ty. Program Include Line
Name
33 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 4640
CL_VW_HEADER_MAIN_CTR=>WDDOINIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
32 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 70
CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
31 METHOD CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM003 3
CL_WDR_DELEGATING_VIEW=>DO_INIT
30 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM00Q 3
CL_WDR_CONTROLLER=>INIT_CONTROLLER
29 METHOD CL_WDR_VIEW===================CP CL_WDR_VIEW===================CM00K 5
CL_WDR_VIEW=>INIT_CONTROLLER
28 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
27 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
26 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM005 23
CL_WDR_VIEW_MANAGER=>BIND_ROOT
25 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM00B 17
CL_WDR_VIEW_MANAGER=>INIT
24 METHOD CL_WDR_INTERFACE_VIEW=========CP CL_WDR_INTERFACE_VIEW=========CM004 11
CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
23 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
22 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
Thanks In advance,
Regards,
Ravi.Hi, I'm closing this thread and opening the same in another as the content got pasted in reader un friendly format and i'm unable to change the format.
Thanks,
Ravi. -
Changing state of application from within a custom component
Hello, I have several custom components all of which are included in the parent application.
When I try to change state from a custom component, I get an error saying "undefined state: state name". How do I change the state of the application from within a custom component ? All the states are defined in the parent application.@linrsvp,
If you are using Flex3 try Application.application.currentState = "somestate";
If you are using Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate";
Don't forget to import the corresponding namespaces for the above.
Thanks,
Bhasker -
Error while accessing application with custom components
Hi experts,
I have an application (HAP_MAIN_DOCUMENT) of component FPM_OIF_COMPONENT which uses a Webdynpro component with the same name (HAP_MAIN_DOCUMENT). This Webdynpro component (HAP_MAIN_DOCUMENT) uses 2 other components (HAP_DOCUMENT_BODY and HAP_DOCUMENT_HEADER).
For my client requirement, i need to create the custom components by copying from standard components as the UI layout changes are quiet huge and not manageable with the enhancements. To accomodate this i have changed the standard configurations by replacing the standard web dynpro components with the custom ones copied. Apart fomr this there are no changes to the standard.
While trying to access the application, i am getting the error as Null object reference. the details of the error is as below. Please advice.
Portal Error
Error when processing your request
What has happened?
The URL http://ddrsap12.dubal.domain:8001/sap/bc/webdynpro/sap/HAP_MAIN_DOCUMENT/ was not called due to an error.
Note
The following error text was processed in the system DSD : Access via 'NULL' object reference not possible.
The error occurred on the application server ddrsap12_DSD_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: WDDOINIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/LUR96POELQNL3TIUWPYS==CP
Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP
Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP
Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP
Method: INIT of program CL_WDR_CONTROLLER=============CP
Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
ST22 Dump Analysis
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Information on where terminated
Termination occurred in the ABAP program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP" -
in "WDDOINIT".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 4640
of the (Include) program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU".
Termination occurred in a Web Dynpro application
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
procedure "WDDOINIT" "(METHOD)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "/1BCWDY/LUR96POELQNL3TIUWPYS==CP "; its source
code begins in line
4619 of the (Include program "/1BCWDY/B_LUXVEOR5WUW66V6QRRNU ".
Active Calls/Events
No. Ty. Program Include Line
Name
33 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 4640
CL_VW_HEADER_MAIN_CTR=>WDDOINIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
32 METHOD /1BCWDY/LUR96POELQNL3TIUWPYS==CP /1BCWDY/B_LUXVEOR5WUW66V6QRRNU 70
CLF_VW_HEADER_MAIN_CTR=>IF_WDR_VIEW_DELEGATE~WD_DO_INIT
Web Dynpro Component ZWD_HAP_DOCUMENT_HEADER
Web Dynpro Controller VW_HEADER_MAIN
31 METHOD CL_WDR_DELEGATING_VIEW========CP CL_WDR_DELEGATING_VIEW========CM003 3
CL_WDR_DELEGATING_VIEW=>DO_INIT
30 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM00Q 3
CL_WDR_CONTROLLER=>INIT_CONTROLLER
29 METHOD CL_WDR_VIEW===================CP CL_WDR_VIEW===================CM00K 5
CL_WDR_VIEW=>INIT_CONTROLLER
28 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
27 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
26 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM005 23
CL_WDR_VIEW_MANAGER=>BIND_ROOT
25 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM00B 17
CL_WDR_VIEW_MANAGER=>INIT
24 METHOD CL_WDR_INTERFACE_VIEW=========CP CL_WDR_INTERFACE_VIEW=========CM004 11
CL_WDR_INTERFACE_VIEW=>INIT_CONTROLLER
23 METHOD CL_WDR_CONTROLLER=============CP CL_WDR_CONTROLLER=============CM002 7
CL_WDR_CONTROLLER=>INIT
22 METHOD CL_WDR_VIEW_MANAGER===========CP CL_WDR_VIEW_MANAGER===========CM008 70
CL_WDR_VIEW_MANAGER=>GET_VIEW
Thanks in advance,
Regards,
Ravi.Hi ,
How are you able to configure Custom Web dynpro application to Appraisal document instead of HAP_MAIN_DOCUMENT. could you please share the steps. We have created custom application a copy of HAP_MAIN_DOCUMENT and the other two webdynpro components are also copied.
We dont know how to link this to Appraisal template. BADI HRHAP00_BSP_TMPL is used to change application names for BSP application. How to change application name for Web dynpro ABAP. Please share the stpes which will help us
Thanks and Regards,
Kothand -
Revision: 13288
Revision: 13288
Author: [email protected]
Date: 2010-01-05 15:21:57 -0800 (Tue, 05 Jan 2010)
Log Message:
Changing the workaround for custom whitespace preservation in spark components in order to cater for fixes to SDK-24699 and SDK-24611.
We now preserve whitespace for all of the spark "text" tags at compile time (but not only-whitespace content if an alternate text attribute was specified).
QE notes: Please ensure that whitespace preservation continues to work, including for the scenarios mentioned in previous issues SDK-22601, SDK-23160, SDK-23972.
Doc notes: N/A
Bugs:
SDK-24699 - Binding does not work with Spark TextInput "text" property
SDK-24611 - MXML compiler should preserve whitespace in FlowElement tags (such as
Reviewer: Paul
Tests run: checkintests, mustella RichText, List, TextArea (the 2 baseline position failures existed prior to these changes)
Is noteworthy for integration: Yes
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24699
http://bugs.adobe.com/jira/browse/SDK-24611
http://bugs.adobe.com/jira/browse/SDK-22601
http://bugs.adobe.com/jira/browse/SDK-23160
http://bugs.adobe.com/jira/browse/SDK-23972
http://bugs.adobe.com/jira/browse/SDK-24699
http://bugs.adobe.com/jira/browse/SDK-24611
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MxmlScanner.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Node.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.javaThis bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
Please could you attach DropDow nList.as that you edited ?
Thank you so much. -
Is it possible to change application state from a component?
I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
Thanks!Hi,
you always have a static class Application.
Application.application will be the root component. After that you can change it state.
Application.application.currentState = "state2";
But it's not the best way to change states. It's better to dispatch events from components and change states in listeners. -
Component Panel ( Design mode) loosing custom components
Wonder if anyone else encounter this phenomenon?
After placing custom Flash components ( compiled intoa SWC
file) in the project's <Libs> directory, they are available
and working in Source mode, but you can't see them in the custom
Folder (In the Design Mode). Only after closing and opening the
project they appear.
However, they keep disappearing ( randomly) from the folder,
and only after Open/Close project they reappear. Other custom
components such as MXML modules behave ok.
As far as the application these components work fine and are
recognized by the compiler.
I'm using Stand Alone, FB3 version 1201207; on WXP Sp2.
( Reported this as a bug
http://bugs.adobe.com/jira/browse/FB-11554
Did anyone else experienced this (similar) behavior ?Same problem here. Except I have even less luck getting it to
consistently appear than you. Sometimes it works great, other times
they vanish and nothing I can do to get them to return. MXML
modules seem fine.. it's just with the Flash SWC files. Plus
sometimes I have no visual indication in design view of the Flash
module on my canvas, and other times it displays. (This is with no
changes to the SWC file at all). But it always runs okay. -
Issue with SSIS Custom Components - 64 bit SQL 2012
Hello All,
Our SSIS packages built on SQL 2008 R2 make use of some custom components. These custom components are installed as part of an MSI. The dll's are copied over to the Windows/assemble [GAC Folder] and also to the Program Files(x86)/SQL Server/110/DTS/* folder.
The installation does not copy the dll's to the 64 bit program files folder.
X:\Program Files\Microsoft SQL Server\110\DTS
These packages are executed via SQL Agent jobs on a 64 bit SQL server and there does not seem be any issue.
Now we are upgrading our servers to SQL 2012 and we have a new installer for the custom components as well. The new custom components use .NET Framework 4.0 and when installed the dll files get copied over to the Ms.NET 32 bit runtime GAC folder and also
to the SQL Server DTS Folder in x86. The upgraded packages work only when we set the runtime mode to 32 bit. The packages successfully executes within the 32 bit dtexec utility, but when we try to run the same package using a 64 bit dtexec utility the
process errors out with a component failed to load message. The package moves data between two SQL Server instances.
The custom components have always been built for 32 bit runtime. I can run a older package through the dtexec utility (from the 64 bit folder in program files) and it does work without any issues. After the upgrade the package will only execute on
a 32 bit utility. can someone help me understand this issue?
Regards, DineshThank you Arthur.
i think we got the answer as well, as the .NET framework 3.0 installer copied the files over to the C:\windows assembly the dtexec utility [32 bit/64 bit] was able to load the components.
Now with the new installer the files are copied to specific runtime gac folders as Arthur has mentioned. The 64 bit utility does not find the dlls in the GAC whereas the 32 bit version will find them.
Regards, Dinesh -
Building JSF 1.2 Custom Components with EL and standard components
Hi all,
I have built custom components in jsf 1.1 with great success but i am finding replicating the same functionality in jsf 1.2 very difficult. I have some conditions for my new custom component.
- Using jsf 1.2
- Must use unified EL, i am using a UIComponentELTag
- iam using jsf standard html components from javax.faces.component.html here in particular i wont HtmlCommandLink.
Essentially i am constructing a real time command menu. I have a backing bean from which i get command names and descriptions values. I wont to then in real time construct a table of links (using HtmlCommandLink) - all this work is to be processed by a custom component. Basically the commandLink issues a command in my backing bean, a parameter (param) is passed with the commandLink, this is later picked up in the backing bean method.
I can generate the table, and all the HtmlCommandLinks, i have simply looped throught and encoded each of them.
What i can do: i can see the table and the HtmlCommandLinks, but the links dont perform any action when i press them.
What i want help with:
I want to encode a HtmlCommandLink in my custom component with a param, traditionally i would set the action but this is now deprecated, and i need to use the setActionExpression method. I have tried to do this but the actions are note fired its simply doesnt function.
Note:
In jsf 1.1 I use to loop through all the HtmlCommandLink and peform their processDecodes method within my custom components very own processDecodes. The same in jsf 1.2 doesnt seem to yield any results.
Can someone give be an example or solution to this? I have read articles on the net and they seem to all discuss jsf 1.1 which i have done and it works, but i am using unifed EL and jsf 1.2 now.
Many Thanks,
KevHi all,
I have built custom components in jsf 1.1 with great success but i am finding replicating the same functionality in jsf 1.2 very difficult. I have some conditions for my new custom component.
- Using jsf 1.2
- Must use unified EL, i am using a UIComponentELTag
- iam using jsf standard html components from javax.faces.component.html here in particular i wont HtmlCommandLink.
Essentially i am constructing a real time command menu. I have a backing bean from which i get command names and descriptions values. I wont to then in real time construct a table of links (using HtmlCommandLink) - all this work is to be processed by a custom component. Basically the commandLink issues a command in my backing bean, a parameter (param) is passed with the commandLink, this is later picked up in the backing bean method.
I can generate the table, and all the HtmlCommandLinks, i have simply looped throught and encoded each of them.
What i can do: i can see the table and the HtmlCommandLinks, but the links dont perform any action when i press them.
What i want help with:
I want to encode a HtmlCommandLink in my custom component with a param, traditionally i would set the action but this is now deprecated, and i need to use the setActionExpression method. I have tried to do this but the actions are note fired its simply doesnt function.
Note:
In jsf 1.1 I use to loop through all the HtmlCommandLink and peform their processDecodes method within my custom components very own processDecodes. The same in jsf 1.2 doesnt seem to yield any results.
Can someone give be an example or solution to this? I have read articles on the net and they seem to all discuss jsf 1.1 which i have done and it works, but i am using unifed EL and jsf 1.2 now.
Many Thanks,
Kev -
Customs components are not updated on the scene
Hello!
i am working on a simple component, it is a movie clip.
On each frames I have a label and an icon.
In the component properties I set up a list where every itemshas the same title as the frames's labels.
With this component I can set any icon I want by selecting it in the list.
This is working fine and I am pretty happy about it.
The Problem:
If I change the name of one item in the list, add one or even reorder the list, the changes are not applied on all the components presents on the scene.
and I have more or less 50 of thoses components in my scene...
Is there a way to have the components updated ? Or at least update manually all the "old" components?
this issue occure with Flash CS5 and CS6 all my doccuments are made in AS3.
thanks a lot !Hello guys,
Does anybody have the same issue with customs components? -
Function to change all form_specification within call_form
Dear all,
I am trying to find a solution to change all form_specification within call_form for an entire application, is there any possibility to create a function or what..it not efficient to do it by hand.
Thank you!
Micro
LE: the puropse of this is to move my aplication from Win to Linux server
Edited by: user10423661 on Aug 4, 2011 11:47 PMI came back wit the solution i used, i dev a function in order to call the form path..and call this function in every form. The same works with rdf and bmp.
CREATE OR REPLACE FUNCTION x.s_forms(name varchar2)
RETURN varchar2 IS
vhost_name_actual varchar2(200);
vbase_name s.base_name%type;
vrute_name s.rute_name%type;
str varchar2(100);
BEGIN
select SYS_CONTEXT('USERENV','HOST') into vhost_name_actual from dual;
select s.base_name, s.rute_name into vbase_name, vrute_name
from s
where vhost_name_actual=s.host_name
and s.activ='Y';
str:=vroute_name||'fmx/'||name;
return str;
exception
when others then
return null;
END s_forms; -
How to handle events between two custom components?
Hi ,
i want to handle events between two custom components, example if an event is generated in one custom component ,and i want to handle it any where in the application.....can any one suggest me any tutorial or meterial in this concept...
thanksEvents don't really go sideways in ActionScript by default. They bubble upward. If you want to send an event sideways, you will probably have to coordinate with something higher up in the event hierarchy. You can send the event to a common ancestor, and then pass it down the hierarchy as a method argument.
Another option is to use a framework that supports Injection. There are a number around these days. The one I'm most familiar with is Mate, which allows you to handle events and inject data in MXML. Mate is meant to be used as an MVC framework, and you may want to look into it if your application is complex, but you can also use it to coordinate global event handling if you don't need that level of structure. -
Change the order within the navigation panel
Hi everybody,
within my navigation panel i have two iview, the detail navigation and an own iView (Web Dynpro within the dynamic navigation of a page). Until now the detail navigation appears at the first position in the navigation panel. How can i change the order within the navigation panel so that my own iView will be shown at the first position?
regards,
SidHi Raji,
iviews can be ordered alphabetical. You can set this function in Systemadministration -> Service-Konfiguration -> Applications -> com.sap.portal.ivs.iviewservice -> iViewsSrv. Then you can set this value to ture (sorting true).
You can also change the sort-priority value in the property of each iview to 0..n.
I hope this will help you.
regards,
Sid -
Calling multi application packages in custom menu
Hi,
I am trying to open a data management and custom package in a custom menu for different applications. My custom menu is set for application A and the custom package is in application B. Is there a way to call this package without changing the CV of the custom menu?
Thanks!Thanks Raman,
I meant to ask if there is a way to specify the application name in the EV_DEFAULT tab of the custom menu. Normally I use MNU_eData_DataUPLoad or MNU_eDATA_SELECTPACKAGE for defining packages but this calls only the packages from the current view application. I am looking for a way to specify other applications also in the custom menu without changing the package itself.
Thanks! -
Hi..
I need to change the name of an application. For this I am doing the following steps:
Under the src->packages folder... there is a file application.wdapplication. I am changing this file name to newapplication.wdapplication.
Then I am importing this project into NWDS.
The changed application name is being reflected properly in the imported project. But when I am trying to deploy the application... the deployment is getting aborted.
I am getting the following error :
Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application na.ko.com/dc_paymentreport.. Reason: Clusterwide exception: Failed to deploy application na.ko.com/dc_paymentreport. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application na.ko.com/dc_paymentreport. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Please provide your valuable suggestions...
Thanks and Regards,
Sayan GhoshHi Fistae,
I do not have the renaming/refactoring option as i am using NWDS 7.0.10.
I also tried the second method suggested by you, ie "create a new Application and use the existing component .Finally delete the Old Application."
But this time also deployment is getting aborted... The error coming is:
Aborted: development component 'dc_paymentreport'/'na.ko.com'/'local'/'20080505185814'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application na.ko.com/dc_paymentreport.. Reason: Clusterwide exception: Failed to deploy application na.ko.com/dc_paymentreport. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application na.ko.com/dc_paymentreport. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine? (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Maybe you are looking for
-
No key field found for creation of DataSource - Classification Datasource
Hello, While trying to create a clasiffication datasource based on 0PLANT_ATTR, when i assign a characteristic and push the DataSource button, i get the following message: No key field found for creation of DataSource Diagnosis During generation of a
-
Safari 4.0.3 Customize Toolbar problem
After update verything functions OK till I click View/Customise Toolbars. After this action Adresses and Google searches cannot be typed any more unless I restart Safari Tried to trass com.apple.Safari.plist and restart but nothing changes No idea ho
-
Converting Templates From Adobe Fireworks to Joomla
Do anyone know how to transfer templates from Adobe Fireworks to Joomla or another CMS's . Cuz i wanted to create an ecommerce site ,so i'd like to create a template by myself...
-
Inconsistent results for adding child node in a JTree
I have a JTree where I add child nodes when a user clicks on the node or handle. When the user clicks on the node, through implementing TreeSelectionListener interface, I add a node, the tree expands, and I see the newly added node. However, when the
-
Is it Safe to Upgrade my nvidia-based X?
A few months ago I upgraded my nvidia driver and then I had to downgrade to 173xx. There is a short thread here http://bbs.archlinux.org/viewtopic.php?id=74625 about that experience. When I ran sudo pacman -Syu now I got this: :: Starting full system