voyent
Messages posted by: khandada  XML
Profile for khandada -> Messages posted by khandada [5]
Author Message
This is the sample code snippet
<input type="text" onkeyup="inputKeyUp(event)">

function inputKeyUp(event) {
if (event.which == 13 || event.keyCode == 13) {
// submit the form/ genrate the click event
var tb = document.getElementById("sometextbox");
eval(tb.value);
tb.click();
}
}
Hey, I am not sure about the ace componets but you can achive this from the javascript.
If javascript is ok then you have to capture key events and if the event is related to enter then you have to submit the respective form.
Hey, You have to do the changes in your css to do this job.
Hey, still ru facing the issue?
In icefaces there is a tag outputConnectionStatus, this may be helpfull.

This is how you can use it.
<ice:outputConnectionStatus
cautionLabel="Caution: Connection in danger."
activeLabel="Active: Working."
disconnectedLabel="Disconnected."
inactiveLabel="Active: Idle." />

This will be displayed as output text.
 
Profile for khandada -> Messages posted by khandada [5]
Go to:   
Powered by JForum 2.1.7ice © JForum Team