Want to add listener to Client and server listens on entering text programmatically
Scenario is,
IM creating input text dynamically when executing the JSFF page, I would like to add a listener Listner Client and server to enter the text programmatically so that I want to execute a method in my bean
User, tell us your version of jdev, please!
to add a client involves in java, you can use this code
RichInputText laughs = new RichInputText();
rit.setId ("myit1");
rit.setClientComponent (true);
more things to the inputtext init...
Set ClientListenerSet = rit.getClientListeners ();
If (value == null) {}
value = new ClientListenerSet();
}
Set your headset
set.addListener ("blur", "manage");
rit.setClientListeners (set);
Add Server listener
set.addCustomServerListener ("customEvent", getMethodExpression("#{customBean.handleRequest}"));
Add inputtext container here
public MethodExpression getMethodExpression (String s) {}
FacesContext fc = FacesContext.getCurrentInstance ();
ELContext elctx = fc.getELContext ();
ExpressionFactory elFactory = fc.getApplication () .getExpressionFactory ();
MethodExpression methodExpr = elFactory.createMethodExpression (elctx, s, null, new class [] {ClientEvent.class});
Return methodExpr;
}
Timo
Tags: Java
Similar Questions
-
Hi all
I can configure my two PCs, one as a client and a server very well. I am able to send commands from the server to the client. However, I am trying to determine how I can get feedback from the client to the server that something has changed, or a CQI that the command has been received. How I can do this in LabVIEW with the box to TCP/IP tools, or is there a better way to do it?
Thanks for your help!
Best regards
-Gmac
Once the connection is established, TCP does not care which end is the 'server' and the 'customer '. Data can be sent in both directions using the same read and write functions. So, if you are already able to send data to the client and read on the server, you should be able to do the same to send data from the server to the client, using the same TCP connection.
If this is not clear, please your postal code so that we can provide more specific advice.
-
XP in Win 7 as a client and server
I have a Thinkpad and desktop windows XP on Windows 7. I want to turn my office into a server and access the hard drive of my laptop when im at work. Is it possible to go in windows? or a way to do it for free? I only want to give permission to my cell phone, I don't want to do a public thing, of course. Thanks in advance if anyone knows how to do this.
You can use teamviewer to access your computer over the Internet.
-
Client and server NLS_LANG database
Hi all
I installed Oracle 11 GR 2 on AIX7.1 my character database is AR8MSWIN1256.
The AIX oracle user, I set NLS_LANG to: AMERICAN_AMERICA. AR8MSWIN1256.
Since a windows client and using SQL DEVELOPER I managed to insert Arabic characters, and I was able to select.
My AIX sqlplus is not able to read these Arab characters, why? even I set NLS_LANG in the oracle user profile.
Note:
I exported the records and import from the user oracle on AIX. It has been exported and imported successfully with Arabic characters.
Kind regardsFirst of all, you must make sure your Terminal Server session may display Arabic characters correctly. You need to change your regional settings for that.
Secondly the NLS_LANG on AIX must match the locale.
With a little research on Google I found that the Unix characterset for Arabic is ISO8859-6. The characterset Oracle description will probably be AR8ISO8859P6, but I'll let check this in the * manual globalization '. There is also the v$ nls_valid_values, that will show you what will be your software ' swallow.--------
Sybrand Bakker
Senior Oracle DBA
' -
How to identify the client and server versions
Hi all
OK, this may sound silly, but I have to write an application to access an Oracle database. Prior development in other languages used ODBC and works very well. VS.NET using OLE DB works as well.
However, I installed ODT with ODAC 11.10.6.21 and tried. I get an error while trying to access the data.
When I run the conn.open (), I get:
ORA-12154: TNS: could not resolve the connect identifier specified
I opened the TNSNames.ora file and allows to create the just in case connection string. But I still get the error.
My guess is that the client on my system is too old, or maybe the Oracle server still running an older version.
Is there an easy way for me to identify the latest version of the client and the version of Oracle running on the server, I installed?
No, I can't just ask the people who manage the server or I would have done it already. I am a contractor here and it is very difficult for me to get through to those who know it.
Thank you
JustMehttp://www.Oracle.com/technology/tech/dotnet/Col/odt_faq.html#ora-12154:_TNS:could_not_resolve_the
-
Establish a persistent connection between client and server
My application must keep in touch with my servers, the HTTPConnection gives the ablitity to make one request per connection. Then the HttpConnection might not make persistent connections in the BB. I think I can use Socket connections. I am wonding if some body can confirm that and give some sugustions how persistent connections between clients and servers.
Thank you RexDoug and Marchywka. Your suggestions are appreciated.
-
Collection and re-view reflections enter text?
Hello
We want to 'collect' entries reflections by learners at different times during training and then return to the learner to a couple of the paragraph/thoughts written later in the training. 8 Captivate will support this type of activity (in HTML5)? We use the functionality of text entry box and send back them to the same blade to see again?
Thank you very much
Wendy
Both the text entry box and the interaction of scrolling of text have an associated variable that will store the entered text. However, limit is 256 characters.
Since it's in a variable, you can display this variable later by showing it in a container of text (legend or form). A variable insertion can be done with the X button in the part of the Format of the properties of the container text (CP7 and earlier), or with the same button in the real estate part of the character of the Style tab in CP8.
-
Install PeopleTools 8,53 Linux question: Windows Client and server Linux
People,
Hello. I install PeopleTools 8,53 Internet Architecture. Database server is Dabase Oracle 11 GR 1 material. Operating system is Oracle Linux 5. I installed successfully JDK7, WebLogic Tuxedo 11 GR 1 material and PeopleTools 8,53 10.3.6, in Oracle Linux 5.
Now, I'm going to implement database PeopleTools8.53. Because the Wizard installation problem, I created PeopleTools 8,53 database manually using Starter named PT853 Oracle database instance. We need run Data Mover script in a Windows Client computer to populate the PeopleSoft database instance in Linux Sever machine.Suppose that:
VM1: Server - Oracle Linux 5 Machine
VM2: Client - Windows XPNicolas has this tutorial:
http://Gasparotto.blogspot.com/2008/01/on-PeopleSoft-road-PeopleSoft-database_10.html
Step 15 to step 23, Nicolas does not explain how to connect VM2 (client) with VM1 (server) and load some data from to VM1 VM2.
My questions are:
First of all, we need to install PeopleTools 8.53 Windows version on the Client Windows XP when installing PeopleTools 8,53 Linux version on the machine Oracle Linux 5 Server?
Second, how to connect with VM1 VM2, and then load to VM1 VM2 data?
Thank you.My computer's processor 64-bit, so 32-bit install PeopleTools or Oracle database server, there must be some mistakes!
No errors. 32 applications and processes will be running on 64-bit Windows. PeopleTools client programs (PSIDE, etc.) require the Oracle 32-bit client
What are the 'Oracle customer' in Windows machine?
'Oracle customer' is the "connectedness agenda" used by Oracle to connect to the Oracle database.
You mean besides install PeopleTools 8.53 in the Windows client computer, still need to install the Oracle database server in Windows client machine?
No, not the database server Oracle, just the Oracle client. You can download it separately from delivery for your client operating system.
-
I added a few. WAV files and you want to add the artist names and album
I added a few. Recording WAV files form a USB turntable. How can I add the name of the artist and album in iTunes before you convert them into MP3 files to load on a player MP #?
For all types of files you can call by clicking on the location of the name / artist, when it is selected. It should be more when you convert the.
-
Profile of user configuration / synchronize the profile between client and Server version
We customize our domain (Windows 2008 R2). The domain user should have an opportunity to work as a local user and domain user. Profiles should be synchronized every time if the user is in the intranet. We have the following goals
1 setting up a user profile to domain (Server version) for Windows XP, Vista and Windows 7
2 coordinate the profiles of local with domain profiles
Thank you very much for your support.
HELMAT Amin
You won't find many people who know the servers in a Windows Vista newsgroup. Best to find one of the newsgroups server TechNet or MSDN and after this kind of issue areas here.
'helmat' wrote in the new message: * e-mail address is removed from the privacy... *
We customize our domain (Windows 2008 R2). The domain user should have an opportunity to work as a local user and domain user. Profiles should be synchronized every time if the user is in the intranet. We have the following goals
1 setting up a user profile to domain (Server version) for Windows XP, Vista and Windows 7
2 coordinate the profiles of local with domain profiles
Thank you very much for your support.HELMAT Amin
-
I have too many bookmarks and want to put just the links in text documents. Problem is it takes too long and I was wondering if there was a faster way to do it.
If you only need the links then you can copy them to the Manager of bookmarks (library) to the Clipboard.
You can select several bookmarks in the usual way with the Shift key and the CTRL key for individual items. -
Have to install the CAD Client AND the server software on the Windows Client computer
Hello
I have a problem during the installation of the customer Oracle Data Warehouse Administration Console (DAC) on my Windows x 86 client computer.
Architecture
Applications server - A Machine (Informatica 8.6.0 + fix 4.0 & DAC 10.1.3.4.1 services) = Linux RHEL 64-bit
Basis of data server - Machine B (application Oracle BI OBAW data warehouse) = Linux RHEL 64-bit
Client - Machine C (BI Apps 7.9.6 + Informatica customer customer 8.6.0 CAD) = Windows x 86 32 bit)
Question
I had planned to install ONLY the DAC 10.1.3.4.1 customer on my 32-bit x 86 Windows client machine, as the CAD 10.1.3.4.1 server must be installed on Linux which is installed the Informatica PowerCentre 8.6.0 server application layer.
However, when I run the Oracle Universal Installer, installation options are greyed out and I have to install the Client and server products.
I don't want to do that. Why am I made to install both? Is there a solution?
Any help or suggestions are greatly appreciated.
Have a great day.
Kind regards
GaryCustomer installation support DAC only on Windows is to copy the executable files of the area where you installed CAD using the Installer (say another windows box).
If you install the CAD by using the Setup program on the area where you don't want the client of the DAC, it will also install server DAC. In this case, your client DAC can be confused to
connect to the local server of DAC, so better avoid to install DAC and copy the executable files for the client computer DAC. Customer of the DAC must also the odbc14.jar and Informatica customer files
to connect to Informatica. -
How can I add points mark before and after every comma in TextEdit?
Hello world
I have a fairly big translation file CSV that I need to change and I'm wondering how to do this without having to do it manually.
I want to add points mark before and after every comma of the document.
Currently, my text looks like this:
Account information, information of the affiliate account, affiliate
Credit, Credit affiliate, affiliate
Membership discount, discount affiliate,
Email, e-mail address of the affiliate membership,
Home membership, Affiliation home,
Link, affiliate link, affiliate
Affiliate Login, login affiliate,
Name, name of the affiliate, affiliate
Affiliate, affiliate,
And I need it to be like this:
"Total account", "Account balance",
"Reach account balance', ' the account balance - door."
"Account setup", "Account setup",
"E-mail account", "E-mail account",
"Account Information", "Account information",
'Account Manager', 'Account manager',
'New account', 'New account',
'Account settings', 'Account settings',
Tips that would help me to do it is more than welcomed.
Thank you!
I suggest the 'best' way to do may not be via AppleScript itself.
AppleScript can do, but his text, the analysis is heavy, while the shell commands handle this with ease (although they are not as easy to read).
That said, here is an example of AppleScript - the converted text will be written to the file "output.csv" on your desktop.
game dittos to (Choose file)
the value of output of {}
the value question in paragraphs of (read (dittos) as text)
Repeat with eachPara in question
the value my entry point text delimiters to ",".
the value $thisline for text elements of eachPara
the value my text item delimiters to quote & "," & quote
copy (quote & ($thisline as text) & quote) to end of output
the value my point text delimiters to ASCII character 10
set this to output as text
end Repeat
game of outputFile to (open access file ((path to the Office as text) & 'output.csv' in the text) with write permission)
outputFile folklore of the value to 0
write this as text to outputFile
outputFile close access
As you can see, it is heavy, especially compared to a few lines of shell script, but it should you get.
-
Hello
I have created a new domain with win2012r2 and created users. Add after the client in my area so that the newspaper with the user I get error below.
"You cannot connect because the logon method, you use is not allowed on this computer, please, see your ad min for more information network"
Please help me with that and I don't want to give permission to admin for all users group...
Hello
Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.
http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer
See you soon.
-
I use Foglight 5.6.5 and I was wondring where, in the dashboard - we can see the foglight agents associated ip addresses. There are many times we need the ip address of a host, I want to add a custom dashboard if necessary to include this
George, was the question that you asked:
"How can I find the IP addresses of remote hosts being monitored?
or
"How can I find the IP address of the FGLAM server that is monitoring?
Maybe you are looking for
-
The mouse does not work on top 1 "page after update in beta
After installing the beta more recent update, the mouse will select all of the elements on the thumb at the top of the Web page for Web pages.
-
can't in the Moonlight to install on firefox 5.0
I tried to install the latest version of the Moon, but he said that it was not compatible with firefox 5.0. is there something I can do to fix this? It worked when I had an older version.
-
most of you are probably shaking your head right now, but I can't my HD to the partition to clear the cache, like I did with my original RAZR. I'd be able to do and if so what is the process? I searched the forum and could not find any specific infor
-
I sent an email with an attachment that I composed of Microsoft Office Word. Recepients can't open it. How can I fix this?
-
How can I install Windows 7 onto the new drive while keeping Windows XP on the old drive?
Wow for on 1 computer install 2 operating systems with 2 hd I have 2 hard drives; We have Windows XP and the new one is empty (empty) installed on a computer. I would like to install Windows 7 on the new hard drive. How can I install Windows 7 onto