NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
orkun Posted via mailing list.
|
Posted: Sat Aug 16, 2008 11:01 am Post subject: problem in file upload component |
|
|
hello
I failed to enter a file name to file upload component
programmatically.
say it must get "/usr/local/sil1/imgmap2.png" but I couldn't do it
what should I do ?
regards
--
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.
Ahmet Temiz
Geo. Eng.
General Dir. of
Disaster Affairs
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. |
|
| Back to top |
|
 |
Grover Blue Posted via mailing list.
|
Posted: Sat Aug 16, 2008 3:06 pm Post subject: problem in file upload component |
|
|
What component are you talking about? Can you provide more details?
I use Apache's MyFaces components as a supplement for Sun's reference implementation, and it works well and is fairly easy to set up.
On Sat, Aug 16, 2008 at 7:05 AM, orkun <temiz@deprem.gov.tr (temiz@deprem.gov.tr)> wrote:
| Quote: | hello
I failed to enter a file name to file upload component
programmatically.
say it must get "/usr/local/sil1/imgmap2.png" but I couldn't do it
what should I do ?
regards
--
Ahmet Temiz
Jeo. M |
|
| Back to top |
|
 |
orkun Posted via mailing list.
|
Posted: Sun Aug 17, 2008 10:31 am Post subject: problem in file upload component |
|
|
thank you
I mean "woodstock-basic" "file upload" component.
I don't want to pick up the file by browse button.
uploaded file is static and it must be displayed
automatically.
in Apache's MyFaces file upload interface, can we
enter the file to be uploaded by javascript ?
or can it have default file value ?
regards
On Sat, 2008-08-16 at 11:06 -0400, Grover Blue wrote:
| Quote: | What component are you talking about? Can you provide more details?
I use Apache's MyFaces components as a supplement for Sun's reference
implementation, and it works well and is fairly easy to set up.
On Sat, Aug 16, 2008 at 7:05 AM, orkun <temiz@deprem.gov.tr> wrote:
hello
I failed to enter a file name to file upload component
programmatically.
say it must get "/usr/local/sil1/imgmap2.png" but I couldn't
do it
what should I do ?
regards
--
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.
Ahmet Temiz
Geo. Eng.
General Dir. of
Disaster Affairs
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Government big enough to supply everything...is big enough to take
everything you have. The course of history shows that as a government
grows, liberty decreases --- Thomas Jefferson
www.CampaignForLiberty.org
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
| --
Ahmet Temiz
Jeo. Müh.
Afet İşleri Gen. Md.lüğü
Deprem Ar. D.
Ahmet Temiz
Geo. Eng.
General Dir. of
Disaster Affairs
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. |
|
| Back to top |
|
 |
Grover Blue Posted via mailing list.
|
Posted: Sun Aug 17, 2008 5:02 pm Post subject: problem in file upload component |
|
|
I'm sure that you can simply set the field value through javascript. Have you tried it? In addition, you need to set the following attribute on the FORM tag:
| Quote: | enctype='multipart/form-data'
|
On Sun, Aug 17, 2008 at 6:35 AM, orkun <temiz@deprem.gov.tr (temiz@deprem.gov.tr)> wrote:
| Quote: | thank you
I mean "woodstock-basic" "file upload" component.
I don't want to pick up the file by browse button.
uploaded file is static and it must be displayed
automatically.
in Apache's MyFaces file upload interface, can we
enter the file to be uploaded by javascript ?
or can it have default file value ?
regards
On Sat, 2008-08-16 at 11:06 -0400, Grover Blue wrote:
| Quote: | What component are you talking about? Can you provide more details?
I use Apache's MyFaces components as a supplement for Sun's reference
implementation, and it works well and is fairly easy to set up.
On Sat, Aug 16, 2008 at 7:05 AM, orkun <temiz@deprem.gov.tr (temiz@deprem.gov.tr)> wrote:
hello
I failed to enter a file name to file upload component
programmatically.
say it must get "/usr/local/sil1/imgmap2.png" but I couldn't
do it
what should I do ?
regards
--
Ahmet Temiz
Jeo. M |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
| |