fanz
June 3, 2007, 7:28pm
1
Hi,all!
I want to assemble a html page and put it into flash and redirect to
another controller ,for example:
flash[:aaa]=“
hi
”
but what I need is to assemble some more complicate html page,so I
want to read the render result of a template before to send it to
browser.
Any thought?
Thanks in advance
fanz
June 3, 2007, 8:21pm
2
chanses you going wrong directions.
passing html through session seems unnatural
what are you trying to accomplish?
fanz
June 4, 2007, 1:56am
3
On Jun 4, 2:21 am, liquidautumn [email protected] wrote:
chanses you going wrong directions.
passing html through session seems unnatural
what are you trying to accomplish?
I’m trying to redirect a urlA to urlB but finally response with the
urlA content,like this:
request urlA: domain.com/controller/action/
redirect to urlB:domain.com/#controller /action/
so then I can change the urlB as I want by js without refresh the
page,and urlA is just for search engine
fanz
June 4, 2007, 1:57am
4
On Jun 4, 2:21 am, liquidautumn [email protected] wrote:
chanses you going wrong directions.
passing html through session seems unnatural
what are you trying to accomplish?
I’m trying to redirect a urlA to urlB but finally response with the
urlA content,like this:
request urlA: domain.com/controller/action/
redirect to urlB:domain.com/#controller /action/
so then I can change the urlB as I want by js without refresh the
page,and urlA is just for search engine
fanz
June 4, 2007, 2:36am
5
I found the right way now:
I can use render in the urlB place to render the urlA template
fanz
June 4, 2007, 2:20am
6
On Jun 4, 2:21 am, liquidautumn [email protected] wrote:
chanses you going wrong directions.
passing html through session seems unnatural
what are you trying to accomplish?
I’m trying to redirect a urlA to urlB but finally response with the
urlA content,like this:
request urlA: domain.com/controller/action/
redirect to urlB:domain.com/#controller /action/
so then I can change the urlB as I want by js without refresh the
page,and urlA is just for search engine