unexpected expectingg "jsp:param" standard action with "name" and "value" attribut

J2EE实践第三部分-创建一个完整的EJB-Web应用(JPA示例)_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
文档贡献者
评价文档:
&&¥2.00
喜欢此文档的还喜欢
J2EE实践第三部分-创建一个完整的EJB-Web应用(JPA示例)
2102142JE​E​实​践​第​三​部​分​-​创​建​一​个​完​整​的​E​J​B​-​W​e​b​应​用​(​J​P​A​示​例​)​
​
​JE​E​实​践​第​三​部​分​-​创​建​一​个​完​整​的​E​J​B​-​W​e​b​应​用​(​J​P​A​示​例​)​
​
​JE​E​实​践​第​三​部​分​-​创​建​一​个​完​整​的​E​J​B​-​W​e​b​应​用​(​J​P​A​示​例​)
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
大小:9.42KB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢Q525776 - DevExpress tree control not moving horizontally correctly by scrollbar | DevExpress Support Center
Current filter:
BEST VALUE
(includes all DevExpress .NET products in one integrated suite)
(includes all DevExpress .NET Controls along with CodeRush)
.NET Products
INDIVIDUAL PLATFORMS
FRAMEWORKS
CROSS-PLATFORM
ENTERPRISE TOOLS
CODE-DEBUG-REFACTOR
HTML JavaScript Products
HTML5 JS WIDGETS
Testing Tools
WEB TESTING
Delphi & C++Builder Products
DELPHI & C++BUILDER
Free Trials & Demos
(includes all DevExpress .NET products and free technical support)
.NET Product Demos
BY PLATFORMS
CROSS-PLATFORM
ENTERPRISE TOOLS
FRAMEWORKS
HTML Java Script Downloads
HTML5 JS WIDGETS
Testing Tools Downloads
WEB TESTING
Delphi & C++Builder Downloads
Need help or require more information?
Email us at
or call +1 (818) 844-3383 between 7:30AM and 4:30PM Pacific Time.
Support Center
Contact our
My Account
Need help or require more information?Email us at
or call +1 (818) 844-3383 between 7:30AM and 4:30PM Pacific Time.
Connect with DevExpress
Learn More about DevExpress
Support Center
Please see the attachment
It is difficult to provide a correct solution without additional information. Would you please describe your approach in greater detail? How do you define the TreeListControl? Alternatively, you can provide us with a sample demonstrating the approach. It will help me find a solution faster. I am looking forward to your response.
It is difficult to provide a solution describing the issue. My solution is pretty big, and I can not share with you. However I am sharing the XAML with you, it may help you find the root cause. If it does not, would you be able to give a simple solution of tree control and I can try beefing it up to produce the issue. I am using DevExpress binaries with version 12.2 and windows 2003 server and Visual Studio 2010
&UserControl x:Class=&My.MyTreeControl&
&&&&&&&&&&&&&xmlns=&/winfx/2006/xaml/presentation&
&&&&&&&&&&&&&xmlns:x=&/winfx/2006/xaml&
&&&&&&&&&&&&&xmlns:behav=&clr-mon.Bmon&
&&&&&&&&&&&&&xmlns:cont=&clr-mon.Cmon&
&&&&&&&&&&&&&xmlns:conv=&clr-mon.Cmon&
&&&&&&&&&&&&&xmlns:d=&/expression/blend/2008&
&&&&&&&&&&&&&xmlns:dx=&/winfx/2008/xaml/core&
&&&&&&&&&&&&&xmlns:dxb=&/winfx/2008/xaml/bars&
&&&&&&&&&&&&&xmlns:dxe=&/winfx/2008/xaml/editors&
&&&&&&&&&&&&&xmlns:dxg=&/winfx/2008/xaml/grid&
&&&&&&&&&&&&&xmlns:i=&/expression/2010/interactivity&
&&&&&&&&&&&&&xmlns:local=&clr-namespace:My&
&&&&&&&&&&&&&xmlns:mc=&http://schemas.openxmlformats.org/markup-compatibility/2006&
&&&&&&&&&&&&&xmlns:MyModel=&clr-namespace:MyModels.Sassembly=MyModels&
&&&&&&&&&&&&&xmlns:MyParamModel=&clr-namespace:MyModels.Passembly=MyModels&
&&&&&&&&&&&&&xmlns:System=&clr-namespace:Sassembly=mscorlib&
&&&&&&&&&&&&&xmlns:vm=&clr-namespace:My.ViewModels&
&&&&&&&&&&&&&d:DesignHeight=&300&
&&&&&&&&&&&&&d:DesignWidth=&554&
&&&&&&&&&&&&&KeyUp=&UserControl_KeyUp&
&&&&&&&&&&&&&mc:Ignorable=&d&&
&&&&&UserControl.Resources&
&&&&&&&&&BitmapImage x:Key=&FolderOpenIcon& UriSource=&..\Images\Icons\My\Folder-Open.png& /&
&&&&&&&&&BitmapImage x:Key=&FolderClosedIcon& UriSource=&..\Images\Icons\My\Folder-Closed.png& /&
&&&&&&&&&BitmapImage x:Key=&ParamIcon& UriSource=&..\Images\Icons\My\ParamYellow.png& /&
&&&&&&&&&BitmapImage x:Key=&FlaggingIcon& UriSource=&..\Images\Icons\My\GreenFlag.png& /&
&&&&&&&&&BitmapImage x:Key=&AllOptionsIcon& UriSource=&..\Images\Icons\My\AllOptions2.png& /&
&&&&&&&&&BitmapImage x:Key=&BadParamIcon& UriSource=&..\Images\Icons\My\RM_Delete.png& /&
&&&&&&&&&BitmapImage x:Key=&AggParamIcon& UriSource=&..\Images\Icons\My\ParamRed.png& /&
&&&&&&&&&BitmapImage x:Key=&UserParamIcon& UriSource=&..\Images\Icons\My\ParamGreen.png& /&
&&&&&&&&&local:ParamTypeToUserConverter x:Key=&ParamTypeToUserConverter& /&
&&&&&&&&&conv:EnumToBooleanConverter x:Key=&TreeModeConverter& /&
&&&&&&&&&conv:BooleanToVisibilityConverter x:Key=&BooleanToVisibilityConverter&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Collapse=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Reverse=&False& /&
&&&&&&&&&conv:BooleanToVisibilityConverter x:Key=&BooleanToVisibilityConverterReverse&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Collapse=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Reverse=&True& /&
&&&&&&&&&System:Boolean x:Key=&IsFav&&True&/System:Boolean&
&&&&&/UserControl.Resources&
&&&&&dxb:BarManager Name=&barManager1&
&&&&&&&&&&&&&&&&&&&&Margin=&0&
&&&&&&&&&&&&&&&&&&&&CreateStandardLayout=&True&
&&&&&&&&&&&&&&&&&&&&DataContext=&{Binding}&&
&&&&&&&&&Grid&
&&&&&&&&&&&&&dxg:TreeListControl Name=&TreeData&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Width=&Auto&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Height=&Auto&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&HorizontalAlignment=&Stretch&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&VerticalAlignment=&Stretch&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AllowDrop=&{Binding Mode,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Converter={StaticResource TreeModeConverter},
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ConverterParameter=Favorite}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&behav:DragSourceBehaviour.DragSource=&{Binding ParamDragSource}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&behav:DragSourceBehaviour.DragSourceFilter=&TextBlock&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&behav:DropTargetBehaviour.DropTarget=&{Binding ParamDropTargetX}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&behav:ScrollBehavior.ScrollOnDragDrop=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DragEnter=&treeList_DragEnter&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DragOver=&treeList_DragOver&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ItemsSource=&{Binding RootModels}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ItemsSourceChanged=&treeList_ItemsSourceChanged&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&PreviewDrop=&treeList_PreviewDrop&&
&&&&&&&&&&&&&&&&&dxg:TreeListControl.Resources&
&&&&&&&&&&&&&&&&&&&&&DataTemplate x:Key=&nodeTemplate&&
&&&&&&&&&&&&&&&&&&&&&&&&&StackPanel x:Name=&NodeContent&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Orientation=&Horizontal&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ToolTip=&{Binding Row.Tooltip}&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Image x:Name=&NodeIcon& Source=&{StaticResource FolderClosedIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&cont:EditableTextBlock Margin=&5,0&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&VerticalAlignment=&Center&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&IsEditable=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&IsInEditMode=&{Binding Row.IsInEditMode,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Mode=TwoWay}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Text=&{Binding Row.Name,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Mode=TwoWay}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ValueChanged=&EditableTextBlock_ValueChanged&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&i:Interaction.Triggers&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&i:EventTrigger EventName=&ValueChanged&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&i:InvokeCommandAction Command=&{Binding RenameCompletedCommand}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/i:EventTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/i:Interaction.Triggers&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/cont:EditableTextBlock&
&&&&&&&&&&&&&&&&&&&&&&&&&/StackPanel&
&&&&&&&&&&&&&&&&&&&&&&&&&DataTemplate.Triggers&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
Change node icon for Expanded Folders
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&MultiDataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&MultiDataTrigger.Conditions&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Condition Binding=&{Binding Row.Type}& Value=&Folder& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Condition Binding=&{Binding IsExpanded}& Value=&True& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/MultiDataTrigger.Conditions&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource FolderOpenIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/MultiDataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
Change node icon for Params
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&Param&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource ParamIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&InvalidParam&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource BadParamIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.ParamType}& Value=&Aggregate&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource AggParamIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
Change node icon for Flagging property
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&Flagging&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource FlaggingIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&AllOptions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource AllOptionsIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&ExcludeFlagging&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource ExcludeFlaggingIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&RunOptions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource RunOptionsIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&RTMOptions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource RTMOptionsIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&Restrictions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource RestrictionsIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&PlayerOptions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource PlayerOptionsIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&GroupBy&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource GroupByIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Type}& Value=&VFOptions&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter Property=&Source& Value=&{StaticResource VFOptionsIcon}& TargetName=&NodeIcon&/&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&--&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
Change node icon for User Params
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row, Converter={StaticResource ParamTypeToUserConverter}}& Value=&True&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeIcon& Property=&Source& Value=&{StaticResource UserParamIcon}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&!--
Disable tool-tip for when the content is empty
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataTrigger Binding=&{Binding Row.Tooltip}& Value=&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&Setter TargetName=&NodeContent& Property=&ToolTip& Value=&{x:Null}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/DataTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&/DataTemplate.Triggers&
&&&&&&&&&&&&&&&&&&&&&/DataTemplate&
&&&&&&&&&&&&&&&&&/dxg:TreeListControl.Resources&
&&&&&&&&&&&&&&&&&dxg:TreeListControl.Columns&
&&&&&&&&&&&&&&&&&&&&&dxg:TreeListColumn FieldName=&Name& /&
&&&&&&&&&&&&&&&&&&&&&dxg:TreeListColumn FieldName=&FullPath& /&
&&&&&&&&&&&&&&&&&&&&&dxg:TreeListColumn FieldName=&Process& /&
&&&&&&&&&&&&&&&&&&&&&dxg:TreeListColumn FieldName=&MonitorID& Header=&Parameter ID&/&
&&&&&&&&&&&&&&&&&/dxg:TreeListControl.Columns&
&&&&&&&&&&&&&&&&&dxg:TreeListControl.View&
&&&&&&&&&&&&&&&&&&&&&cont:MyTreeListView x:Name=&view&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AllowColumnFiltering=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AllowEditing=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AutoExpandAllNodes=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AutoPopulateServiceColumns=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&AutoWidth=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ChildNodesPath=&Children&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&DataRowTemplate=&{StaticResource nodeTemplate}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&MouseDoubleClick=&view_MouseDoubleClick&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&MultiSelectMode=&Row&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&NavigationStyle=&Row&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&SelectedRowsSource=&{Binding SelectedModels}&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowAutoFilterRow=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowColumnHeaders=&True&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowHorizontalLines=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowIndicator=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowNodeImages=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&ShowVerticalLines=&False&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&TreeDerivationMode=&ChildNodesSelector&&
&&&&&&&&&&&&&&&&&&&&&&&&&i:Interaction.Triggers&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&i:EventTrigger EventName=&MouseDoubleClick&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&i:InvokeCommandAction Command=&{Binding EditParam}& /&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&/i:EventTrigger&
&&&&&&&&&&&&&&&&&&&&&&&&&/i:Interaction.Triggers&
&&&&&&&&&&&&&&&&&&&&&/cont:MyTreeListView&
&&&&&&&&&&&&&&&&&/dxg:TreeListControl.View&
&&&&&&&&&&&&&/dxg:TreeListControl&
&&&&&&&&&&&&
&&&&&&&&&/Grid&
&&&&&/dxb:BarManager&
&/UserControl&
1&Solution
Thank you for provided code snippet. We researched the xaml and found that you set the NodeContent StackPanel Orientation to the &Horizontal& value. When StackPanel has horizontal orientation, it doesn't restrict content width. Thus this issue occurs. Let me know if you need further clarification.Thanks,
Thanks for your reply. Is there a way to achieve the desired behavior ? Any workarounds or suggestions?
Hello,If you wish to use the horizontal scrolling feature and override the DataRowTemplate, you need to put the GridScrollablePart control to your custom template. I have attached a sample to demonstrate this approach. Please review it.
1) This looks kind of okay. When I use horizontal scroll bar, it only scrolls the content in GridScrollablePart
and not the entire tree. Can I make the entire tree move horizontally?2) In GridScrollablePart , is there a way I can put images and text and interaction trigger as I was doing in stackpanel in my XAML?
Hello,I am afraid our TreeList does not support this functionality out of the box. See the
article in which a similar task was discussed for more information.However, I can suggest the following workaround to you:
1. Set the TreeListView.ShowExpandButtons property to F
2. Define the TreeListNodeExpandButton in the DataRowTemplate as shown below:[XAML]
& Orientation=&Horizontal&&
& IsChecked=&{Binding IsExpanded}&
Command=&{mands.ChangeNodeExpanded}&
Visibility=&{Binding IsButtonVisible, Converter={dx:BooleanToVisibilityConverter}}&
CommandParameter=&{Binding RowHandle.Value}& /&
& Margin=&5,0& BorderThickness=&0&
VerticalAlignment=&Center&
Text=&{Binding Row.Name,
Mode=TwoWay}&/&
&/&This way you can change the standard non-scrollable expand buttons with the custom expand buttons located in the row scrollable part.As for your question about adding custom elements (i.e. images, text) to the tree row, you can place them to the StackPanel in a way similar to how the TreeListNodeExpandButton is placed (see the snippet above).
DEVEXPRESS
.NET CONTROLS
CROSS PLATFORM
ENTERPRISE TOOLS
FRAMEWORKS
CODE-DEBUG-REFACTOR
HTML5 JS WIDGETS
FUNCTIONAL WEB TESTING
DELPHI C++BUILDER
Copyright &
Developer Express Inc.All trademarks or registered trademarks are property of their respective ownersJSF 2.0 + Ajax hello world example
Posted on September 8, 2010 , &&& Last modified : August 29, 2012
In JSF 2.0, coding Ajax is just like coding a normal HTML tag, it’s extremely easy. In this tutorial, you will restructure the last , so that, when the button is clicked, it will make an Ajax request instead of submitting the whole form.1. JSF 2.0 PageA JSF 2.0 xhtml page with Ajax support.helloAjax.xhtml&?xml version=&1.0& encoding=&UTF-8&?&
&!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=&/jsf/core&
xmlns:h=&/jsf/html&&
&h3&JSF 2.0 + Ajax Hello World Example&/h3&
&h:inputText id=&name& value=&#{helloBean.name}&&&/h:inputText&
&h:commandButton value=&Welcome Me&&
&f:ajax execute=&name& render=&output& /&
&/h:commandButton&
&h2&&h:outputText id=&output& value=&#{helloBean.sayWelcome}& /&&/h2&
&/html&In this example, it make the button Ajaxable. When the button is clicked, it will make an Ajax request to the server instead of submitting the whole form.&h:commandButton value=&Welcome Me&&
&f:ajax execute=&name& render=&output& /&
&/h:commandButton&
&h:outputText id=&output& value=&#{helloBean.sayWelcome}& /&In the &f:ajax& tag :execute=”name” – Indicate the form component with an Id of “name” will be sent to the server for processing. For multiple components, just split it with a space in between, e.g execute=”name anotherId anotherxxId”. In this case, it will submit the text box value.render=”output” – After the Ajax request, it will refresh the component with an id of “output“. In this case, after the Ajax request is finished, it will refresh the &h:outputText& component. 2. ManagedBeanSee the full #{helloBean} example.HelloBean.javapackage mon;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import java.io.Serializable;
@ManagedBean
@SessionScoped
public class HelloBean implements Serializable {
private static final long serialVersionUID = 1L;
private String name;
public String getName() {
return name;
public void setName(String name) {
this.name = name;
public String getSayWelcome(){
//check if null?
if(&&.equals(name) || name ==null){
return &&;
}else{
return &Ajax message : Welcome & + name;
} 3. How it work?Access the URL : http://localhost:8080/JavaServerFaces/helloAjax.jsf When the button is clicked, it makes an Ajax request and pass the text box value to the server for processing. After that, it refresh the outputText component and display the value via getSayWelcome() method, without any “page flipping effect“. Download Source Code Download it –
(8KB) Tags :
Founder of
and , love Java and open source stuff. Follow him on , or befriend him on
or . If you like my tutorials, consider make a donation to .Related PostsPopular Posts You might also like following tutorials :Pingback: ()Pingback: ()Recent PostsPopular Tutorials J2EE Frameworks : , , , , , , , , Web Service : , Build Tools : , Unit Test Frameworks : , Others : , , , , , Favorites LinksFriends & LinksAbout Us
is a weblog dedicated to Java/J2EE developers and Web Developers. We constantly publish useful tricks, tutorials on J2EE or web development. All examples are simple, easy to read, and full source code available, and of course well tested in our development environment. We're SocialTwitter - Facebook - Google Plus - RSS -

我要回帖

更多关于 action name 的作用 的文章

 

随机推荐