Tree view for the menu
Hi
I am trying to provide a tree view for a list of menu. When i was exploring, I came to know about a tag which uses as below.
<%@ taglib uri="http://java.sun.com/jsf/demo/components" prefix="d" %>What jar file should I include in my lib? Is it possible to have tree menu with that? please let me know.
Thanks for your response. Yes when i saw the web site, I am close to what I want. But I couldn't find many examples to proceed further. May be a silly question. I jsut copied the following code into my test.jsp file and when I run a file, I get a blank page.
<risb:menuBar width="473px">
<risb:menuItem id="jsfsites" value="JSF Sites">
<risb:menuItem value="JSF RI Homepage" url="https://javaserverfaces.dev.java.net" />
<risb:menuItem value="Glassfish" url="https://glassfish.dev.java.net" />
<risb:menuItem id="subprojects" value="Sub Projects">
<risb:menuItem value="JSFTemplating" url="https://jsftemplating.dev.java.net" />
<risb:menuItem value="Facelets" url="https://facelets.dev.java.net" />
</risb:menuItem>
</risb:menuItem>
<risb:menuItem id="devblogs" value="Developer Blogs">
<risb:menuItem value="Ed Burns' Blog" url="http://weblogs.java.net/blog/edburns/" />
<risb:menuItem value="Roger Kitain's Blog" url="http://weblogs.java.net/blog/rogerk/" />
<risb:menuItem value="Ryan Lubke's Blog" url="http://blogs.sun.com/rlubke/" />
<risb:menuItem value="Jacob Hookom's Blog #1" url="http://weblogs.java.net/blog/jhook/" />
<risb:menuItem value="Jacob Hookom's Blog #2" url="http://hookom.blogspot.com" />
<risb:menuItem value="Jason Lee's Blog" url="http://blogs.steeplesoft.com/javaserver-faces" />
</risb:menuItem>
</risb:menuBar> When i view the page source, I see it as below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:b="http://bethanyefree.org/jsf/facelets"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:jdt="http://www.jenia.org/jsf/dataTools"
xmlns:s="http://myfaces.apache.org/sandbox"
xmlns:jsfcomp="http://sf.net.jsfcomp.validator">
<risb:tree id="foo">
<risb:treeNode>
<f:facet name="label"><h:outputText value="Test 1"/></f:facet>
<risb:treeNode>
<f:facet name="label"><h:outputText value="Test 1-1"/></f:facet>
<risb:treeNode>
<f:facet name="label"><h:outputText value="Test 1-1-1"/></f:facet>
</risb:treeNode>
<risb:treeNode>
<f:facet name="label"><h:outputText value="Test 1-1-2"/></f:facet>
</risb:treeNode>
<risb:treeNode>
<f:facet name="label"><h:outputText value="A test with one of these: '"/></f:facet>
</risb:treeNode>
</risb:treeNode>
</risb:treeNode>
<risb:treeNode>
<f:facet name="label"><h:outputText value="Test 2"/></f:facet>
<risb:treeNode>
<f:facet name="label">
<h:outputLink value="http://blogs.steeplesoft.com">
<h:graphicImage id="image" url="/download.jpg" />
</h:outputLink>
</f:facet>
</risb:treeNode>
</risb:treeNode>
</risb:tree>I must be missing some jar files and some including some tag directory. Could you please tell me whether I am going in a correct direction. Thnaks.
Similar Messages
-
"I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it." Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns. Trouble is, I can't find a Musi Folder or icon in my user library.
Any help would be appreiated. OSX 10.9.2 iTunes version 11.1.5 Thanks!!! CW!From the iTunes menu bar try View>Show View Options. Make sure what you want to see is checked and what you don't is unchecked. You can do this (may need to do this) for any playlists, your main Library, etc.
Good luck
srb -
Image viewer overlaps the menu
Hi,
Please need some help with an imageviewer. I'm using a jquery.slidingGallery-1.2.min on my homepage:
www.rusteloos.com
I've placed this viewer in a cell. But when the window is made smaller the viewer overlaps the menu. How do I make sure the viewer stays in the bounderies of the cell and avoid the overlap?
In the head I've placed the script code for the viewer
<script language="javascript" type="text/javascript" src="scripts/jquery-1.3.2.min.js"></script>
<script language="javascript" type="text/javascript" src="scripts/jquery.slidingGallery-1.2.min.js"></script>
<script language="javascript" type="text/javascript">
$(function() {
$('div.gallery img').slidingGallery();
</script>
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666666;
body {
background-color: #666666;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
.style4 {font-size: 16px; font-family: Arial, Helvetica, sans-serif; color: #666666;}
.style5 {font-size: 12px}
a:link {
color: #666666;
#gallery {
width:1024px;
div.gallery{
width:1024px;
div.gallery img
border: solid 1px white;
width:1024px;
</style></head>
And in the body (cell) I've placed the code
<td height="385" align="center" valign="top"><table width="100%" height="385" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th scope="col"><div class="gallery">
<img src="images/1.jpg" layout="landscape"/>
<img src="images/2.jpg" layout="portrait" />
<img src="images/3.jpg" layout="portrait" />
<img src="images/4.jpg" class="start" layout="landscape" />
<img src="images/5.jpg" layout="portrait" />
<img src="images/6.jpg" layout="landscape"/>
<img src="images/7.jpg" layout="landscape"/>
<img src="images/8.jpg" layout="landscape"/>
<img src="images/9.jpg" layout="landscape" />
<img src="images/10.jpg" layout="landscape"/>
<img src="images/11.jpg" />
<img src="images/12.jpg" layout="landscape"/>
<img src="images/13.jpg" />
<img src="images/14.jpg" layout="landscape" />
<img src="images/15.jpg" layout="landscape" />
<img src="images/16.jpg" layout="landscape" />
<img src="images/17.jpg" layout="landscape" />
<img src="images/18.jpg" layout="landscape"/>
<img src="images/19.jpg" layout="landscape" />
<img src="images/20.jpg" layout="landscape" />
<img src="images/21.jpg" layout="landscape" />
<img src="images/22.jpg" layout="landscape" />
<img src="images/23.jpg" layout="landscape" />
<img src="images/24.jpg" layout="landscape" />
<img src="images/25.jpg" layout="landscape" />
<img src="images/26.jpg" layout="landscape" />
<img src="images/27.jpg" layout="landscape" />
<img src="images/28.jpg" />
<img src="images/29.jpg" layout="landscape" />
<img src="images/30.jpg" layout="landscape" />
<img src="images/31.jpg" />
<img src="images/32.jpg" layout="landscape"/>
<img src="images/33.jpg" layout="landscape" />
</div>
</th>
</tr>
</table>
</td>That page has a serious error in that the entire document falls within the style tag of the header since it never actually closed (the <!- - right after the start of the style doesn't end - - >). I don't see a way of doing this with tables because the solution I would suggest is using min-width on the container of your gallery so that it never shrinks below a specified amount of pixels. However, as far as I know this attribute does not work on tables.
http://www.w3schools.com/CSS/pr_dim_min-width.asp -
How to have a tree view for value node..
Hi all,
I need to display a tree view for a value node in web ui just like a model node, for a custom view in a pop up. Please guide me how to do this or let me know the process steps.
Thanks in advance.Hi All,
while debugging I found that in class CL_BSP_WD_CONTEXT_NODE_TREE , the method GET_T_TABLE the below code is not triigerring for the child node attributes ( to trigger the get method of attribute for value node).
this call method is not triggering at all only for first coulmn its triggering ..
LV_TN ?= ME->NODE_MAPPER->GET_NODE_OBJECT( <LINE>-NODE_KEY ).
CONCATENATE 'GET_' COMPONENT INTO LV_METHOD.
TRY.
CALL METHOD LV_TN->(LV_METHOD)
EXPORTING
ATTRIBUTE_PATH = ''
RECEIVING
VALUE = VALUE.
CATCH CX_ROOT INTO LV_ERROR.
I created the GETTER method inthe class CN01 and CN02. But those methods are not triggered in CALL METHOD LV_TN->(LV_METHOD). Even that class CN02 is having the same methods. Those methods are already Implemented. May I know what was the reason Why those methods are not triggered ( getter method ). With out that Method data will not display in the Tree view. Can anybody tell me the reason why it is not happenning?
.Please find the below .HTM code as well.
<chtmlb:configTree
actionsMaxInRow = "5"
id = "Table1"
nodeTable = "<%= ZTREEVIEW->node_tab %>"
table = "//ZTREEVIEW/Table"
noFrame = "FALSE"
personalizable = "TRUE"
onCollapseNode = "NODECOLLAPSE"
selectionMode = "MULTILINEEDIT"
onExpandNode = "NODEEXPAND"
onRowSelection = "select" />
Only one column was triggered another column did not get any value becasue of the above method call fail.. We are not restricted anywhere to display one column value in the output. Even in Debugging I checked that LV_METHOD is having the method name. CN02 class is also having the same method, But it is not going into the method. It is coming out side. What could be the reason I could not able to understnad.
Please provide me some pointers on the issue....
Thanks in advance.. -
Hello,
I am currently trying to figure out how I can add acustom tree view for attachments to the account overview page. Per defualt it has the standard list for attachments, but I need to replace that with a component where I can "fake" the attachments that are displayed, and which comes in tree view mode as default. The last I think will be pretty easy, but during debugging, I have not yet figured out how the component GS_CM gets its data, so that I can modify it or feed it new data (to documents that do exist in the system, but have no direct link to the account).
Anybody with any knowledge of this? Thanks!
ThomasHello,
I am currently trying to figure out how I can add acustom tree view for attachments to the account overview page. Per defualt it has the standard list for attachments, but I need to replace that with a component where I can "fake" the attachments that are displayed, and which comes in tree view mode as default. The last I think will be pretty easy, but during debugging, I have not yet figured out how the component GS_CM gets its data, so that I can modify it or feed it new data (to documents that do exist in the system, but have no direct link to the account).
Anybody with any knowledge of this? Thanks!
Thomas -
Create a defaut view for the MS Project Server 2010 client
Dear Forum,
how can I create a defaut view for the MS Project Server 2010 client?
I saved a template and set a default view under File -> Options ->Project View. I also did the same in the checked-out enterprise global. If I then close the client and re-open it my default view changes back again to the previous one (not the view
I set as a default view).
What explains this behaviour and what can I do? Any hints?
Thank you very much for your help!Scheduler007 --
The view you selected by clicking File > Options > Project View is the default view for every new project you create from a blank project template. This is a global option, so setting it from the checked out Enterprise Global file serves no purpose.
When you select a view as your default view, you will see that view applied to the blank project that is opened when you launch Microsoft Project 2010, and you will see it applied if you create new blank projects. If you create enterprise templates for
people to use in your organization, you should simply apply the view to the template that you want as the default so that users will see this view immediately when they create a new project from the template. In addition, if you apply a view to an open
project, close and check in the project, and then reopen the project, you will see the last view applied in that project (as Guillaume correctly points out).
Beyond this, there is no method possible for the Project Server administrator to specify a default view for the Microsoft Project application used by the project managers in your organization. This is an option each PM must set. Hope this helps.
Dale A. Howard [MVP] -
Tcode PFAL there is no model view for the distribution of HR Data.
Hi friends ,
i am facing new problem,i want to send iDOC to other system.
previeous its working fine.
but to day when i open tcode PFAL.
it give me Error:"There is no model view for the distribution of HR master data"
what is the solution for that.
i want to send HR Data.
its urgent please give me any solution ithat will help me alot.
thanks in advanceThere is already Distributed Model Created.
can u give me annother tcode so i can send Metarial data, by IDOC.
please help me.
Thanks -
My iMovie 11 movie has clips that have some extracted audio that I would like to use for the menu music in iDVD 11. Does anyone know how to do this? Copy and paste does not seem to work.
I would use Quicktime Pro.
See: QuickTime Pro: How to Extract or Disable Tracks at http://docs.info.apple.com/article.html?artnum=42596 and QuickTime Player 7 Help - Extracting, Adding, and Moving Tracks at http://docs.info.apple.com/article.html?path=QuickTime%20Player/7/en/c3qt6.html
To get Quicktime 7.6.6 for Snow Leopard see: QuickTime Player 7.6.6 for Mac OS X v10.6.3 at http://support.apple.com/kb/DL923 (Quicktime 7.6.6 is the latest version.)
To upgrade to Quicktime Pro see: QuickTime Player 7 Help - Getting QuickTime Pro at http://docs.info.apple.com/article.html?path=QuickTime%20Player/7/en/c2qt.html -
How do you change the view for the timeline in a movie
not sure in new version how to do it
Not sure what you mean by the "view" for the timeline.
You can choose View>Wrapping Timeline to wrap the timeline.
Double cliccking a clip in the timeline will open the Clip Trimmer for precise work.
Matt -
What font is used for the menu of Illustrator CS5?
What font is used for the menu of Illustrator CS5?
I know how to change the default font, which is used to input characters.
But, I do not know how to check the font used in the menu.
Is it the font that is described in the following files?
C:\Users\[UserName]\AppData\Roaming\Adobe\Adobe Illustrator CS5 Settings\ja_JP\AIPrefs
If you know, please tell me how to check the configuration file and how to change the font that is used in the menu.If your using windows xp and applied the 12.02 update, then this is a known bug in
the update effecting xp users and adobe is working on a fix.
see this thread
http://forums.adobe.com/thread/762392?tstart=30
MTSTUNER -
To set the short cut key for the menu when using CommandDesign pattern
Hi All
I have a menu File which has two menu items Load and save.
Here for implementing the actionperformed iam using the command design pattern.
Now iam not able to set the short cut key for the menu item......
Please help me..............
Thanks
ArchThe Java Tutorials: [How to Use Menus|http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html]
db -
TabletPC Windows Journal viewer for the mac
I use a tabletpc at work, and have several documents that I have created using the TabletPC Journal application. I have not been able to find a Journal Viewer for the Mac. Does anyone know of a .JNT viewer for the mac?
I tried that previously and was not able to find a windows journal or jnt viewer,but thanks for the suggestion.
-
Creating classification view for the material
hi friends,
i need to create a material with various views (as in MM03) based on the material type.
i am using BAPI_MATERIAL_SAVEDATA for it.
i am able to create almost all the views except the the classification view for the material.
can anyone help me with code (i need to write) to create a classification view for the material?
thanks in advance.Hi Karthik,
Select klart from AUSP into table t_ausp where OBJEK = wa_final-matnr.
LOOP AT t_ausp.
w_classtype = t_ausp-klart.
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
classtext = 'X'
classtype = w_classtype
language = sy-langu
object = w_object
objecttable = 'MARA'
* no_value_descript = w_no_value_descript
change_service_clf = 'X'
inherited_char = ' '
change_number = ' '
TABLES
t_class = t_class
t_objectdata = t_objectdata
i_sel_characteristic = i_sel_characteristic
t_no_auth_charact = t_no_auth_charact
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
IF sy-subrc <> 0.
ENDIF.
LOOP AT t_class WHERE class IN s_class.
CLEAR : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
t_lreturn.
REFRESH : t_allocvaluesnum,t_allocvalueschar,t_allocvaluescurr,
t_lreturn.
w_classnum = t_class-class.
* Getting the reference tables and values----------------
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = w_objectkey "Old reference Material
objecttable = 'MARA'
classnum = w_classnum
classtype = w_classtype
* unvaluated_chars = 'X'
TABLES
allocvaluesnum = t_allocvaluesnum
allocvalueschar = t_allocvalueschar
allocvaluescurr = t_allocvaluescurr
return = t_lreturn.
* Create with reference-----------------------
w_objectkeynew = wa_inputfile-to_matnr.
CALL FUNCTION 'BAPI_OBJCL_CREATE'
EXPORTING
objectkeynew = w_objectkeynew "New Material
objecttablenew = 'MARA'
classnumnew = w_classnum
classtypenew = w_classtype
TABLES
allocvaluesnum = t_allocvaluesnum
allocvalueschar = t_allocvalueschar
allocvaluescurr = t_allocvaluescurr
return = t_lreturn.
ENDLOOP.
ENDLOOP.
Prabhudas -
[Oracle Exports : Help] Public Views for the Design Environment
The Warehouse Builder provides a set of pre-built views for both the design and runtime environments.
http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28225/api_3designviews.htm#i696153
My questions -
1. How start this views ? Where I can find them ?
2. How can i seen what table uses this views ?My Replies?
1.) What do you mean by "start" them? You select from a view just as you would a table. If the view is there and you have permissions, it is available to you. As to where to find them, they are owned by either your repository owner or repository manager user - depending on how you have set things up. But any user registered as an OWB user will have synonyms pointing to the views for the repository to which it is registered.
So, when you have defined a source or target Oracle Schema and registered it as an OWB user, you can simply "select * from all_rt_audit_objects" or whatever else as that user when you want to get information from the views.
2) None of your user-defined tables use these views. These views are pre-packaged select statements against the tables in the OWB repository to make it simpler for you to extract information about your metadata, deployments, and executions of the objects you have created in a given repository. Using a tool like TOAD, Oracle SQL Developer, SQL*Navigator, or whatever other Oracle development tool you use, you should be able to get the source for these views if you want to understand how they are collecting data for you.
Cheers,
Mike -
Public Views for the Design Environment
Hi,
I want to select Information from the Public Views for the Design Environment. I need details from the mappings, but can not found the informations.
I can't found it in all_iv_xform_maps and all_iv_xform_map_components.
I build a mapping and user some Functions in the mapping (Transform Operators). Now I want to select the location Information of such an operator.
In detail I need:
1) Right Click on a mapping
2) click configure
3) collapse Transform Operators
3) collapse a function
4)I need the Information under Location.
Sometimes in my mappings there is "Unkown value" and I want to select from the Public Views for the Design Environment these entries.
Can some one help me?
Thanks
CarstenMy Replies?
1.) What do you mean by "start" them? You select from a view just as you would a table. If the view is there and you have permissions, it is available to you. As to where to find them, they are owned by either your repository owner or repository manager user - depending on how you have set things up. But any user registered as an OWB user will have synonyms pointing to the views for the repository to which it is registered.
So, when you have defined a source or target Oracle Schema and registered it as an OWB user, you can simply "select * from all_rt_audit_objects" or whatever else as that user when you want to get information from the views.
2) None of your user-defined tables use these views. These views are pre-packaged select statements against the tables in the OWB repository to make it simpler for you to extract information about your metadata, deployments, and executions of the objects you have created in a given repository. Using a tool like TOAD, Oracle SQL Developer, SQL*Navigator, or whatever other Oracle development tool you use, you should be able to get the source for these views if you want to understand how they are collecting data for you.
Cheers,
Mike
Maybe you are looking for
-
Hello, I am upgrading my wireless router from an Airport Express to an Airport Extreme. After disconnecting the Express and plugging the Extreme via ethernet cable to the modem, I am receiving a flashing amber light after connecting the power source
-
Prohibitory Sign in Pages document
Hello~ I created a table in Pages and somehow a gray prohibitory sign appeared in the table, on each page. I am unable to make any changes to the document now. Please help!
-
Safari Doesn't Recognize Symantec VIP Plugin
Our company uses Symantec VIP for authentication. I've just installed a fresh instance of Mac OS Mavericks and setting things up. I've tried to install the Symantec plugin, but Safari doesn't recognize it. It continually asks me to reinstall, but
-
BI Publisher scheduler error ,plz help me how to fix these kind of errors
BI publisher scheduler error while we schedule the report in BIP. Guide me what need to be done .... many of reports are running and failed everyday. Help me regarding the issue.. Thanks, Ram
-
Uploading my pics from Photoshop Elements 11
I am trying to order albums of the pics I took and edited in Photoshop Elements 11 at Walmart.com. I am not able to upload my pics from Photoshop but I am able to upload from my other pics and libraries on my computer. Is there a way to to upload t