Creating ActionLink in UIData component
Hi everybody,
i am new to writing renderer in JSF. So i have a basic question. I am using a custom renderer for the UIData component. It renders the underlying data from my database.
Now I want to add a column with an ActionLink inside and a tableheader for this column. Here my code so far:
private void AddComandLink(ResponseWriter writer, boolean isFeiertag, String columnStyle) throws IOException {
HtmlCommandLink link = new HtmlCommandLink();
link.setTarget("www.mysite.com");
writer.startElement("td",link);
writer.writeAttribute("class", columnStyle, "columnClasses");
writer.endElement("td");
How to add a commandLink with action to my datatable?
Regards,
ak
Hi,
what i would like to achive is the following:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<title>Title</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<f:view>
<h3>Subtitel</h3>
<h:form>
<h:dataTable headerClass="tableheader"
var="list"
value="#{Uebersicht.uebersichtsliste}">
<h:column>
<f:facet name="header">
<f:verbatim>KW</f:verbatim>
</f:facet>
<h:outputText value="#{list.cal.kw}" />
</h:column>
<h:column >
<f:facet name="header">
<f:verbatim>Bemerkung</f:verbatim>
</f:facet>
<h:outputText value="#{list.cal.feiertagNat}" />
</h:column>
<h:column >
<f:facet name="header">
<f:verbatim>Start</f:verbatim>
</f:facet>
<h:commandLink action="#{Uebersicht.start}" value="setzen"/>
</h:column>
</h:dataTable>
</h:form>
</f:view>
</body>
</html>The last column in my DataTable is a commandLink. But this should be added programatically so i can decide if it is rendered for a specific row in my table.
I have an own renderer for my DataTable but I don't know how to implement this additional column depending on data in my rows!?
Can anybody help?
Regards,
ak
Similar Messages
-
Error While creating a Mobile UI Component
Hi Friends ,
While I am trying to crete a new Mobile UI component for an application , In the Select Software component dialog I am getting the below shown Error.
Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC
Earlier when I created a Mobile UI component the error didn't come but I deleted the Mobile UI component and after that when I created a new Mobile UI component the error started coming.
I have already read the thread.
Software Component does not support selected Development Component Type...
Software Component does not support this Development Component Type.
But couldn't understand.
Please Suggest.
Regards
NiteshHi Vidyadhar/David,
<br><br>
Thanks for your reply . I tried the steps suggested by u . Now I am getting a new error . The log I have pasted below.<br><br>
Development Component Build (2009-11-03 12:45:30 GMT+05:30 (IST))<br>
Component name: order_ui <br>
Component vendor: demo.sap.com<br>
SC compartment: MyComponents<br>
Configuration: LocalDevelopment<br>
Location: localDevelopment<br>
Source code location: nharit@****<br>
DC root folder: C:\Documents and Settings\nharit\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\order_ui\_comp\<br>
DC type: Mobile Applications for Handhelds<br>
DC subtype: Mobile UI Component<br>
Host: *******<br>
DC Model check:<br>
DC is available locally<br>
validating dependency to build plugin "sap.com/tc/bi/bp/oca/cfs"<br>
validating dependency to used DC "demo.sap.com/order_sv"<br>
validating dependency to public part "interface" of DC "demo.sap.com/order_sv"<br>
validating dependency to public part "default" of DC "sap.com/tc/cmi"<br>
validating dependency to public part "generation" of DC "sap.com/tc/mobile/cfs/api"<br>
validating dependency to public part "api" of DC "sap.com/tc/mobile/oca/api"<br>
validating dependency to public part "runtime" of DC "sap.com/tc/mobile/wdlite/facade"<br>
DC model check OK<br>
Start build plugin:<br>
using build plugin: sap.com/tc/bi/bp/oca/cfs<br>
starting build plugin from : C:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.tc.ap_2.0.1.091015093457<br>\comp\XOCA\DCs\sap.com\tc\bi\bp\oca\cfs\_comp\gen\default\public\def\<br>
Build Plugin 'OCA Build plugin CFS', Version 7.10 SP 3 (710_VAL_REL, built on 2007-12-25 01:27:31 +0100, CL285332)<br>
development component: order_ui (demo.sap.com)<br>
software component: MyComponents (demo.sap.com)<br>
location: localDevelopment<br>
type: Mobile Applications for Handhelds, subtype Mobile UI Component<br>
build variant: default<br>
source location: nharit@******<br>
output location: C:\Documents and Settings\nharit\workspace.jdi\LocalDevelopment\t2<br>\44750CB853388BD98C14319CE2D2842A\default
generation folder: C:\Documents and <br>Settings\nharit\workspace.jdi\LocalDevelopment\t\44750CB853388BD98C14319CE2D2842A<br>
plugin start time: 2009-11-03 12:45:31 GMT+05:30 (IST)<br>
Java VM: Java HotSpot(TM) Client VM, 14.2-b01 (Sun Microsystems Inc.)<br>
General options:<br>
convert *.xlf to *.properties: yes<br>
include sources for debugging: yes<br>
Warning: Source folder "META-INF" exists but is empty and will be ignored.<br>
Checking path lengths for sources<br>
Path length checks finished in 0.016 seconds<br>
Preparing data context..<br>
No public part descriptor found in C:\Documents and<br> Settings\nharit\workspace.jdi\LocalDevelopment\FRAMEWORK\sap.com\tc\cmi\_comp\gen\default\public\default, using legacy <br>mode.
No public part descriptor found for component "tc/mobile/wdlite/facade" (vendor "sap.com"), public part "runtime", using legacy mode.<br>
Dependency validation check<br>
Development Component Dependencies<br>
MCD name: order_sv MCD version: 1.0(order_sv(interface))<br>
Dependencies in mcd.xml:<br>
<br>
Comparing data in MCD and DPI files.<br>
Error: com.sap.tc.mobile.dt.oca.bp.exception.OCABuildPluginException: Validation of MCD file failed. Description of <br>component 'order_sv' version '1.0' not found in MCD file. Please update the MCD file by calling the option 'Update <br>deployment descriptors' in the components context menu.<br>
at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.MCDDescription.checkComponentDependency<br>(MCDDescription.java:157)<br>
at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.CFSDataContextProvider.checkMCDDependencies<br>(CFSDataContextProvider.java:156)<br>
at com.sap.tc.mobile.dt.oca.bp.impl.cfs.provider.CFSDataContextProvider.execute<br>(CFSDataContextProvider.java:126)<br>
at com.sap.tc.buildplugin.PrepareContextBuildStep.prepareTechnologySpecificData<br>(PrepareContextBuildStep.java:186)<br>
at com.sap.tc.buildplugin.PrepareContextBuildStep.setupBuildFileCreatorContext(PrepareContextBuildStep.java:95)<br>
at com.sap.tc.buildplugin.PrepareContextBuildStep.execute(PrepareContextBuildStep.java:56)<br>
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)<br>
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)<br>
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)<br>
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
at java.lang.reflect.Method.invoke(Method.java:597)<br>
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:400)<br>
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)<br>
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)<br>
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)<br>
at com.sap.tc.devconf.impl.DCProxyMake.make(DCProxyMake.java:260)<br>
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1574)<br>
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:4537)<br>
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:370)<br>
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:187)<br>
at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:75)<br>
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:224)<br>
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)<br>
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)<br>
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:233)<br>
at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)<br>
at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:214)<br>
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:275)<br>
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br>
Error: Build stopped due to an error: Validation of MCD file failed. Description of component 'order_sv' version '1.0' not found in <br>MCD file. Please update the MCD file by calling the option 'Update deployment descriptors' in the components context menu.<br>
Error: Build stopped due to an error: Validation of MCD file failed. Description of component 'order_sv' version '1.0' not found in <br>MCD file. Please update the MCD file by calling the option 'Update deployment descriptors' in the components context menu.<br>
Build plugin finished at 2009-11-03 12:45:31 GMT+05:30 (IST)<br>
Total build plugin runtime: 0.469 seconds<br>
Build finished with ERROR<br>
==== Post-Processing ==== started at 2009-11-03 12:45:31.618 IST<br>
Copy the build logs<br>
from: C:\Documents and Settings\nharit\workspace.jdi\LocalDevelopment\t2<br>\44750CB853388BD98C14319CE2D2842A\default\logs\<br>
to: C:\Documents and Settings\nharit\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\order_ui\_comp\gen\default\logs\<br>
Build results in folder C:\Documents and <br>Settings\nharit\workspace.jdi\LocalDevelopment\DCs\demo.sap.com\order_ui\_comp\gen\default\ remain unchanged.<br>
<br><br>
Please Suggest.<br>
<br>
It will be great Help.<br>
<br>
Regards<br><br>
Nitesh
<br> -
Can not change vendor when creating a new Development Component in NWDS
Dear friends,
Im trying to create a new Development Component in NWDS. Our NWDS is connected to NWDI and we are using CM Services option of NWDI.
Before I could create a DC and change the vendor but now I cant change it anymore. Now, the vendor is by default sap.com and we cant change it and it seems that we also have to put our project in a separate directory. home/ directory or other directories in the list.
See below screen shots...
If I make a new DC than we see it like this: home/bpm_test [sap.com].
If I make a new DC in my LocalDevelopment I can change the vendor and I dont have to choose a home directory.
Do you have any idea how to change that?
Any help would be greatly appreciated.
Thank you in advance,HI,
it seems that the vendor is defined in the NWDI track. That's why you can't change it.
regards,
Vasils -
Creating Sawtek filter library component
Hello all. I couldn't find anything related to my question so I'll write my first post.
I am trying to replicate the RF 70MHz on Multisim.
Then I encountered a Sawtek Filter 854660 within the circuit diagram.
I followed the steps on creating a new library component from the NI website:
http://www.ni.com/tutorial/3173/en/
but to no avail.
On the 854660 pdf datasheet, I cannot find the type of package required to create this filter on the multisim library.
Can any one offer some advice as to how can I create a new package for the sawtek filter? Or perhaps the package is already in multisim but I might have missed it?
Kind Regards,Sorry, I couldn't attach the files on the previous post.
Attachments:
854660.pdf 543 KB
RF 70MHz.jpg 60 KB -
Steps to create a custom Window component?
What steps do I need to take to create a custom Window component? My approach now results in the component being uneditable in design view. What I do is simply select "New > MXML component", base it on spark.components.Window and supply a filename. I tried with a Panel component and that works fine.
Hi,
Step by Step creation of SAP Payroll Funcitons:
1) Follow the menu path
Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations
or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create
button, enter the description. On creation the system proposes the name of
the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.
2) During the execution of payroll some tables are filled with wage types and there amounts
to make these tables available to your routine enter the name of the table for e.g (RT or
CRT) in the input parameters, and to make the changes done to the data in the tables
avaiable to the payroll enter the name of the table in the Output parameters as well.
Input Parameters
Ctry Num Object Name
99 1 RT
99 2 CRT
and same shall be done in the Output Paramters if required.
3) Create an include in the program PCBURZ990 (using Transaction:
SE38), in which create a subroutine with the name supplied by SAP or the
name selected by you during Funtion creation,
in our case, it is FUZIABC.
Note: The program PCBURZ990 is in SAP Namespace, so an Access Key
will be required before you can proceed. But it will not be overwritten during any upgrade.
*Example of the subroutine
FORM FUZIABC.
*enter the code
ENDFORM.
4) After this activate the program the Funtion and add it in the schema used for payroll processing.
Reward points if helpful.
Regards,
Manoj. -
Use Alchemy to create a Flex HTML Component ?
Hi,
would it be possible to create a HTML rendering component for Flex using Alchemy ?Please show your support for this needed component by voting on this issue:
http://bugs.adobe.com/jira/browse/SDK-13740
Deeanna
Lead Flex Developer
http://www.pups-seeking-homes.com -
Create a new software component release in sld
hi,
i have a software component ABC whose version is 1.0 and vendor is SDN
software component: ABC
vendor: SDN
version: 1.0
now I created a new software component like
software component: ABC
vendor: SDN
version: 2.0
but in the SLD, when I check the release history tab of one software component, there is no any information about the release relation between these two software component.
Does anyone know how to make it?
Regards,
HuiHui,
Please check this michals weblog for any dependencies:
/people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
---Satish -
Error Occurred creating Report Object: ActiveX component can't create objec
Hello!
I have an error "Error Occurred creating Report Object: ActiveX component can't create object" when open asp-file in IE. Please, help me! What Java-components I need install? What else?
Server side: Windows 2003 SP2, IIS6, Crystal Reports Server XI
Client side: Windows XP SP3, IE 7.0<%@ LANGUAGE="VBSCRIPT" %>
<%
ServerName="app4-odusb-bur"
DatabaseName="CKReports"
WorkLogin="***"
WorkPWD="***"
reportname = "SV3in1_p1.rpt"
If Not IsObject (session("oApp")) Then
Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
End If
Path = Request.ServerVariables("PATH_TRANSLATED")
While (Right(Path, 1) <> "\" And Len(Path) <> 0)
iLen = Len(Path) - 1
Path = Left(Path, iLen)
Wend
If IsObject(session("oRpt")) then
Set session("oRpt") = nothing
End if
On error resume next
rYear = Request.Form("rYear")
rDay = Request.Form("rDay")
rMonth = Request.Form("rMonth")
sDay = CStr(rDay)
if CInt(rDay)<10 then sDay="0"+SDay
sMonth = CStr(rMonth)
if CInt(rMonth)<10 then sMonth="0"+sMonth
sYear = CStr(rYear)
Set obj = CreateObject("ReportServer.Collector") 'HERE an ERROR was occurred, so I have closed any other operators after this one, except Error Message Operators
'obj.ConnectToDatabase1 ServerName, DatabaseName, WorkLogin, WorkPWD
'obj.Disconnect
'Set session("oRpt") = session("oApp").OpenReport(path & reportname, 1)
'Session("oRpt").Database.LogOnServer "p2ssql.dll", CStr(ServerName), CStr(DatabaseName), CStr(WorkLogin), CStr(WorkPWD)
'For n = 1 to Session("oRpt").Database.Tables.Count
' Session("oRpt").Database.Tables.Item(n).SetLogonInfo CStr(ServerName), CStr(DatabaseName), CStr(WorkLogin), CStr(WorkPWD)
'Next
If Err.Number <> 0 Then
Response.Write "Error Occurred creating Report Object: " & Err.Description
Set Session("oRpt") = nothing
Set Session("oApp") = nothing
Session.Abandon
Response.End
End If
%> -
Importing a DC and Creating a new development component
Hi,
After importing a DC and Creating a new development component, my netweaver developer studio is complaining that the com.sap.tc.webdynpro.progmodel.api.* cannot be resolved.
And the strange thing is that if i create a local project and then create a development component, the API can be resolved without any problem.
Can anyone advise what i should do to fix this problem ?
Thanks.
Best Regards,
DanielHi Daniel
Go to your project properties and then go to Java build path and in that Libraries tab there you can find number of JARs included in it for reference of the project just compare both imported and newly created projects and try to add the missing JARs in the imported project
thanks
Ninad -
Creating a custom JSF Component
Hi,
I am trying to create a custom JSF Component. My ultimate goal is to pass a bean to my custom component and have the component render some HTML output based on the info contained in the bean. Before I attempt that I am trying to get a simple custom component to just work. This component is based on the tutorial found here: http://www.jsftutorials.net/components/index.html
This tutorial just creates a component that outputs a <div> tag around the body contents of the custom component.
To keep this short I have done the following items from the tutorial link above:
1) I have created the tld file defining the tag class, name, uri and shortname
2) I have also created the tag class called TickerTag.java along with the component class UITicker.java. These classes are straight copy-and-paste jobs from the tutorial link and compile fine.
3)My faces-config.xml file has the proper component definition of
<component>
<component-type>ticker</component-type>
<component-class>ticker.UITicker</component-class>
</component>
This was the easy part. The example then goes on to use the custom component in a JSP page. I managed to get the custom component to work in a JSP page BUT my problem is getting the custom component to work in an XHTML file.
I thought all I had to do was define an xml namespace using the uri from my tld file like so:
Note: My uri is www.fubar.com/tags and is defined in the tld file.
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:u="http://www.fubar.com/tags">
I then try to use the tag like so <u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
I am expecting the following output: <div>Hello JSF Component
</div>
but instead I get
<u:ticker>Hello JSF Component</u:ticker>
It seems the tag is not even processed. This is my first jump into custom components. I have done custom JSP tags in the past but I never tried to display them on an XHTML page.
If you are wondering why I am using XHTML pages, this was setup a while back by a previous developer. Changing everything to a JSP would take a long time and probably break some stuff I am not aware of yet. As such the web.xml file of this JSF web app has the following:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
So all *.jsf files are processed and sent to the corresponding .xhtml file.
I have looked up creating custom components on google and every last example uses their newly created components in a jsp file. No XHTML uses so far.
Below are my tld files and xhtml file if that helps:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>u</short-name>
<uri>http://www.fubar.com/tags</uri>
<tag>
<name>ticker</name>
<tag-class>ticker.TickerTag</tag-class>
<body-content>JSP</body-content>
</tag>
</taglib>
<!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:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:u="http://www.fubar.com/tags">
<html>
<head>
<title>Show Custom Component</title>
</head>
<body>
<f:view>
<u:ticker> <f:verbatim>Hello JSF Component</f:verbatim></u:ticker>
</f:view>
</body>
</html>
Any suggestions/help are much appreciated,
Nick
</div>Thanks Ray. I'll take a look at that site.
I managed to figure out my problem. I never created a .taglib.xml file that reference the component I defined in the faces-config.xml file. Once I did that everything work perfectly.
I managed to use this forum post as a guide.
http://osdir.com/ml/java.facelets.user/2006-12/msg00042.html
I hope this helps anyone else.
Nick -
Getting error while creating Service controller from component controller
Hi,
I have added CAF model in used model for DC project.But when i m trying to create service controller from component controller by selecting used model it is giving error like "Context element cannot be bound to model layer".
Can anybody help me out on this issue.
Thanks in advance.Hello,
try to check the check box in MS Word - File - Options - General - "Open e-mail attachements and other uneditable files in reading view"
I am not sure how this option really works, but I think you will find it checked. So try to uncheck it.
Or wise versa :c)
Kind regards -
Hi,
I want to create a custom JSF component. I've setup a new application containing 2 projects:
- a 'components' project, containing all the custom components
- a 'view' project, to test the created custom components.
There is dependency between the components project and the view project. In the view project, I added the
the Tld, in order to use my components in the project.
From the component palette, I can drop a component onto a .jspx page but after running the page, no output
is printed onto the screen. The HTML source code only contains my 'tag-name' (eg: <ctb:mytag/>)
Am I doing something wrong?
UIComponent:
import java.io.IOException;
import javax.faces.component.UIComponentBase;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
public class BasicComponent extends UIComponentBase {
public String getFamily() {
return "BasicComponent";
public void encodeBegin(FacesContext context) throws IOException {
ResponseWriter out = context.getResponseWriter();
out.write("Hello World");
}Tag
import javax.faces.component.UIComponent;
import javax.faces.webapp.UIComponentTag;
public class BasicComponentTag extends UIComponentTag {
public String getComponentType() {
return "BasicComponent";
public String getRendererType() {
return null;
}Tld entry:
<tag>
<name>BasicComponent</name>
<tag-class>BasicComponentTag</tag-class>
<body-content>JSP</body-content>
</tag>Thanks in advance,
Koen VerhulstThe body tag should be as follows
<bodycontent>JSP</bodycontent>
but the JSP will not work. Here is the file:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable"
xmlns:cf="/WEB_INF/helloWorldLib.tld">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title>List of Values</title>
</head>
<body><h:form>
<cf:jsfhello hellomsg="This is it" />
</h:form></body>
</html>
</f:view>
</jsp:root>
Edited by: bongo2 on Oct 28, 2008 2:58 PM -
Give step-by-step procedure how to create jspdy page portal component app
Hi All,
Give step-by-step procedure how to create jspdy page portal component application.Check these for the steps.
Building a JSPDynPage:
http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/content.htm
Tutorial III: Building a JSP DynPage:
http://help.sap.com/saphelp_nw04/helpdata/en/44/471ce3617b14bce10000000a155369/content.htm
Regards,
Harini S -
Short Dump while creating Configuration (Application or Component)
Hi All,
I m facing a short dump, while creating a Component or Applcation Configuration
in the standard FPM_GAF_COMPONENT.
Short dump states the Runtine error as MESSAGE_TYPE_UNKNOWN
Short text
Message type " " is unknown.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WDR_MESSAGE_MANAGER========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Information on where terminated
Termination occurred in the ABAP program "CL_WDR_MESSAGE_MANAGER========CP" -
in "IF_WD_MESSAGE_MANAGER~REPORT_T100_MESSAGE".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 16
of the (Include) program "CL_WDR_MESSAGE_MANAGER========CM00R".
12 exporting
13 textid = cx_wdr_rt_exception=>invalid_
14 endif.
15
>>>> message id msgid type msgty number msgno
17 with p1 p2 p3 p4
18 into msg.
19
20 if p1 is not initial.Hello Srikanth,
I have no issues in trying to help someone as polite as you! It is very nice to have questions answered in an intelligible manner - not unfortunately always the case.
Without being able to debug on your system it is quite difficult to say what might be causing this error - especially as you say this was working in a different system.
I'm sure you've already tried eliminating differences in your authorisations between the two systems? Are you registered as a developer in the new system?
Sorry I'm now just guessing as I've not come across the error myself - hopefully now that we have clearly documented the issue, someone else might be able to shed some light on what might cause it!
Chris -
Advice on creating a tricky custom component
Hi,
I'm working on creating a custom component which displays a image at the top of the canvas, and loops through a passed array collection, displaying each row of the array collection in a item renderer. So the component should look like this (see attached image).
As you can see from this image the header is a image itself, this will differ every instance of the panel, there should be 3 of these panels on the page. Then each row of data is a item renderer displaying the data provided from a array collection of value object. If there are 4 items in this array collection then the panel should show 4 rows, if there are 2 row in the array then the panel will display 2 rows. Also the height of the panel will dynamically change depending on the number of rows to show.
I was thinking of extending a Canvas component, and then passing in the image URL and trying to load and draw the image dynamically, then I was thinking of using the Drawing API to create the rectangle shape using the drawRoundRectComplex() of the graphics class.
The problems I see with this is that I don't think the drawn rectangle shape can re-draw itself to show the change in height when more or less row of data need to be be displayed.
Another option I have been thinking about is extending the Panel class to create my component, this may be better for handling the height resizing, but I'm not sure it can support the look of this component (the header image and the three rounded corners).
Could anyone give me some advice on what would be the better option for creating this component.
Thanks
Stephen
Maybe you are looking for
-
More than one invoice for a single material document
Dear all, If a material document contains 10 items,while creating invoice in J1IS with reference to that material document.The system is generating one invoice for the first 8 items in the material doc.& one more invoice for the balance items. Is it
-
Hello Guys I am new with SRM and I have a work flow that work at the moment with the engineers creating a reservation that is checked by a warehouse material manager which according with the material availability triggers the procurement process crea
-
My new ipod nano plays videos but there is no sound, why?
My new iPod nano that plays videos has no sound going along with them. It's not a problem with the iPod, (I don't think) because the sound won't play on iTunes either, yet my music in playing just fine both on my ipod nano and in itunes. I dragged an
-
How Can I say "thank you" to the iMovie Team? Someone forward it to them?
My son died Sunday. In the middle of incredible grief, I needed to make a video of stills of his life. I had never touched iMovie (or iDVD) before. I was able to stumble through every thing I needed to do and get it done against a very tight deadline
-
Hi, Any one of you suggest me to take a data file and enter the result in to different tables by using control file. We have created 3 diferent empty tables of same structure and we have to load data based on DEPTNO to the respective tables. the code