Skip to main content

I have been trying to implement a similar solution to that posted by SAFE around HTML reporting and the java accordion feature as referenced in https://community.safe.com/s/article/how-to-customize-html-reports

 

The different is that I am using the group by function in the HTML Report Generator

 

imageThe accordion is appearing as expected

 

imagebut only ever second category is able to expand

 

image 

I know this is not truly an FME issue but more likely a HTML formatting issue but just wondering if anyone has had success with using the accordion functionality with the group by option in the transformer.

 

The transformer is set up as follows:

imageand the results of each HTML report seem correct

image 

Any insights would be greatly appreciated.

 

Thanks

 

Dean

So does the Java Accordion work to toggle when there is no group by applied?

Can you attach the workspace as a template? including the feature cache. Otherwise take some screen grabs of the first two categories html_content .... looking for differences such as missing <div class="panel" tags https://www.w3schools.com/howto/howto_js_accordion.asp


So does the Java Accordion work to toggle when there is no group by applied?

Can you attach the workspace as a template? including the feature cache. Otherwise take some screen grabs of the first two categories html_content .... looking for differences such as missing <div class="panel" tags https://www.w3schools.com/howto/howto_js_accordion.asp

Thanks ​@jamesb16otterill​ I have attached the work bench from the original article as it has the same results when using the group by.


I just submitted a case to support with a workspace creating a similar behavior.

 

Mine was not using group by but using multiple feature types going into their separate HTMLReportGenerator transformers, with slight changes on the Button class name tag from the original blog post cited above.

 

I was wondering if a solution was found for this question.

 

It is an HTML issue but possibly may also have to do with the way the transformer is wrapping the HTML output of the HTMLReportGenerator transformer using the Custom HTML Page Content parameter.


Reply