RichInputText  setValue not working from server side

getting a reference to the backing bean that contains an inputTextbox
.. you are able to get the RichInputText box but calling setValue
has no affect on the UI... it sets it in memory but it doesn't update
on the GUI...
String deviceAssignTabStr = "#{backing_DeviceAssign}";
Object deviceAssignTabObj = ELUtil.get(deviceAssignTabStr);
DeviceAssign deviceAssignTab = (DeviceAssign) deviceAssignTabObj;
if (deviceAssignTab != null)
deviceAssignTab.getInputText6().setValue(rowOutput.toString());;

Hello,
You need to reset the local value, so use something like:
myInputComponent.resetValue();
myInputComponent.setValue(newValue);n
However, in your specific case, it seems very messy. You're just not using the good EL. It seems that you create a look of backing beans for bindings and none for values while it should be the opposite 99% of the times. "binding" attribute is unsafe and has many limitations, I don't know why people keep using it carelessly without any formal reason. As for defining many managed beans, you can add an ELResolver of your own instead and create them without defining them in any configuration file if that's what you dislike. About filling the session, I must disagree, it highly depends on the use case. The first scope to evaluate should ALWAYS be request as it's the most back/refresh button resistant scope. If the request scope doesn't fit, then most of the time the page flow one does, note that it fill the session memory footprint even more than the session scope, but it's also back resistant to some extends. Only when you need something really session scoped should you use it.
Finally, your way to access a managed bean seems either quite inefficient or inelegant. JSF provides two better means for that:
1. Injection, inject the backing bean in your action bean declaratively. That strategy doesn't always work though.
2. ELResolver. To access bean "backing_DeviceAssign", you can use the following which is, even if less sexy than a #{} delimited EL, much more efficient as it save some EL parsing time:
FacesContext context = FacesContext.getCurrentInstance();
ELContext elContext = context.getELContext();
boolean wasResolved = elContext.isPropertyResolved();
elContext.setPropertyResolved(false);
try
  Object bean = context.getApplication().getELResolver().getValue(elContext, null, "backing_DeviceAssign");
  if (elContext.isPropertyResolved())
    return bean;
  else
    throw new FacesException("Could not find bean backing_DeviceAssign");
catch (Exception e)
  throw new FacesException("Could not find bean backing_DeviceAssign", e);
finally
  elContext.setPropertyResolved(wasResolved);
}Yes, it's ugly... Thanks to the really not so good ELResolver chain architecture that also prevent easy decorator...
Regards,
~ Simon

Similar Messages

  • OEM web console is not working from client side

    Hi All,
    I have 2 node RAC environment on windows 2003 server with 11g r1. My problem is on node a "oracle enterprise manager" "https://server-a:1158/em" is not working (node A). Is there any thing that I can do to solve this problem ?
    On node B the url "https://server-b:1158/em" is working.
    Any help would be appreciate.
    Regards,
    Edited by: 53637 on Feb 22, 2011 7:43 PM

    It works as expected, dbconsole runs on only ONE node in the cluster, all agents from this and the other nodes report to this console, statement from documentation:
    In 10.1.x.x, when a DB Control was deployed on a RAC cluster with n nodes, a dbconsole was started on each node of the cluster. Each agent on each node reported to each dbconsole management service on the same node.
    Beginning 10.2.x.x, to improve performance and reduce the workload on the RAC database/instances,when a DB Control is first deployed on a RAC cluster with n nodes, a dbconsole is started only on the node from which the DB Control is deployed. Each agent on each node reports to that same unique dbconsole management service.
    It is however possible to later reconfigure the DB Control to have more than one dbconsole started and to have agents reporting to several dbconsole.
    */

  • Lightning cable not working from both sides (not reversible)

    Hi,
    2 days ago I started to notice something... I was about to charge my iphone with the cable but I noticed that it wanst charging... I checked the usb ports from my computer and 2 wall adapters and sometimes it did charge and some did not, but then I fliped the lightning cable it did, what I mean is that if I plug the charging cable in the "right side" it does charge and gets recognized by iTunes, if i plug it with the "wrong side" it doesnt.
    At this moment I dont know if the cable is the problem or the phone, because I only own one lightning cable. I`ll try to go to a apple store to check with another cables, but still i want to know if there is more people with this problem and if it has some kindo of solution.
    my phone is 1 month old btw...
    Saludos y disculpen mi ingles

    I have the same problem with my iPhone 5. It started last week when I found out that the phone is not charging when connected. So I take out the cable and found out that the pins on the connector cable was black and have a burnt smell. I leave the phone for several minutes and tried to connect it again. I found out that cable only work on one side.
    So I took some pictures and went to Apple online support to request for a new cable. I got a new cable and the problem still persists. Now I know that the problem is with the connector on the phone. I went to the Apple online support and request for a repair. I sent them the phone and they said that they put the repair on hold.
    I telephoned the support centre asking why they put the work on hold, and they told me that the repair is not covered because the problem might be caused by liquid damage. I was pretty sure that it wasn't liquid damage because I believe I take extra good care of the £529 phone. The operator asked me to ask my insurance company (which I don't have) in case they cover that accident. The operator also told me that the repair cost, £152+VAT is cheaper than usual £170++VAT. It was very disappointing.
    Pretty sure it wasn't liquid damage, I telephoned the support centre again, and this time the operator told me that it is because of accident and they don't cover it. She couldn't explain exactly what is the problem and connected me with a senior operator. The senior operator told me that the engineers think that it might be cause by liquid damage. Then I told her that I have pictures of the burnt cable. She let me send those pictures and they'll contact me again by tomorrow. So I still don't know what is the conditon of my claim.
    So as a conclusion... The engineers think that the damage might be caused by liquid damage, but the term 'might' does mean that it 'might not' caused by liquid damage too. I have read other discussions telling that they found out that their cable has some corrosion on the pins even though there have not been any contact with liquid.
    https://discussions.apple.com/thread/4363224?start=0&tstart=0
    https://discussions.apple.com/thread/4566785?start=0&tstart=0
    It looks like that I'm not the only one with the problem. I think the lightning connector itself is prone to corrosion. So I think that it is a design flaw, and Apple should cover the repair cost. Now I can only wait.

  • Installation not working from server

    I used the CCpackager to prepare the install on Windows. I have the design tools suite (acrobat PS, Ill Indesign + some stuff) I have to make 2 directories, one for acrobat, and one for the rest. Well I didn't have to, the packager did ! And I have to start an exe with parameters on the server in order to install acrobat. So I made a batch file with the parameters . Then I launch the setup from the other directory to install the rest of the suite. The problem is my users are not in an active dir, and they mount a net drive, and they cannot launch the batch because MS does not allow launching a batch as admin from a network location. I even had someone making a script giving the user admin rights on the batch, but it's not working. Can ADOBE make a real setup.exe that launches everything in one time ?
    Is it too hard to do ?
    We just cannot install that CC, 2 times out of 3 the install stops.
    I'm pissed
    Simoncu

    Moving the discussion to Enterprise Deployment for Creative Cloud, Creative Suite
    Thanks,
    Atul Saini

  • Email notification not working from Server Monitor (for power outages etc.)

    I have my email address entered in the notifications fields for power on Server Monitor. I tried pulling the plug (it's on a UPS), which it did notice but it never sent any emails. How do I debug this? Where is the SMTP settings or whatever is needed? Have people gotten the email notifications from Server Monitor to work?
    Mike

    tobias Eichner wrote:
    Have you checked your mail filter, maybe the notification got mistakenly marked as spam ?
    thank you for your reply! Is this working for you - are you getting notifications? My spam folder doesn't have any of these. Where did you set up the SMTP info for this? I don't see this anywhere. On the web, at
    http://support.apple.com/kb/TA21298?viewlocale=en_US
    it looks like you have to tell it how to send the emails in Message.framework:
    The Message.framework looks in two places for a way to send email. The first
    is that it looks for an SMTP server configured in the Email tab of Internet
    preferences. The other way is to use an email account configured in Mail.
    the question is, which user's .plist file for internet preferences or for Mail - which user's info is it using to send the notifications?
    Mike

  • Preloader not working from server

    Is there anything I should change about how I'm targeting
    instances?
    Here is my code on the same frame as the MC I'm
    loading:

    Use:
    http://www.johnwolffmusic.com/johnWolffMusic.swf"

  • Me outgoing mail server not working from iPhone / Reply to email address

    Hi, I have MM sent up on my iPhone and Mac, the SMTP outgoing mail server does not work from the iPhone but does from the Mac, to get around this I changed the outgoing server on the iPhone to my optusnet outgoing server, that has been working fine, the problem I have is if someone reply's to a email from the phone it gets bounced back becuase the reply to email address for me is @mac.com not from @me.com
    I have tried to change the reply to email address in the phone but it only allows you to change the name not the @mac.com
    I have only ever had a Me account not a .Mac account so I dont know why its locked to @mac

    I deleted the MM account on the phone and reinstalled it again. Now it is working.

  • How can i dispaly an Error Message from Server Side To form

    Hi All,
    How can i dispaly an Error Message from Server Side To form side .
    i try several ways nothing succed.
    i put the error in stack and after call the procedure from form i added
    Qms$Trans_Errors.Display_Messages;
    and because it is an error not informantional error the error screen displayed and enter
    in infinite loop acts like flashing .
    can any one help me please i use C/S Headstart6i and Designer 6i
    thanks alot
    radi

    hi,
    thanks alot lauri.
    yr code work only using information message but in error message its still the same .
    the error window still flash and enter in infinite loop of executeing the same triggers.
    thanks again
    radi

  • Copy a .swf file from server side to client using signed applet

    Hello All,
    I already have my applet signed and its working pretty well. However I want to know how can I import a .swf file into clients machine. The .swf file initially is on server side, my applet checks whether this .swf file exists already on client machine. If not it copies it to his machine.
    I know how to chk if the file already exits on client machine but I am not sure how to copy this .swf file to his machine if its missing.
    May be I need to set some input buffers from server side and then copy them to his machine.
    Can some one throw some light on this issue ??

    Hello to all Java Code Masters out thr,
    I am trying to copy a .swf file from server side to client side, however I am unsuccessful in writing the correct data. By correct data I mean that , the data does gets saved on the client side in the .swf file, and the size of the .swf file on client side is as expected, but some how I don't know why the data is not the same as expected.
    I tried opening up both the swf file, one which is on server side and the other which is on client side. And both looked different in the notepad.
    When I opens up the client side .swf file on browser it shows nothing while the .swf file on server side worked fine.
    Here is a snap shot of the two .swf files when opened in notepad:
    clientside.swf
    坃ࡓ죃鱸뷤瀉�ᡚ穸s歒斷뛉쭬ⶲ뉯緤░뉋쭬틲��毳띵뺤畮祮୹釯烉쉍‼➀Ƿℵ㼤ꦅ㼌⡉⁈ș㖩䈼ꦓɊጵꨘ妆ၸ쇠鳳ﯯ龜괯䪅�쿾칿칷컹緶履殖㋿罣쯻杬�懨�E�翂䶙幷鿠︡拡ﬦ댨꾖政ᯋὣꯤ糥䧩缿䨗捫嶺깼瘶羋⯞勹쪾癞ঞ頁韧୘롻ⱖ撯貊攗閩㫙↳萰Ⳁ⼈쳂荡᧰ﻶ顠꓈鸎싔㿄㰧柂䪄러䂀좹㏠ꕊ㌏힟䘜㦴⌙⍈㽾ꙴ㿯렑㽔serverside.swf
    CWS�� x���     p��ZxzS�Rk�e��l��-o��}�%K�l�������]��ku���nu��nyy���pM�< �'�5!$����I
    (H �
    5<B
    ��J5��Yx��������/����J������w����}���
    k�2c��lg���a��\�%��serverside.swf is what I expect to be saved, but clientside.swf is what i get.
    Below is a code snippet which I am trying :
      public void writeswftoclient(String swfcontent) {
        String userHome = System.getProperty("user.home" );
        String ImoracleDirectory = userHome + "\\MyFolder";
        File fdirectory = new File(ImoracleDirectory);
        if(!fdirectory.isDirectory()) {
          fdirectory.mkdir();
        String playlist = ImoracleDirectory + "\\clientside.swf";
        File fplaylist = new File(playlist);
        try {
          Writer output = null;
          output = new BufferedWriter(new FileWriter(fplaylist,true));
          *System.out.println(swfcontent);*
          *output.write(swfcontent);*
          output.close();
        catch (Exception e) {
          System.out.println("Cannot create or write to the playlist");
      }In above code I am trying to write the string swfcontent, which contains the data shown above in serverside.swf, to clientside.swf.
    Interesting thing is that I am doing System.out.println(swfcontent); just before writing the data to clientside.swf using output.write(swfcontent);. And System.out.println does print the write data on the java console. However I dont know out of what reason the data doesnt get written correctly on the client's computer.
    Kindly help me in this plzzzzzzzzzz.

  • Dashboard link is not working from BI Publisher

    Dashboard link is not working from BI Publisher. Please let me know How to fix this problem.

    Please somebody guide me.
    Dashboard link is working fine from the Apps Server Machine. But the link is not working from other machines. Do I need to setup machine.domain:<port_number> any where.
    Thanks,
    Vara

  • Some attachment buttons not working from external networks

    Hi guys,
    We have an eSourcing system that we access internally from server.internal.com . We also make this eSourcing system available to external vendors through www.external.com .
    The external access is done using a Citrix AGEE system (reverse proxy, etc.). As part of this, the AGEE has the ability to change the hostname in the URL so the real server is hidden from external vendors. For example, when eSourcing generates a webpage, the AGEE searches through and replaces all http://server.internal.com references to http://www.external.com , and vice-versa for incoming calls.
    This works for about 95% of the content, but there are a fer places where the links are not re-written correctly. One example is the File Attachment buttons when replying to a question. However, other file attachment buttons work correctly.
    1. Does anyone else have a similar situation, using a Citrix or other product for external vendors?
    2. Does anyone have a similar problem where certain links/buttons are not working from external networks?
    3. Does anyone have any suggestions as to how to fix this problem?
    4. Are there any settings that are specific to external access that may need to be set?
    Thanks guys for any help/insight.
    Michael.

    SAP has re-written some of their code to help rectify the problem. We have also been working with Citrix to provide additional fixes. If anyone else has these problems, apply the latest patch of eSourcing and contact Citrix support to get the AGEE changes needed to make it work.
    Michael

  • Need FMS Guru! to Read substitution.xml from Server Side Apps

    I know how to read XML file from HTTP using XML.load(url),
    but there are some config node i need to read from substitution.xml
    from conf folder. Seems like XML.load doesn't allow accessing
    Physical path from "D:\Program Files\Adobe\Flash Media Server
    3\conf" - I am new in FMS Development, I dont know how to access
    them from Server side. Help pls.

    Thanks by your help Shanu.
    Nevertheless, finally I tryed the easiest way (pass the parameter with 'GET'). Moreover I found why my code wasn't working. It was a fool thing. I though PDA connect throught a proxy, but it wasn't true. Whatever.
    Regards.
    FSG.
    The final script on the xml-report is:
    <report type="Validacion Online" required="false" multiple="false" attachments="false" scriptref="store://this/reportdef/script[@name='ValidacionOnlineValidation1']">
         <field sortid="0" id="Poliza" inputtype="textbox" label="Poliza" rows="1" wide="false" required="false"/>
    </report>
    <script name="ValidacionOnlineValidation1" script="if (0 == 0)
    var szURL="http://URL/vonline/vonline?parameter1=";+Poliza.value;                         
    var m_HttpReq = new ActiveXObject("Pocket.HTTP");                                             m_HttpReq.timeout = 15000;
    var m_HttpResponse = m_HttpReq.GetResponse(szURL,"");
    window.alert(m_HttpResponse.string);
    if (m_HttpResponse.statusCode==200)  {....}
    else {....}

  • Message "not downloaded from server. You need to take this account online

    After upgrading to 10.4.9, when I click on any of the old emails in my inbox I get the message "this message not downloaded from server. You need to take this account online in order to download it."
    I can still read all email in any other mailbox.
    I can read all email received after upgrading.
    I appreciate any help.
    G4 17 inch   Mac OS X (10.4.9)   1 gb ram

    You upgraded to 10.4.9 from what?
    If you upgraded from Mac OS X 10.3 or earlier, the problem is that the conversion from Mail 1.x to Mail 2.x is broken. Take a look at the following thread to better understand the problem:
    Help! "You need to take this account online in order to download it."
    More specifically, if this is a POP account, the following procedure should allow you to fix the Inbox problem. A similar procedure should allow you to fix other mailboxes that might also be affected:
    1. Quit Mail if it’s running.
    2. Make a backup copy of the ~/Library/Mail folder, just in case something goes wrong while trying to fix the problem. You can do this in the Finder by dragging the folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is stored.
    3. Create a new folder on the Desktop and name it however you wish (e.g. Inbox Old). It doesn’t need to have an .mbox extension.
    4. In the Finder, go to ~/Library/Mail/POP-username@mailserver/INBOX.mbox/.
    5. Move the files mbox and Incoming_Mail out of INBOX.mbox, into the Inbox Old folder just created on the Desktop. These files contain all the messages that were in the mailbox before the upgrade to Tiger, and maybe even some messages that had been deleted. mbox is the most important. Incoming_Mail may or may not be present.
    6. Move any strangely-named Messages-T0x... folders to the Desktop (not into the Inbox Old folder). These folders are to be deleted after fixing the problem. They are temporary folders created during an import or an indexing process, and Mail should have deleted them when done. Their presence is a clear indication that something didn’t work as expected. If you’ve been using Mail after the conversion and have already tried to fix the problem by rebuilding the mailbox or something like that, they might contain messages that are neither in Messages proper nor in the mbox file, so keep them around until the problem is fixed.
    7. Move everything else within INBOX.mbox, except the Messages folder, to the Trash.
    The result of the above should be that INBOX.mbox contains the proper Messages folder only, and the Inbox Old folder on the Desktop contains the mbox and Incoming_Mail (if it exists) files only. Now, proceed as follows:
    8. Open Mail.
    9. The account’s Inbox should properly display in Mail as many messages as *.emlx files are in ~/Library/Mail/POP-username@mailserver/INBOX.mbox/Messages/. If that’s not the case, select the mailbox in Mail and do Mailbox > Rebuild.
    10. In Mail, do File > Import Mailboxes, choose Other as the data format, and follow the instructions to import the Inbox Old folder that’s on the Desktop.
    As a result of doing the above, some messages may be duplicated now. Andreas Amann’s Mail Scripts has a Remove Duplicates script that you may find useful.
    Do with the imported mail whatever you wish. You may move the messages anywhere you want and get rid of the imported mailboxes afterwards.
    If all is well and you don’t miss anything, the files on the Desktop can be deleted, although you may want to keep them for a while, just in case.
    Take a look at the following article (also referenced in the thread I mentioned at the beginning of this post) to learn what you might have done before upgrading to minimize the risk of this happening, and what you may do after fixing the problem to avoid similar issues from happening in the future. DON’T do now what the article suggests, though, as that would make things worse in the current situation:
    Overstuffed mailbox is unexpectedly empty
    Ask for any clarifications or if you need further assistance.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder, i.e. ~/Library is the Library folder within the user’s home folder.

  • External Task not working from job

    Hi,
    I am trying to call a batch file which copied fdr files from one folder to another and runs sarmanalyzer to generate csv files in the edq landing area.
    The batch file is working fine when called from command prompt or double clicked in the edq server, but does not work as expected when called from project or job.
    I generated a log file which confirms that the log file is being executed by the job to the last line, but the file copying and sarmanalyzer commands simply do not work.
    Any pointers are greatly appreciated.
    Thanks,
    Sid

    Hi Nick,
    Thanks for help!
    My bat file runs without any errors from external tasks in EDQ.
    The account has full control on all the shared folders i am using.
    My script:
        set ss_temp_dir=D:\Datanomic\dnDirector\config\landingarea\EDQ_Notification
    echo s1 > log.txt
        set srm_analyzer_path=\\<appsrvr4>\d$\sba81\siebsrvr\BIN
    echo s2 >>log.txt
    COPY /Y \\<appsrvr1>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
    COPY /Y \\<appsrvr2>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
    COPY /Y \\<appsrvr3>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
    :: The above copy is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
    echo s3 >>log.txt
    ::  log s1-s2-s3 created in commandarea.
    setLocal DisableDelayedExpansion
    pushd  \\<sharedloc>\siebfile\FDR\
    setLocal EnableDelayedExpansion
    echo s4 >>log.txt
    for /f "tokens=* delims= " %%G in ('dir/b/od T*.fdr') do (set newest=%%G)
    echo s5 >>log.txt
    copy %newest% %ss_temp_dir%
    echo s6 >>log.txt
    :: log s4-s5-s6 created in   \\<sharedloc>\siebfile\FDR\
      pushd %ss_temp_dir%
    echo s7 >>log.txt
      for %%F in (%ss_temp_dir%\*.fdr) do (
         ::set outfile=%ss_temp_dir%\%%~nF.csv &&
      %srm_analyzer_path%\sarmanalyzer.exe -o %ss_temp_dir%\Snapshot_Working_CSV.csv -x -f %%F
    :: The above saqrm_analyzer is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
    echo s8 >>log.txt
    MOVE /Y %ss_temp_dir%\*.fdr %ss_temp_dir%\BU\
    echo s9 >>log.txt
    :: The above move is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
    ::Log s7-s8-s9 created in %ss_temp_dir%
    Thanks,
    Sid

  • FOUND SOLUTION TO EMAIL ISSUE - "message not downloaded from server"

    It took me 4 days to figure it out but there is a solution to the problem "the messsage has not been downloaded from server" and "the message has no content".
    I do not have to set up "push" accounts from yahoo or gmail and it works with my corporate email.
    Apple can reach me at <Message was edited by: Host> to discuss this issue.

    I'm not a computer technician, and if you were to give me a few days looking at the problem, i'm sure I or anyone else could provide a solution. I'm not too bothered about the message appearing 50% of the time as i'm usually within easy reach of a Laptop or PC or can find another method to get access to my email.
    So i'm not pi**ed off that you have found a solution. I'm just trying to obtain information for a post that says "FOUND SOLUTION TO EMAIL ISSUE - "message not downloaded from server" in the Apple HELP FORUMS...

Maybe you are looking for

  • HP LaserJet Pro 200 color MFP M276nw accidently plugged into 220V

    I bought an HP LaserJet Pro 200 color MFP M276nw printer from US (110V). The printer was shipped to India and was accidently plugged into 220V. This did damage the printer and now the printer would not start even on 110V. my questions are: 1. is the

  • How to sync/pull out 'phymyadmin' data into power pivot?

    Hi, i work for a one of the leading e-commerce companies in India. ( Lenskart.com ). I have just installed powerpivot and looking forward to using my database /crm data into power pivot as the data is into millions.. i have login info of my server/db

  • How many gb's do i need for iPhone5

    Getting ready to purchase a new iPhone.  How do I determine how many gb's to buy?  16, 32, 64.

  • Flex sdk 4.1.0.16076 is not open source

    Ref: http://opensource.adobe.com/svn/opensource/flex/sdk/tags/ The Open Source of flex sdk 4.1.0.16076 is missing from the official archive. There is also no README explaining why it is missing. SB

  • BPC MS 7 SP upgrade

    Dear Experts, We are planning to upgrade our BPC 7.0 SP4 to BPC 7.0 SP8 patch1. I went through the upgrade document. Do you have any document what are the precautionary steps to taken and is there any issue facing on SP8. I would appreciate if you pr