Search in sources :

Example 31 with Core

use of org.apache.tapestry5.services.Core in project tapestry-5 by apache.

the class ModuleManagerImpl method writeInitialization.

public void writeInitialization(Element body, List<String> libraryURLs, List<?> inits) {
    Element element = body.element("script", "type", "text/javascript");
    element.raw(globalMessages.format("private-core-page-initialization-template", convert(libraryURLs), convert(inits)));
}
Also used : Element(org.apache.tapestry5.dom.Element)

Aggregations

Link (org.apache.tapestry5.http.Link)8 Element (org.apache.tapestry5.dom.Element)5 Contribute (org.apache.tapestry5.ioc.annotations.Contribute)5 Resource (org.apache.tapestry5.commons.Resource)3 TapestryException (org.apache.tapestry5.commons.internal.util.TapestryException)3 IOException (java.io.IOException)2 UnsupportedEncodingException (java.io.UnsupportedEncodingException)2 Date (java.util.Date)2 ComponentResources (org.apache.tapestry5.ComponentResources)2 MarkupWriter (org.apache.tapestry5.MarkupWriter)2 PropertyOverrides (org.apache.tapestry5.PropertyOverrides)2 HeartbeatDeferred (org.apache.tapestry5.annotations.HeartbeatDeferred)2 Location (org.apache.tapestry5.commons.Location)2 ComponentActionSink (org.apache.tapestry5.corelib.internal.ComponentActionSink)2 MessageCatalogResource (org.apache.tapestry5.internal.util.MessageCatalogResource)2 JSONObject (org.apache.tapestry5.json.JSONObject)2 Heartbeat (org.apache.tapestry5.services.Heartbeat)2 EOFException (java.io.EOFException)1 ObjectInputStream (java.io.ObjectInputStream)1 ObjectStreamException (java.io.ObjectStreamException)1