Making custom XML file in Liferay



Is it possible to make a custom XML file in Liferay either with PHP, VM or anything else?


I have a default page, with a form and text fields. When i fill out the form and press the "finish" button below, i want it to create a XML file with the details i just filled in the form. After that the XML file should be send to a FTP where it is stored.


I have the XML file as it should be, as a template, but outside Liferay.


Example for the XML content:



<CustomizedFields>
<CustomizedField>
<Name>VIP Customer</Name>
<Type>Boolean</Type>
<Value>True</Value>
<UnitOfMeasure>Kg</UnitOfMeasure>
</CustomizedField>
</CustomizedFields>


How can i do this? Is there a hook'er already make or is it even possible ?


No comments:

Post a Comment