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_bit"   > 64-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

Reply via email to