Expose Solution Import/Export Functionality to programmer

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Expose Solution Import/Export Functionality to programmer

Postby sdevlin » Thu Dec 28, 2006 10:57 pm

Hi Guys,

Would it be a problem to programmatically expose the solution import/export functionality??

I think it would be awsome to give a programmer essentially the same functionality as the server admin page does for importing, perhaps through the IServerAccess interface.

i.e.

Code: Select all
public void importSolution(java.io.OutputStream src, java.util.Properties p)

public void exportSolution(java.io.InputStream dest, java.util.Properties p)


Thanks,
Sean
sdevlin
 
Posts: 125
Joined: Tue Apr 13, 2004 3:33 am

Postby IT2Be » Thu Dec 28, 2006 11:56 pm

Hi Sean, if I am not mistaken antonio (forum handle) has been playing with using the html plugin for importing a (new) solution.

Maybe checking for his postings will help you on the way. Basically he uses the plugin to hook into the import functionality of the web-admin.
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby sdevlin » Fri Dec 29, 2006 2:41 am

Thanks Marcel,

Yeah I think that way is do-able.
I've used the HTTP poster to do file uploads.

Programmatic exporting would be slick though!
sdevlin
 
Posts: 125
Joined: Tue Apr 13, 2004 3:33 am


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 5 guests

cron