Redirecionar outra página  XML
Índice dos Fóruns » Java Básico
Autor Mensagem
Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 671
Localização: São Bernardo do Campo - SP
Offline

Bem gostaria de saber qual a melhor maneira de redirecionar para outra página, estou usando ExtJS 3 e Struts, preciso que redirecinar para outra página automaticamente ao entrar no método sucess :


Pensei em fechar minha janela e abrir uma outra, gostaria de saber as melhores formas, desde já agradeço !

This message was edited 1 time. Last update was at 20/10/2010 09:02:39


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 671
Localização: São Bernardo do Campo - SP
Offline

Por enquanto usei um:



Se alguém tiver uma opção melhor desde já agradeço !

This message was edited 1 time. Last update was at 18/10/2010 18:59:49


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

wolmirGarbin
JavaChild
[Avatar]

Membro desde: 17/09/2009 20:27:21
Mensagens: 129
Offline

Beleza td bem!
Cara pode usar como esta usando sem problemas...
Ou poderia utilizar o redirecionamento via Struts no struts-config.xml...
Mas assim se funciona certinho mantém assim tranquilo...
Valeu!

Wolmir Garbin
http://wolmirgarbin.wordpress.com

Wolmir Cesar Garbin.

blog: http://wolmirgarbin.wordpress.com

"Não tentes ser bem sucedido, tenta antes ser um homem de valor, pois o sucesso virá por consequência."
Metaleiro
Virtual Machine Man
[Avatar]

Membro desde: 06/07/2006 10:55:54
Mensagens: 671
Localização: São Bernardo do Campo - SP
Offline

Agora estou com a seguinte dificuldade, usando ExtJS:

Estou tentando efetuar a passagem de parâmetros de uma página para outra da seguinte forma:


Só que não estou conseguindo recupar na outra página:


Alguém tem idéia ou maneiras melhores de fazer isso ocorrer ? desde já agradeço !


Verifiquei esta função :



Porém, estou tendo dificuldades em adaptar para o meu código, alguém saberia como utilizar ? desde já agradeço

This message was edited 3 times. Last update was at 20/10/2010 09:12:59


"Why, Mr. Anderson? Why do you do it? Why get up? Why keep fighting? Do you believe you're fighting for something? For more than your survival? Can you tell me what it is? Do you even know? Is it freedom? Or truth? Perhaps peace? Yes? No? Could it be for love? Illusions, Mr. Anderson. Vagaries of perception. The temporary constructs of a feeble human intellect trying desperately to justify an existence that is without meaning or purpose. And all of them as artificial as the Matrix itself, although only a human mind could invent something as insipid as love. You must be able to see it, Mr. Anderson. You must know it by now. You can?t win. It?s pointless to keep fighting. Why, Mr. Anderson? Why? Why do you persist?"

Neo :
-Because is my choice

 
Índice dos Fóruns » Java Básico
Ir para:   
Powered by JForum 2.1.8 © JForum Team