Doxygen generates empty pages - treeview

I have a page in markdown format with subpages inside.
page.md
|
|_\subpage page1 Page1
|_\subpage page2
inside page1.md
\page page1 PAGE1
content
but when I generate the html output, it creates in the tree view, a empty page1 without content in the main branch of the tree. and another page1 in the correct place with content in the treeview.
How can I get rid of this empty page?

Related

How to add parameter URL while keep old param?

I'm using this for my page with pagination. But when I change page all of the old params I set removed.
<li class="page-item" th:unless="${page.number == i}"><a class="page-link" th:text="${i+1}"
th:href="${'?'+('&page='+i)
+(#request.getParameter('size')==null?'':('&size='+#request.getParameter('size')))
+(#request.getParameter('sortByPrice')==null?'':('&sortByPrice='+#request.getParameter('sortByPrice')))
}"></a>
</li>
Please help me!
The current page1 reads the parameters size and sortByPrice from request object which might have been coming on as URL query parameters or form elements. When you go to the next page these 2 parameters are not present on request object so the 2nd page2 is not getting them. On the current page1 as you read size and sortByPrice also write them on page1 as hidden form elements then page2 will see them. You can write them on the URL to be clicked to go to page2.

Using HtmlUnit how to click (form) a button that isnt a button

I often encounter buttons, particularly on login forms, that seem to be a series of nested divs with a span as the final element.
These are rarely part of a form, and I assume controlled by Jvascript.
Is there away to click on these buttons such that the effect of the button's action is achieved, e.g logging into the site and the new page returned?
I have tried waiting for the javascript to load after the page has loaded thus:
HtmlPage page = webClient.getPage(someUrl);
webClient.waitForBackgroundJavaScript(6000);
then clicking on the divs and the span and nothing happens.
I am using HtmlUnit 2.36 and I am aware there are some Javascript evalutations issues.
Usually you can do something similar to this
webClient.getOptions().setThrowExceptionOnScriptError(false);
HtmlPage page = webClient.getPage(someUrl);
webClient.waitForBackgroundJavaScript(6000);
// locate your clickable element
....
buttonLike.click();
// wait until the js has done the job
webClient.waitForBackgroundJavaScript(20000);
// now get the current page content based on the current window; using
// HtmlPage myPage = (HtmlPage) buttonLike.click();
// does not work in all cases because the page content might be
// async replaced by javascript
HtmlPage myPage = (HtmlPage) webClient.getCurrentWindow().getEnclosedPage();

From where #RenderBody() layout is calling in partial _Root.Head.cshtml in nopcommerce 4.00

In nopcommerce, when we start the project at that time in _ColumnOne partial view page RenderBody() layout is calling by _Root partial view page. After in _Root partial view page RenderBody() layout is calling by _Root.Head partial view page. Now, my question is that in _Root.Head where #RenderBody layout is been called?
Flow of nopcommerce flow of top, middle and footer layout of the website
_ViewStart => _Column1 => _Root => _Root.Head
In _ViewStart.cshtml partial page shows the path of _Column1.cshtml.
In _Column1.cshtml partial display the design between **main_column_before** and **main_column_after** and goes path to _Root.cshtml.
In _Root.cshtml shows the **top** and **footer** design of the website and forward to _Root.Head.cshtml.
In _Root.Head.cshtml shows the **middle layout** of the website.

Wix - open a page with argument?

I need to navigate to a new page, then call a specific function in that page.
In other words, open a page when a certain box is collasped/hidden etc.
Should I pass parameter from page1 to page 2 ? how ?
Can I call a function from page1 to page2 then navigate (using wix.location ) ?
So you can use wix-location to pass a queryParam to the page you're going to and then just run a code in the other page that reads from the URL.
Wix-location API
Hope this helps..

What are and how to use '#' in URLs

In my application I have a layout page for viewing the project:
This page have 4 sub-pages (Details, Photos, addresses and comments).
Example:
/myproject = Open the details page
/myproject/Photos = Open the Photos page
/myproject/Addresses = Opens the page addresses
/myproject/Comments = Open the page of comments
Question
How to use # to load pages via ajax to the URL?
Example
/myproject = Open the details page
/myproject#Photos = Open the Photos page
/myproject#Addresses = Opens the page addresses
/myproject#Comments = Open the page of comments
In page layout where I have four buttons, click on the photo for example, the page would be loaded via ajax. and url go
from /myproject
to /myproject#Photos
Resume
How to use '#' in asp.net MVC?
They are generally called URL fragments and are used as bookmarks on a page to navigate to different sections of that page. When clicked they will scroll down the currently loaded page to the matching tag name. I would recommend against using them as paths to different pages.
You can use them as bookmarks by specifying the fragment in the Htmlhelper:
#Html.ActionLink("My Photos", "Action", "Controller", null, null, "Photos", null, null)
Then in your Photos partial that represents the Photos sub-page, set the html id attribute to "Photos" in the div or label or whatever represents the beginning of the Photos partial. The link created with the #Html.ActionLink will look for a html element ID that matches the word you typed into the fragment.
See LinkExtensions.ActionLink Method for more details.
Sorry, brain fart there... You need everything client side...
I'd use the following jQuery plug-in to parse the URL fragment:
http://benalman.com/projects/jquery-urlinternal-plugin/
and then call MyDiv.Load('yourcontenthere') to load the content you'd like into the desired DIV.

Resources