<s:file name="anUploadFile" accept="text/*" /> <s:file name="anohterUploadFIle" accept="text/html,text/plain" />
444546474849505152
} protected void populateParams() { super.populateParams(); File file = ((File) component); file.setAccept(accept); file.setSize(size); }
35363738394041
public FileModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { super(stack, req, res); } protected Component getBean() { return new File(stack, req, res); }
48495051525354
} @Override protected void setUp() throws Exception { super.setUp(); this.tag = new File(stack, request, response); }
31323334353637
/** * @see File */ public class FileDirective extends AbstractDirective { protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new File(stack, req, res); }
39404142434445
protected String accept; protected String size; public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new File(stack, req, res); }
454647484950515253
32333435363738
36373839404142
37383940414243
public String getBeanName() { return "optiontransferselect"; } protected Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) { return new OptionTransferSelect(stack, req, res); }