craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > CellEditor/Renderer Post New Topic   Post A Reply
i want upload images,how can i put the function in quicktabl... printer friendly version
next newest post | next oldest post
Author Messages
eseking
Private

Gender: Unspecified
Location:
Registered: Sep 2007
Status: Offline
Posts: 8

Click here to see the profile for eseking Send email to eseking Send private message to eseking Find more posts by eseking Edit or delete this message Reply w/Quote
Posted Tuesday, October 23, 2007 @ 01:16:03  

we use commons-fileupload to upload images, it is a servelt, we also use quicktable to collect datas.

for example, we use quicktable as applet , in a html. now we start to input a goods bean into quicktable, then quicktable put it into database.

the goods has a image, can i add a column like a button , when i click it , it open a new page ,then invoke the servlet to upload ?

my english is poor , thanks and waitting for your help.

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Tuesday, October 23, 2007 @ 10:36:44  

You need to create your own celleditor using the CellComponent class. This cellcomponent class can be implemented using a JButton or a Jpanel with JButton. In the onclick event of JButton, load the upload webpage using

getAppletContext().showDocument(URL url, String target);

Read CellComponent api

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios