GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
Return to certain page of zone répetée
Return to certain page of zone répetée
Iniciado por Stijnv, fev., 01 2005 11:19 AM - 2 respostas
Conecte-se…
Stijnv
#1
Publicado em fevereiro, 01 2005 - 11:19 AM
Hello,
I have a Zone Répétée with a button to go to a detailpage of the selected row. In the ZR there is a hidden field with the ID and an attribute ATTid. When a users clicks the button the detailpage is opened with a parameter (pageaffiche(Detailpage, ATTid)). This works perfect. But now i would like the have a link on my detail-page to return to the ZR-page and on the correct page of the ZR(-réglette) (!). So i tried it like this: remember the id when the detailbutton is clicked, set the "rubrique mémorisée" of the ZR to the ID and on return to the page i just have to do this <name ZR> = rememberedID. I found out that this part would work also, but now when you click the detail-button it is impossible to find the right ATTid. When there is no "rubrique mémorisée" filled in, the right ATTid is passed on to parameter.
Is there no possibility to remember the state of the "réglette" for example, or another way to position the ZR?
Thanks!
Denunciar
0
0
Olivier Priser
#2
Publicado em fevereiro, 01 2005 - 11:36 AM
Stijnv has written :
Hello,
I have a Zone Répétée with a button to go to a detailpage of the selected
row. In the ZR there is a hidden field with the ID and an attribute ATTid.
When a users clicks the button the detailpage is opened with a parameter
(pageaffiche(Detailpage, ATTid)). This works perfect. But now i would like
the have a link on my detail-page to return to the ZR-page and on the
correct page of the ZR(-réglette) (!). So i tried it like this: remember
the id when the detailbutton is clicked, set the "rubrique mémorisée" of
the ZR to the ID and on return to the page i just have to do this <name
ZR> = rememberedID. I found out that this part would work also, but now
when you click the detail-button it is impossible to find the right ATTid.
When there is no "rubrique mémorisée" filled in, the right ATTid is passed
on to parameter.
Is there no possibility to remember the state of the "réglette" for
example, or another way to position the ZR?
Thanks!
Hello,
have you tried to simply callback the page via PageRefresh(NameOfYourPage)
in server code ??
It should just do what you want I think.
Have a nice day,
Olivier
Denunciar
0
0
Stijnv
#3
Publicado em fevereiro, 01 2005 - 12:16 PM
simple and effective!
thanks a lot!
It is not exactly what I want but it is good enough, i have wasted too much time on this already.
It is actually like this: in the detail-page I also have two links to go to the previous detail-page and the next detail-page. So if a users works with these links he could end up at the detailpage of an item that is in another page in the ZR. If he than clicks the link to return to the ZR-page, the ZR should be positionned at the correct page (with the item last detailed). If somebody knows how to do this...
thx
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
WEBDEV (versões anteriores)
WINDEV Mobile (versões anteriores)
Reports & Queries
Off-topic
Ferramentas
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto