So I made a quickie internal path app .. but it doesn't behave how I expect
it to.

The 44 lines of code is here: http://ideone.com/i4npm

You can compile on ubuntu with: g++ -o main main.cpp  -l wtd -l wthttpd

And deploy with: ./main --docroot="." --http-address=0.0.0.0
--http-port=8000 -c wt_config.xml --deploy-path="/x"

It stores the internalpath history inside of the app instance and shows in
every time it changes.

So in chromium I navigate to http://localhost:8000/x

and click the link .. all is good, it shows the new path in the list and
navigates there in the browser.

But if I type something else into the address bar like:
http://localhost:8000/x/a

It recreates the app.

I have:       <reload-is-new-session>false</reload-is-new-session>

in the config. Which needs to be there, because my /login is handled by an
internal path and I want to include the 'logged in' state in the app.

Could someone please tell me what I'm doing wrong .. or is it a bug ?

Thanks heaps,
Matthew Sherborne
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to