Without the CSS file of you app: > <form class="panel" action="/Collection/Summary" method="post" > title="Details" id="CollectionDetail" style="left: 100%;"> Say that the content has to be totally out of the screen, so kind of invisible...
> <input type="hidden" value="2/1/2010 12:00:00 AM" > name="CollectionDate" id="CollectionDate"> Hummm … hidden inputs :-S Any FF extension or a simple void: script show them. Hope your app doesn't have any security need... > <h3>Machine 1</h3> Class panel title is <h2>Machine 1</h2> > <a href="#" type="submit" class="whiteButton">Save</a> I would 1) change href="#" by href="#_CollectionDetail" (assuming the form id is the page id) 2) or delete it 3) or change this whole line to <a class="whiteButton" type="submit" href="#">Save</a> Hope this help Remi Le 1 févr. 2010 à 21:14, Dan a écrit : > Here's a summary of a problem that I just discovered with 0.4 dev 2. > I'll try to get a test case together and do some further debugging. In > the meantime, if this sparks an idea in one of the developers who may > have worked on this area, I'd love to hear about it. I reverted my app > to use iUI 0.31, and everything is working fine again. > > Note: I'm using ASP.NET MVC 2 RC, but again, the problem only exists > when using iUI 0.4 - with 0.31, it works perfectly. > > I have a list of machines, and those machines have multiple fields > that need amounts entered. I have hidden fields that are used by > ASP.NET MVC to reconstruct the objects on the backend based on the > HTML elements that are posted to it. > > Given the following generated HTML (from View Page Source), the > CollectionDetails elements do not make it back to the server: > > <form class="panel" action="/Collection/Summary" method="post" > title="Details" id="CollectionDetail" style="left: 100%;"> > <input type="hidden" value="2/1/2010 12:00:00 AM" > name="CollectionDate" id="CollectionDate"> > <input type="hidden" value="2" name="LocationId" id="LocationId"> > <h3>Machine 1</h3> > <fieldset> > <div class="row"> > <input type="hidden" value="21-12" > name="CollectionDetails.index" id="CollectionDetails_index"> > <input type="hidden" value="12" name="CollectionDetails > [21-12].MachineFieldId" id="CollectionDetails_21-12__MachineFieldId"> > <input type="hidden" value="3" name="CollectionDetails > [21-12].MachineTypeId" id="CollectionDetails_21-12__MachineTypeId"> > <input type="hidden" value="21" name="CollectionDetails > [21-12].MachineId" id="CollectionDetails_21-12__MachineId"> > <input type="number" value="" placeholder="Cash" > name="CollectionDetails[21-12].Amount" > id="CollectionDetails_21-12__Amount"> > </div> > > <div class="row"> > <input type="hidden" value="21-17" > name="CollectionDetails.index" id="CollectionDetails_index"> > <input type="hidden" value="17" name="CollectionDetails > [21-17].MachineFieldId" id="CollectionDetails_21-17__MachineFieldId"> > <input type="hidden" value="3" name="CollectionDetails > [21-17].MachineTypeId" id="CollectionDetails_21-17__MachineTypeId"> > <input type="hidden" value="21" name="CollectionDetails > [21-17].MachineId" id="CollectionDetails_21-17__MachineId"> > <input type="number" value="" placeholder="Software > Fee" name="CollectionDetails[21-17].Amount" > id="CollectionDetails_21-17__Amount"> > </div> > </fieldset> > <a href="#" type="submit" class="whiteButton">Save</a> > </form> > > Does this ring a bell with anyone who was working with posting forms? > > Thanks. > Dan > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" 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/iphonewebdev?hl=en. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=en.
