"Serious Problem in Struts" + "Please help me"

Hi all,
I m facing one problem in struts. I have A DTO with Attributes(data transfer Object) which contains one Array List. In that Arraylist i have other B DTO with Attributes.
In my Screen I have fields which are using some of the attributes from A DTo and B Dto
In the JSP
I m creating controls like this
<html:text name="facilityForm" property="dto.installationSite" />
in the ActionForm I m setting values which are typed in the screen to the dto.
I have to create one control(textbox) which is using B DTO Attribute..
How to do that?
if its the attribute of DTO i can create like this
"dto.installationSite"
But A Dto contains ArrayList that contains B Dto objects
<html:text name="facilityForm" property="dto.ARRAYLIST(B DTO).Attribute" />
Please help me...

try this... (not sure though)
<html:text name="facilityForm" property="dto[0].Attribute" />
or is it this:
<html:text name="facilityForm" property="dto(0).Attribute" />
... I'm not really sure about this, however. ...Maybe instead, loop thru the outer list and create a field for each object.

Similar Messages

  • I have a serious problem with GridBagLayout please help

    I have an working code of an Swing application that has used gridbaglayout it works very well in desktop pc on 2000/xp with 800 x 600 screen resolution but the problem is when i change the screen resolution to higher say at 1152 x 864 resolution then the same code all the components are left align and not properly distributed even though i have GridbagConstraints.BOTH for the fill variable of the Gridbaglayout. Also i am facing similar problem when i run the code on the laptop.
    Please help me and can anyone tell me what to do in case i want the layout to show in the same manner for higher resolution as it is showing for lower resolution.

    you may have to setPreferredSize to a calulation from the screen resolution, if there is 1 thing that is 1 pixel too big for it, i find it stuffs the entire container
    Drogo

  • Serious Problem Backing Up/ Please Help

    I thought my iMac 17" was working fine. I'm a .mac member and downloaded "Backup" to, well, back up my data. Per recommendation of Backup I tried to use software update before backing up. This would not work (tiny blip on dock and then nothing). I found I also could not use disk utility or install Backup from the .dmg file.
    I tried to do an archive and install, but that did not work as an error was reported.
    I used disk utility from the OSX installation disk. I repaired some permissions successfully. However disk repair failed because of an "invalid sibling link."
    The hardware test indicated "no trouble."
    I decided to try to do an erase and install after first copying my data to DVDs. When I inserted the DVD (verbatim 16x DVD-Recordable), I got an error message saying "the disk drive is not supported." (Note I did use the installation disks without a problem). This happened with three different blank discs.
    I tried using my iPod. When I inserted the iPod into the cradle the icon appeared for a short time (saying I need to erase and sync), however after just a little while the icon disappeared and an error message appeared saying "the device was removed improperly" though I hadn't touched anything.
    The files amount to roughly 35 gigabytes (photos music movies). Too much to back up to idisk. I can see and use the folders (for now) but don't seem to have any way to get them on to a backup media so I can erase and install.
    Apple suppport's reaction was "you aree running out of options." I suppose I could buy an external hard drive but since the iPod doesn't work via a USB connection, I'm not sure that will help.
    Any ideas welcome. I MUST save this data. Thanks.

    There are many serious directory problems that Disk Utility cannot fix. You really should buy a copy of DiskWarrior and see if it can fix the problem. Also buy an external drive that has both firewire and USB connections. A firewire drive can make a bootable clone, which is a very good thing to have. You may be able to at least copy your personal data to the firewire drive if DiskWarrior is unable to fix the directory problem. You should also be able to at least install the system onto the firewire drive (make sure if you do this to name the account the same as the one on your internal drive) and boot from the firewire drive and then try to copy your personal data to the external drive.
    Francine
    Francine
    Schwieder

  • SERIOUS PROBLEM...PLEASE HELP!!!

    Okay, so my iPod has been having a few issues lately and I want to know if anyone has any idea what's wrong with it.
    A few days ago I was getting the "Please wait, very low battery" message constantly. I know my iPod was charged so I don't know why it kept saying that. Every time I plugged it into the wall, it wouldn't charge so I tried charging it in my iHome, which seemed to be working. The problem is, the iPod isn't charging right. I can keep it in the iHome for hours, and it always says it's charging. Then as soon as I take it off the iHome, it says it's charged. If I put it back into the iHome, it says it's charging again.
    On top of that, when the iPod isn't plugged into anything, I can still use it, but the "Charged" icon stays on the screen 24/7. When I turn it off, the screen turns off for about 3 seconds and then the "Charged" or "Charging" icon shows up (it varies) and the screen is not lit up. So my iPod basically never turns off, so the battery ends up dying.
    I've reset my iPod countless times, and restored it a couple times, and nothing seems to fix it. There have also been times when neither my iTunes nor my computer recognize my iPod. I think I've come to the conclusion that it needs to be in disk mode, but I've never had that problem before.
    If anyone has any idea what the problem is, please let me know. Or if you've had a similar problem...I hate to think I'm the only one experiencing this.
    I've thought about going to an Apple store to have them look at it, but my warranty is up. I do, however, have a warranty with Best Buy, but I'm not completely sure what it covers. I really don't think there's a problem with the battery, I mean, it holds a charge, but my iPod just refuses to shut off. Not to mention, my iPod doesn't seem to recognize when it's actually charging and when it isn't.
    Any help would be much appreciated.
    Message was edited by: Breane
    Message was edited by: Breane

    I am using a Dell with Windows XP.
    When I plug the iPod into my computer, the iPod screen does not change (it still shows the "Charged" icon, which stays on the screen all day until my iPod eventually dies). After about 2 minutes, it says it's charging, but iTunes does not recognize it, nor does my computer.
    If I put the iPod in Disk Mode, iTunes recognizes it, and my iPod syncs. The iPod Summary window says my software is up to date. After I unplug the iPod from my computer and take it out of Disk Mode, i reset the iPod. The iPod works like it normally would, except that the battery icon in the top right of the screen has the picture of the plug in it which isn't supposed to be there...it should just say the battery is full. While my iPod is in use, that plug stays in the battery icon 24/7. When I "shut" my iPod off, the display turns off for about 3 seconds, and then the "Charged" screen shows up (the one that shows up when the iPod is actually plugged into something). The thing is, the screen isn't really off. If I scroll my finger on the click wheel, as if to adjust the volume, the screen lights up. So my iPod is never really off, causing it to die within a few hours.
    I haven't tried using my computer to charge the iPod, so I can't tell you how long it takes. I will leave it plugged in overnight and let you know what happens.

  • Serious Problem with BAPI_USER_CHANGE please help

    Hi experts.
    I am using a Test system (Child system). The child system is attached to the CUA.
    I have used the BAPI_USER_CHANGE to update the SNC of one user. But surprisingly, all
    the emails addresses in the CUA of all users in the child system have been changed.
    I think the system user chanegs this in a way.
    My code is very simple written.
    I have written a program that updates the SNC Name of a user. In this program I used the following BAPIs:
    1)     BAPI_USER_GETLIST --> to get the user name of a certain user
    2)     BAPI_USER_GET_DETAIL --> to get the other information of the User
    3)     BAPI_USER_CHANGE -->     to change the SNC Name of the User.
    Does any body have an idea as to why the system user changes all the email addresses in CUA for all Users that are in the child system?
    I am relentlessly in search for answers please.
    Thanks
    Nadin.

    Hi (Frank and Rob),
    Thank you for your input. The note implies for release 4.6 but the release I am using is the basis release 7.0(SAP NetWeaver 2004s). I don't know if this matters in this release.
    The system (TS) that I call the BAPIs in has two clients. Client 01(Test Monitoring) and Client 02(Test CUA). Now Client 02 is attached to the PRD (Master CUA system). But I run the BAPIs in Client 01.
    The CUA settings for both Clients (01 and 02) in TS system is set to Global (Global button is ticked) in  transaction SCUM. Also Internal-mail is set to Redistribution in both Clients in TS system and in PRD(Redistribution is ticked) in transaction SCUM.
    The code below shows the form with the BAPI_USER_CHANGE:
    FORM snc_update.
      DATA: lw_snc        TYPE bapisncu.
      DATA: lw_sncx       TYPE bapisncux.
      DATA: lw_return     TYPE bapiret2.
    * Initializing the Flags
      lw_sncx-pname   = 'X'.
      lw_sncx-guiflag = 'X'.
    * Check for which button is clicked
      CASE sscrfields.
        WHEN 'CL1'.  "When update button is clicked
          CLEAR w_return.
          CLEAR t_return.
          FREE  t_return.
            MOVE p_snc   TO lw_snc-pname. "p_snc is parameter field & with the SNC for the user
            lw_snc-guiflag  = 'X'.  " No Passwordsr -only SNC-data
    *       Change only the SNC of the User
            CALL FUNCTION 'BAPI_USER_CHANGE'
             EXPORTING
                username = gw_bname       "User clicked from Index. Only one user is given
               snc           = lw_snc
                sncx        = lw_sncx
              TABLES
               return       = t_return.
            IF sy-subrc = 0.
              READ TABLE t_return INTO w_return WITH KEY type   = 'S'.
    *         Status message when SNC-Name is successfully changed
              MESSAGE ID w_return-id TYPE w_return-type NUMBER w_return-number
              WITH w_return-message.
              LEAVE TO SCREEN 0.
            ELSE.
              CLEAR w_return.
              READ TABLE t_return INTO w_return WITH KEY type   = 'E'.
    *         Error when unsuccessful.
              MESSAGE ID w_return-id TYPE w_return-type NUMBER w_return-number
              WITH w_return-message .
              LEAVE TO SCREEN 0.
            ENDIF.
                ENDIF.
        WHEN 'CL2'.
          LEAVE TO SCREEN 0.
        WHEN OTHERS.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDFORM.                    " SNC_UPDATE
    Also one important NOTE: After the program runs, I receive the message user XX has been successfully updated. But then I looked at the t_return table in debugging I saw the following 4 Messages (3 of type 'W' and 1 of type 'S'): All the messages came from the Message class SNC(SE91)
    Num 005 of TYPE W with message "Unable to determine the canonical SNC name"
    NUM 006 of TYPE W with message "User name SNC-Name: with the value"
    NUM 003 of TYPE W with message SNC error RC= 19 ( message 19 says "Logon with external ID not activated in this system")
    NUM 039 of TYPE S with message "User was successful changed".
    Any help to explain this mistery will be highly appreciated.
    Thank you all
    Nadin

  • Serious problem with itunes, please help!

    ITunes gives me an error when I try and open it, says windows has encountered an error. I tried uninstalling it and it gives me another error but says iTunes has uninstalled and asks me to restart. iTunes is gone from my add/remove menu but quicktime remains and refuses to uninstall. The uninstall box simply closes halfway through opening the uninstallation program. Help please!

    hi matt!
    gaah. okay, first of all, make sure your
    b antivirus and antispyware
    are switched off during installs and uninstalls.
    lets try using the Windows Cleanup utility to remove the QT clog in your Add/Remove:
    http://support.microsoft.com/kb/290301/
    ... and also use it to make sure you've got rid of any last vestiges of itunes from your system (i don't like the sound of that crash on the uninstall).
    then use the instructions on uninstalls given here as a guide to manually removing itunes and QT program files and folders:
    http://docs.info.apple.com/article.html?artnum=93976
    now download and save to your hard-drive a standalone QT installer (well run the installation from there rather than online). there's a link to a standalone inside here:
    Scott Patrie, "Installation hangs on "installing QuickTime"", 10:33pm Oct 7, 2004 CDT
    once that is properly installed, reboot. then download and save an itunes 5.0.1.4 installer to your hard-drive, and then run that.
    keep us posted on your progress. if you get any further errors, describe them as fully as you can (include error message numbers if you're getting any).
    love, b

  • Serious problem at startup- Please help...:-(

    Hi all,
    At startup in my new X, I get the Leno starting screen and then the computer goes to a blank screen- windows won't start and I can't seem to do anything to get windows to start from the keyboard...
    I can, however, get to the configuration menu at startup by pressing F12- can I do anything that way to get windows to start?
    Thanks !!!
    Roy

    Yep I have had to swap it the hard disk over to the courier about 20 times so far and thats just for the X200's, not including about 60 or 70 times for our older units so I can assure you I know what im talking about.
    I mean they even refused to send out a CMOS battery the other day unless I sent the faulty one back. Seems stupid really considering it would cost more in postage than what the units actually worth. I think its more of  a trust issue they just want to verify its broken then throw it in the bin. The process involved in reconditioning a hard drive is so extensive you just wouldn't do it unless you really needed the data or you had a level one clean room in your back yard LOL
    We often forget that Lenovo don't actually produce any of the major components they just buy them, then assemble it and brand it. If a hard disk dies they probley claim in under the manufactures warranty with Seagate or Western Digital....

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • HT201263 my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    my ipad give me the apple sign without running up it appears all the time in the screen , i tries to reset my ipad , but still in this problem , can you please help me?

    You may want to look at this about using recovery mode to restore your iPad.
    http://support.apple.com/kb/ht4097

  • It won't let me drag an effect from the browser all of a sudden. I have always been able to do before. I am using effects from favorites bin and when I try to drag it, it won't move. I have never had this problem before. Please help.

    It won't let me drag an effect from the browser all of a sudden. I have always been able to do before. I am using effects from favorites bin and when I try to drag it to the timeline, it won't move. I have never had this problem before. Please help.
    P.S. I have tried other effects including transitions and it still won't let me drag.

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

  • Mac Book Air sleeps when moved...i don't know whats the problem...please help me out if anyone knows about this...

    Mac Book Air sleeps when moved...i don't know whats the problem...please help me out if anyone knows about this...

    your reed switch for the monitor is defective, it thinks youve shut the lid when you havent
    mechanical fault , contact Apple for service and parts replacement.

  • I want to ask how to downgrade ios 7 to 6.1.3, because a lot of problems ios 7. please help

    I want to ask how to downgrade ios 6.1.3 to 7, because a lot of problems ios 7. please help

    I'm sorry, but Apple does not provide a downgrade path for iOS. Because downgrading is unsupported by Apple we cannot discuss it on these forums.

  • Error getting license. License server communication problem: E_ADEPT_NO_TOKEN. Please help

    I try to download my ebooks on my laptop but receive the onscreen message, Error getting license, License server commucication problem: E_ADEPT_NO_TOKEN. Please help?

    It means, the URLLink.ACSM file is corrupted. Please contact the book store and ask them to check whether the configuration in the server side is correct for that book.
    One of the simple setting in the server which can case this issue is, setting the book for loan in server and providing the purchase option in the book store or vise verse.
    Hope this solves your problem.

  • HT1386 i tried to sync my ipad to my itunes using usb but it will say not charging,, i can sync with my ipod touch without any problem... please help..

    i tried to sync my ipad to my itunes using usb but it will say not charging,, i can sync with my ipod touch without any problem... please help..

    From http://support.apple.com/kb/HT4060 :
    The fastest way to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter. When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge, but only when it's in sleep mode.
    iPods need less power to charge them (their wall charger is half the power of the iPad's, 5W as opposed to 10W), so are more likely to charge via USB

  • Nokia 5130 problems...please help!

    hiya i recently updated my Nokia 5130 over-the-air and had no problems so far. then i have downloaded the latest internet settings fro my phone via my network operator. no problem there. but whenever i surf the net or use 3rd-party chat service the internet shuts down and just stops working? why is this? is there a way to use my internet (to surf or chat) seamlessly? (n.b. i have an unlimited internet option on my network account).
    please help!

    you need to call them again the message comes via text its a configuration setting ,then you save this message so call them again
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

Maybe you are looking for