<?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>Wysmedia.com &#187; html</title>
	<atom:link href="http://www.wysmedia.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wysmedia.com</link>
	<description>~ We make IT easy for you ~</description>
	<lastBuildDate>Fri, 08 May 2009 07:02:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>which one you prefer ?</title>
		<link>http://www.wysmedia.com/2009/03/which-one-you-prefer/</link>
		<comments>http://www.wysmedia.com/2009/03/which-one-you-prefer/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 04:49:33 +0000</pubDate>
		<dc:creator>adwin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[My Thought]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.wysmedia.comyr.com/?p=49</guid>
		<description><![CDATA[ I just having thought of current JavaFx that using syntax that looks like Groovy DSL. I think it is fun to have a syntax like that, instead of using XML. I hate XML you know &#8230;. 

Which one you like ?

&#60;html&#62;
    &#60;body&#62;
        &#60;table&#62;
  [...]]]></description>
			<content:encoded><![CDATA[<p> I just having thought of current JavaFx that using syntax that looks like Groovy DSL. I think it is fun to have a syntax like that, instead of using XML. I hate XML you know &#8230;. </p>
<p>
Which one you like ?</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;html&gt;
    &lt;body&gt;
        &lt;table&gt;
            &lt;tr&gt;
                &lt;td&gt; something here &lt;/td&gt;
                &lt;td&gt; something here too &lt;/td&gt;
                &lt;td&gt; something here as well&lt;/td&gt;
            &lt;/tr&gt;
             &lt;tr&gt;
                &lt;td&gt; another line here &lt;/td&gt;
                &lt;td&gt; another line here too &lt;/td&gt;
                &lt;td&gt; another line here as well&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
        &lt;a href=&quot;http://wysmedia.comyr.com&quot;&gt; wysmedia&lt;/a&gt;
    &lt;/body&gt;
&lt;/html&gt;</pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">html<span style="color: #009900;">&#123;</span>
    body<span style="color: #009900;">&#123;</span>
        table<span style="color: #009900;">&#123;</span>
            tr<span style="color: #009900;">&#123;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;something here&quot;</span><span style="color: #009900;">&#125;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;something here too&quot;</span><span style="color: #009900;">&#125;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;something here as well&quot;</span><span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
            tr<span style="color: #009900;">&#123;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;another line &quot;</span><span style="color: #009900;">&#125;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;another line too&quot;</span><span style="color: #009900;">&#125;</span>
                td<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;another line as well&quot;</span><span style="color: #009900;">&#125;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        p<span style="color: #009900;">&#123;</span>
            h2<span style="color: #009900;">&#123;</span><span style="color: #0000ff;">&quot;a paragraph&quot;</span><span style="color: #009900;">&#125;</span>
            a<span style="color: #009900;">&#123;</span>
                href<span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;http://wysmedia.comyr.com&quot;</span>
                title<span style="color: #339933;">:</span><span style="color: #0000ff;">&quot;link to wysmedia&quot;</span>
                <span style="color: #0000ff;">&quot;wysmedia.com&quot;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

</p>
<p> which one you like the most ? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wysmedia.com/2009/03/which-one-you-prefer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Checkbox of chaos</title>
		<link>http://www.wysmedia.com/2009/02/checkbox-of-chaos/</link>
		<comments>http://www.wysmedia.com/2009/02/checkbox-of-chaos/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 02:14:22 +0000</pubDate>
		<dc:creator>adwin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[grails]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[gsp]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.wysmedia.comyr.com/?p=22</guid>
		<description><![CDATA[Yesterday I got a headache problem with a checkbox. I wrote like this on GSP

1
2
3
4
5
6
&#60;g:form action=&#34;save&#34;&#62;
... table ... 
&#60;g:checkBox name=&#34;myCheckbox&#34; value=&#34;&#34; /&#62;
... other element ... 
&#60;input type='submit' value='Save'/&#62;
&#60;/g:form&#62;

did you know what the happened ? myCheckbox always returned empty or null value everytime I saved the form. I thought Grails has bug at first, I did [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got a headache problem with a checkbox. I wrote like this on GSP</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;g:form action=&quot;save&quot;&gt;
... table ... 
&lt;g:checkBox name=&quot;myCheckbox&quot; value=&quot;&quot; /&gt;
... other element ... 
&lt;input type='submit' value='Save'/&gt;
&lt;/g:form&gt;</pre></td></tr></table></div>

<p>did you know what the happened ? myCheckbox always returned empty or null value everytime I saved the form. I thought Grails has bug at first, I did check and create a checkbox using scaffold and I found that value=&#8221;" makes the null value everytime I saved the form<br />
The solution was simple enough:
</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;g:form action=&quot;save&quot;&gt;
... table ... 
&lt;g:checkBox name=&quot;myCheckbox&quot;/&gt;
... other element ... 
&lt;input type='submit' value='Save'/&gt;
&lt;/g:form&gt;</pre></td></tr></table></div>

<p>Just eliminate <i> value=&#8221;"</i> and it all solved. I learned that using <i>value=&#8221;somethingHere&#8221; </i> can be useful if we want to save a value into our database. I hope my tricks can save you from headache. Be aware of checkbox .. hahaha&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wysmedia.com/2009/02/checkbox-of-chaos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
