Page 1 of 1

conditional binding fails in certain ways

PostPosted: Sat Mar 26, 2011 3:23 am
by dcole
Jason,

It seems like if I am trying to use a conditional that wraps OTHER content controls, the conditional value is ignored. I have tried it a couple of different ways, and it seems like the content controls within the conditional binding always show up.

Also, it seems like no matter what, if I have a conditional in a floating textbox, it always shows up, whether wrapping plain text or other content controls.

Can this be addressed? Thanks

Re: conditional binding fails in certain ways

PostPosted: Sun Mar 27, 2011 3:48 pm
by jason
Hi Derek

dcole wrote:It seems like if I am trying to use a conditional that wraps OTHER content controls, the conditional value is ignored. I have tried it a couple of different ways, and it seems like the content controls within the conditional binding always show up.


I couldn't reproduce this (using svn head) with the attached docx. Could you please provide a docx which exhibits the problem?

dcole wrote:Also, it seems like no matter what, if I have a conditional in a floating textbox, it always shows up, whether wrapping plain text or other content controls.


Thanks for reporting this. Fixed by http://dev.plutext.org/trac/docx4j/changeset/1453 for the attached docx.

cheers .. Jason