Re: [Mason] I need help !!!!!!!

2012-04-24 Thread Jonathan Swartz
What error?

On Apr 24, 2012, at 8:54 AM, Eugenio Duran Aroche wrote:

 I have problem whith methods in Mason, I have 2 component (comp1.mas  and 
 comp2.mas),  and the methods is on comp1.mas and  call it from
 comp2.mas, and return error.
 
 comp1.mas
 %method metodo
 
 % print hello world;
 
 /%method
 
 comp2.mas
 % my $comp = $m-fetch_comp(comp1.mas);
 % $comp-call_method(metodo);

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help !!!!!!!

2012-04-24 Thread Eugenio Duran Aroche

The erro is An internal error related to a template has occurred 

- Mensaje original -

De: Jonathan Swartz swa...@pobox.com 
Para: Eugenio Duran Aroche edu...@estudiantes.uci.cu 
CC: mason-users@lists.sourceforge.net 
Enviados: Martes, 24 de Abril 2012 12:09:01 
Asunto: Re: [Mason] I need help !!! 

What error? 



On Apr 24, 2012, at 8:54 AM, Eugenio Duran Aroche wrote: 




I have problem whith methods in Mason, I have 2 component (comp1.mas and 
comp2.mas), and the methods is on comp1.mas and call it from 
comp2.mas, and return error. 

comp1.mas 
%method metodo 

% print hello world; 

/%method 

comp2.mas 
% my $comp = $m-fetch_comp(comp1.mas); 
% $comp-call_method(metodo); 








10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS 
INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help !!!!!!!

2012-04-24 Thread Jonathan Swartz
You must have an error log somewhere with a more specific error than that.

On Apr 24, 2012, at 9:29 AM, Eugenio Duran Aroche wrote:

 
 The erro is An internal error related to a template has occurred
 
 De: Jonathan Swartz swa...@pobox.com
 Para: Eugenio Duran Aroche edu...@estudiantes.uci.cu
 CC: mason-users@lists.sourceforge.net
 Enviados: Martes, 24 de Abril 2012 12:09:01
 Asunto: Re: [Mason] I need help !!!
 
 What error?
 
 On Apr 24, 2012, at 8:54 AM, Eugenio Duran Aroche wrote:
 
 I have problem whith methods in Mason, I have 2 component (comp1.mas  and 
 comp2.mas),  and the methods is on comp1.mas and  call it from
 comp2.mas, and return error.
 
 comp1.mas
 %method metodo
 
 % print hello world;
 
 /%method
 
 comp2.mas
 % my $comp = $m-fetch_comp(comp1.mas);
 % $comp-call_method(metodo);
 
 
 
 
 
 

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help

2012-04-09 Thread Jérôme Étévé
Afaik, the ajax component needs prototype.js.

What are the symptomes ?
On 9 Apr 2012 04:53, Eugenio Duran Aroche edu...@estudiantes.uci.cu
wrote:


 I need doing request Ajax using Mason, This example that I found not run:

div id=meFull/div
input type=button value=Drink Me!
   onClick= /ajax, comp='SELF:drink', update='me' 

 %method drink
 empty
 /%method



   http://www.uci.cu/



 --
 For Developers, A Lot Can Happen In A Second.
 Boundary is the first to Know...and Tell You.
 Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
 http://p.sf.net/sfu/Boundary-d2dvs2

 ___
 Mason-users mailing list
 Mason-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mason-users


--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help please

2012-03-03 Thread Paul Harrison
  %attr

b_32 = 'default value'

b_64 = ‘default value’

  /%attr

 

 

print $b_32;

print $b_64;

 

 

From: Eugenio Duran Aroche [mailto:edu...@estudiantes.uci.cu] 
Sent: Saturday, March 03, 2012 12:05 PM
To: mason-users@lists.sourceforge.net
Subject: [Mason] I need help please

 

 I have this form in a Mason component
form 
 
input type=checkbox name=b_32 value=32_bit checked   32-bit
input type=checkbox name=b_64 value=64_bit64-bit br
nombre input type=text  name=text  br
 input  type='submit'  value=ok
/form

I dont know how get the values in Mason 

 

 http://www.antiterroristas.cu/ Description: Image removed by sender.

 

image001.jpg--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help please

2012-03-03 Thread Nic Wolff
No, those are attributes, which don't take sigils but can't be called like 
variables. I think you meant to use args, like this:

%args
  b_32 = 'default value'
  b_64 = ‘default value’
/%args

print $b_32;
print $b_64;

as documented under 
http://www.masonhq.com/docs/manual/Devel.html#accessing_parameters


On 3 Mar 2012, at 9:28 PM, Paul Harrison wrote:
 The documentation is missing the $
 
 http://www.masonhq.com/docs/manual/Devel.html#__attr_
 
 
 -Original Message-
 From: Rolf Schaufelberger [mailto:r...@plusw.de] 
 Sent: Saturday, March 03, 2012 4:12 PM
 To: Paul Harrison
 Cc: 'Eugenio Duran Aroche'; mason-users@lists.sourceforge.net
 Subject: Re: [Mason] I need help please
 
 
 $ missing :
 
  %attr
$b_32 = 'default value'
$b_64 = ‘default value’
  /%attr
 
 Am 03.03.2012 um 20:21 schrieb Paul Harrison:
 
  %attr
b_32 = 'default value'
b_64 = ‘default value’
  /%attr
 
 
 print $b_32;
 print $b_64;
 
 
 From: Eugenio Duran Aroche [mailto:edu...@estudiantes.uci.cu]
 Sent: Saturday, March 03, 2012 12:05 PM
 To: mason-users@lists.sourceforge.net
 Subject: [Mason] I need help please
 
 I have this form in a Mason component form 
 
input type=checkbox name=b_32 value=32_bit checked   32-bit
input type=checkbox name=b_64 value=64_bit64-bit br
nombre input type=text  name=text  br
 input  type='submit'  value=ok /form
 
 I dont know how get the values in Mason
 
 image001.jpg
 
 --
  Virtualization  Cloud Management Using Capacity Planning 
 Cloud computing makes use of virtualization - but cloud computing also 
 focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/__
 _
 Mason-users mailing list
 Mason-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mason-users
 
 Mit freundlichen Grüßen
 Rolf Schaufelberger
 
 
 
 
 
 
 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Mason-users mailing list
 Mason-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mason-users


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help please

2012-03-03 Thread Paul Harrison
My bad. I meant args.

-Original Message-
From: Nic Wolff [mailto:n...@angel.net] 
Sent: Saturday, March 03, 2012 8:53 PM
To: mason-users@lists.sourceforge.net
Subject: Re: [Mason] I need help please

No, those are attributes, which don't take sigils but can't be called like
variables. I think you meant to use args, like this:

%args
  b_32 = 'default value'
  b_64 = ‘default value’
/%args

print $b_32;
print $b_64;

as documented under
http://www.masonhq.com/docs/manual/Devel.html#accessing_parameters


On 3 Mar 2012, at 9:28 PM, Paul Harrison wrote:
 The documentation is missing the $
 
 http://www.masonhq.com/docs/manual/Devel.html#__attr_
 
 
 -Original Message-
 From: Rolf Schaufelberger [mailto:r...@plusw.de]
 Sent: Saturday, March 03, 2012 4:12 PM
 To: Paul Harrison
 Cc: 'Eugenio Duran Aroche'; mason-users@lists.sourceforge.net
 Subject: Re: [Mason] I need help please
 
 
 $ missing :
 
  %attr
$b_32 = 'default value'
$b_64 = ‘default value’
  /%attr
 
 Am 03.03.2012 um 20:21 schrieb Paul Harrison:
 
  %attr
b_32 = 'default value'
b_64 = ‘default value’
  /%attr
 
 
 print $b_32;
 print $b_64;
 
 
 From: Eugenio Duran Aroche [mailto:edu...@estudiantes.uci.cu]
 Sent: Saturday, March 03, 2012 12:05 PM
 To: mason-users@lists.sourceforge.net
 Subject: [Mason] I need help please
 
 I have this form in a Mason component form 
 
input type=checkbox name=b_32 value=32_bit checked   32-bit
input type=checkbox name=b_64 value=64_bit64-bit br
nombre input type=text  name=text  br
 input  type='submit'  value=ok /form
 
 I dont know how get the values in Mason
 
 image001.jpg
 
 -
 -
  Virtualization  Cloud Management Using Capacity Planning 
 Cloud computing makes use of virtualization - but cloud computing 
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/_
 _
 _
 Mason-users mailing list
 Mason-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mason-users
 
 Mit freundlichen Grüßen
 Rolf Schaufelberger
 
 
 
 
 
 
 --
  Virtualization  Cloud Management Using Capacity Planning 
 Cloud computing makes use of virtualization - but cloud computing also 
 focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Mason-users mailing list
 Mason-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mason-users



--
Virtualization  Cloud Management Using Capacity Planning Cloud computing
makes use of virtualization - but cloud computing also focuses on allowing
computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users


Re: [Mason] I need help please

2012-03-03 Thread Nic Wolff
And then I also left the sigils off the args, sorry! At this point Eugenio I 
hope you're not totally confused; it should be:

%args
  $b_32 = 'default value'
  $b_64 = ‘default value’
/%args

print $b_32;
print $b_64;

On 3 Mar 2012, at 11:12 PM, Paul Harrison wrote:
 My bad. I meant args.
 
 -Original Message-
 From: Nic Wolff [mailto:n...@angel.net] 
 Sent: Saturday, March 03, 2012 8:53 PM
 To: mason-users@lists.sourceforge.net
 Subject: Re: [Mason] I need help please
 
 No, those are attributes, which don't take sigils but can't be called like
 variables. I think you meant to use args, like this:
 
 %args
  b_32 = 'default value'
  b_64 = ‘default value’
 /%args
 
 print $b_32;
 print $b_64;
 
 as documented under
 http://www.masonhq.com/docs/manual/Devel.html#accessing_parameters
 
 
 On 3 Mar 2012, at 9:28 PM, Paul Harrison wrote:
 The documentation is missing the $
 
 http://www.masonhq.com/docs/manual/Devel.html#__attr_
 
 
 -Original Message-
 From: Rolf Schaufelberger [mailto:r...@plusw.de]
 Sent: Saturday, March 03, 2012 4:12 PM
 To: Paul Harrison
 Cc: 'Eugenio Duran Aroche'; mason-users@lists.sourceforge.net
 Subject: Re: [Mason] I need help please
 
 
 $ missing :
 
 %attr
   $b_32 = 'default value'
   $b_64 = ‘default value’
 /%attr
 
 Am 03.03.2012 um 20:21 schrieb Paul Harrison:
 
 %attr
   b_32 = 'default value'
   b_64 = ‘default value’
 /%attr
 
 
 print $b_32;
 print $b_64;
 
 
 From: Duran Aroche [mailto:edu...@estudiantes.uci.cu]
 Sent: Saturday, March 03, 2012 12:05 PM
 To: mason-users@lists.sourceforge.net
 Subject: [Mason] I need help please
 
 I have this form in a Mason component form 
 
   input type=checkbox name=b_32 value=32_bit checked   32-bit
   input type=checkbox name=b_64 value=64_bit64-bit br
   nombre input type=text  name=text  br
input  type='submit'  value=ok /form
 
 I dont know how get the values in Mason


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users