Hello:

this is my other version

.html

        <table>
<span jwcid="[EMAIL PROTECTED]" index="ognl:numIter" source="ognl:paramSelected" value="ognl:parametro"> <span jwcid="@Insert" value="ognl:startLine" raw="ognl:numColParamReached"/>
              <span jwcid="@Insert" value="ognl:numIter"/>
              <td>
                <span jwcid="[EMAIL PROTECTED]:CheckedLookupDialog"
                   showCheckbox="ognl:parametro.hasCheckbox"
                   checkEnabled="ognl:parametro.enabled"
                   displayName="ognl:parametro.campo.displayName"
                   typeOfData="ognl:parametro.strTipo"
                   valor="ognl:parametro.valor"
                   showButton="ognl:parametro.showDialog"

dialogURL="/consultas/service=page&page=LookupDialog&session=T"
                  hasRange="ognl:parametro.rango"/>
              </td>
              <span jwcid="@Insert" value="ognl:numIter"/>
<span jwcid="@If" value="ognl:endLine" raw="ognl:numColParamReached"/>
          </span>
        </table>


.java

        public abstract void setNumColParamReached(boolean value);
        public boolean isNumColParamReached(){
                return 
getUser().getConsulta().getNumParamCols()%getNumIter())==0;
        }

        public String getStartLine() {return "<tr>";}
        public String getEndLine() {return "</tr>";}

Again the same results, :-(. This is getting me crazy. Why this kind of things cannot be done easier or at least in a more elegant manner?

JQ


Andreas Andreou wrote:
Did you really add the raw parameter?

<span jwcid="@Insert" value="ognl:startTag" raw="ognl:true" />



Jorge Quiroga wrote:


Hello:

I agree with you the solution isn´t elegant, and doesn't work because
T4 transform the output in &lt;tr&gt; and I tried with literal:<tr>
but T4 put the same thing and of course it doesn´t work as I expected

It cannot be possible?

JQ


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
 Ing. Jorge Enrique Quiroga
Analista programador
PCT LTDA

Teléfonos: 4800069-4800046-4811984
Dirección: Carrera 28 bis Nº 51-08
Bogota D.C. - Colombia


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to