Thursday, September 27, 2012

to the beautiful you

To The Beautiful You (2012) (K-Drama) (12 Sub |12 Raw)
to the beautiful you

tara..... ni latest version manga Hanazakari  no Kimitachi dalam bentuk drama. kali ni korean drama plak. drama "to the beautiful you" ni dibintangi oleh idol2 kpop dari SHinee, ZEA dan lain-lain. Choi Minho(Shinee) -hero dalam drama ni. jalan cerita drama ni sama jer macam version2 sebelum ni(taiwan & jepun).k-droma ni sekarang disiarkan kt SBS HD. mari kita tonton sama-sama. 

sinopis:
Kang Tae-Joon( Minho) is a gold medalist in the high jump, but  he has been mired in a slump due to an injury. In order to help her idol Kang Tae Joon, a girl named Koo Jae-Hee(Sulli) disguises herself as a boy and transfers to his all male high school.










Saturday, September 22, 2012

dubai..here i come

yeye...insyaAllah in next two week i will fly to dubai.. at last, i can go there. hope all well; my leave for a week approve, having fun there, and if possible got an offer from there.. then should i take it or leave it? hmmm if that happen, have to think very deep, maybe have to tie the  knot first before leaving here... hope all goes well to me:)


citymax hotel dubai


Friday, September 21, 2012

saya budak baru belajar........

sekarang ni tengah berkecimpung dalam dunia application developer...menggunakan Java/Spring model forms framework. boleh la tahan..tapi bile benda ni xleh nak run, geram jugak lerrrr macam2 rasa ada  masa tu...


ni la example jsp yang aku kena buat. (tak boleh tunjuk yang real)hehe
myForm.jsp
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<h2 align="center">Spring Form Tags</h2>
<form:form method="POST" name="myForm" commandName="myForm" action="#">
<table align="center" cellpadding="10" cellspacing="10"
bgcolor="#CCFFCC">
<tr>
<td><form:label path="hiddenField">Hidden Field</form:label></td>
<td><form:hidden path="hiddenField"></form:hidden></td>
</tr>
<tr>
<td><form:label path="textField">Text Field</form:label></td>
<td><form:input path="textField"></form:input></td>
</tr>
<tr>
<td><form:label path="password">Password</form:label></td>
<td><form:input path="password"></form:input></td>
</tr>
<tr>
<td><form:label path="radioButton">Radio Button</form:label></td>
<td><form:radiobutton path="radioButton" value="M" label="M"></form:radiobutton>
<form:radiobutton path="radioButton" value="F" label="F"></form:radiobutton></td>
</tr>
<tr>
<td><form:label path="radioButton">Radio Buttons from List</form:label></td>
<td><form:radiobuttons items="${countryList}" path="checkBox"
itemLabel="name" itemValue="id"></form:radiobuttons></td>
</tr>
<tr>
<td><form:label path="checkBox">Check Box</form:label></td>
<td><form:checkbox path="checkBox" value="S" label="Student"></form:checkbox>
<form:checkbox path="checkBox" value="E" label="Employee"></form:checkbox></td>
</tr>
<tr>
<td><form:label path="checkBox">Check Boxes from List</form:label></td>
<td><form:checkboxes items="${countryList}" path="checkBox"
itemLabel="name" itemValue="id" /></td>
</tr>
<tr>
<td><form:label path="select">Select Country</form:label></td>
<td><form:select path="select">
<form:option value="0" label="Please Select"></form:option>
<form:options items="${countryList}" itemValue="id" itemLabel="name" />
</form:select></td>
</tr>
<tr>
<td><form:label path="textArea">Text Area</form:label></td>
<td><form:textarea path="textArea" cols="35" rows="3"></form:textarea></td>
</tr>
<tr>
<td><form:label path="file">File Upload</form:label></td>
<td><form:input type="file" path="file"></form:input></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Submit Form"></input></td>
<td align="center"><input type="reset" value="Clear Form"></input></td>
</tr>
</table>
</form:form>

Bean class untuk  form di atas.
SampleInterfaceImp.java
package net.roseindia.model;
import java.util.List;
import org.springframework.web.multipart.commons.CommonsMultipartFile;
public class MyForm {
        private String textField;
        private String hiddenField;
        private String password;
        private String radioButton;
        private String select;
        private List countryList;
        private String textArea;
        private String checkBox;
        private CommonsMultipartFile file;

        
        public String getHiddenField() {
                return hiddenField;
        }

        public void setHiddenField(String hiddenField) {
                this.hiddenField = hiddenField;
        }

        public String getTextField() {
                return textField;
        }

        public void setTextField(String textField) {
                this.textField = textField;
        }

        public String getPassword() {
                return password;
        }

        public void setPassword(String password) {
                this.password = password;
        }

        public String getRadioButton() {
                return radioButton;
        }

        public void setRadioButton(String radioButton) {
                this.radioButton = radioButton;
        }

        public String getSelect() {
                return select;
        }

        public void setSelect(String select) {
                this.select = select;
        }

        public List getCountryList() {
                return countryList;
        }

        public void setCountryList(List countryList) {
                this.countryList = countryList;
        }

        public String getTextArea() {
                return textArea;
        }

        public void setTextArea(String textArea) {
                this.textArea = textArea;
        }

        public String getCheckBox() {
                return checkBox;
        }

        public void setCheckBox(String checkBox) {
                this.checkBox = checkBox;
        }

        public CommonsMultipartFile getFile() {
                return file;
        }

        public void setFile(CommonsMultipartFile file) {
                this.file = file;
        }
}

Controller untuk  form di atas
SampleInterfaceImp.java
package net.roseindia.controller;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.validation.Valid;
import net.roseindia.model.Country;
import net.roseindia.model.MyForm;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class MyFormController {

        @RequestMapping("/myForm.html")
        public String loadForm(Map model, @Valid MyForm myForm) {
                List countryList = new ArrayList();
                countryList = loadCountry();
                model.put("countryList", countryList);
                return "myForm";
        }

        public List loadCountry() {
                List countryList = new ArrayList();
                countryList.add(new Country(1, "India", "Description Of India"));

                countryList.add(new Country(2, "China", "Description Of China"));

                countryList.add(new Country(3, "England", "Description Of England"));

                countryList.add(new Country(4, "Srilanka", "Description Of Srilanka"));

                countryList.add(new Country(5, "Kenya", "Description Of Kenya"));

                return countryList;
        }
}

The Country model class for displaying select, checkboxes and radiobutton groups
Country.java
package net.roseindia.model;
public class Country {
        private int id;
        private String name;
        private String description;

        public Country() {

        }

        public Country(int id, String name, String description) {
                this.id = id;
                this.name = name;
                this.description = description;
        }

        public int getId() {
                return id;
        }

        public void setId(int id) {
                this.id = id;
        }

        public String getName() {
                return name;
        }

        public void setName(String name) {
                this.name = name;
        }

        public String getDescription() {
                return description;
        }

        public void setDescription(String description) {
                this.description = description;
        }
}

bila run application, inilah hasilnya..tarrrraaaa



Wednesday, September 12, 2012

brownies lapis cheese kukus


teringin nak buat brownies lapis cheese kukus ni. cuma sampai sekarang x sempat2 lg nak buat 
~baru sempat nak tarik nafas lega hari ni~pheeeewwww

Tuesday, September 4, 2012

dari PMO ke JAD

dari PMO ke JAD....

mesti orang tertanya-tanya apa maksud tajuk post ni. tak ada apa yang menarik cuma bertukar profesyen buat seketika untuk satu projek ni. jenuh juga nak catch-up term2  developer ni tapi apakah daya aku cuma kuli jerrr. dahler org yg memaksa aku jd JAD ni tetiba resign...sentap jugak le kejap..haish sabo jer la kan...

iryu team medical dragon 2

Iryu Team Medical Dragon Season 02 (J-Drama) (2007)
tak sabar nak tonton drama japan ni. season 1 dah lama abis tonton. season 2 & 3 dah dua minggu download, tapi tak sempat-sempat lagi nak tonton. weekend ni agak-agak sempat tak yer???

salam ukhwah

baru hari ni sempat menjenguk blog yg rasanya dh bersarang ni. tak menyempat nak updet blog dari hari raya. naik keje dah menimbun keje menunggu. tambah2 plak dgn task2 yang baru nak belajar lepas hampir 8 tahun graduate IT...cam lawak pun ada kan...