How to create UIComponent at the time of Page Load itself?
Hi,
I have to create OuputText Beans at runtime and set the values which i will get from the previous page. My Backing bean is extended of PhaseListners.
I created Form declarative. At runtime i created PanelLabelAndMessage,OuputText . I attached OuputText to PanelLabelMessage. After this i attched the PanelLabelMessage to Form as getForm1().getChilders().add(PanelLaelMessage).
But code is executed but my page is not refelcted the changes.
My query is:
1. Where i have to add the code? is it in Constructor? OR. afterPhase() method of PhaseListner method.
Pls suggest how to forward.
Code:
Iterator itr_4 = hashWithResult.keySet().iterator();
while(itr_4.hasNext())
Object key_4 = String.valueOf(itr_4.next());
Object value = String.valueOf(hashWithResult.get(key_4));
System.out.println("In While loop");
System.out.println("key-------->"+key_4);
System.out.println("value------>"+value);
CorePanelLabelAndMessage paneMsg = new CorePanelLabelAndMessage();
paneMsg.setLabel(String.valueOf(key_4));
CoreOutputText text = new CoreOutputText();
text.setValue(String.valueOf(value));
paneMsg.getChildren().add(text);
UIComponent panelform = FacesContext.getCurrentInstance().getViewRoot().findComponent("panelForm1");
panelform.getChildren().add(paneMsg);
Regards,
Adhi
Sorry, I am using ADF 10.1.3.4.
Similar Messages
-
how do i set up the time capsule with only a wireless net work? it keeps asking me to plug in a cable and i do not have one.
Are you using a v6 uitlity.. because it is a toy.. ??
Get v5 utility and then you can hold down the option key and select the right mode.
If you have lion, just install it.. For ML follow this.
How to load 5.6 into ML.
1. Download 5.6 for Lion.
http://support.apple.com/kb/DL1482
Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
2. Download and install unpkg.
http://www.timdoug.com/unpkg/
Run unpkg on the desktop.. it is very simple.. drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. drill down.. applications utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
You cannot uninstall 6.1 so don't try.. and you cannot or should not run them both at the same time.. so just ignore the toyland version.. the plastic hammer.. and start using 5.6.. a real tool. -
How do I set up the Time Capsule without an internet connection
How do I set up the Time Capsule as a wireless hard drive without an internet connection. I am in a office situation in which I cannot access my work network. I need to be able to share files on the Time Capsule over the wire connection.
Are you using a v6 uitlity.. because it is a toy.. ??
Get v5 utility and then you can hold down the option key and select the right mode.
If you have lion, just install it.. For ML follow this.
How to load 5.6 into ML.
1. Download 5.6 for Lion.
http://support.apple.com/kb/DL1482
Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
2. Download and install unpkg.
http://www.timdoug.com/unpkg/
Run unpkg on the desktop.. it is very simple.. drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. drill down.. applications utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
You cannot uninstall 6.1 so don't try.. and you cannot or should not run them both at the same time.. so just ignore the toyland version.. the plastic hammer.. and start using 5.6.. a real tool. -
How to create idoc in real time
hi guru
how to create idoc in real time
thanks
subhasisHi sahoo,
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a SegmentGo to transaction code WE31Enter the name for your segment type and click on the Create iconType the short textEnter the variable names and data elementsSave it and go backGo to Edit -> Set ReleaseFollow steps to create more number of segments
Create IDOC TypeGo to transaction code WE30Enter the Object Name, select Basic type and click Create iconSelect the create new option and enter a description for your basic IDOC type and press enterSelect the IDOC Name and click Create iconThe system prompts us to enter a segment type and its attributes
Choose the appropriate values and press EnterThe system transfers the name of the segment type to the IDOC editor.Follow these steps to add more number of segments to Parent or as Parent-child relationSave it and go backGo to Edit -> Set release
Create Message TypeGo to transaction code WE81Change the details from Display mode to Change modeAfter selection, the system will give this message The table is cross-client (see Help for further info). Press EnterClick New Entries to create new Message TypeFill detailsSave it and go back
Assign Message Type to IDoc TypeGo to transaction code WE82Change the details from Display mode to Change modeAfter selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.Click New Entries to create new Message Type.Fill detailsSave it and go back.
Reward points if helpful.
Thanks
Naveen khan -
How to create Reports for the infopath form data
Hi All,
I have a requirement to generate reports in SharePoint based on InfoPath form data which is submitted into form library. Do I need to store each InfoPath form data into SQL Database/MS Access Database. if yes, can any one help me on this how
to save InfoPath form data into DB while submitting into "Form Library". based on the data stored in DB how to create and view the report in SharePoint?.
Thanks in Advance,
Satish
Thanks & Regards Satish DugasaniThank you for asking the questions for clarification, my requirement is like below
1. Need to insert all infopath form fields data into Access Database when i am submitting to the Form library
2. Create Access Reports like based on time period, based on submitter name, based on state, city, and combination of these etc.
3. Sync Access Database every time i am updating the form
4. View Access Reports in share point site
PS: I worked on this like below approch
1. Written Web Service to Sync Access Database for the Infopath form
2. Create Access Reports
3. Publish using "Publish to Access Services" by providing site URL it will create a subsite there i can able to see reports, tables, macros etc. but that is not an user friendly like i am not able to apply my branding because it is pointing to /_Layouts/accsrv/Modifyapplication.aspx.
could any one suggest me on this.
Thanks & Regards Satish Dugasani -
How to create F4 for the standard transaction
Hi all ,
How to create F4 for the standard transaction for a particular field .
ByeSantosh,
You can create F4 values for a field in a standard Transaction .
1. First search for a standard search help meeting your requirement .
2. If you don't find one, create your own custom (z) serach help .
( 1 is preferable )
After that, include that serch help to the standard field in the transaction .
For this u need to go to the screen
( F1->F9-> screen-> Field )
Click on the property of the field and include the search help .
You ll require the access key from the basisi guys as u r changing standard .
Hope it helps,
~ laxmi
Reward for helpful answers -
How to get rid of the "time out" when using DAQ AI in the example program
I try an example file called "AcqVoltageSamples_IntClkDigRef" (Visual C++ .NET). It works great. However, if the program has not recieved the data, it sent out a timeout message. How to get rid of the "time out"? I cannot find anywhere in the code. Is this a property I have to reset somewhere else?
Thank you,
Yajai.Hello Yajai,
The example program will use the default value for timeout, 10 seconds. To change this, you will have to set the Stream.Timeout value. I inserted this function into the example and set it equal to -1, and the program will wait indefinitely for the trigger signal without timing out. Please see the attached image to how this was implemented.
I hope this help. Let me know if you have any further questions.
Regards,
Sean C.
Attachments:
SetTimeout.bmp 2305 KB -
How to creat deadlock for the purchase order in SAP Workflow
How to creat deadlock for the purchase order in SAP Workflow
Hi Ben,
Are you using FM "CONVERT_DATE_TO_EXTERNAL" before passing delivery date? If not, use FM like this, before passing the date to BAPI_PO_CREATE1 and it might work
DATA: vf_doc_date(10),
internal_date TYPE d.
vf_doc_date = sy-datum. "Document date.
internal_date = vf_doc_date.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = internal_date
IMPORTING
date_external = vf_doc_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
Regards,
Vivek -
How do I create both endnotes and footnotes in same doc in Pages? I have iWork 2008. I understand how to create one or the other, but not both.
You have to select one or the other.
Try making two documents and see if you can merge the .pdfs, but their will be problems with page flow, making the pages shift. Can't see it working really.
Pages is not the only solution out there or the best for most jobs (let alone the safest). Try Word for Mac, LibreOffice (free) or any App that has the features you need.
Peter -
How to create Variables for the Key Figures
Hi All,
How to create Variables for the Key Figures
Thanks
BhaskarHi,
It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
With rgds,
Anil Kumar Sharma .P -
How to creating TreeModel of the underlaying drives
can anybody plz tell me how to creating TreeModel of the underlaying drives. so that we get the entire tree structure of the drives like window explorer.
This thread will get you started.
http://forum.java.sun.com/thread.jsp?forum=57&thread=457526 -
How to create links to the same page, how to create links to the same page
How to create link to the same page with iweb?
ThanksYou're referring to anchors. There are a couple of ways. These topics discuss them:
iWeb FAQ - Anchors
How do i hyperlink to certain portion...: Apple Support Communities
OT -
How to create and manage the log file
Hi,
I want to trace and debug the program process.
I write the code for creating log file and debugging the process.
But i am not able get the result.
please help me how to create and manage the log file.
Here i post sample program
package Src;
import java.io.*;
import org.apache.log4j.*;
import java.util.logging.FileHandler;
public class Mylog
private static final Logger log = Logger.getLogger("Mylog.class");
public static void main(String[] args) throws Exception {
try {
// Create an appending file handler
boolean append = true;
FileHandler handler = new FileHandler("debug.log", append);
// Add to the desired logger
Logger logger = Logger.getLogger("com.mycompany");
System.out.println("after creating log file");
catch (IOException e)
System.out.println("Sys Err");
}Please give the your valuable suggesstion... !
Thanks
MerlinRoshinaJust i need to write a single line in log file.
-
How to create and see the user interface of helloworld sample??
hello friends,
i have deployed the hello world sample
now i want to know how to create and see the user interface of hello world sample.
thanks and regards..If you go to bpel console host:port/BPELConsole (in a dev install, localhost:9700), click on your process, we will generate, based on the describing wsdl a UI for you ..
hth clemens -
Hi guys,
How to create or generate the index category?.
From the posts of this forum I have read more things but anything works:
reports:
-RSRETT02
-RCF_INITIALIZE_KPRO
-RSTIRIDX_INDXCAT_RETRIEVE
Can anyone show me the way?
Thanks in advance.Hello,
If you haveat least Version 7.10.18 then KPro configurations are no longer required. Did you activate Business Function HCM_ERC_SES_1 as this is required for SES? The scenario to choose will depened on whether you are making a new implementation, upgrading without use of SES before or upgrading after using SES with earlier versions. Scenario 1 is for when you have activated HCM_ERC_CI_3 after using earlier versions with HCM_ERC_SES_1 already activated. Scenario 2 is for those who have upgrade and activated HCM_ERC_CI_3 but where using search without SES in their earlier version. Last scenario is when you are making a new e-Recruiting implementation (not upgrading). Also check notes 1426757 and 817145.
When you try to search are you getting an error? Can you check in SLG1 transaction after trying to search and post the error messages. Also can you execute report RCF_CHECK_SEARCH_SETTINGS as it will point you to the missing configurations points if any based on your version.
Regards,
Maybe you are looking for
-
Hi! I look for a way how to create PDF file that contains multiple versions of document. Like there is function "Show signed version" in the Adobe Acrobat, there should be something like "Show version xxx" and "Compare this version to version xxx". I
-
I tried plug-in, it doesn't work, how do I remove it?
Thank you for reading it. Today I installed the "Who stole my picture?" plug-in, and it doesn't work (or maybe I have no idea how to operate it!) . How do I remove it? It is annoying to see it popping up every time I right-click! Useless thing..
-
Latest app store update not installing correctly
I have a 2008 macbook running mountain lion. It normally updates software via the app store without any difficulty. Today it wants to install an iphoto update and a safari (6.02) update but it gives the following error: The operation couldn't be co
-
Few records are missing while downloading to a Spreadsheet from a Report
Dear Gurus, few records are missing while downloading to a Spread sheet from a Z report. There are around 300 records, out of which 11 records are not appearing in Spreadsheet file after saving. But, the funny thing is when i try to save in other f
-
Hallo Experts, I have retrived a Internal Table from FM. CALL FUNCTION 'SRTUTIL_CONVERT_XML_TO_TABLE' EXPORTING xdoc = lv_xstring IMPORTING * ERROR_TEXT = data = lt_xml I have manipulated the Tagnames in