Getting bean's fields null even though before returning fields are not null
Hi All,
I have run into this weird problem. I am using sun ri 1.1_01 implementation.
I having problem getting field values from a bean on the jsp page. From my first page I click on a button and it goes to the action method in the managed bean. In this method I set the values of the fields. before returning the view Id, I print these values and everything is set. but when it goes to the next page, it does not display any values.
I have other action methods, where I am setting the same values and I am able to get those values.
The same method was working in a previous version of ear. I don't know what went wrong and it stopped working.
Here is my code of the method
this.setUserRequestedInfo(MetaDAOFactory.getDAO()
.getAccountInfoByUID(uId));
if (this.getUserRequestedInfo() == null) {
this.addMSGException("userRequested.not.valid");
return NavigationResults.FAILURE;
this.logger.debug("\n\nBEFORE RETURNING FROM DEPART this.getUserRequestedInfo() = "
+ this.getUserRequestedInfo());
return NavigationResults.SUCCESS;before the return statement, when I log the values of userRequested, it prints the details, but I don't get this value in my jsp...
Is it some class loader or JSF life cycle problem?
Put some system.out statements into your bean setters, and see if the framework calls it after your action method.
Also, using a phase listener to get familiar with JSFs lifecycles (or finding little oddball issues like this) it's good to use a PhaseListener:
http://jroller.com/page/cschalk?entry=getting_familiar_with_the_jsf
I'm sorry I cannot give you a more specific solution. There just isn't enough information. Hopefully the above tools will help you gather more detail (and maybe even figure it out on your own!). =)
CowKing
Similar Messages
-
Getting no result in answers even though fact and dim are joined
Hi,
I have an issue, I have 2 fact tables.
Two fact tables share 4 common dimensions.
I was able to report on both facts and dimensions perfectly,for some reason now
I am not able to report on fact1 with any dimensions.
I checked joins, content levels everything is fine.
I added some new columns to the fact2, from then I couldn't report on fact1.
Please help me.very urgent.
Thanks
Srsend me rod (rpd) with detail
BTW: How to Sum the values of top3 customers revenue by product
is not clear update with sample data
Edited by: Srini VEERAVALLI on Mar 25, 2013 11:45 AM
[email protected]_
Edited by: Srini VEERAVALLI on Mar 25, 2013 11:50 AM
Edited by: Srini VEERAVALLI on Mar 25, 2013 12:05 PM -
When I am trying to change the color, or bring forward one object, it does it to all my other objects as well! Why is this happening and how do I isolate or unlink them or whatever? thanks
Sure they aren't a Compound Path which acts as a single object?
-
Credit Management-Sales value updated in FD32 even though credit set up is not active
Dear Team,
We are facing an issue where, for a sample order - sales value got updated as open sales order value against a customer in FD33.
Credit set up is not active for the sales order type (OVAK) or the delivery type (OVAD). Since this has occurred in 2003, we have no clue what exactly has happened. We cannot locate any change logs in the configuration level.
1) What is the possibility for credit management to be active for a document type, which was not meant for credit set up?
2) How to remove the open order/ delivery value for the customer?
Thanks and regards.
SivarajeshCredit set up is not active for the sales order type (OVAK) or the delivery type (OVAD).
the above two settings are credit checks at what level( example order level or delivery etc) you what to block the customer if the customer payer exceeds the credit limit.
Where as if the credit active field is active in VOV7 in corresponding item category, system update the respective document values in to credit management (FD32/33) in your example open order value.
Even though OVAK, OVAD settings are not done still system update the document values in to FD33 subject to credit active field is active in t code VOV7 .
Please check in your item category whether credit active field active.
thanks,
Srinu. -
When I synch my ipod touch it only lets 50 videos get on ipod . I can't get the other videos on even though there's plenty of space available and it's set to synch all movies. What am I missing?
i had the same problem. did a lot of research..my phone became unusuable. do you use the htc mail? if so that is your problem. there is a bug with it that it keeps eating your memory until you cannot use your phone. i had to do a hard reset. back to factory condition..not happy! but then went to the marketplace and got k-9 mail. that is now my default mail program. i have not had any issues since then. this is what i kept reading over and over for complaints on this phone. it is a major glitch and the only way, as of the time it happened to me, to fix it..
-
HT5554 I am getting searching for sim card even though sim card is inside
I am getting message searching for network even though sim card is inside
Take the sim card out and re seat it. Maybe it is not quite in correctly
-
Is there a way I can get imessage on my iPod even though it's not the newest iPod touch, Is there a way I can get imessage on my iPod even though it's not the newest iPod touch
Hook it up to itunes and check the version. If it lists in the info that it is 5.0 or 5.0.1, then your ipod has imessage.
If it turns out that an update is available, apply the update. Check your ipod version from Settings > General > About. Anything lower than iOS 5 won't have iMessage. -
When I click on the "Get mail" icon, nothing happens even though I know there is mail. However, if I click on "send" and then go back to the Inbox, the emails start loading. What's going on?
Make sure your Mac's software is up to date.
Click your Apple menu top right in your screen.
From the drop down menu click Software Update. -
It has been like a month since i can't update my apps which i downloaded from the App Store...now i keep getting error1009 followed by error100 even though i'm still living in the same country and using the same account and updating from the same App Store...this is getting awful,painful and very frustrating???is there any solution...even if when i try to download from third parties,i just get sent back to the same awful App Store...So WHAT is the Solution??????????
I would delete the apps that you are trying to update. The MAS should then offer to install the app and it will install the updated version.
If you are afraid of completely loosing the app then either copy the app to an ext HDD or put it in the Trash, but do not empty the Trash until you are sure that the MAS has installed a new version. -
Why is it that some songs get listed on their own even though they are part of an album?
Why is it that some songs get listed on their own even though they are part of an album? They are always songs that I had on my computer not imported from a cd using iTunes. I have verified that all the info is correct and matches the other songs in the album. Sometimes I can check the "compilation" box on all the songs in the album and that will put them in order and in the same listing. I'm pulling my hair out trying to figure this out.
Good One CL.
What I did in this case is select all the songs in the album and select Get Info and see if Album Artist and Album and Sort Artist and Sort Album Artist and Sort Album are the same. -
Getting error Column ambiguosly defined even though column is referenced
select dh_events.case_id
FROM ah_events_to_drgs FULL OUTER JOIN dh_events
ON ah_events_to_drgs.case_id=dh_events.case_id
and ah_events_to_drgs.case_id='2007SP000006'
getting error Column ambiguosly defined even though column is referenced, Please let me know why it is giving error.
Thanks
MurthyCould you demonstrate this in details ?
SQL> create table ah_events_to_drgs (case_id varchar2(20));
Table created.
SQL> create table dh_events (case_id varchar2(20));
Table created.
SQL> select dh_events.case_id
2 FROM ah_events_to_drgs FULL OUTER JOIN dh_events
3 ON ah_events_to_drgs.case_id=dh_events.case_id
4 and ah_events_to_drgs.case_id='2007SP000006'
5 /
no rows selected
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionRgds -
When using CCC (Carbon Cophy Cloner) or Disk Utility to clone a Mac HD of one new iMac to another, over ThunderBolt, we are getting I/O errors. Even though the clone fails, the destination system does boot and log in, however, the logins take a very very very long time.
Thoughts.
Edit: Already ran Disk Utility. Also reinstalled a fresh OS on top of the cloned OS and it seemed to remedy the problem. Then, cloned to next machine in the row of the lab. Same problem.OK, by that I assume that you used Disk Utility to repair the subject disk and it reported "The volume (name) appears to be OK" in green.
Also verify you followed the instructions here: http://help.bombich.com/kb/usage-scenarios/i-want-to-clone-my-entire-hard-drive- to-a-new-hard-drive-or-a-new-machine
If so, the Thunderbolt connection begins to look suspicious.
Reinstalling OS X subsequent to the "clone" operation may be an acceptable workaround but you should not have had the I/O errors you describe, nor should the login times (subsequent to the initial login, that is) be unacceptably long. It calls into question the integrity of all the information that was transferrred.
I'll try to attract the attention of a CCC expert who will likely provide more competent assistance. You can also try the Bombich support site: http://help.bombich.com -
My Mail program has gone south on Leopard on my 27-month old Macbook. I can't send, even though the server details are correct. I tried reinstalling the Mail program from the install DVD, but no go; apparently that two-year old Mail is no longer compatible with my up-to-date Leopard. I tried deleting the account (hotmail) from Mail and setting up a different account (Yahoo). After loading all the inbox two things happened: first, I still couldn't send, and second, when I closed the Mail window the whole inbox then disappeared and doesn't come back. Although I couldn't reinstall the Mail program from the install DVD, would it still be possible to reinstall the whole system from that DVD? If I do, will I lose files or will there be another problem since that DVD is now over two years old?
Thanks for any suggestions; they will be much appreciated.
P.S. I've just noticed that now I can't change the desktop picture: I go through the motions in Preferences, but the new picture doesn't appear on the desktop. Is there a systemic problem?You are waiting for an apology to something that happened over a year ago? Really? This is why there is a manager in the store. You have a problem with an employee you speak to the manager. Just like you did on the phone. You would have gotten your apology in July 2013.
Here is the information about your upgrade fee.
Upgrade Fee
It is because when you have a problem you (customers) go running to the store and want to take up the time of the reps to fix it. Other carriers have third parties that deal with technical support and those locations are few and far between. VZW provides this directly through their stores. Also, when you subsidize a $650 and pay $200 VZW has to pay $400. Your monthly service fee doesn't begin to scratch the surface of paying that back. Not with all the money that is put into the network and its improvements.
Then over a year later you get someone on the phone who apologized and offered to waive the fee on your phone and you didn't take it? That offer won't come down the pike again.
One thing you should know is that all these employees are people and as such they sometimes come off cross. I doubt that you speak to everyone so sweetly all the time. Cut them a little slack and put this whole thing behind you after 15 months. Either upgrade with VZW or move on. -
All my devices have stopped working. Everthing says offline even though I know they are on and functioning.
Sounds like you have corrupt backup data, if this occurs from one phone to another. Try restoring the phone as a new device, without a backup. Try using for a day before installing any other apps, etc. See if that improves the battery life. Then try syncing back applications a couple at a time. Something seems to be locking in the processor which is draining the battery.
Do you live in an area where there are Apple Stores? If so, try making an appointment with the Genius Bar to have the device checked out. -
Not to show the detail records even though the mater records are existing.
Dear Oracle
I would like not to show the detail records even though the mater records are existing. Is there any block preperty I can set?
ThanksI don't know the reason why you would want to do that but if you do not want to any record in the master block in
a master-details format, then you could achieve this by setting the WHERE clause property in the block.
e.g., master block DEPT (base table DEPT) and detail block EMP (base table EMP)
table DEPT is as follow
dept_id (pk)
dept_name
table EMP is as follow
emp_id
emp_name
dept_id (fk)
then you can set the WHERE clause in the DEPT block as follows
exists (select 1 from emp a where a.dept_id = dept.dept_id)
hope this help
Maybe you are looking for
-
Flash CS4 10.0.2 AIR apps crashing on Mac OS 10.6.2
Upgraded CS4 to 10.0.2 and installed the Air2 SDK per Adobe: http://labs.adobe.com/wiki/index.php/AIR_2:Release_Notes Now when I try to compile an Application with AIR the whole IDE crashes. Is there something else I need to do to get it to work? Tha
-
Thank you in advance for your help. In a Unix shell script I backup archived logs older than 2 days and delete them. When there are no files older than 2 days. RMAN prints error messages and quit. Is there any way errors can be handled within the scr
-
Deploying Servlets from my Desktop
I have put html and class file in the following directories with the corresponding URL's: C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\ThreeParams.html C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\moreservlets\ThreeParams.cl
-
Je ne peux pas me servir d'adobe reader, il me demande un # de série et j'en ai pas
je ne peux pas me servir d'adobe reader, il me demande un # de série et j'en ai pas
-
When will siri be available for old iphone 4?
so... when will siri be available for old iphone 4?