Author: michiel
Date: 2009-06-05 10:54:44 +0200 (Fri, 05 Jun 2009)
New Revision: 35744
Modified:
speeltuin/mihxil/streams/src/main/webapp/mmbase/components/streams/upload.jspx
Log:
Modified:
speeltuin/mihxil/streams/src/main/webapp/mmbase/components/streams/upload.jspx
===================================================================
---
speeltuin/mihxil/streams/src/main/webapp/mmbase/components/streams/upload.jspx
2009-06-05 08:34:52 UTC (rev 35743)
+++
speeltuin/mihxil/streams/src/main/webapp/mmbase/components/streams/upload.jspx
2009-06-05 08:54:44 UTC (rev 35744)
@@ -14,10 +14,10 @@
<mm:maycreate type="streamsources">
<script type="text/javascript">
- <jsp:text>Widgets.prototype.labelsToInputs(".c_streams..b_upload
label", { emptyisuntouched: true});</jsp:text>
+ <jsp:text>Widgets.prototype.labelsToInputs(".c_streams.b_upload
label", { emptyisuntouched: true });</jsp:text>
</script>
<mm:form>
- <mm:createnode type="streamsources" commitonclose="false">
+ <mm:createnode id="newsource" type="streamsources"
commitonclose="false">
<mm:fieldlist fields="url" id="urlfield">
<mm:fieldinfo type="input" />
</mm:fieldlist>
@@ -28,13 +28,19 @@
<mm:fieldinfo type="input" />
<mm:fieldinfo type="errors" />
</mm:fieldlist>
+ <div class="hidden">
+ <mm:fieldlist fields="mediaprovider">
+ <mm:fieldinfo type="input" />
+ <mm:fieldinfo type="errors" />
+ </mm:fieldlist>
+ </div>
</mm:createnode>
<input type="submit" name="submit" />
<mm:import externid="submit" />
<mm:present referid="submit">
<mm:valid>
- <p>Submitting</p>
<mm:commit />
+ <p>Submitted ${newsource} ${newsource.url}</p>
</mm:valid>
</mm:present>
</mm:form>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs