Discover the value binding used for "this" bean.
Hey there,
I hope this is an easy one.
From within a managed bean, how do i find out the valueBinding string that was used to register the bean.
Thanks,
Jason
public class MyBean {
public String getManagedBeanName() {
String managedBeanName = null;
// Lookup in request scope.
Map requestMap = FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
for (Iterator iter = requestMap.keySet().iterator(); iter.hasNext();) {
Object key = iter.next();
if (requestMap.get(key) instanceof MyBean) {
managedBeanName = (String) key;
break;
if (managedBeanName == null) {
// Lookup in session scope.
Map sessionMap = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
for (Iterator iter = sessionMap.keySet().iterator(); iter.hasNext();) {
Object key = iter.next();
if (sessionMap.get(key) instanceof MyBean) {
managedBeanName = (String) key;
break;
return managedBeanName;
}
Similar Messages
-
Any description on how to use the Text Editor used for this Forum?
I am very frustrated when trying to use the text Editing functions (without use of HTML, that I do not undertstand) that can be used to create Posts in this Forum .
Can somebody point me to a good description of the Text Editor used to enter/edit Posts in this Forum? Thanks a lot in advance.Ian,
Thank You very much for your answer.
Based on your answer, I guess and fear, that there exist no "user guide" for this Text Editor.
I will wait a little bit more to see whether I get more information/answers. If not, i will probably write a "Feature Request" to request that Adobe provides us or point us to a reasonable User-Guide for this Text Editor. -
This is reports 11g
I've got a clob column. Reports seems to recognize its type, but if I try to reference it in a format trigger, I get this error at compile time:
"No pl/sql translation for the blind type given for this bind variable"Actually, Reports is in something better than Forms.
Neither Forms nor Reports do not have "complete" SQL engine (both have only "complete" PL/SQL engine), but have their own SQL parser, which does not understand SQL commands after the database 8.0.
But, in Reports Data Model - SQL Query Statement, we can write "modern" SQL statement (> database 8.0), because Reports sent it directly to the database, without using their own SQL parser.
For example, in Reports Data Model - SQL Query Statement, we can write this (scalar subquery expressions, in bold):
select empno,
ename,
deptno,
(select dname from dept where deptno = emp.deptno) dname
from emp
order by empno;
although scalar subquery expressions was introduced in the database 9.0.1, and in databases 8.0 and 8.1 we should write someting like this:
select emp.empno,
emp.ename,
emp.deptno,
dept.dname
from emp,
dept
where dept.deptno = emp.deptno
order by empno;
Regards,
Zlatko -
What r all the tables used for this report. please reply
hai,
what r all the tables used for this report.
report :
<b>
Report to display all finished goods that go out-of-stock. Developed a drill down report for materials details (totals and subtotals for material stock values by material group and material type).</b>
thanks in advancehi Ashok,
Check this out
http://www.allsaplinks.com/tables.html
http://www.sapgenie.com/abap/tables.htm
Regards,
Santosh -
My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!
Hi,
You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
You can find a sample scripts if you google around.
What do you mean "how to map any API to our staging table" ?
You should do at least the following mapping (which column(s) in the staging table will provide these information):
- the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
- the value set values and description
Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do... -
What are all the tables used for this report:
hi
what are all the tables used for this report:
report:
<b>Stock Report, which will give opening balance, receipt, issue, and closing balance for any given Duration for any material.</b>
thanks in advanceTables: MSEG, MKPF, MARD.
FOR REFERENCE SEE TRANSACTION : MB5B.
Message was edited by: Sharath kumar R -
Becouse of expire of credit card I updated billing information by providing data of new credit card but system just says "We're sorry, the billing information on file could not be used for this payment. Please update your information.". What exactly is wrong?
Are you 100% sure that every detail of your information is the same in each place?
Make sure that EVERY DETAIL is the same in every place you enter your information
-right down to how you spell and punctuate the parts of your name and address
Change/Verify Account https://forums.adobe.com/thread/1465499 may help
-Credit card https://helpx.adobe.com/utilities/credit-card.html -
Geting this errror, eventhough information is ok: We're sorry, the billing information on file could not be used for this payment. Please update your information.
And please remove one of my unassigned user.Are you 100% sure that every detail of your information is the same in each place?
Make sure that EVERY DETAIL is the same in every place you enter your information
-right down to how you spell and punctuate the parts of your name and address
Change/Verify Account https://forums.adobe.com/thread/1465499 may help
-Credit card https://helpx.adobe.com/utilities/credit-card.html -
trying to launch photoshop cs3 on a mac running OS10.6.8 i keep getting the error message: Licensing for this product has stopped working you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT adminstrator or Adobe customer support for help
I already Uninstalled and reinstalled the product and it still does not work.Hi,
Try to uninstall the software again and you have to manually
Delete the following folders:
[Startup Disk]/Library/Application Support/Adobe/Adobe PCD
[Startup Disk]/Library/Application Support/Adobe/caps
[Startup Disk]/Library/Application Support/Adobe/backup
[Startup Disk]/Library/Preferences/FLEXnet Publisher/
[Startup Disk]/Library/Application Support/FLEXnet Publisher/
Go to Applications-->Utilities-->Disk Utility, Open it and Select the MAC HD and then click on Repair permissions.
After that try to run the cleaner tool as mentioned by kglad.
Restart machine and then try to install again.
*** Make sure , you only delete these folders if there is no other adobe applications installed on the machine. As if you have any other Adobe application of the suite ( not free applications ) then it will be a problem. -
What are the tables used for this Report
hi all..
i am a fresher for ABAP. i need the help.
what r the tables used for this report.
Reports provide pending order details according to Material wise and customer wise for particular month.
thanks in advance
RK.Ashokkumar.
9994262112.hi
good
try with these tables,
MARA
KNA1
thanks
mrutyun^ -
What r the tables used for this report.
hi all..
i am a fresher for ABAP. i need the help.
what r the tables used for this report.
Reports provide pending order details according to Material wise and customer wise for particular month.
thanks in advance
RK.Ashokkumar.Hi Ashok,
this is easy to do.
Open Two SAP Screen with same user ID.
Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
Trace on ,Run the report in another screen.
Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
process,End trace process and Display track process.
The SQL trace will give you all the table details which is used in that particular report.
You have not mentioned about the report name so I have suggested this way.
regards,nishant
Please reward if this helps -
When i tried to login in inbrowserediting.adobe.com i see that:
The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user.
What does it mean? What is problem?Hi,
I have just created my First website using Muse and Its all been uploaded to my FTP server but i cant access the in browser editing which was the whole reason why i re-done the website for my client using muse
its saying the following
"The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user. server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user."
Yet i Can access my website fine "www.calmwood.com.au"
My ftp server responds to either the IP Address or the DNS Address www.calmwood.com.au
so i am not understanding how it thinks its different. when its fully referenced
any help would be appreciated.
thanks -
The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this? I'm on an iMac 21.5 inch Mid 2011 and Mac OS X Version 10.7.3
I've no idea why it has stopped working, but you could reset it:
http://osxdaily.com/2011/08/24/reset-mac-os-x-10-7-lion-password/ -
The password I use for installing downloaded applications or installing basically anything isn't working but I didn't change it or let alone touched it. How do I fix this?
iMac 21.5-inch Mid 2011
Mac OS X Version 10.7.3 -
H.264 What is the best use for this? H.264 Pros & Cons?
I wanted to know since I am using DV what if any role can H.264 play in my workflow? What are the intended or best uses for this? What are H.264 pros and cons? Will it produce higher quality than DV?
As always thanks in advance for reading and replying to my post,
SebastianIt will not make DV look better, it is a MPEG4 based compression format for material to be delivered over the web. As such, encoding your material to it it is the last step in the editing process.
x
Maybe you are looking for
-
I am trying to figure something out but can't seem to find it. I'm sure it must be pretty simple, but I'm stumped. Basically, I have a main image and a few thumbnail images below it. I've attached the Swap Image behavior to each thumb to change the m
-
Cisco Jabber client with other telephony devices
Hi, I am completely new to Jabber and just started to understand Cisco jabber client for windows. I understood that the jabber client supports xmpp for IM and CTI integration with Cisco Call manager for call control. Is there a provision to integrate
-
Is there a way to transfer video from Aperture 3 to FCP 7?
When i first recieved my SLR i transferred all my video to aperture 3, thinking it'd be easy to connect it to FCP 7...while it is, i realize the codec differences/it lagging when i try to edit the footage. it's frustrating! I've since realized that L
-
I cant seem to find a straight answer anywhere, some say this others that. I have 2 iphones 1 pad 1 apple tv 1imac all under 1 account. would like to get a second imac and want to know if I can keep everything under the same account. Do the phones pa
-
I want to open all pdf documents in full screen initially.
I want to open all pdf documents in full screen initially.