1. import model/linked model/container model
1.1 Imported Model Builder:
Host Model and target Model share the same WebApp, target model are imported into the host model at generation time. The host model can invoke all the builder calls of the target model, but cannot change any of the builder imputs.
1.2 Linked Model Builder:
Host model and Linked model use two separate WebApp. From a host model, we can access any public methods, Linked Java Objects(LJOs), and action lists in Linked Model.
They are roughly analogous to classes in java.
Linked Model builder is best suited for linking to data and logic that resides in another model. It is not suited for linking to any user interface elements(pages, buttons, forms, and so forth) that may reside in another model.
1.3 Model Container Builder:
The Model Container builder allows a model to host another model at the named page location. It is ideal for retrieving user interface components from another model.
2. app war/portal war/ dev war
3. lifecycle, profile -> generation time -> execution time
4. portal server/portlet container/portlet
portal server:
first received request from the client
forward the request to portlet container
aggregating the content produced by the protlets
portlet Container: contains and run portlets, manages portlets lifecycle, provides portlets with
the required runtime environment,provides persistent storage for portlet perferences
5. portlet container / servlet container
portlets and servlets are java technology based web components
both are managed by a specialized container
both generate dynamic content
lifecycle is managed by a container
inteact with web client via a request/response paradigm
difference:
portlet only generate markup fragments, not complete documents. The portal aggregates portlet
fragments into a complete portal page
portlet are not directly bound to a URL
web clients interact with portlets through a portal system
portlets have a refined request handling, action requests and render requests
portlets have predefined portlet mode and window states
portlets can exist many times in a portal page
portlets have means for accessing and storing persistent configuration and cusomization data
portlets have access to user profile information
6. JSF Portlet Framework in RAD 7
7. Thems and stylesheet for portal server
8. configure Web service URL in WPF:
first approach:
1. configure in the property file
2. load in LJO and set to share variables
3. in web service builder "advance" section, use the shared variables to override host,url,etc.
there are no UI for editing
second approach:
1. when export model to portlet, in portlet adapter builder, configure preference in "advance" section, each url associated with an item.
2. in LJO, get httpservlet request from webAppAccess; then get portlet request from http request; then get preference from portlet requet; last we can get the url we
configurated in preference.
I am not sure if we can configure the preference on UI
分享到:
相关推荐
A working knowledge of C# and the basic architecture of .NET is helpful to follow the examples easily, but all concepts will be explained from the ground up. Table of Contents 01.Introducing WPF ...
However, the knowledge of how to do this is missing from a large part of the development community―even amongst those who work with WPF and Silverlight on a daily basis. Too often there is a reliance...
Microsoft's Windows Presentation ... A working knowledge of C# and the basic architecture of .NET is helpful to follow the examples easily, but all concepts will be explained from the ground up.
Telerik controls and Windows Presentation Foundation (WPF) are a winning combination, and this tutorial will give you the skills you need to create powerful applications. You'll need to know C#, SQL, ...
book, you should have a working knowledge of WPF and know how to architect a WPF application using the tools provided by Microsoft, such as SQL Server 2008 R2 Express Edition, the Entity Framework, ...
全网独家发布,最新wpf书籍,pdf高清文字版。 Key Features Learn how to use the MVVM software architectural pattern and see the benefits of using it with Windows Presentation Fountain (WPF) Learn which ...
We start by providing you with a foundation of knowledge to improve your workflow - this includes teaching you how to build the base layer of the application, which will support all that comes after ...
how to create correct and efficient applications, leveraging knowledge of object-oriented and template- based programming. I assume only a basic knowledge of C and C++, and build on these concepts to ...
Key Features Learn how to use the MVVM software architectural pattern and see the benefits of using it with Windows Presentation Fountain (WPF) Explore various ways to enhance efficiency through ...
Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore...
As a technical buff, Kunal has in-depth knowledge of OOPs, C#, XAML, .NET, WPF, UWP, Visual Studio, Windows 10 and Microsoft Azure. He is also proficient in entire Software Development Life Cycle ...
Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore...
Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore...
在描述中提到的“打印列表控制内容”,指的是能够将列表视图或列表控件(如Windows Forms的ListView或WPF的ListBox)中的信息输出到打印机上。列表控件通常包含多行数据,每一行可能有多个列,因此打印时需要考虑...
3. **图形用户界面(GUI)设计**:VS2017提供了丰富的工具和控件来构建用户界面,如Windows Forms或WPF。用户可以通过这些工具设计交互式的条形码生成器。 4. **事件驱动编程**:在C#中,用户界面的交互通常基于...
Once you digest the information presented in these chapters, you’ll be in a perfect position to apply this knowledge to your specific programming assignments, and you’ll be well equipped to explore...
Knowledge of Expression Blend is useful, but not mandatory: you’ll learn the Blend techniques that you need to know as you go through the book. By the end, you will have followed a sound, concise ...
The user is expected to be reasonably experienced as a .NET developer but no prior knowledge of cryptography and encryption is required. This book is for developers who want to be pragmatic about ...