| File |
Line |
| org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java |
46
|
| org/apache/myfaces/custom/dojolayouts/TitlePaneRenderer.java |
41
|
public class TitlePaneRenderer extends DojoContentPaneRenderer {
public void decode(FacesContext context, UIComponent component) {
super.decode(context, component);
}
protected void encodeJavascriptBegin(FacesContext context, UIComponent component) throws IOException {
String javascriptLocation = (String) component.getAttributes().get(JSFAttr.JAVASCRIPT_LOCATION);
try {
if (javascriptLocation != null) {
DojoUtils.addMainInclude(context, component, javascriptLocation, new DojoConfig());
} else {
DojoUtils.addMainInclude(context, component, null, new DojoConfig());
}
}
catch (IOException e) {
e.printStackTrace();
}
String [] requires = {"dojo.widget.myfaces.SavestatingTitlePane",
|
| File |
Line |
| org/apache/myfaces/custom/dojolayouts/DojoContentPaneRenderer.java |
69
|
| org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java |
72
|
return ((FloatingPaneBase) component).getResizable() != null && ((FloatingPaneBase) component).getResizable().booleanValue();
}
public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
if ((context == null) || (component == null)) {
throw new NullPointerException();
}
Boolean rendered = (Boolean) component.getAttributes().get("rendered");
if ((rendered != null) && (!rendered.booleanValue()))
return;
encodeJavascriptBegin(context, component);
super.encodeBegin(context, component);
ResponseWriter writer = context.getResponseWriter();
writer.startElement(HTML.DIV_ELEM, component);
HtmlRendererUtils.writeIdIfNecessary(writer, component, context);
|
| File |
Line |
| org/apache/myfaces/custom/dojolayouts/DojoContentPaneRenderer.java |
49
|
| org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java |
46
|
public class FloatingPaneBaseRenderer extends HtmlRenderer {
public void decode(FacesContext context, UIComponent component) {
super.decode(context, component);
}
protected void encodeJavascriptBegin(FacesContext context, UIComponent component) throws IOException {
String javascriptLocation = (String) component.getAttributes().get(JSFAttr.JAVASCRIPT_LOCATION);
try {
if (javascriptLocation != null) {
DojoUtils.addMainInclude(context, component, javascriptLocation, new DojoConfig());
} else {
DojoUtils.addMainInclude(context, component, null, new DojoConfig());
}
} catch (IOException e) {
e.printStackTrace();
}
|
| File |
Line |
| org/apache/myfaces/custom/graphicimagedynamic/util/ImageResponseStream.java |
34
|
| org/apache/myfaces/custom/outputlinkdynamic/OutputLinkDynamicRenderer.java |
75
|
private ResourceResponseStream(OutputStream out)
{
_out = out;
}
public void close() throws IOException
{
_out.flush();
_out.close();
}
public void flush() throws IOException
{
_out.flush();
}
public void write(byte[] b, int off, int len) throws IOException
{
_out.write(b, off, len);
}
public void write(byte[] b) throws IOException
{
_out.write(b);
}
public void write(int b) throws IOException
{
_out.write(b);
}
}
|
| File |
Line |
| org/apache/myfaces/custom/dojolayouts/DojoContentPaneRenderer.java |
49
|
| org/apache/myfaces/custom/dojolayouts/TitlePaneRenderer.java |
41
|
public class TitlePaneRenderer extends DojoContentPaneRenderer {
public void decode(FacesContext context, UIComponent component) {
super.decode(context, component);
}
protected void encodeJavascriptBegin(FacesContext context, UIComponent component) throws IOException {
String javascriptLocation = (String) component.getAttributes().get(JSFAttr.JAVASCRIPT_LOCATION);
try {
if (javascriptLocation != null) {
DojoUtils.addMainInclude(context, component, javascriptLocation, new DojoConfig());
} else {
DojoUtils.addMainInclude(context, component, null, new DojoConfig());
}
}
catch (IOException e) {
e.printStackTrace();
}
|