A 22-year-old man charged with stabbing his ex-partner's father during a knife attack in Dublin has been remanded in custody.