ContentBox Railo Express Edition

Hi everybody, we are getting our latest build 1.1.0 ready for production, but not only that, ready for express and WAR deployments.

I have just pushed our express edition to github and you can find it here:

https://github.com/Ortus-Solutions/ContentBox-Express/zipball/development

Please download it and try it out. This is a fully working express edition of ContentBox using Railo+Tomcat+Tuckey Rewrite and some extra flavorings for this custom engine. It also uses a Hypersonic SQL as an embedded database so you can just click startup and have a fully working site.

Please give this a try and report back to me if you have any issues. If not, I would like to release this by next week.

Thanks

The install went flawlessly and super fast!

There seems to be an issue with the editors: CKEditor has all toolbars disabled (with no icon images) except for your custom toolbar. Firebug is not reporting 404’s for missing images, so I wonder if a style sheet may be missing…

Switching to the EditArea editor throws this error:

Error Type: java.lang.NoSuchMethodError : 0
Error Messages: railo.runtime.tag.SaveContent.setMetaData(Ljava/lang/String;Ljava/lang/Object;)V

Partial stack trace:

railo.runtime.tag.SaveContent.setMetaData(Ljava/lang/String;Ljava/lang/Object;)V
at model.ui.editors.editareaeditor_cfc$cf.udfCall(C:\contentBoxTest\express\www\ROOT\modules\contentbox\model\ui\editors\EditAreaEditor.cfc:74):74
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
...

If you get the above error, you have to edit your user preferences to switch to a different editor.

The text area editor works fine.

I'm running on a Windows7 box.

Bill

Thanks bill. This is bad then. I will check ipthis out.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Hey -

Turns out the ckeditor problem was just a missing image sprite…

We need to add icons.png to the /modules/contentbox-admin/includes/ckeditor/skins/kama folder (just like in the regular contentbox edition).

Still not sure about the other errors…

Talk to you this afternoon.
Bill

Hmm, I could not replicate it bill

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Hi,

I can confirm this bug, but it seems to be an Railo bug, we are running 3.3.5.004

So if you go to: \modules\contentbox\model\ui\editors\EditAreaEditor.cfc

an there replace the savecontent with:

`
function startup(){
var js = "
// load editable area
editAreaLoader.init({
id : ‘content’,
syntax: ‘html’,
start_highlight: true,
allow_resize : true,
allow_toggle : true,
word_wrap : true,
plugins : ‘charmap’,
language: ‘en’,
toolbar: ‘charmap, search, go_to_line, fullscreen, |, undo, redo, |, select_font,|, syntax_selection,|, change_smooth_selection, highlight, reset_highlight, word_wrap, |, help’
});
if( withExcerpt ){
editAreaLoader.init({
id : ‘excerpt’,
syntax: ‘html’,
start_highlight: true,
allow_resize : true,
allow_toggle : true,
word_wrap : true,
plugins : ‘charmap’,
language: ‘en’,
toolbar: ‘charmap, search, go_to_line, fullscreen, |, undo, redo, |, select_font,|, syntax_selection,|, change_smooth_selection, highlight, reset_highlight, word_wrap, |, help’
});
}
";

return js;
}
`

then it works.

Best regards,

Gunnar

Thanks Gunnar we actually saw this internally and added a fix

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano