On 22-07-2009 at 08:38:11 Wallace McGee <wall...@petrosys.com.au> wrote:

I mentioned previously how the error line-numbers dont quite match up.

Not a big deal as looking around the line specified gets me close.

If it helps, here is a snippet of my templates (they are quite large
with macros and stuff which is probably whats throwing things off).


Could not find value for attribute ${vars before end of tag
&lt;input&gt;' in
K:\xampplite\htdocs\apps\ps_contacts\xhtml\combinedSearch.xhtml:36


And it turns out the problem is actually on line 43 of my code.   Line
36 contains: ' size="15" ' which is not a problem.

Here is the code from line 29 to line 43:

       <table class="clean">
        <tr class="clean">
         <td><label for="fldfilterCompany">Company or
Site</label>&nbsp;</td>
         <td>
          <input type="text"
                 name="contacts[filterCompany]"
                 id="fldFilterCompany"
                 size="15"
                 value="<?php print
($_SESSION[contacts][filterCompany]!='') ?
$_SESSION[contacts][filterCompany] : ''; ?>" />
         <label>Client</label>
           <input type="checkbox"
                  name="contacts[filterCompanyType][PS_CLIENT]"
                  value="PS_CLIENT"
                  title="Only show Clients"
${vars/showCompanyType/PS_CLIENT} note="1" />


This is quite odd. I've tested this fragment and PHPTAL gives me exact line number.

Perhaps you have a prefilter that inserts additional lines?

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to