Hello,

at the beginning i'm adding via Fieldstream the following sourcecode:
A Formularstructure, without Formular-Tags, because i want to adds
some fields to the existing formular.

<fieldset name="Budget Estimation" id="budget">
        <legend>Budget Estimation</legend>
                <input type="button" value ="[+]" onclick="addBudgetRow()">     
        Add a
new row
                <div style="visibility:hidden" name='hiddenbudgettable'>
                        <table >
                                <thead border='1'>
                                        <td>Person</td>
                                        <td>Typ</td>
                                        <td>Estimation</td>
                                        <td>Cost</td>
                                        <td>Status</td>
                                        <td>Comment</td>
                                </thead>
                                <tbody id='container'>
                                </tbody>
                        <table>
                </div>
</fieldset>

Then i'm adding by using a javascript one row, each time someone hits
the Add-Button

function addBudgetRow(){
        if(rowCounter == 0)
                
document.getElementsByName('hiddenbudgettable')[0].style.visibility
= "visible";
        c=document.getElementById('container');
        d=document.createElement('tr');
        rowCounter++;
        var columnCount=6;
        d.id='row:'+rowCounter;
        c.appendChild(d);

        for(column = 1; column <= columnCount; column++){
                td =document.createElement('td');
                d.appendChild(td);
                if(column == 2){
                        i=document.createElement('select');
                        for(typesPosition = 0; typesPosition < 
types.length;typesPosition++)
{
                                var newOption =document.createElement('option');
                                newOption.text=types[typesPosition];
                                i.add(newOption,null);
                        }
                }else{
                        i=document.createElement('input');
                }
                i.name='field:'+rowCounter+':'+column;
                td.appendChild(i);
        }
}


The Fields are unique because, i'm adding a ascending int number to
the string.
So the name of this fields are field:RowNr:ColumnNr for example field:
1:1 field:1:2 and so on. But if you look at the printout, which i
posted a post bevor, at the pre_process_request, after i have hitten
the [Ticket save] Button, there are no fields called Field:x:y.
To make it clear, i'm not ussing an mulit-value-field, each created
field ist unique by its name.

So my thought was, that maybe the genshi engine will delete all not
know fields in order to keep the system clean for security issues?

Thanks a lot, for helping me.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to