<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Official Joroto Blog &#187; css</title>
	<atom:link href="http://www.joroto.com/blog/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joroto.com/blog</link>
	<description>From the people at Joroto, Inc.</description>
	<lastBuildDate>Thu, 20 Oct 2011 21:10:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Appfuse &#8211; width of web page</title>
		<link>http://www.joroto.com/blog/2010/02/15/appfuse-width-of-web-page/</link>
		<comments>http://www.joroto.com/blog/2010/02/15/appfuse-width-of-web-page/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 07:48:03 +0000</pubDate>
		<dc:creator>Tom CTO</dc:creator>
				<category><![CDATA[Miscellaneous Apps and Services]]></category>
		<category><![CDATA[appfuse]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[width]]></category>

		<guid isPermaLink="false">http://www.joroto.com/blog/?p=387</guid>
		<description><![CDATA[Ok this took a ton of time to figure out. Problem: I don&#8217;t like 800&#215;600 pages. I have widescreen LCDs and many other people do too. I will check the stats which is a developer type site, and here which &#8230; <a href="http://www.joroto.com/blog/2010/02/15/appfuse-width-of-web-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok this took a ton of time to figure out.<br />
Problem: I don&#8217;t like 800&#215;600 pages. I have widescreen LCDs and many other people do too. I will check the <a href="http://www.w3schools.com/browsers/browsers_display.asp">stats</a> which is a developer type site, and <a href="http://www.w3counter.com/globalstats.php">here</a> which is more general and based on 32,000+ sites.</p>
<p>Edit the files:<br />
./tree/src/main/webapp/styles/simplicity/layout-1col.css and change line 8 to 924 (1024 &#8211; 100 which is what it was set to initially). This will set the login.jsp menu to this width.<br />
./tree/src/main/webapp/styles/simplicity/layout.css and change line 11 to 1004 (1024 &#8211; 20 which is the same amount that was initially subtracted to arrive at 780px by the appfuse developers). this seems to set all pages to this width.<br />
./tree/src/main/webapp/styles/simplicity/laout-navtop-subright.css and change line 8 to 924. This changes the menu size for the mainMenu.jsp page.</p>
<p>Also, while we&#8217;re on the subject of menus, you may want to edit ./tree/src/main/webapp/WEB-INF/menu-config.xml. Notice that your new classes (see previous posts) have a menu item for them. Well they also show up on the Login menu even though the user has to login before being able to access the menu item. This is clunky (IMHO) so I don&#8217;t want them there. In this menu-config file, you&#8217;ll notice there are no roles= attribute. Put one in there for each menu item and the menu generator (struts-menu) will take care of whether to display the menu item or not. This is one of the good things about these frameworks. You get to do a little config with no programming.<br />
NOTE:<br />
in ./tree/src/main/webapp/styles/simplicity/layout.css in the section marked  div#main form ul li    &#8211; this section affects the box around the Login fields. I added a width to this section and the login box adapted.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.joroto.com%2Fblog%2F2010%2F02%2F15%2Fappfuse-width-of-web-page%2F&amp;title=Appfuse%20%26%238211%3B%20width%20of%20web%20page" id="wpa2a_2"><img src="http://www.joroto.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.joroto.com/blog/2010/02/15/appfuse-width-of-web-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Appfuse &#8211; the next step</title>
		<link>http://www.joroto.com/blog/2010/02/14/appfuse-the-next-step/</link>
		<comments>http://www.joroto.com/blog/2010/02/14/appfuse-the-next-step/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 04:18:55 +0000</pubDate>
		<dc:creator>Tom CTO</dc:creator>
				<category><![CDATA[Miscellaneous Apps and Services]]></category>
		<category><![CDATA[appfuse]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[freemarker]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.joroto.com/blog/?p=376</guid>
		<description><![CDATA[Appfuse &#8211; personalizing the app 2/13/2010 Purpose: Which files to edit in order to personalize the existing app for my company. Remember: App name is: tree Company is: joroto.com Source is in: ./tree/src/ ./tree/src/main/resources/mail.properties Change to be your email and &#8230; <a href="http://www.joroto.com/blog/2010/02/14/appfuse-the-next-step/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Appfuse &#8211; personalizing the app<br />
2/13/2010</p>
<p>Purpose:<br />
Which files to edit in order to personalize the existing app for my company.</p>
<p>Remember:<br />
App name is: tree<br />
Company is: joroto.com<br />
Source is in: ./tree/src/</p>
<p>./tree/src/main/resources/mail.properties<br />
Change to be your email and the login properties for your smtp server.</p>
<p>./tree/src/main/resources/ApplicationResources.properties<br />
Search for appfuse and change all to your product or company name. Depends on context.<br />
I added on line 7 the following line<br />
webapp.image=wr_logo3_230x100.jpg<br />
This is our site logo. I can see it being translated into different languages. We can offer one per locale. Also the colors may be offensive in some cultures, and the picture might have cultural significance as well.<br />
This file holds all of the localization (meaning strings to be translated) strings. You&#8217;ll see different file names each of which represent a language for a specific country code.</p>
<p>./tree/src/main/webapp/common/header.jsp<br />
I&#8217;m putting an image (webapp.img) into the headers instead of the text I entered in the ApplicationResources.properties. First I copied my jpg to the ./tree/src/main/webapp/images directory.<br />
Editing this file, I am interested in commenting out lines 8 and 9. Never delete until release. You never know when you might return to the text version of the page.<br />
Now my header.jsp looks like this:<br />
&lt;%@ include file=&#8221;/common/taglibs.jsp&#8221;%&gt;<br />
&lt;c:if test=&#8221;${pageContext.request.locale.language ne &#8216;en&#8217;}&#8221;&gt;<br />
&lt;div id=&#8221;switchLocale&#8221;&gt;&lt;a href=&#8221;&lt;c:url value=&#8217;/?locale=en&#8217;/&gt;&#8221;&gt;&lt;fmt:message key=&#8221;webapp.name&#8221;/&gt; in English&lt;/a&gt;&lt;/div&gt;<br />
&lt;/c:if&gt;<br />
&lt;div id=&#8221;branding&#8221;&gt;<br />
&lt;!&#8211; TAH 2/13/10<br />
&lt;h1&gt;&lt;a href=&#8221;&lt;c:url value=&#8217;/'/&gt;&#8221;&gt;&lt;fmt:message key=&#8221;webapp.name&#8221;/&gt;&lt;/a&gt;&lt;/h1&gt;<br />
&lt;p&gt;&lt;fmt:message key=&#8221;webapp.tagline&#8221;/&gt;&lt;/p&gt;<br />
&#8211;&gt;<br />
&lt;a href=&#8221;<a href="../../">http://www.joroto.com</a>&#8221; title=&#8221;Logo&#8221;&gt;<br />
&lt;img src=&#8221;&lt;fmt:message key=&#8221;webapp.img&#8221; /&gt;&#8221;<br />
alt=&#8221;&lt;fmt:message key=&#8221;webapp.name&#8221; /&gt;&#8221; /&gt;<br />
&lt;/a&gt;<br />
&lt;/div&gt;<br />
&lt;hr /&gt;<br />
&lt;%&#8211; Put constants into request scope &#8211;%&gt;<br />
&lt;appfuse:constants scope=&#8221;request&#8221;/&gt;</p>
<p>Note: I wanted to use the &lt;c:url construct but this would need freemarker to produce a two pass per line mode. Not sure if it can do this, but maybe I&#8217;ll have time later to see.<br />
My image is 100 pixels tall so I needed to change the CSS for the header.</p>
<p>Edit   ./tree/src/main/webapp/styles/simplicity/layout.css<br />
I commented out line 22 and added a new line that looks like this:<br />
height: 100px; /* TAH 2/13/10 */</p>
<p>Rerun the jetty:run-war and you&#8217;ll see the changes.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.joroto.com%2Fblog%2F2010%2F02%2F14%2Fappfuse-the-next-step%2F&amp;title=Appfuse%20%26%238211%3B%20the%20next%20step" id="wpa2a_4"><img src="http://www.joroto.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.joroto.com/blog/2010/02/14/appfuse-the-next-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

