Reg : Pass One Component's value to other component's value
Hi all,
I have the following code . Here I want to Pass :Pass One Component's value to other component's value
<af:image binding="#{backingBeanScope.backing_OText.i1}"
id="i1"
source="#{(SkinBean.skinFamily == 'MSIE_D2I3')?'/images/d2i3Logo.gif':'/images/UDR_logo.jpg'}"
shortDesc="Hello World"/>
<af:spacer width="100" height="10"
binding="#{backingBeanScope.backing_OText.s1}"
id="s1"/>
<af:outputText
binding="#{backingBeanScope.backing_OText.ot1}"
id="ot1"
inlineStyle=" font-weight:normal; font-size:32pt; font-family:Georgia, 'Times New Roman', times, Serif;"
value = *"Here I want to pass the value as 'Hello World' from The Image Component's ShortDesc"*
Please give me the solution .
Thanks inAdvance .
since you already have the backing bean, you can try to set the value property to
#{backingBeanScope.backing_OText.i1.shortDesc}regards,
~Krithika
Similar Messages
-
State machine custom task workflow how to pass one task field value to the next task field
i am using ItemMetadata.xml to pass value from list to custom task first value its passing the but second value is showing as null
plus how to pass one custom task value to the next custom task
i.e one supervisor approver comments submitted field i want to see on department manager approval custom task which is the next approver from supervisor
ows_firstfield=""
ows_SecondField=""
the above ows fields are from list
in this i am unable to retrive the second value in the task form this is my first query?
second query is that how can we pass one task field value to next approver task field value?
any idea
MCTS,ITILWhat type of workflow is this? IS this Visual Studio or SharePOint designer or third party (K2, Nintex, etc...)? YOu should be able to get ahold of the task that was edited via the correlation token, and then grab any value you want from that
task (wether it be a custom field or a standard worfklow task field).
It would help to know what you are using to build the workflow.
Thanks! -
Reg : Passing two internal table values in to final internal table
Dear Experts,
My first internal table looks like this,
Customer Name O/S
A Anu 5000
B Beema 2000
C Chitu 3000
My Second Internal table looks like this,
Customer InvNo InvDate Due
A 001 1/1/09 500
A 002 2/2/09 100
B 004 4/4/09 50
B 003 4/5/09 100
My final Internal table should be,
Customer Name O/s InvNo InvDate Due
A Anu 5000 001 1/1/09 500
002 2/2/09 100
B Beema 2000 004 4/4/09 50
003 4/5/09 100
Please help me with the code...Hai,
Thanks...
I need to get the O/P like this,
Customer Name O/S InvNo Inv Date Due
A Anu 3000 001 1/11/09 50
002 2/2/09 100
003 3/3/09 30
Plz help -
How to pass control from one component to other component
Hi,
I have a requirement to pass control from one component to other component.
Here is my requirement.. l have two portal components, one is search component and other is result component. I have this search component as quick navigation iView where we can enter a value and results will display in results iView, it's a main iView.
When search view gets the results, I will display the count in search view and result in results view. .i.e.. both the iviews are viewed at any time.
Can any one advise me how to acheive this.
Thanks,
Chinna.Hi Sandeep,
Thanks for the reply. I have gone through the EPCF API, and tried with doNavigate('iViewName').
when I click on the button in search view (quikc navigation frame), instead of page getting refreshed in result iView, whole page is replaced by results iview. I want only search view and results view gets refreshed.
can you please tell me which even should I use for this scenario...
Thanks,
Chinna -
Query regarding passing of flag value from one component to another.
Hi all,
I need to pass a flag value of type CHAR1 from one view of one component to another view of a different component. Any ideas?Hi,
You can use the Global Data Context Parameters which you can define in SPRO->IMG->CRM->UI Framework->Tech Role Def->Define Global Data Context Parameters.
You can set the value wherever you want and read the same in the other component using the below similar code.
* Setting the value using GDC
CALL METHOD lr_gdc->set_data_attribute
EXPORTING
i_value = value
iv_name = 'ZSTARTDATE'.
*Reading GDC data
DATA: lr_gdc TYPE REF TO if_crm_ui_data_context.
lr_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
CALL METHOD lr_gdc->get_data_attribute
EXPORTING
iv_name = 'ZSTARTDATE'
IMPORTING
e_value = lv_sdate.
* Here ZSTARTDATE is the GDC parameter defined in spro
Hope it would be helpful
Regards,
Shobhit -
How to pass data from one component to another
Hi all,
We have added a button on "ICCMP_BTSHEAD" component, which will open a new popup component (Zcomponent), which will have some fields related to the order. Can anyone please tell us how to pass the ticket/ entity value to the new component so that it can be used there. Any pointers will be highly appreciated. Thanks.
Rgda,
@runHi Arun,
I have the same issue. I added the Follow-up(hyperlink) button in the Sales order. How can i get the view from the Interaction record follow-up by clicking on hyperlink in Sales order. Please help me.
Regards,
Swaraj -
Create a button in one component and use it in other component
Hello, I have a problem(is not the first time but I don't have very clear that problem and I'm asking again). I'm creating a button in one component doing that
Comp1:
public var btn=Button;
override public function main(args:IParams):void{
var btn = new Button
btn.label = ....
And now I want to use this button in another component:
Comp2:
private var dia:Object; //It's my own object, it's a Dialog but with my properties,a dn the dialog need (button,string,boolean)
private function onClick(event:Event):void{
dia = new Object(HERE I HAVE TO PASS THE BUTTON , "Tittle", false);
I want know how can use the button that I have declared in the first component in my object. It's much more complicate but I have tried simplify my code.
I hope that somebody can help me.
Thanks!I'm sorry, probably I'm explainign wrong, I don't know if it's for my english or because I don't know how to say, but this is not the problem. I will put the code because I think that ou could understand better. Forget the buttons, the problem is the window parameter
I'm very sorry because you're wasting time with me, but I hope that you can do the last try now with the code. If you don't understand something ask me before start thinking.
MyModule
<?xml version="1.0" encoding="utf-8"?>
<AbstractVisualModuleExecutable
xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
private var win:ITopComponent; //MY window
private var dia:Dialog; //My Dialog
override public function main(args:IParams):void{
win = initContext.environment.createTopComponent();
win.title = "Prueba Dialog"
win.contentPane = this;
win.visible = true;
private function onClick(event:Event):void{
dia = new Dialog(win, "Title", false); ((Here I use the window, because I have to say to the dialog who is her father. Win is the father or the dialog, the dialog will create when I do click in one button of my window(the father).
var btn2:Button = new Button();
btn2.label = "Cerrar";
btn2.addEventListener(MouseEvent.CLICK, function(event:Event):void{
dia.dispose();
dia.contentPane.addChild(btn2);
]]>
</mx:Script>
<mx:Button id="btn" click="onClick(event)" label="Dialog" />
</AbstractVisualModuleExecutable>
Now I want to divide this applicatión in one module and one component.
MyNewModule (something like this):
<mx:Script>
<![CDATA[
private var win:ITopComponent;
private var dia:Dialog;
//Here I create the window
override public function main(args:IParams):void{
win = initContext.environment.createTopComponent();
win.title = "Prueba Dialog"
win.contentPane = this;
win.visible = true;
</Script>
MyNewComponent (something like this):
<Script>
private var dia:Dialog;
Here the instance of win I supose, but I don't know how. I have tried more than one thing
private function onClick(event:Event):void{
dia = new Dialog(here the win, "Title", false); //here I want to use the win that I have created in MyNewModule, but I only get a null when I execute the module. I don't know how can I do, instance.top or something like this I suposse it.
//This part is not important
var btn:Button = new Button();
btn.label = "Cerrar";
btn.addEventListener(MouseEvent.CLICK, function(event:Event):void{
dia.dispose();
dia.contentPane.addChild(envio); //here I add the content of the dialog
//dia.contentPane.addChild(btn); //here I add only a button without content, but don't worry about that, like I said later this is not important. The import thing is how can I use win when I create the dialog.
dia.visible = true;
</Script>
<mx:Button id="toOpenDialod" label="Open" click="onClick(event)"/>
THANKS! -
Copying methods from one component controller to other ?
Hi,
I have many methods in one component controller, which i wish to copy to another component controller through standard buttons. When i try to copy them, it says 'The method or methods are copied to the clipboard'. But, i was unable to copy them to another component's componentcontroller. It says as 'The clipboard' doesnot contain data. Can someone help me in providing solution in copying all the methods in one shot to other ?
Thanks & Regards,
Gaurav.Hi,
I think You are trying it to paste after making new method in the other component directly with the help of Cntrl+V
I am able to do same by using copy and paste buttons.
First go to method tab and copy it then go in methods tab in which you want to paste click where we create for new method and click standard button for paste.
By this way the name of the methods will be same. But if you want that you can rename it.
I hope it helps.
Regards,
Rohit -
How can we acess the data of one component into othr compnent in webdynpro?
How can we acess the data of one component into other component in webdynpro....
I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
any doughts do post.....
thanks in advance!Hi Reddy,
You can do it in multiple ways. One way would be to try transfer the parameters through URL & the other would be to work with the concept of interface nodes. Please try go through these 2 threads ( [Thread 1|Call view of another WDA Component and pass the value to it; & [Thread 2|navigation from one program to another; )where I have explained about working with Interface node in detail. You can refer to this [thread |receving parameters between two standard webdynpro applications;to see as to how you can do the same via parameters in URL. Hope it would help resolve your problem.
Regards,
Uday -
How can we pass the select-option value to modulepool program?
hi,
how can we pass the select-option value to modulepool program ?
Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
How i get select-option values to PAI of call screen for getting the data from database table to my internal table?Oh I thought that you have selection-screen and again you are working on dialog programming.
if you want to use select-option directly in module pool then it is not possible.
but you can do other way.
create two varaiables
data : v_kun_low like kna1-kunnr,
v_kun_high like kna1-kunnr.
use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
use can enter only low value and high value.
when you come to program point of view
declare one range
ranges r_kunnr for kna1-kunnr.
do the coding like
r_kunnr-low = v_kun_low.
r_kunnr-high = v_kun_high.
r_kunnr-options = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
now you can use r_kunnr in select query ,it will work like select-option.
other than this there is no option.
Thanks
Seshu -
Passing one parameter to multiple views
Is this possible? I would like to pass one parameter, a date field, to multiple views. I cannot use it in the record selection, because my views do a mathematical computation which returns a single value, but I only want to select the data for a single day.
The problem is that there are several views and I do not want to have to enter the date parameter a dozen times.Try to use add command and write the query like this
select * from view where datefield={?date}
also create another add command for the other view
select * from view2 where datefield2={?date}
for all the queries create the same parameter with the name {?date}
Regards,
Raghavendra -
Hi,
I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
http://server/pages/Default.aspx?Title=Arup&Title=Ratan
But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
I have followed the
http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
Please suggest me.
Thanks | Arup
THanks! Arup R(MCTS)
SucCeSS DoEs NOT MatTer.Hi DH, sorry for not being clear.
It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
(or a Performance Point Dashboard etc.) and you insert it into your page and add
a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
with multiple values for one parameter. If you have any more questions let me know. See you, Ingo -
ORA-01722: invalid number error when trying to pass a list of values
Gurus
We are using a function like so
The usage for the function below is
Select fn_st_bb_nm_uc (‘1232131312, 123213312’) from dual;
SQL> /
Select fn_st_bb_nm_uc ('1232131312, 123213312') from dual
ERROR at line 1:
ORA-01722: invalid number
It’s giving an invalid number error. When we pass one value it is working fine but when we pass a string of values it gives this error. I have opened an SR around this but would greatly appreciate your help
Acc_blackbar is the table and acc_blkbr_id is of type number.
FUNCTION fn_st_bb_nm_uc (pBB_ID_LIST VARCHAR2)
RETURN VARCHAR2 IS
vspcm_typ_nm_uc VARCHAR2 (2000);
CURSOR stname
IS
SELECT distinct st.spcm_typ_nm_uc
FROM
acc_blackbar abb,
acc_specimen_type ast, acc_procedure apr,
acc_specimen_part asp,
specimen_type st, procedure pr,
proc_proc_family ppf
WHERE abb.ACC_BLKBR_ID = apr.ACC_BLKBR_ID
AND apr.ACC_SPCM_PART_ID = asp.ACC_SPCM_PART_ID
AND asp.ACC_SPCM_TYP_ID = ast.ACC_SPCM_TYP_ID
AND ast.ACC_SPCM_TYP_SPCM_TYP_ID = st.SPCM_TYP_ID
AND apr.procdr_id = pr.PROCDR_ID
AND pr.PROCDR_ID = ppf.PROCDR_ID
AND abb.acc_blkbr_id in (pBB_ID_LIST) ;
BEGIN
DBMS_OUTPUT.PUT_LINE(' BB LIST : ' || pBB_ID_LIST);
FOR st IN stname
LOOP
vspcm_typ_nm_uc := vspcm_typ_nm_uc || ',' || st.spcm_typ_nm_uc;
END LOOP;
vspcm_typ_nm_uc := SUBSTR (vspcm_typ_nm_uc, 2);
RETURN vspcm_typ_nm_uc;
END;This ask tom thread covers multiple solutions:
[http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425] -
How can we pass the master report value in to detail report
Hi All,
My question is how can I pass the master report value in to detail (Child) report filter?
I mean I have one master report if I click on employee name then I have to pass the employee id in to details report filter. Then detail report will display data for that particular employee.
How can I achieve this one in OBIEE?
Please help me to resolve this issue. Thanks in advance for your time and support.In that case, you should look at using Go Url. In your column formula for the employee name, create a hyperlink to the detail report and pass the employee id.
Take a look at this post: Re: Dyanmic display of the Image Link URL
Thanks! -
Output of One Query is input to other Query??
Hi All,
How to make output of one query as input to other Query and what are the points to be takeb care of to do it?
regards,
murali.
Message was edited by: MuraliHallo
You got a second query where you also have 0date. Based on the selection on the second query, you get some value for 0date. this values are then passed in background to the first query which will show you the output based on the input date of the first query. You can also have othe variable in the query.
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
I hope everything is fine.
Mike
Maybe you are looking for
-
I'm looking for a simple, secure password manager. Any thoughts
Been browsing the Apple store for a password manager.There is a couple highly rated ones.But wanted to expand my search.
-
Can't send PDF as a mail attachment from iPad to a Lotus Notes account
Hello, I have some problems sending PDF documents as email attachments from my iPad. Using the adobe reader app for iOS, I create an email with the file attached. Sending this to e.g. a hotmail account works fine. However, if I send it to any address
-
Can we assign one Conc,Manager to any one instance of a RAC DB
Hi All. Can we assign one concurrent request which is submitted by a particular Conc,Manager to any one instance of a RAC DB Thanks
-
Help Nedded on how to add JavaMail.jar and JAF.jar to my classpath
Hello.. please i want to add these two packages JavaMail.jar, and JAF.jar to my classpath. Can anyone show me how to do this?, if possible some example. Thanks.
-
Cannot import Finalize movie into iMovie
I have a Sony DCR-DVD103 and when I go to File>Import Movies I do see my Finalized DVD, but all the files including the Import button are grayed out. How can I import the Finalized movie into iMovie? Upon connecting the Video Camera to my MacBook Pro