Supra, Morne wrote:
> 
> 
> sub notifier : Private {
>       my ( $self, $c ) = @_;
>       
>       #$c->stash->{template} = 'notifier.tt2';
>       $c->stash->{tagdata} = $c->request->params->{tagdata};
>       open (TagData, '>C:\Eclipse Projects\Asset
> Tracker\AssetTracker\lib\AssetTracker\tagdata.txt');
>       print TagData $c->request->params->{tagdata};
>       close TagData;
>       
> }
> 
> As you can see I do not get the associated tag data yet, I am just
> trying to display the tag data received from the ALE server.
> 
> I can see that the data is coming through correctly by monitoring the
> console debug and checking the tagdata.txt file.
> 
> The problem that I have is that I have no idea how to push the data to a
> web page instead of pulling.
> 
> I have tried using catalyst redirect, forward and subrequest with no
> luck.
> 
> I am not a hard core developer, so any assistance will be greatly
> appreciated.
> 
> Regards
> Morne Supra 
> 
> 

If you want an upload of your data (i.e., tagdata.txt) to a web page, then I
think its nothing to do with catalyst. Use the LWP module where you can POST
file to a web page. This link might help->
http://lwp.interglacial.com/ch05_07.htm

-- 
View this message in context: 
http://www.nabble.com/Pushing-data-to-Catalyst-powered-web-page-tp19454767p19454995.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to