Mr. Steven help please : How you can pass paremeter by(ADF)

if you have two tables
(table a : E_mail{primary key},a_name)
(table b : E_mail{primary key},b_name)
& the relation between this tables by {E_mail} .
I create view have this two table(two entity) , but i hide the fields
E_mail & b_name from (table b) , then i drag and drop this view to JSP
page called (saveData) and put Commit and create . So, what i need ?
When i commit the page(saveData)i want put E_mail from (table a) to E_mail(table b)
How i can do it ?????
==> if you have an example please give it to me ?

I am working with JDev 10.1.2
-what i did ?
-(1)I create view have the entity objects(from two table) named : testview-
(2)i am go to java file of the view(testview) and write :
public void seta_Email(Number value)
setAttributeInternal(a_Email, value); //from table A
setAttributeInternal(b_Email, value); //from table B
protected void create(AttributeList attributeList)
a t1 = get_a();
b t2 = get_b();
try
t1.create(attributeList);
t2.create(t1);
}catch (JboException ex)
t1.revert();
t2.revert();
throw ex;
(3)then i am go to AppModule(javafile) and write :
public void account()
ViewObject vo = get_bView1();
vo.clearCache();
vo.setMaxFetchSize(0);
vo.executeQuery();
Row newRow = vo.createRow();
vo.insertRow(newRow);
newRow.setNewRowState(Row.STATUS_INITIALIZED);
vo.setCurrentRow(newRow);
(4) .................
then what i do ????
please Mr.Steven tell me what's next step ???

Similar Messages

  • I need help please if you can aid me in my quest to write this code

    I am trying really hard to accomplish this and my head hurts from trying mulitple ideas on the right code.A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this for you and generate five sets of six numbers as a result.
    Details:
    For generating random numbers you can use the random() static method of class Math. It returns a double so you will need to cast it as an integer. If you set the range to 49, you can generate a random number between 1 and 49 through:
    number = (int) ( range * Math.random() ) + 1;
    Note that you need 5 sets of numbers and in each set you have should have six different numbers. There should not be duplicate numbers within each set. Of course the same number can occur in multiple sets, but within the same set of 6 numbers it should only occur once, if at all.
    Here is an example of a valid set of numbers: 5, 41, 3, 9, 22, 30
    Here is an example of an invalid set of numbers: 15, 8, 19, 33, 8, 21
    It is invalid because the number 8 appears twice.
    This is the dilema the code I have so far (I know it is not much) is import java.util.Scanner;
    import java.util.Random;
    public class Lottery
    public static void main(String[] args)
              int[] numbers = new int[6];
    number = (int) (range 49 Math.random() ) + 1;
    am I on the right track totally wrong or???? Please help me and god bless

    Tinkerbell... wrote:
    Navy_Coder wrote:
    Tinkerbell... wrote:
    Navy_Coder wrote:
    Yeahhhhh, don't do that...Why not?because you butchered an otherwise simple process by the whole generic list with 50 numbers and sorting mess.
    java.util.Random. <-- learn how to use it.Well, please explain how you would better do it using java.util.Random then?
    Random r = new Random();
    int[] vals = new int[6];
    for(int i = 0; i < vals.length; i++ )
        vals[i] = (r.nextInt(49) + 1);

  • DVD from Animations - Help please if you can

    We have an 3min animation sequence that needs to be put to DVD.
    Animation was created in Maya, it's a 3D building walkthrough, constant movement.
    It is supplied as AVI (video track is WRAW) 720x576 (for PAL)
    We have placed it on FCP sequence set to Animation, best, millions colours, keyframe every frame.
    Sent to compressor - 8Mbps CBR, best motion, GOP size =7 / Structure =IBP, closed.
    The resulting M2V looks fine in QT
    It also looks fine in DVDSP Simulator
    However the DVD created (from an image) both in Apple's DVD player and on set top players looks badly pixelated, grainy and flickery.
    Is there something in the make up of the animation that doesn't suit DVD playback? Why wouldn't we see it in the Simulator?
    Any help greatly appreciated.

    Thanks Colin,
    I have exported the supplied file as QT movies using different QT Codecs, DV PAL, Animation, Motion JPEG, also DV stream. If the option is there I have set the field order to Lower first. I have also imported the supplied AVI to FCP onto sequences with differing compression settings as above. All produce the same effect.
    I have exported the AVI from QT as an image sequence, once as is and once with the deinterlace ticked in movie properties and imported each image as a frame to FCP onto a DV PAL timeline, this you would think would work around any issue of field order and behave as the sequence settings dictate? I get the same result, the final DVD image looks fine in DVD Player, unless you UNTICK "deinterlace" (which is wierd in itself), then it flickers badly, as does a DVD written from the image.
    The best result I have had so far is following your instructions (thanks) in another post for 24fps NTSC, the final DVD was not flickering anywhere as badly but motion overall was a bit jittery. Is there a work around for animation like this with PAL do you know?
    Also - maybe this might be a clue?
    When I have the clip looking fine in FCP as a DV clip or image sequence on a DV timeline, with the play line stopped or running, the Canvas ONLY looks good at 100%, anything smaller or larger creates this striping moire effect on the image, visible even with the play line in stop.

  • Help, please (if you can) !!

    I'm using HomeSite for my web pages, and have for years.  Recently I got a new computer, with Windows 7, (previously running under XP) and tried running HomeSite on it.  For some reason it doesn't seem to want to run.  The configuration wizard starts up and I get this:
    Clicking 'next' brings up this:
    And 'finish' brings up this:
    I can still run it on my old computer, but that's a pain as it's agonizingly slow (really old!) and then I have to transfer the files, etc. etc.
    Any help someone can give would be greatly appreciated.  Have tried searching for that error message without much luck.
    Thanks!
    Maggie

    Sorry... I put in scrren shots, but didn't do it correctly.
    First one;
    Second one:
    Third one:
    Hopefully this will work!
    M

  • How to reinstall ios 7 because in the setting the phone did not take my number please if you can help

    how to reinstall ios 7 because in the setting it did not take my number and i can not know my credit please if you can help

    you forgot your credit card info? trying to reinstall it wont fix this ( which you cant do anyway,although you can restore it to an earlier setting)

  • HT201210 I have an old i phone 3G and do not know the password for it. trying to restore it from itunes but keep getting error code 1015, any help on how to get passed this please?

    I have an old i phone 3G and do not know the password for it. trying to restore it from itunes so my daughter can use it as an ipod but keep getting error code 1015, any help on how to get passed this please?

    Hi ratcat14!
    I have an article that can help you troubleshoot this issue:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • I want to be a good SAP user but please help me how and can i do the right step about SAP

    i want to be a good SAP user but please help me how and can i do the right step about SAP

    Hi,
    you can start learning SAP from an end-user/key-user perspective with the online learning portal of SAP Learning Hub, business user edition.
    Further information can be found here:
    SAP Learning Hub
    Regards,
    Arnold

  • HI, could anyone please tell me how you can delete more than 1 photo at a time or ipad or ipod touch?

    HI there, could anyone please tell me how you can delete more than 1 photo at a time on ipad and ipod touch??

    Delete multiple pictures at 1 go.
    1. Click the box with arrow on top right of Album.
    2. Select pictures to delete
    3. Tap Delete
    http://i1224.photobucket.com/albums/ee374/Diavonex/86e1a2c37a805bca2ccacc66c95ce 934.jpg

  • I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can

    I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can this is all new to me.

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • HT1222 Hey , why always when i want to update my Ipad to ios 6.1.3 at the end tills me that the update was failed , its always please if you can help me and thank you

    Hey , why always when i want to update my Ipad to ios 6.1.3 at the end tills me that the update was failed , its always ,please if you can help me, and thank you.

    Try disabling your firewall and antivirus software and see if that helps - if you are trying to update using iTunes on your computer.

  • Can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    I have same problem.
    However, I am unable to turn on Assistive Touch.
    At one time I was able to activate it, but it went away and now I cant reactivate.
    What is the solution?

  • Helloo my name is jafthel i have problems with my ipod touch 4g. if you can help me how i can fix it or solution i will be very happy. the problem is: when i push some aplication my ipod is very slow i after 3 minutes it goback to the home screen.

    helloo my name is jafthel i have problems with my ipod touch 4g. if you can help me how i can fix it or solution i will be very happy. the problem is: when i push some aplication my ipod is very slow i after 3 minutes it goback to the home screen.

    Next try the remaining items of:
    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Apple care i want your help . i got a new that someone stock of iphone5s about battery problem . My ip5s is decrese batterry so fast . Can you help me please? you can check to IME ? plz

    Apple care i want your help . i got a new that someone stock of iphone5s about battery problem . My ip5s is decrese batterry so fast . Can you help me please? you can check to IME ? plz

    Apple representatives don't respond to anyone in this forum. It's just user-to-user. Go here to check support options (going to Apple store, calling Apple support, etc.): https://getsupport.apple.com/ProductSelector.action

  • Hello please tell me how you can unlock the phone I bought İclod worker can not find the old vledeltsa. sorry English is not good, I know

    Hello please tell me how you can unlock the phone I bought İclod worker can not find the old vledeltsa. sorry English is not good, I know

    If it's locked to the previous owner's account then only he/she can remove it from their account : http://support.apple.com/kb/TS4515

  • Can you help me how i can purchase this i pad

    Dear Sir,
    I like this i pad, i am in India,Tamil Nadu,Chennai.
    Can you help me how i can purchase this i pad
    Thanks for your helping.
    Thanks and Regards,
    Venkatesan.M
    <Edited by Host>

    Through the Apple store or a local dealer: http://store.apple.com/

Maybe you are looking for

  • How do I stop automatic loading of the next page as I scroll to the bottom of an internet page that has a number of pages?

    When I search with Google, as I scroll to near the bottom of the page, the next page of results automatically loads. I can never get to and use the similar searches, or "Searches related to ***", which are at the bottom of the page, as the next page

  • Macbook to LG TV

    Hello all, I'm sure this topic has probably been beat into the ground, but I am using the white Macbook (purchased in 09) and I really want to connect it to my television to watch Netflix. I just purchased the television last month. There are a lot o

  • Help with RSS feed in home page

    I'm trying to place an RSS feed in my home page. I've followed this Dev Center guide: http://tinyurl.com/ewbdv I've gotten everything to work perfectly locally. However, when I upload the files it won't work online here: http://tinyurl.com/ootyn The

  • 5gen iPod not loading in iTunes or iPod updater 2006

    I just got this 5th gen iPod for christmas and I have just started having these problems. I plug the ipod into the computer and nothing happens -no load in iTunes and the updater doesn't read it. Just before this problem started happening the iPod wo

  • Case or Decode ?

    Oracle 11.2.3.0 Ok, here is the situation. on a view, there is a column called 'DUE_DATE'. What I want to do is via some logic (using case or decode I presume) depending on how many days there is between sysdate (todays date) and the DUE_DATE. to out