The hardcoding is in:
private void print(Page page, String fileId, String contentType, String content,
Integer id)
{
Level level = secGetLevel(fileId + "::");
if (contentType == null || !contentType.startsWith("text/"))
{
page.openTable();
page.print("<iframe width=\"100%\" height=\"600\" src=\"" +
page.getServerBase() + fileId + "\">");
page.print("Your browser do not support iframes");
page.print("");
page.closeTable();
return;
}
you can see that the height is set to 600.
-----
I know that a user can set his own template / theme. But that's not what I wanna do, I
need to (portal look and feel):
- have a startpage with a specific layout
- have a bunch of other pages that have a complete different layout then the start
page, so not only the template for the module.
Is just want to know what the easiest (and how) way is to do this. And all of these
templates should come out of the database, but I allready know how to do this with the
HtmlLoader so :) I know something :)
I just found a another problem, can css files or js files be stored (pff course BUT)
in the database and then retrieved from them to be used inside the template, now all
the examples just have a css file somewhere in their jar.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828354#3828354
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828354
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development