MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
asder
Post subject: Integrate spring scaffolding layout with Birt  PostPosted: Jun 21, 2012 - 04:24 PM



Joined: Jun 21, 2012
Posts: 3

Hi

i'm trying to figure out how to integrate Birt into the layout generated by the spring scaffolding MVC.

i'm getting this:

Image[/URL]

when i try to use the tag <birt:viewer>

i think that is because the page gets decorated every time by the layout.
It's possible to fully integrate BIRT without the need to make another project only for it?
I'm doing it (another web project for birt)because i can load birt pages in iframes, but i'm losing the spring security (the biggest issue).

Suggestions?
 
 View user's profile Send private message  
Reply with quote Back to top
asder
Post subject:   PostPosted: Jun 22, 2012 - 09:26 AM



Joined: Jun 21, 2012
Posts: 3

obviously, trying to set decorators.xml like:

Code:
<excludes>
<pattern>/frameset*</pattern>
<pattern>/run*</pattern>
</excludes>



does not work, i still get ajax errors.

i think birt make ajax calls that gets decorated. i'm investigating this now.

UPDATE: /birt-viewer gets called, i added it but it's the same
 
 View user's profile Send private message  
Reply with quote Back to top
asder
Post subject:   PostPosted: Jun 26, 2012 - 09:42 AM



Joined: Jun 21, 2012
Posts: 3

no suggestions? very bad :(
 
 View user's profile Send private message  
Reply with quote Back to top
cconway
Post subject:   PostPosted: Jun 29, 2012 - 12:55 PM



Joined: Apr 04, 2011
Posts: 196

You should be able to exclude pages from the sitemesh decoration. Please see this post on stack overflow, or otherwise search for information on excluding pages in sitemesh. It looks like the trick is getting the path right based on what's in web.xml?

http://stackoverflow.com/questions/10058477/sitemesh-page-exclusion

I hope this helps.

_________________
Cindy
MyEclipse for Spring Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits