Re: I need help please

Nic Wolff <[email protected]>
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
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: Eugenio 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
>> 
>> <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
>> [email protected]
>> 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
> [email protected]
> 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/
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.