• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Table issue

TCArknight

Well-known member
Ok, I'm having an issue with a dynamic table:

TraitTabIssue_zps15e70568.jpg
[/URL]

Not sure why that might be happening:
Code:
  <portal
    id="abGood"
    style="tblNormal">
    <table_dynamic
      component="Ability"
      showtemplate="abPick"
      choosetemplate="abSelect"
      alwaysupdate="yes">
      <list>TraitCat.Good & !TraitCat.Gadget</list>
      <candidate inheritlist="yes">!Hide.Ability</candidate>
      <titlebar><![CDATA[
        @text = "Add New Good Trait (" & hero.child[resCP].field[resLeft].value & " CP available)"
        ]]></titlebar>
      <description/>
      <headertitle><![CDATA[
        @text = "Good Traits (" & hero.child[resCP].field[resLeft].value & " CP available)"
        ]]></headertitle>
      <additem><![CDATA[
        ~if we're in advancement mode, we've been frozen, so display accordingly
        if (state.iscreate = 0) then
          @text = "{text clrgrey}Add Traits Via Advances Tab"
          done
          endif

        ~set the color based on whether the proper number of slots are allocated
        if (hero.child[resCP].field[resLeft].value = 0) then
          @text = "{text clrgrey}"
        elseif (hero.child[resCP].field[resLeft].value < 0) then
          @text = "{text clrwarning}"
          endif
        @text &= "Add New Good Trait"
        ]]></additem>
      </table_dynamic>
    </portal>

Has anyone run into this before?
 
How many portals are there in the layout for this tab? It looks sort of like there's a third table that's overwriting the top of one of your tables.
 
Check the template layout for abSelect. I don't think its an issue with your portal TCArKnight, but without layout information to work with I can't really help you here.
 
Thanks all!

Instead of using autoplace in the layout, I specifically defined the placement and that seems to have fixed the issue.
 
Thanks all!

Instead of using autoplace in the layout, I specifically defined the placement and that seems to have fixed the issue.

It's happened to me a couple times. That is why I suspected the template / layout. I have had to fiddle around with the layouts alot to get my data working properly at times.
 
Back
Top