I'm not sure if this is the correct way to fix it, but it seems to work.
In the /faq/src/main/org/jboss/nukes/addons/modules/faq/FaqModule.java file, the
init() method generates the javascript code. I noticed it was called only from one of
the constructors. I added the call to init() to the other constructor as well:
| public FaqModule()
| {
| super();
| init();
| }
|
| public FaqModule(boolean persistent)
| {
| super(persistent);
| init(); // <-- added this line
| }
|
Making that change, rebuiling and redeploying the faq module did the trick...
-Damien
"danvu" wrote : Noel,
| When I clicked on a category in FAQ, there's a java script error message 'Error on
page' shown on IE status bar and the page stayed the same. So, it looks like something
wrong with your javascript. Can you please fix it.
| I tried both CVS and published nuke-1.0src versions and it happened the same.
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824515#3824515">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824515>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user