Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2009 16:37:11
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi Björn
I need a button to choose just a directory on the client. I didn't find such a possibility in the fileupload button. Could you support that?
Regards, Daniel
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 22/05/2009 16:52:45
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5538
Offline
|
Hi,
we have the FILECHOOSER component. This only selects a file name, i.e. it does not any kind of upload. It looks like a COMBOFIELD (not a button), and shows the name of the selected file within its content.
Currently you can only select files, not directories.
But we updated this based on your request: there is now a new atttribute FILECHOOSER-FILESELECTIONMODE in which you can specify that you want to select "files only", "directories only", "both files and directories".
Available with next update (Monday).
Thanks for your input! Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 25/05/2009 08:00:38
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5538
Offline
|
Part of 20090525.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 26/05/2009 09:28:47
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
I have installed the new version. As soon as I set the attribute fileselectionmode in the editor, the following errors arise:
org.apache.jasper.JasperException: /casedetail_ZZZZZ_1243321838724.jsp(225,0) Attribute fileselectionmode invalid for tag filechooser according to TLD
and
org.apache.jasper.JasperException: /casedetail_ZZZZZ_1243321918937.jsp(225,0) Unable to find setter method for attribute: fileselectionmode.
Either I have installed something wrong or perhaps something is missing in the new CC version?
Daniel
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 26/05/2009 15:27:23
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5538
Offline
|
Hi,
it seems to me that your project is not updated - either use the "update" Button in the CaptainCasa Tool Environemnt, then press reload one time within one layout... or copy the contents of installdir/resources/webappaddons into your project.
Could you check if your project is uptodate?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 26/05/2009 15:37:21
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi Björn,
I have tried again and now it works, no more error messages. Sorry for disturbance.
Daniel
|
|
![](/forum/templates/default/images/spacer.gif) |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 26/05/2009 15:43:33
|
CaptainCasa
Power User
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.jpg)
Joined: 21/11/2007 12:23:06
Messages: 5538
Offline
|
...I assume, you now did hit "reload"...?
After "update" you need to press reload one time - this should be mentioned a bit clearer in the docu or in the tool. We just check why we not immediately execute a reload...
Anyways: Thanks for your update...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
![](/forum/templates/default/images/spacer.gif) |
|