Link to home
Create AccountLog in
Avatar of icylin
icylin

asked on

apply 2 converters one after another for an <h:outputText>

hi,
I have 2 converters which i need to apply one after another to get the output. Is this possible? If yes please suggest code to do the same.

Thanks.
SOLUTION
Avatar of a_b
a_b

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of icylin
icylin

ASKER

Hello,
Thanks for the response.how do i create a composite converter?
My requirement is for a datetime going through first converter adds user time zone which outputs datetime which i need to pass to other converter which adds company offset. Can this be achieved ?

Thanks.
you can do that in a single converter only. do all the conversions in one converter and apply that.
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account