how to maintain the relation between tabs opened in a WPF Application - wpf

we have a wpf application..in the Home page we have Work,Help,Approve
Search tabs..
When user clicks on the Approve tab and selects a student..if student is
not qualified then ApproveStudent option is enabled,when clicks StudentApprove
screen opens in a newtab and there the user can approve the student.
In the StudentApprove screen there Approve and Disqualify buttons, so when they
click the approve the student is approved once he is approved the StudentApprove
screen should close and take back to the screen from which he come i.e ApproveStudent screen
This is like Ribbonbar
Work,Approve,Search, Help
under these ..when they select any option..under these new tab opens, let say search has 3 options..
when selects Approve ..students list is displayed....when clicked on any student another screen is opened...when they click Approve button ..this tab should be closed and take back to Approve screen

I would use ItemsList and specify
[ViewSortHint("01")]
when you export your views.
Why do you need TabContainer if order is important?

Related

tealium button click track

I have an application page , where clicking on button "find product" , goes to search products page with a list of products mapped search criteria selected on previous page.
page 1. search criteria, "find product" button
page 2. products list matching search criteria
I would like to track "find product" click event. As soon as find product button clicked, user will be navigated to page 2.
Not sure, if a page load is occurring on a button click, will I be able to capture and track button click event ?
I am thinking to use "utag.link" implementation for this.
May be I am wrong, any suggestions helpful.
-Thanks.
You could add the utag.link event on the mousedown interaction to give you a few milliseconds head start on the tracking.

make a label editable with click event in angularjs

Lets take the following scenario:
The user enter value by several control items, like , textbox, listbox, combobox, radio button.
The user press the submit button and all the values entered by the user sent to the server.
The admin can view the details submitted by the user, and edit them if required.
Now while editing the user input by admin with click event, is it possible bring back the same type of controls(textbox/combo-box/radiobutton, etc.) when the user used to enter its input for the first time ?

Portal - New Tab Issue

I have a program capable of displaying two sets of portlet. One for the customer and one for employee. I have a link in the screen so that I could switch between the two. When the link is click, it will redirect into two different urls.
Employee - my_url/employee?language=en
Customer - my_url/customer?language=en
My problem is, when I am in the screen for customer, then I click the employee link it shows perfect. But when I open a new tab in the browser then type my_url, it always shows the customer screen. The desire behavior is it should display the employee screen since it is the screen in my previous tab.
Thanks in advance.

Oracle ADF : Tabbed Pane - Showing always first tab when redirected to it

we are developing a web application using Oracle ADF. In this we have a page with tabbedpane as show below
In the above picture we have two tabs Account Payable and Accounts Receivable. Each tab is having green and red image(this is a commandImage). When user clicks any image means red or green he will be navigated to another page. In that page we have provided another button called Back. This tabbedpane and another page(second page) are .jsff and We dropped it as a region. Our problem is when user clicks back button in another page it is always showing first tab even though he clicked a button in second tab.
So we need to achieve the following.
If user clicks red or green image in first tab and when he clicks back button he has to be redirected to first tab.
If user clicks red or green image in second tab and when he clicks back button he has to be redirected to second tab.
How do we achieve this. Please help. Thanks in advance.
Presuming you are having backing bean on Session scope - myBean :
<af:panelTabbed id="pt1">
<af:showDetailItem disclosureListener="#{myBean.tabSelected}" text="Accounts Payable" disclosed="#{myBean.selectedTab == "sdi1"}" id="sdi1"/>
<af:showDetailItem #{myBean.tabSelected} text="Accounts Receivable" disclosed="#{myBean.selectedTab == "sdi2"}" id="sdi2"/>
</af:panelTabbed>
And you bean should look have :
public MyBean {
private String tabSelected; //make sure you add getter and setter too!!!
public void tabSelected(DisclosureEvent disclosureEvent) {
if (disclosureEvent.isExpanded()) {
UIComponent uiComp = (UIComponent)disclosureEvent.getSource();
tabSelected = uiComp.getId();
}
}
}
Your backing bean can have pageFlowScope as well, if both pages are part of the same bounded task flow.
More details, here:
https://docs.oracle.com/middleware/1212/adf/TROAF/tagdoc/af_showDetailItem.html
http://adfhowto.blogspot.co.uk/2011/05/when-disclosurelistener-of-paneltabbeds.html

drupal 7 disable nolink menu item with hook

I user Drupal 7 with superfish.
I use one menu for logged and annonymus users.
Superfish not show link to annonymus user if the page has logged in role.
But the parent menu item has any.
So drupal show 4 nolink menu item and no children for annonymus users.
How can i disable programicaly the 4 menu item when user is not logged in?
I think about hook_menu_alter, but i don't know the url for nolink menu item.
with Menu per role modul i can show/hide menu item / role,
http://drupal.org/project/menu_per_role
It worked but they said the is not final verzion.

Resources