Passing n of Parameters in rhodes

閲覧: 70 回
最初の未読メッセージにスキップ

Poornima

未読、
2010/02/22 8:12:542010/02/22
To: rhomobile
Hi,

I tried to pass n number of parameters like

<%=link_to "Add another task", :action => :new, :controller =>
"Task", :id => @list.object, :list_id => @list.list_id, :task_id =>
@list.task_id %>

but its failing when i check
puts @params it displays {} , whether passing multiple parameters wont
work or any mistake i had done.
please guide me with what to do.


C.Poornima.


Dmitry Moskalchuk

未読、
2010/02/22 9:18:222010/02/22
To: rhom...@googlegroups.com
Hi,

Which rhodes version you are using? And mobile platform?


Dmitry Moskalchuk

22.02.2010, в 16:12, Poornima написал(а):

> --
> You received this message because you are subscribed to the Google
> Groups "rhomobile" group.
> To post to this group, send email to rhom...@googlegroups.com.
> To unsubscribe from this group, send email to rhomobile+...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en
> .
>

Adam Blum

未読、
2010/02/22 9:34:452010/02/22
To: rhom...@googlegroups.com、rhom...@googlegroups.com
Poornima,

Your debug statement should be

puts @params.inspect.to_s

Sent from my iPhone

On Feb 22, 2010, at 6:18 AM, Dmitry Moskalchuk <cry...@gmail.com>
wrote:

Brian Moore

未読、
2010/02/22 20:19:172010/02/22
To: rhom...@googlegroups.com
Passing parameters other than supported options is passed in as a separate hash as follows:

<%=link_to "Add another task", :action => :new, :controller => "Task", :id => @list.object , :query => { :list_id => @list.list_id, :task_id => @list.task_id } %>


Brian

Poornima

未読、
2010/02/22 23:59:562010/02/22
To: rhomobile
Thanks now its working.....

C.Poornima

全員に返信
投稿者に返信
転送
新着メール 0 件