⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Sending information when showing read view

read view information route

  • Please log in to reply
1 reply to this topic

#1 colito4

colito4

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 08 November 2016 - 01:27 PM

Hi i am new with Grocery Crud and this is my first post.

 

I have a datatable showing information of a table.

When i press View  i pushed other route that has some .xhtml i like more for the user to see.

 

 

The problem is that this .xhtml needs the information of the row i am selecting in the Grocery Crud (the same that originally goes to example/read/1 ).

 

How should i pass this information? Which is the way ? I dont want to pass it through the URL because i already use this .xhtml in other places of my website.

 

 

The route i change it in routes.php and it works fine but of course i dont have information to show.

 

 

 

Can you help me?

Thanks in advance.

 



#2 colito4

colito4

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 08 November 2016 - 05:22 PM

I have already found a topic about this but with a better idea than mine. 

 

http://www.grocerycr...passing-values/

 

 

You can close this topic, thanks and sorry for the spam.







Also tagged with one or more of these keywords: read, view, information, route

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users