Heres the issue Im having with templateing
So I have a page using some insert statements as follows:
As you can see it takes two other pages Ive created, index.xhtml and newUserRegister.xhtml, and inserts them onto this one page. When I try to run this on my server, it tells me
So I go to tomcat/wtpwebapps/NIRAP/templates, and create a /login folder, and then I copy and paste index.xhtml and newUserRegister.xhtml into this new folder. Then I restart
tomcat, and try to run the page, and it displays just fine.
Why isnt tomcat creating this folder and putting these two .xhtml's into it automatically? For now it is feasible for me to do this, but as this site grows it is going to becoem a problem to have to do this every time.
Thanks
ps - Thanks Tim, with your advice I found out how to do this and it is just what I need. There is one remaining problem for me as well though. My page will have three content panes. Now I wil be able to populate each pane individually, but I still dont know how to go about doing the spacing, which is really the problem I originally posted this thread for. For instance, my first div labeled "header" (to be renamed later) will of course be the content pane that takes up the left side of the screen (the project explorer pane). It should take up about 1/5 of the left side of the screen. I just do not know how to make this happen. As of now, the header div will take up the top of the page, the next div will be below that, and the next below that, etc etc. I need to know how to get that first one to only take up 1/5 of the left side of the screen (but be resizeable of course). Then the next div will take up the remaining top of the screen and be tall enough to include two rows of tabs. Then that last div will take up the rest of the screen, the majority of the bottom right side.
ANy help with this would be great
FOr starters, would this be done on this main template page, or would it be done in each of the three individual pages that I insert? Im guessng in each of the three? However if it was doable in the one template page it would make this amazingly simpler for me
edit - to get the spacing I wanted I was thinking something like this would work:
But that doesnt seem to work. When I try to add width and height rather than one or the other it seems to cancel out all the spacing for some reason. Any ideas?