This content has been marked as final.
Show 3 replies
-
1. Re: rich:fileUpload and entries.length
nimo22 Jun 16, 2009 4:31 PM (in response to nimo22)This does also not work:
<rich:fileUpload id="myFileUpload"> <a4j:support event="onadd" action="#{myBean.actualSize}"> <a4j:actionparam name="viewLength" value="($('myForm:myFileUpload').component.entries.length);" assignTo="#{myBean.length}" converter="javax.faces.Integer"/> </a4j:support> </rich:fileUpload>
-
2. Re: rich:fileUpload and entries.length
nimo22 Jun 17, 2009 3:00 AM (in response to nimo22)I guess, I do not need something like Seam Remoting for such things.
for example, this:alert(($('myForm:myFileUpload').component.entries.length);)
returns the actual length, but how can I transfer the ivalue to my server-side-property: #{myBean.length} ? -
3. Re: rich:fileUpload and entries.length
nimo22 Jun 19, 2009 2:49 AM (in response to nimo22)I guess, it s due to my lack of java script..