Jump to content
We've recently updated our Privacy Statement, available here ×

How to avoid or suppress warning message?


radha_m

Recommended Posts

Hi All,

 

Jasper reports gives a warning message on the console when a deprecated attribute is used.

E.g. WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead.

Please let me know whether there is any way to suppress or avoid the warning message.

 

Thanks & Regards,

Radha

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

I am using isStyledText attribute to apply the style for few words within a text field. See below:

"I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style>

 

But this gives a warning while generating the pdf, as given below:

WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead.

 

So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded.

 

Please can someone help me out to resolve this?

 

Thanks,

Radha

Link to comment
Share on other sites

I am using isStyledText attribute to apply the style for few words within a text field. See below:

"I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style>

 

But this gives a warning while generating the pdf, as given below:

WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead.

 

So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded.

 

Please can someone help me out to resolve this?

 

Thanks,

Radha

Link to comment
Share on other sites

I am using isStyledText attribute to apply the style for few words within a text field. See below:

"I am " <style isBold="true" pdfFontName="Times-Bold">bolded text.</style>

 

But this gives a warning while generating the pdf, as given below:

WARNING: The 'isStyledText' attribute is deprecated. Use the 'markup' attribute instead.

 

So i tried removed isStyledText="true" and used markup="html". But this does not seem to give the same result. All the text remains unbolded.

 

Please can someone help me out to resolve this?

 

Thanks,

Radha

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...