Set point for RichOutputText

Hello!!

I have a RichOutputText in my class:

            private RichOutputText usuarioLogado;
//getters / setters
//somewhere in a method:
            this.usuarioLogado = new RichOutputText();
            this.usuarioLogado.setValue(mesaUsuarioBean.getUsuarioLogadoMesa(m).getNome());
            AdfFacesContext.getCurrentInstance().addPartialTarget(getUsuarioLogado());
            RichPopup popup = this.getPopup();
            RichPopup.PopupHints hints = new RichPopup.PopupHints();
            popup.show(hints);

and on the page:

<af:popup childCreation="deferred" autoCancel="disabled" id="p2"
                                                  binding="#{AcessoMB.popup}">
                                            <af:dialog id="d3" title="Mesa em uso" type="none">
                                                <af:outputText clientComponent="true" value="O usuario #{AcessoMB.usuarioLogado} está operando a Mesa. Você deseja forçar 'logof' deste Usuário?" id="ot3"
                                                               inlineStyle="text-align:center; vertical-align:middle;"/>
                                                <f:facet name="buttonBar">
                                                    <af:panelGroupLayout layout="horizontal" halign="right"
                                                                         styleClass="AFStretchWidth">
                                                       <af:commandButton text="Yes" id="yes" actionListener="#{AcessoMB.popUpAction}" partialSubmit="true"/>
                                                       <af:commandButton text="No" id="no" actionListener="#{AcessoMB.popUpAction}" partialSubmit="true"/>           
                                                     </af:panelGroupLayout>
                                                </f:facet>
                                            </af:dialog>
                                        </af:popup>

The problem I have, instead shows the ". getNome()" (it is a string) on the message, it shows me "usuarioO RichOutputText [UIXFacesBeanImpl id = j_id14] esta operando one Mesa. "Você quer forcar"logof"deste Usuario?"

How can I display the actual value of the string "RichOutputText [UIXFacesBeanImpl id = j_id14]" instead on the value of my outputText?

Thank you

Well, it's what you're asking him to do what you copy the address of the instance of the RichOutputText. instead of using a richOutputText variabel use a normal string variable, add the getter and setter for the variable and use this:

  1. private String usuarioLogado;
  2. getters / setters
  3. somewhere in a method:
  4. this.usuarioLogado = (String) mesaUsuarioBean.getUsuarioLogadoMesa (m) .getNome ();

It should work.

Timo

Tags: Java

Similar Questions

  • The tolerance setting works for the "Convert anchor point tool"? Are there other ways?

    Hello
    I wonder if the setting "tolerance"in the preferences only works for the arrow tools?» I put it to 8 pixels and it seems OK for these tools, but when I use the tool 'Convert Anchor' point it is incredible difficult to hit a point for me. It seems that I have to hit a point exactly one pixel, which is hard with a screen high resolution.
    My PC keeps beeping all the time and I'm getting crazy on this subject...
    It seems that the framework of tolerance doesn't work here, I'm right? There are other parameters that could help me to work with this tool?

    Sorry if this is the kind of a beginner question, I have much experience with PS and LR, but not so much with Illustrator (and I couldn't find anything useful in the internet).

    Thank you
    Raschko

    I agree, it is sometimes difficult to click on the sweet spot. Here are 3 proposals:

    1. Pay attention to the cursor icon. This will change when you are on a point anchor or direction.
    2. Try to turn on 'bearings commented. They can be a nuisance, but they are sometimes useful.
    3. Use the button "convert" on the Options bar. They may take a little longer but they are full-proof, moreover, you can convert or remove several selected points simultaneously using this method.

  • Eurotherm 2404% manual power set point

    I'm using the LabView ET24xx driver. It works fine if I want to set and control in automated mode. I'm looking for the ability to create a vi that allows me to switch to manual mode (able to do that) and adjust the set value (can't do it). The set point in Manual Mode is generally the percentage of power. I would like to be able to establish to anything other than 0% or 100%, however when I use the driver it does not appear as a method of manipulation of this. I know I'm missing something, and any help would be greatly appreciated.

    Thank you

    Tennessee Paul

    Thank you, Robert. After a lot of research I found the solution:

    Use the VI: ET24XX configure OP key parameters 2. VI

    key point in the use of this VI. The power (or control) setting labeled power output target is in tenths. A value of 5 = 50%. A value of 0.5 = 5%. With this VI no value greater than 10 will work. The VI will timeout on the "Write" command, if the value is greater than 10. I don't know why this VI was established in this way. Remove the output target x 10 serving power and wiring of the power output target control directly in the table of generation within the VI allows a more intuitive entry of power, until we realize the value of the power output target is %.

  • Profile of PID Set point

    Hello guys

    im working on the project to control the position of the hydraulic cylinder using labview connected with the NI USB 6251 housing. IM using the sensor LVDT (1V = 20 milimeters) as a measuring device.

    I have a problem when using profile.vi PID setpoint. I need to define the profile of set point (in milimeters) and then divide by 20 (to be converted to voltage) before entering the profile.vi of PID setpoint. I don't know how to divide that cluster of data types (composed of 2 elements (time and setpoint)) with a constant '20', I want only to divide the element of set point, not to divide the time element. Please see my attached VI... Thank you very much for your help guys...

    No I got it myself using bundle features... Thank you guys

  • Put the data of the set point in a waveform graph

    Hello

    In a graph of measure, which is the result of a waveform, I would add data of the set point as well. How can I add this data to set for the chart value?

    In a control loop system, the output is controlled by a labview program. I would like to see the point of this system as well as in the graph, these thresholds are changed at random times, so I don't know how to create a waveform of these data. Should I create a waveform of the setpoint, or y at - it another option to show the set value in the chart?

    See you soon,.

    Rolf

    That can make it much more difficult.

    At one point an array of 1000 points need to be assembled (obviously). How do depends greatly on your structure. Synchronize the time of the two signals can be very difficult. It would be easy if the set value only changed once a cycle of 1000 point.

    You may want to read the SP as an analog input, so you get 2 samples of the material here. In this way the two will always be synchronized. But I'm done alleady assumption, like this, the signal is an analog input (and the target value of one analogue output). What equipment do you use?

    I think always need you a loop to get data and a loop to set the SP. The two loops will be more parallel execution GLSL and synchroniseent. The trick is to synchronize, or for the deterministic timestamps in two loops. If you can make that happen, you 80% there. You could do loops timed loops (using the same clock). Then you get the timestamps in two loops. The MS loop has the queue changes, pushing the value and time. Then the loop of data can use values and hours to create examples of sp 1000.

  • Having bad to write the set Point to clip MFC

    I've already written a Subvi for reading and parsing the output of a scientific MFC of clamp (16 series), which works very well, however, I have some difficulty in sending a set-point in the MFC. I have attached a Subvi test as I write. All of the com parameters are matched to the CMF as well (19200 baud, 8 bits of data, no parity, 1 stop bit, no flow control). After setting the appropriate resources channel, I enter the following in the field of the buffer:

    \r\r\r\r\r\r\r32000\r

    which I believe must send the deposit to the MFC, but I am seeing no response. When I entered the same string in the VISA test panel in MAX, it works however. Anyone has an idea on what I'm doing wrong? Please also let me know if there is any additional information I could provide that would be useful. Thank you.

    You send the characters '-' and 'r', not a carriage return.

    Place the command string buffer writing '-' display of Codes in order to send '-' Codes correctly. It's a simple right click.

  • The pc seems to have gone to a previous set point during the boot, but now she can not install software and doesn't seem to have Norton AV more

    My daughter's office got fried during the last storm, even though she had a surge protector.  Obviously the power company line was bad.  The pc seems to have gone to a previous set point during the boot, but now she can not install software and doesn't seem to have Norton AV more.  When she tries to run a system restore it gets "extended attributes are incompatible."..: thank you for your help.  Debbie

    Hello

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Run the scan tool (SFC) System File Checker and check if it helps.

    This problem may occur if a system file is missing or damaged.

    You can refer to the method-the System File Checker tool in the following article:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7: http://support.Microsoft.com/kb/929833

    Method 2:

    Try to clean boot, and then check to see if this helps you.

    How to solve the problem by running the clean boot in Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: Once you have completed troubleshooting, perform the steps in the step 7: to reset the computer as usual.

    Method 3:

    Try the steps in the following Microsoft article and check if it helps.

    Problems installing and uninstalling programs on Windows computers:

    http://support.Microsoft.com/kb/2438651

    Hope the helps of information. Please post back and we do know.

  • Another entry point for the issue of the application

    Hello

    As I read on this KB about to enter another application

    http://supportforums.BlackBerry.com/T5/Java-development/set-up-an-alternate-entry-point-for-an-appli...

    But on the KB above, the main application is UiApplication and other entry point is not UiApplication!

    1. I wonder how to create the entry point alternative in which the two project is UiApplication

    2. for example, I have the application main who have 3 screens A, B, C. When user clicks on the icon for the main Application screens A. When the user clicks on the application of alternative entry point (another icon on the home screen), B screen. I wonder how we can do?

    Thank you.

    No, you create only one project. the ASP is set to the application descriptor.

  • Is it possible to define different "Default category Set" purchase for different groups of companies?

    Hello

    We define another point for the test category structure in the environment of demonstration of the Vision. In fact, we have created all the new settings including BG, THE, OR, OI, ledger, responsibilities etc. to simulate the setting for our client in the demonstration environment.

    But it happens that I can't change the "Set to default category" for the purchase of functional area. This means that ONLY one element category structure can be used in a single case?

    Thank you

    Leo

    Hi Leo,

    Yes, for a single instance, we can have only a single 'category default together' for a functional area.

    You can change the category by default a functional space to define certain conditions. You must ensure that each element within the functional area belongs to the new series of default category. If the element by setting the attribute of the functional area is controlled at the level of the organization then the new game of the default category must also be controlled at the level of the organization.

    Thank you

    -Arif.

  • Can I move the anchor Point for the adjustment brush in ACR CS5

    There has never been a problem before, but the anchor point for the adjustment in ACR brush is sitting exactly where I need to see what is happening.  I can delete and start over, but if there is a way to move or hide the anchor in stil be able to adjust the setting, it would be useful to know for the next time it happens.

    You can press the V key to toggle the power switch pins.

  • 3.6 spot healing Lightroom crashes, not showing do not set points

    I waited months to update to 3.6 because I finally got Lightroom works fine on my machine. Earlier versions would hang on the spot on the sharp heal tool I have to close it using the Task Manager. The problem comes when I edited a file in an external editor and I'm working on the tif file that was imported into Lightroom. The just spot Healing Brush tool will not work. This continues to happen even when I close Lightroom and return to the file later. This me really bums as it overwrites just my workflow!

    I also have a new problem. It could be that I touched something somewhere to cause the following behavior. When I work on an image with the adjustment brush, the set point disappears. It appears so if I want to change the brush settings the point are there not to click on an active brand, so I can adjust the settings again. It started just because I upgraded to 3.6. I think I was using 3.4 before and I've never had this problem.

    Thank you in advance for any help you can provide.

    There is a bug in Windows that will cause LR to hang when you move the circle 'source' (at least some) JPEG files. It can so happen with TIFF. Lightroom will lock tight for a period of time in seconds to several minutes.

    To work around the problem, you can set the processor affinity for Lightroom to use only a single core. Under windows, bring up the Windows Task Manager, go to the process tab, right-click on the process of Lightroom and choose Set Affinity... Disable everything except a processor.

    This bug will be fixed in LR 4, of course.

    HAL

  • Why are there no set upward for IPad etc.?

    Why are there no set upward for IPad etc.?

    Firefox Home for iPhone also explains the situation. Unfortunately, Apple will allow Firefox on iOS, so we cannot release him.

  • Set preferences for 'notifications' in El Capitan

    How to set preferences for the "notifications" in El Capitan?

    System Preferences--> Notifications.

  • Static set point Watlow F4

    Can someone please provide a simple VI as a starting point to perform static set point control using the Watlow F4? Thank you.

    (1) go here: http://www.ni.com/example/29756/en/

    (2) download NI MODBUS 1.2.1 and follow the installation instructions carefully

    (3) make sure that the MB initialize Vi with the following parameters is first called in your main VI:

    mode-RTU

    (Default) 19200 baud

    parity - no

    flow control - no

    Timeout-10000

    (4) then, you should be able to use the Mo series Master Query VI to read and write data. Use 'read the logs' and ' write a registry.

  • Is it possible to set up for multiple users on the same computer to avoid entering the e-mail and the password

    Original title: Multi users

    Is it possible to set up for multiple users on the same computer to avoid entering the email and password every time that a new user want to check emails?

    Hello

    Welcome to the community forums of Microsoft and thanks for posting the question. According to the description, you need help in the creation of multiple user accounts. I've surely you will help find a solution on the issue.

    What is the operating system installed on the computer?

    User accounts, several people can easily share a single computer. Each person can have a separate user account with unique settings and preferences, such as a screen saver or desktop background. User accounts control files and programs users can access and what types of changes users can make to the computer. As a general rule, you'll want to create standard accounts for most computer users.

    If you use Windows Vista or Windows 7, see the article below:

    Create a user account

    http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account

    http://Windows.Microsoft.com/en-in/Windows-Vista/create-a-user-account

    For Windows XP users:

    How to create and configure user accounts in Windows XP

    http://support.Microsoft.com/kb/279783?WA=wsignin1.0

    Hope this information helps. Answer please if you have more queries about Windows.

Maybe you are looking for

  • Strange problem with preinstalled Works 8.5

    My address book includes birthdays & anniversary dates entered but works calendar does not have the right people with dates entered.

  • Skype WiFi not connecting

    Hi, I recently had a problem with my WiFi Skype does not connect to my router and I have not been able to fix it. I don't have any outside Microsoft Forefront Endpoint Protection antivirus software. Please help me solve this problem because I use Sky

  • "Standby" stops at the place on XP

    Using XP on a HP laptop.  Upgrade from 1 GB to 4 GB of memory.  Now when I type 'sleep' it automatically stops instead.  Any thoughts are appreciated.

  • Gadgets not working not properly...

    Gadgets do not appear as it should... It seems lining or clock appears black... I tried using the method of command line and others also, but still does not... I use basic family windows7... I tried several times but does not work. I am waiting for y

  • Card AGP Radeon HD 4670 problems

    I am running a clean install of Windows 7 HP64 on a new hard drive on an old motherboard, ASUS A8V - X with a processor Opteron 180. The card works fine when I boot Windows XP from the other hard drive. I installed the latest driver for fix ATI AGP f