[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-4127) rich:editor generating incorrect javascript
Christopher Logan (JIRA)
jira-events at lists.jboss.org
Fri Apr 17 20:19:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Logan closed JBSEAM-4127.
-------------------------------------
Resolution: Done
user error
> rich:editor generating incorrect javascript
> -------------------------------------------
>
> Key: JBSEAM-4127
> URL: https://jira.jboss.org/jira/browse/JBSEAM-4127
> Project: Seam
> Issue Type: Bug
> Affects Versions: 2.1.2.CR1
> Environment: winxp
> jdk1.5.0_16
> seam2.1.2.cr1
> Reporter: Christopher Logan
>
> I can't tell if this is a RichFaces issue or Seam issue.
> I have a seam project using the bundled RichFaces (3.3.0.GA) library. On my Ui I used the rich:tabPanel. on one of the panels
> i included the rich:editor. I basically copied the example from the RichFaces demo site and it worked. but eventually
> the editor itself didn't show up, and looking at it in Firefox I got the javascript syntax error
> (on line 8 of skinning.js at the first if statement):
> 1 var tinyMceParams =
> 2 {theme:"simple"} ;
> 3 tinyMceParams.auto_resize = false;
> 4 tinyMceParams.readonly = false;
> 5 tinyMceParams.width = 400;
> 6 tinyMceParams.height = 300;
> 7 tinyMceParams.onchange_callback = function (event, inst) {
> 8 if (! ) return false;;A4J.AJAX.Submit('_viewRoot','property_form',event,{'parameters':{'ajaxSingle':'property_form:editor','property_form:j_id16':'property_form:j_id16'} ,'actionUrl':'/EnterpriseSeamApplication-war/acct/index.seam','similarityGroupingId':'property_form:j_id16','control':this,'implicitEventsQueue':'property_form:j_id16','requestDelay':1000} )
> 9 };
> 10 tinyMceParams.dialog_type = 'modal';
> 11 if(!tinyMceParams.skin){
> 12 tinyMceParams.skin = 'richfaces';
> 13 }
> 14if(tinyMceParams.strict_loading_mode == null){
> 15 tinyMceParams.strict_loading_mode = true;
> 16}
> 17var richParams = {extScriptSuffix : '', extCssSuffix : '/DATB/eAELXT5DOhSIAQ!sA18_', useSeamText : false};
> 18
> 19 new RichEditor('property_form:editor', richParams, tinyMceParams);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list