CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 return page with anchor does not work in editmode

Print topic Send  topic

Author Message
DonWolli


Posts: 93
Posted: 05/10/2013, 1:31 PM

i have quite large page which i divided with tabs (jquery easytab). these tabs use anchors to jump to the right place. when i edit a form and there is an error, ccs returns to the page WITHOUT respecting the tab,
e.g.
i edit on page.php#tab1
it should return to page.php#tab1?bewerbungID=10&ccsForm=bewerbungea%3AEdit
but it return to
page.php?bewerbungID=10&ccsForm=bewerbungea%3AEdit

how can i change this wrong behaviour?

sunny greetings
don
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
Lucius

Posts: 220
Posted: 05/10/2013, 3:51 PM

Does your page do a full refresh on error, or for example uses some ajax panel to refresh?
View profile  Send private message
DonWolli


Posts: 93
Posted: 05/11/2013, 8:16 AM

there is a full page refresh, no ajax
_________________
You may say I'm a dreamer, but I'm not the only one.(J.Lennon)
View profile  Send private message
Lucius

Posts: 220
Posted: 05/11/2013, 8:55 AM

OK, so most likely the anchor is stripped automatically. I don't know if it's possible to prevent such behavior.

I would check 3 solutions:

- on the grid - set "Convert URL to" property to absolute - just a guess, maybe this will add the initial anchor

- after processing on the grid (on After Excute Insert and After Execute Update events for example) I would construct redirect URL using Redirect global variable, that also contains current tab page

- if above with Redirect global var will not work (it sometimes doesn't), then again construct redirect URL, but echo it as a javascript script

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.