Attribute 'textAdjust' is not allowed to appear in element 'textField'

Confluence User - 19 Feb, 2020

I d like to stretch a dynamic textfield with "textAdjust" attribute in jasper report, but there's a problem in render my report in userview as my title.

Hope you guys can resolve my problem! thank you.

EDIT: i added image of error. English is not my first language, so sorry for my bad.

i designed with Jaspersoft Studio version 6.11.0 

Enterprise Joget DX

userviews;jasper

4


19 Feb, 2020
confluenceUser
confluenceUser

Hi

Kindly attach as small sample app with the jasper report so we can try it out.

20 Feb, 2020
confluenceUser
1
confluenceUser

Hi Matthew and who are having the same trouble,

I worked in 6.11 jasper version with the stretch configuration is choosing the textAdjust option, and the issue orcured on joget. Then I tried to change isStretchWithOverflow="true" attribute instead on source code and it works! i think Joget are using older version of Jasper report.

26 Feb, 2020
confluenceUser
confluenceUser

The exact same thing happened to me. I had to downgrade to version 6.6.0 to correct and avoid this problem. In fact, there are several features that in version .11 appear as "deprecated", including several related to text alignment.

03 Apr, 2020
confluenceUser
confluenceUser

When I edited the file,  it created an attribute with a value called textAdjust="StretchHeight" in textField. I have removed the attribute and it worked fine.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print