Fabio Entertainment
This is my personal blog, any comment are welcome.


Page Number: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 , 49 , 50 , 51 , 52 , 53 , 54 , 55 , 56


Standard Chartered KL Marathon 2009



Sunday morning, I wake up at 2am preparing for the Standard Chartered KL Marathon 2009 which will be held in Dataran Merdeka. This is a very big marathon event. There are 12,500 participants in total.

2 days before the race day, I went to collect race pack during a weekday lunch hour.




It was a nightmare, as you can see, the queue is damn long. I end up have to go again on the next morning. This time, I only used 5 minutes to collect 7 race packs for myself & my friends, very big improvement.

Here is the running vest:


Compare to New Balance Run 2009 running vest, the quality is slightly lower.

My race starts at 5am, full marathon (42.195km) with a time limit of 6 hours. There is some small rain between 4:30am - 5am, but overall, it didn′t affect the race.

After 5 minutes the race start, my left stomach begin to feel pain, oh crap, not again during this important race. I try to adjust my body by running extra slow so that my pain will be gone after some distance. It works well, my stomach pain gone after I cross 8km.

From 10km on wards, my body feel fit & I think is time for some catch up with my extra slow start up. I start to cross a lot of runners one by one between 10km - 20km. And that is the biggest mistake I had ever made.

After 24km, I suddenly feel that my left leg having some muscle twitch, oh crap, my legs are not fit enough or maybe I am running too fast. I start to look for 100 plus, hope that water restoration can reduce my muscle twitch. But it didn′t work very well, I finally end up my first stop at 27km, begin to walk.

As my previous running experience tell me, when I start to walk, I might not able to run back so easily. Yeah, the theory work very well, I walk until the end for the remaining 15km.

I feel so disappointed during this 15km walk, although I feel like I am able to run for the last 5km after 10km of walking, but I didn′t feel like want to do so, cause 10km of walking is a shame for a runner. There is no different for 10km or 15km walk, I feel shame for both ways.

Well, I still pretend running for the last 0.195km, I cross the finish line at 11:15pm, which mean I took 6 hours 15 minutes to complete my 27km run, 15km walk full marathon.






A finisher t-shirt & medal still be rewarded.

Experience gained, mistake learned, I will do better for the next full marathon.

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 29/06/2009 14:58:35 | 3 comments

Update Parent Window from Child in JavaScript


<html>
<head>
<script type="text/javascript">
function doAlert() {
alert("Alert!!!");
}

function openPopUp() {
w = window.open("", "myWindow", "left=10, top=10, width=800, height=600");
w.document.write("<html>");
w.document.write("<head>");
w.document.write("<scr" + "ipt type=\"text/javascript\">");
w.document.write("function callParentToDoAlert() {");
w.document.write("window.opener.doAlert();");
w.document.write("}");
w.document.write("</scr" + "ipt>");
w.document.write("</head>");
w.document.write("<body>");
w.document.write("Click <a href=\"javascript:callParentToDoAlert();\">here</a> to call parent do alert.");
w.document.write("</body>");
w.document.write("</html>");
w.document.close();
}
</script>
</head>
<body>
Click <a href="javascript:openPopUp();">here</a> to open popup.<br/>
Click <a href="javascript:doAlert();">here</a> to do alert.
</body>
</html>

Sample code for a web page as parent window opens up a pop up child window where the child window is having a functionality to call the parent window to do alert in JavaScript.

Reference - HTML DOM opener Property

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 10/06/2009 13:33:20 | 0 comment

Bukit Tabur East Wing

After 11 months when my first attempt to hike at bukit tabur east wing, I finally decided to go for my second attempt on last Sunday.

This time, I myself as a newbie organizer is trying to bring 11 people to conquer the most dangerous hill in Klang Valley for their "virgin".


The journey begins at 7:30am.

As usual, it is not an easy place for beginner.


I somehow see "heaven". (What a beautiful view)

We finally reach our final challenge, climb up to the peak.




A group photo on the peak.

I am so proud of you guys, we make it! What next?

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 03/06/2009 01:07:16 | 4 comments

Certificate for KL Towerthon 2009



KL Tower International Forest Towerthon Challenge 2009, Certificate of Achievement.

Overall: 781
Ranking Category: 398
Ranking Total: 704
Net Time: 00:28:46

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 27/05/2009 21:38:26 | 0 comment

New Balance Run 2009

New Balance Pacesetters 15km Run 2009 was held at Tasik Perdana Lake Gardens 7am this morning.

There is only 15km category, no other option available, the entry fee of RM45 for this event also not cheap.

However, I get a damn good quality running vest.




The running vest is perfect. I didn′t expect to get such a good qualify running vest from New Balance.

I was a bit late to reach Lake Garden this morning. Thanks to the timing clip system, my time only start count when the timing clip on my shoes crosses the starting line, it is nice that I having a fair timing count.

Race start!

I think I am rushing too fast in the first few km, I was like rushing to cross all the people in front of me, but I know it is impossible.

I finally notice my mistake when I saw a "4km" sign board along the road. "Crap, I had use off all my energy on my first 4km run, how am I going to continue my remaining 11km?"

So, the remaining 11km was a night mate for me, I keep my mind strong to not stop running, I don′t want to become a LEAVER. Distance from 4km to 10km is terrible for me.

Luckily I still manage to finish it & get the finisher medal.




The finisher medal is a New Balance shoes. Not bad for the creative design.

Looking forward my next run - 28 June 2009 Standard Chartered KL Full Marathon (42.195km). Hopefully I won′t make the same mistake again.

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 17/05/2009 15:55:25 | 0 comment

Format Number in Struts HTML Taglib

I am trying to format number in Apache Struts input text field.

First of all, I go to setup my Struts ActionForm.

package com.fabiolee.struts.form;

public class NumberFormatActionForm extends org.apache.struts.action.ActionForm {

private String strNumber;

private int intNumber;

private double doubleNumber;

public String getStrNumber() {
return strNumber;
}

public void setStrNumber(String strNumber) {
this.strNumber = strNumber;
}

public int getIntNumber() {
return intNumber;
}

public void setIntNumber(int intNumber) {
this.intNumber = intNumber;
}

public double getDoubleNumber() {
return doubleNumber;
}

public void setDoubleNumber(double doubleNumber) {
this.doubleNumber = doubleNumber;
}

public NumberFormatActionForm() {
super();

strNumber = "10000000";
intNumber = 10000000;
doubleNumber = 10000000;
}

}

Three variables in String, int & double format.

Bean Taglib can format number easily with:

<bean:write name="NumberFormatActionForm" property="strNumber" format="#,###,###,###.00" />


<bean:write name="NumberFormatActionForm" property="intNumber" format="#,###,###,###" />


<bean:write name="NumberFormatActionForm" property="doubleNumber" format="#,###,###,###.00" />

Both int & double format convert correctly but String format fail to convert.

For HTML Taglib, I can reuse Bean Taglib:

<html:form action="/number_format">
1) strNumber:
<html:text property="strNumber">
<jsp:attribute name="value">
<bean:write name="NumberFormatActionForm" property="strNumber" format="#,###,###,###.00" />
</jsp:attribute>
</html:text>,
<bean:write name="NumberFormatActionForm" property="strNumber" format="#,###,###,###.00" />
<br />
2) intNumber:
<html:text property="intNumber">
<jsp:attribute name="value">
<bean:write name="NumberFormatActionForm" property="intNumber" format="#,###,###,###" />
</jsp:attribute>
</html:text>,
<bean:write name="NumberFormatActionForm" property="intNumber" format="#,###,###,###" />
<br />
3) doubleNumber:
<html:text property="doubleNumber">
<jsp:attribute name="value">
<bean:write name="NumberFormatActionForm" property="doubleNumber" format="#,###,###,###.00" />
</jsp:attribute>
</html:text>,
<bean:write name="NumberFormatActionForm" property="doubleNumber" format="#,###,###,###.00" />
<br />
</html:form>



Here the output of the code.

Clean and clear?

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 30/04/2009 23:51:07 | 2 comments

Trick On Disabled Checkbox Submission

When HTML Checkbox is checked & disabled, there is no way its value can be submitted over the form.

<html>
<body>
<form action="index.html">
<input type="checkbox" name="flag" value="Y" checked="checked" />
<input type="submit" value="Submit" />
</form>
<form action="index.html">
<input type="checkbox" name="flag" value="Y" checked="checked" disabled="disabled" />
<input type="submit" value="Submit" />
</form>
</body>
</html>

The 1st form able to submit the value "Y", but the 2nd form will submit nothing.

Here a small trick to overcome this problem:

<html>
<body>
<form action="index.html">
<input type="checkbox" name="flag" value="Y" checked="checked" />
<input type="submit" value="Submit" />
</form>
<form action="index.html">
<input type="checkbox" name="flag" value="Y" checked="checked" disabled="disabled" />
<input type="hidden" name="flag" value="Y" />
<input type="submit" value="Submit" />
</form>
</body>
</html>

By adding in a hidden field

<input type="hidden" name="flag" value="Y" />

Now both forms should be able to submit the value "Y" over.

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 16/04/2009 19:11:02 | 0 comment

Full Marathon (42.195km)

Today I just register for Standard Chartered KL Marathon 2009, Full Marathon (42.195km) Malaysian Citizens Men category.


You are right, this is not play play, and it is a 42.195km FULL marathon.

It will be held on 28 June 2009, venue at Dataran Merdeka. Time limit is 6 hours.


The route map is a bit blur. Overall it is almost cover the whole Kuala Lumpur.

My longest distance in a race competition previously is only 10km. This event is a BIG challenge for me. My target is to finish the race within 6 hours & get the finisher medal.

Please pray for me.

Tweet This!Share on FriendFeedTechnorati LinksSave to del.icio.usDigg This!Share on Facebook

posted by Fabio | 14/04/2009 22:03:39 | 4 comments


Page Number: 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 , 49 , 50 , 51 , 52 , 53 , 54 , 55 , 56


Contact Me

Last Update : 14/07/2008 16:42:52

LOG IN/OUT

THEME




  • Standard Chartered KL Marathon 42.195km
    28/06/2009 (06:16:30)
  • New Balance Pacesetters 15km
    17/05/2009 (01:31:22)
  • KL Tower International Forest Towerthon Challenge
    01/03/2009 (00:28:46)

    Loading...






© Copyright 2004-2009 Fabio Entertainment. All Rights Reserved.
This site is optimised for Internet Explorer 6, Firefox 2 and above.