From: planetenxin <pla...@we...> - 2013-09-09 17:45:10
|
Hi Yury, I tried with DIVs (display:table...) but no luck. With only 2 nesting levels it seems to work. With more than 2 levels it fails (<table><tr><td> or <div style="display:table"><div style="display:table-row"><div style="display:table-cell"> fails). /Alexander Am 09.09.2013 18:43, schrieb Yury Katkov: > What about using divs instead of tables? > ----- > Yury Katkov, WikiVote > > > > On Mon, Sep 9, 2013 at 10:13 AM, planetenxin<pla...@we...> wrote: >> Has someone successfully used SRF with table tags in templates? >> >> See my issues below. >> >> /Alexander >> >> Am 27.08.2013 08:25, schrieb planetenxin: >>> Hi, >>> >>> Firebug reports 'mw.loader::execute> Exception thrown by >>> ext.srf.filtered.value-filter: this.data(...).values[item] is undefined' >>> when using filtered format with a template. >>> >>> {{ #ask: [[Category:Process]] >>> | ?Has Accountable|+filter=value >>> | format = filtered >>> | views=list >>> | list view type=list >>> | list view template=srfProcessFiltered >>> | list view introtemplate=srfProcessFiltered_Intro >>> | list view outrotemplate=srfProcessFiltered_Outro >>> }} >>> >>> Intro Template: >>> <table> >>> >>> Template: >>> <tr><td>{{{1}}}</td><td>{{{2}}}</td></tr> >>> >>> Outro Template: >>> </table> >>> >>> MW 1.19.7 >>> SMW 1.8.0.5 >>> SRF 1.8 >>> $wgRawHtml=true; >>> >>> The exception occurs during page load. The unfiltered content is loaded >>> but when clicking on an filter item nothing happens (filter not applied). >>> >>> This seems to happen only if table elements are present in the >>> templates. Simple lists or comma separated output via template works fine. >>> >>> Any ideas? >>> >>> /Alexander >>> >> >> >> -- >> ________________________________________________ >> semantic::apps by gesinn.it >> Business Applications with Semantic Mediawiki. >> http://semantic-apps.com >> >> ------------------------------------------------------------------------------ >> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! >> Discover the easy way to master current and previous Microsoft technologies >> and advance your career. Get an incredible 1,500+ hours of step-by-step >> tutorial videos with LearnDevNow. Subscribe today and save! >> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- ________________________________________________ semantic::apps by gesinn.it Business Applications with Semantic Mediawiki. http://semantic-apps.com |