[
http://jira.jboss.com/jira/browse/RF-3257?page=comments#action_12413106 ]
Ori Schnaps commented on RF-3257:
---------------------------------
Short term solution is
<script type="text/javascript">
if (Richfaces.InplaceInput.prototype.slice==null){
Richfaces.InplaceInput.prototype.edit = function(){
var textSize = this.inplaceInput.offsetWidth;
this.startEditableState(textSize);
if (this.events.oneditactivated) {
this.inplaceInput.fire("rich:oneditactivated", {oldValue :
this.valueKeeper.value, value : this.tempValueKeeper.value});
}
}
}
</script>
InplaceInput: edit(), getValue() and setValue(newValue) api-functions
don't work.
---------------------------------------------------------------------------------
Key: RF-3257
URL:
http://jira.jboss.com/jira/browse/RF-3257
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JSF; Faselets
Reporter: Heorhi Maksimenko
Assigned To: Anton Belevich
Fix For: Future
edit(), getValue() and setValue(newValue) api-functions for InplaceInput don't work.
See below:
$("formID:inplaceInputSubviewID:inplaceInputID").component.edit is not a
function
$("formID:inplaceInputSubviewID:inplaceInputID").component.getValue is not a
function
$("formID:inplaceInputSubviewID:inplaceInputID").component.setValue is not a
function
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira