Re: I need help please

Nic Wolff <[email protected]>
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
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:[email protected]] 
> Sent: Saturday, March 03, 2012 8:53 PM
> To: [email protected]
> 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:[email protected]]
>> Sent: Saturday, March 03, 2012 4:12 PM
>> To: Paul Harrison
>> Cc: 'Eugenio Duran Aroche'; [email protected]
>> 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:[email protected]]
>>> Sent: Saturday, March 03, 2012 12:05 PM
>>> To: [email protected]
>>> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.