add edittext to CCLayer with c++

i want to develop a game for android with c++, there is a ui which should contain a edittext, i can add CCLabel to a CCLayer,but how can i add a edittext to the CCLayer?

cocos2d-x now is weak in widget, such as edittext.
You can refer TextInputTest, I don’t know if it can satisfy your demand.