How to Create a Update Emp Page with a Updatable VO.
Hi,
I would like to develop a Update Emp page...wth a View Object...
From search Search emp , i will select a record from table and click on update...
So in the second page(ie Update Emp) i should access that emp no and should display that emp in update mode...
For this i have created a managed bean (userState) and i stored the selected emp no into that managedbean
like..
.... code to get the emp id from table as mentioned in ADF Tutorial...
UserSystemState.storeCurrentEmpId(empid)
as i am using EmpVo ... and i dragged and dropped on to jsp page..
But i am not sure how to set that userState.currentEmpId as parameter to this page...
I know how to implement with TopLink approah...
I that if we drag drop the query like find EmpById then automatically an Action Binding editor will be populated and asks for the paramter info...
But here VO is not doing ...
So please give me links... how to cheive this....
Thanks in Advance...
Hi Frank,
Thanks for the reply..
for.. point 2...if we drag and drop the page .. then will not ask for any paramter information(whoch emp (no) we would like to open in update mdoe...)
for ..point 4.. after select the row ... how second page knows which Id is selected in first page...
Thanks
Murali.
Similar Messages
-
How to create dom treeof html page with java
hi, all
i met with a problem how to create dom tree of html page wih jave, that is, given a html page, how to create a dom tree of this page with java?
thanks in advance.
regards
richardbut i m using this code to create node in html file
HTMLLIElement li = (HTMLLIElement)appHTML.createElement("LI");
Text txt = appHTML.createTextNode(name);
li.appendChild(txt);
appHTML.getElementById("name").appendChild(li);
this will display all name value which is coming from database,
and i want to assign a hyperlink to it,
I have id with name also so I thought that using id i will
create javascript like
function popup(id)
if(id==1)
var n1 = window.open("../list/name1.html");
if(id==2)
var n1 = window.open("../list/name2.html");
this way i want to popup particular file if i can pass id value in this function
so want hyperlink like
name -
How to create hyperlink in a page with another website
like we can link email links and hyperlinks (with other
files) how do i make link with another website like
in my home page i say www.indiatoday.com and i want that when
one clicks on www.indiatoday.com this site opens
how do i create a link using dreamweaver without having to
code manually."pandeya" <[email protected]> wrote in
message
news:f66jl8$72b$[email protected]..
> like we can link email links and hyperlinks (with other
files) how do i
> make
> link with another website like
> in my home page i say www.indiatoday.com and i want that
when one clicks
> on
> www.indiatoday.com this site opens
> how do i create a link using dreamweaver without having
to code manually.
Select the text www.indiatoday.com. In the Property
Inspector, in the Link
field, type the full URL -
http://www.indiatoday.com.
Click OK.
You might want to use the Help documentation for really basic
questions like
this..
Patty Ayers | Adobe Community Expert
www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate
Worksheet -
How to Create PDF From Web Page with Sign In
Creating a pdf file from a web page works fine except when the site requires that I must be sign in. In that case Acrobat will not capture the page. Is there an option or setting in Acrobat Pro X that will allow Acrobat to login?
Thanks and regards, MurrayDepending on the web page, you may be able to use the URL with ID and Password included. It goes something like http://ID:[email protected]@test.edu, but it would be best to look up the format for URLs if you want to try this approach.
-
Creating a list in Pages with hierarchy
How do you create a list in Pages with hierarchy?
Hierarchy is just a matter of indent levels.
Pages works by example so having set up the initial one level list, hit a return after one of the points and tab to move to the next level.
Then apply settings in:
Format > Text > Bullets & Lists > to each level if it isn't already an indented List
You can save the final set of hierarchical list as a List Style for reuse.
Peter -
How to create Using Formatted Text Field with multiple Sliders?
Hi i found the Java Sun tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/slider.html very useful, and it tells how to create one Formatted Text Field with a Slider - however i need to create Formatted Text Field for multiple Sliders in one GUI, how do i do this?
my code now is as follows, and the way it is now is scroll first slider is okay but scrolling second slider also changes value of text field of first slider! homework due tomorrow, please kindly help!
// constructor
label1 = new JLabel( "Individuals" );
scroller1 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 10 );
scroller1.setMajorTickSpacing( 10 );
scroller1.setMinorTickSpacing( 1 );
scroller1.setPaintTicks( true );
scroller1.setPaintLabels( true );
scroller1.addChangeListener(this);
java.text.NumberFormat numberFormat = java.text.NumberFormat.getIntegerInstance();
NumberFormatter formatter = new NumberFormatter(numberFormat);
formatter.setMinimum(new Integer(0));
formatter.setMaximum(new Integer(100));
textField1 = new JFormattedTextField(formatter);
textField1.setValue(new Integer(10)); //FPS_INIT
textField1.setColumns(1); //get some space
textField1.addPropertyChangeListener(this);
//React when the user presses Enter.
textField1.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "check");
textField1.getActionMap().put("check", new AbstractAction() {
public void actionPerformed(ActionEvent e) {
if (!textField1.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField1.selectAll();
} else try { //The text is valid,
textField1.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
label2 = new JLabel( "Precision" );
scroller2 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 8 );
scroller2.setMajorTickSpacing( 10 );
scroller2.setMinorTickSpacing( 1 );
scroller2.setPaintTicks( true );
scroller2.setPaintLabels( true );
scroller2.addChangeListener(this);
textField2 = new JFormattedTextField(formatter);
textField2.setValue(new Integer(10)); //FPS_INIT
textField2.setColumns(1); //get some space
textField2.addPropertyChangeListener(this);
//React when the user presses Enter.
textField2.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "check");
textField2.getActionMap().put("check", new AbstractAction() {
public void actionPerformed(ActionEvent e) {
if (!textField2.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField2.selectAll();
} else try { //The text is valid,
textField2.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
// State Changed
public void stateChanged(ChangeEvent e) {
JSlider source = (JSlider)e.getSource();
int fps = (int)source.getValue();
if (!source.getValueIsAdjusting()) { //done adjusting
if(source==scroller1) {
System.out.println("source ==scoller1\n");
textField1.setValue(new Integer(fps)); //update ftf value
else if(source==scroller2) {
System.out.println("source ==scoller2\n");
textField2.setValue(new Integer(fps)); //update ftf value
} else { //value is adjusting; just set the text
if(source==scroller1) textField1.setText(String.valueOf(fps));
else if(source==scroller2) textField2.setText(String.valueOf(fps));
// Property Change
public void propertyChange(PropertyChangeEvent e) {
if ("value".equals(e.getPropertyName())) {
Number value = (Number)e.getNewValue();
if (scroller1 != null && value != null) {
scroller1.setValue(value.intValue());
else if (scroller2 != null && value != null) {
scroller2.setValue(value.intValue());
// ACTION PERFORMED
public void actionPerformed(ActionEvent event) {
if (!textField1.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField1.selectAll();
} else try { //The text is valid,
textField1.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
if (!textField2.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField2.selectAll();
} else try { //The text is valid,
textField2.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
...if :p3_note_id is null
then
insert into notes (project_id, note, notes_month, notes_year) So, p3_note_id is NULL.
Another option is that you have a trigger on table NOTES that generates a new note_id even for an update. -
How to Create an Input Schedule Comparison with Data Using EVDRE
Hello,
I try implement the scenario described in "How to Create an Input Schedule Comparison with Data Using EVDRE".
Once I am using the "Insert Function" from the panel and selecting the EVTIM function Excel crashes (see page 8 How to paper).
Systems:
BPC 7.0 NW SP02
Office 2007
BPCADminClient and BPCOfficeClient up to date
Have anyone a solution?
Thanks
OktayHi Oktay -
This function works in my BPC70NW SP02 system. Your issue might be that you are trying to access a TIME member that does not exist. Please make sure the offset value is a valid dimension member.
I can confirm that EVTIM does allow the offset for base members (such as 2009.MAY) as well as parent nodes (such as 2009.Q1 or 2008.TOTAL)... BUT...the offset result of the EVTIM function needs to be a valid dimension member!
Regards,
Sheldon -
How to create user editable Crystal Report with dynamic dataset
What I would like to achieve:
A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
What I do:
CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrReport.Load(TemplateFilename)
Dim Results As DataTable
DataTable is filled from a database
CrReport.SetDataSource(mResults)
CrReport.SaveAs(NewReportPath, True)
The NewReportPath is opened in the default program.
What are the problems
The report is open in preview mode (not in design).
When the field is added to the report the designer asks for XML datasource on preview.The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?
-
How to create links to other pages i create??
I have finished my "homepage" and it has 5 buttons on it.("home",
"Contact us", etc.).
I have no idea how to create links to other pages i create.
For example, if the user clicks on "Contact us", i wnat contact information
to appear. So, do i create another html document that will contain contact
information and then call that page whenever the user clicks "Contact us". Or
do i just create another applet that contains contact information and display
the applet in the appropriate area, whenever the user clicks "contact us".
Hope that wasnt confusing. Bascially, I am sitting here looking at my buttons, not knowing
what code to put under the actionPerfomed part of each button.
thanx
trin... judging from your question... the best way i think is to create another page...
.... so when ur user clicks on Contact Us..... he/she will be taken to another page...
there are other techniques besides this.... but it is always better to stick with the easiest one
... so you need to create separate pages for all of your links....
... if you have any questions... let me know
.... have fun -
How to create labeled table of Content with expand and collapse
Hi All,
Can somebody help me how to create labeled table of Content with expand and collapse as example given below:
User1
Template1
Template2
User2
+
User3
Template1
Template2
Like when we see expand (+) and collapse (-) button when we click on 'about this page' link.
Thanks
BhupendraHi,
Tou can use Table inside table to show the details this way but I'm not sure about Expand/Collapse.
Expand/Collapse are part of HGRID.
I think we can develop this functionality with little manipulation.
Regards,
Reetesh Sharma
Edited by: Reetesh Sharma on Jun 28, 2010 4:56 AM -
Create custom web-part page with OOTB page layout using CSOM (Javascript)
Hi,
I need to create a custom webpart page with a OOTB page layout (eg. Header 3 column footer) using JSOM.
I found a link to do this using CSOM: http://spdevlab.com/2013/03/28/creating-wiki-web-part-and-publishing-pages-via-csom-in-sharepoint-2010/
But here i have to copy the page template from 15 hive and store it in a resource file and I am also getting error as "The request message is too big" and to fix this I need to run a powershell script but I need the code to run in SharePoint online
also.
Isn't there a simpler piece of code in which I can enter the name of the page layout(OOTB/Custom) while creating a page in JSOM as we have in SSOM?
Thanks for the help
sunnyHi,
According to your post, my understanding is that you want to create a custom web part page layout template.
There are some articles about how to create the custom web part page layout template, you can refer to them.
http://www.manageprojectsonsharepoint.com/blog/2011/03/14/creating-your-own-web-part-page-layout-template/
http://sandeeppawar.blogspot.com/2012/06/create-custom-web-part-page-template.html
http://doitwithsharepoint.blogspot.com/2011/08/create-web-part-pages-with-custom.html
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?
Hi
I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
Especially the section Don't which says -
DON'T
Don't post a series of questions in a single post. Splitting them into separate threads increases your chances of a quick answer.
PZ
www.pziecina.com -
How to create a custom function module with the records in SAP R/3?
Hi All,
How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
Regards
SaraHi
goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
Look at the below SAP HELP links, These links will show you the way to create a Function Module
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm -
My old email that using register for apple ID cannot access/check any mail because that domain already deactivate.
So I changed my appleID and primary email and now I can not access iCloud with iOS7. ICloud shows my old appleID but I can't change it. How do I get iCloud to work with my updated ID?Hi ccharat,
Welcome to the Apple Support Communities! It sounds like you did a good job editing your Apple ID and primary email address, but you didn’t sign out of iCloud on your iOS device before hand. What you may need to do in this situation is go back to the Apple ID website and edit your Apple ID and primary email address back to the email address that is signed in with iCloud (there is no need to verify the account after editing it back to the old account, just changing it back is enough). Once your Apple ID is back to the original account, delete the iCloud account from the iOS device and be sure to keep all info on the device when prompted. After you delete the iCloud account, go back to the website and edit your Apple ID and primary email address back to the new address. Once it is back to the account you would like, you can sign into the iCloud on the iOS device with that new account and merge all of the data when prompted. Please use the following article as a reference.
iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
http://support.apple.com/kb/ts5223
Change your Apple ID temporarily
If signing out and back in to iMessage or FaceTime didn't help, try these steps:
Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
Go to Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
Scroll down and tap Delete Account, then tap Delete to confirm.
Tap “Keep on My [Device]” or “Delete from My [Device].” In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
Enter the password for your previous Apple ID.
Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
Return to Settings > iCloud and sign in with your new Apple ID.
I hope this helps,
-Joe -
How to copy paste a new page with thumbnails view in Pages 5?
How to copy paste a new page with thumbnails view in Pages 5?
Feature removed along with over 90 others:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=b14426a2c5af2 65f2213d98ee45f08d7&mforum=iworktipsntrick
Pages '09 should still be in your Applications/iWork folder.
Export your Pages 5 files to Pages '09 or Word .docx and trash/archive Pages 5.
Then rate/review Pages 5 in the App Store.
Peter
Maybe you are looking for
-
Is there a way to sync music from one mac and podcasts from another mac?
So I have all my music (CD Ripped and iTunes Store purchased) on an iMac at home. I sync a shuffle, nano, video and touch with it. Works great with playlists.. Now, I have a MBP that I use for work and have been downloading podcasts to iTunes. Can I
-
How do I run itunes from an external hard drive?
the internal is small and I use itunes mainly for downloading podcasts which creates a quickly growing library
-
(how) can I access Java APIs from web-page-hosted JavaScript?
Can I access Java APIs from a web-page via JavaScript if I have a JRE installed on the client machine? And if so, how? Thanks in advance for your time and consideration.
-
Hi ; 1) Is there a valid comprehensive Guide to install Integration Kit , SETUP SSO between SAP BW and Business Object 2) if we have an AD authentication turned on for windows - bobj users , can we still use that authentication for users when acc
-
FireFox limitation with WD ABAP
Hello, We have the webshop built in WD ABAP. It is not integrated in the portal. Stylesheet is done with help of ThemeEditor. We find certain limitations in the way it is displayed with FireFox. I would appreciate if someone could help: 1. Dynamic li