Detailed descriptions of HTMLB tag attributes
Hi
I am making progress on by first pages, but one of the stumbling blocks I am having is where can I go to get a detailed description of the attributes for the HTMLB tags? For example, while I am trying to understand tableView iterator, I am using TableViewColunm/s to clean up my tables for a small presentation. I have found descriptions for a few of the attributes, but not all of them.
I tried searching on-line, but have not found the complete listing. Is there such a thing and if so would somebody be kind and point me in the right direction?
Thanks for all the help
John
hi,
check this example in se80 SBSPEXT_HTMLB.
and also BSP Extensions->Transportable->HTMLB and check the attributes on doubleclicking on it you will find the description for all the attributes
cheers
bhavana
Edited by: Bhavana Amar on Apr 22, 2010 7:28 AM
Similar Messages
-
Hi folks,
I am trying to create a custom tag that accepts a java.util.Locale as a parameter, and for some reason the container is giving me all kinds of attitude. Here's the detail:
----from the .tld---
<tag>
<name>loadMasthead</name>
<tag-class>uiTagHandlers.LoadMasthead</tag-class>
<body-content>empty</body-content>
<description>Paints the masthead for a given page</description>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.util.Locale</type>
</attribute>
</tag> ---end tld--
from the jsp-
<%@ taglib uri="/WEB-INF/simpleUITags.tld" prefix="helper" %>
<%@ page import="java.util.Locale" %>
<helper:loadMasthead locale="<%= Locale.US %>" />---end jsp----
---from the handler-----
public int doTagStart() throws JspTagException{
JspWriter out = pageContext.getOut();
try{
if( locale != null)
out.print( UIHelper.loadMasthead(locale) );
else
out.print( UIHelper.loadMasthead() );
}catch( Exception ex ){
throw new JspTagException( ex.getMessage() );
return SKIP_BODY;
public int doTagEnd() throws JspTagException{
return SKIP_PAGE;
* Sets the locale.
* @param locale The locale to set
public void setLocale(java.util.Locale locale) {
this.locale = locale;
end handler---
Here's the error I'm getting from the container:
[8/5/04 12:14:34:704 EDT] 7abbd628 WebGroup E SRVE0026E: [Servlet Error]-[Unable to convert string '<%= Locale.US %>' to class java.util.Locale for attribute locale: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager]: org.apache.jasper.JasperException: Unable to convert string '<%= Locale.US %>' to class java.util.Locale for attribute locale: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:920)
at org.apache.jsp._index._jspService(_index.java:84)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
Any ideas what is going on here?
Thanks in advance,
MattThe taglib always passes a string. The container is supposed to change it to the proper object, but some do not, as it wasn't clear in the original specs (I found various bug reports). My container does not do this properly for taglibs, so I ended up using a bean, which it processed correctly.
Your container can't figure out how to change the String it receives to the Locale object it's supposed to set the property to.
I found a similar problem displayed here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4727371
You'd need to check with your container docs to see if yours is supposed to be able to do the conversion. If not, you'll either need to write it yourself or do what I did and use a bean so it never passes a string to begin with. -
Repeating Regions and Editable Tag Attributes?
I want to produce a template that will let users create pages
that list items as a thumbnail image and a short text description,
one after the other.
I can set this up as a repeating region, but I would also
like to make only certain attributes of the image editable (src and
alt for example). However, when I use editable tag attributes to do
this, the image in each repeated region ends up with the same
attribute values - when I add a new repeat region and then change
the src tag through the Template Properties dialog,
all of the images take on the same src value. Looking at the
code, it looks like the editable instances in each repeated region
get the same name, and so I can see that DW will get confused.
Is this a limitation in DW? Is there a work around anyone can
suggest?
TIASo, you have some number of people who are editing the child
pages and you
want to constrain their editing choices? Are you using
Contribute?
Anyhow, I am not aware of any convenient way you can do
something like this
using DW's Template features.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"manicbananic" <[email protected]> wrote in
message
news:g7pimq$fvg$[email protected]..
>I want to produce a template that will let users create
pages that list
>items
> as a thumbnail image and a short text description, one
after the other.
>
> I can set this up as a repeating region, but I would
also like to make
> only
> certain attributes of the image editable (src and alt
for example).
> However,
> when I use editable tag attributes to do this, the image
in each repeated
> region ends up with the same attribute values - when I
add a new repeat
> region
> and then change the src tag through the Template
Properties dialog,
>
all
> of the images take on the same src value. Looking at the
code, it looks
> like
> the editable instances in each repeated region get the
same name, and so I
> can
> see that DW will get confused.
>
> Is this a limitation in DW? Is there a work around
anyone can suggest?
>
> TIA
> -
Struts2 and Tiles2 - Error executing tag: Attribute 'title' not found.
I keep getting Error executing tag: Attribute 'title' not found when I go to the baseLayout.jsp page. I am figuring it is not seeing the tiles.xml file, but I have placed it in the /WEB-INF directory like every web page I have found says too. Any help or pointers would be appreciated.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error executing tag: Attribute 'title' not found.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)I am using maven to load my dependency, so here are the version numbers.
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-tiles-plugin</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>3.1</version>
</dependency>Struts.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation"
value="false" />
<constant name="struts.devMode" value="false" />
<constant name="struts.custom.i18n.resources"
value="forum" />
<package name="default" namespace="/" extends="struts-default">
<result-types>
<result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" />
</result-types>
<action name="login" class="net.game_tech.LoginAction">
<result name="success" type="tiles">/login.success.tiles</result>
<result name="error" type="tiles">/login.tiles</result>
</action>
<action name="login-form">
<result name="success" type="tiles">/login.tiles</result>
</action>
</package>
</struts>web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Forum</display-name>
<listener>
<listener-class>
org.apache.struts2.tiles.StrutsTilesListener
</listener-class>
</listener>
<context-param>
<param-name>tilesDefinitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>Mysql Forum</description>
<res-ref-name>jdbc/Forum</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>tiles.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<definition name="baseLayout" template="/baseLayout.jsp">
<put-attribute name="title" value="Simple Java Forums" />
<put-attribute name="header" value="/common/Header.jsp" />
<put-attribute name="menu" value="/common/MenuNav.jsp" />
<put-attribute name="body" value="" />
<put-attribute name="footer" value="/common/Footer.jsp" />
</definition>
<definition name="/login.tiles" extends="baseLayout">
<put-attribute name="header" value="/pvt/Login.jsp" />
</definition>
<definition name="/login.success.tiles" extends="baseLayout">
<put-attribute name="header" value="/pvt/Welcome.jsp" />
</definition>
</tiles-definitions>baseLayout.jsp
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!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" xml:lang="en" lang="en">
<head>
<title><tiles:insertAttribute name="title" /></title>
<link href="css/main.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body>
<div id="page">
<tiles:insertAttribute name="header" />
<tiles:insertAttribute name="menu" />
<tiles:insertAttribute name="body" />
<tiles:insertAttribute name="footer" />
</div>
</body>
</html>I was playing around with it some more and was trying to follow this page:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-tiles-example-1.html
I made sure I had the same jar versions. I still get the same exception in the Browser, but I get a few more log messages in the tomcat log;
Obviously I have something configured wrong. I'll see what searching brings up, and of course any help would be appreciated.
2010-08-24 10:30:59,885 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,920 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=struts]
2010-08-24 10:30:59,956 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [struts.actionMapping]
2010-08-24 10:30:59,957 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,967 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,969 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:30:59,969 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.catalina.jsp_file]
2010-08-24 10:31:00,089 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,089 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.servlet.context.ServletTilesRequestContext.CURRENT_CONTAINER_KEY]
2010-08-24 10:31:00,099 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,100 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.AttributeContext.STACK]
2010-08-24 10:31:00,100 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,100 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.AttributeContext.STACK]
Aug 24, 2010 10:31:00 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.tiles.jsp.taglib.NoSuchAttributeException: Attribute 'title' not found. -
Variable Substitution with tag attribute
Hi,
is possible to use variable substitution with tag attribute? as follow:
<root directory="xxx" filename="yyy">
<....
</root>
using variable substitution for directory : root,1,directory,1
root,1,filename,1Hi,
I solved my problem using Dynamic Configuration to set the FileName and Directory fields in Adapter Specific Configuration. To use Variable Substitution only accept element in XML.
Thanks for all. -
Unable to Deploy WAR file (Unknown assembly root-tag attribute: version)
Hello,
I created a simple web application with eclipse + tomcat plugin + struts2 (JPA Spring Hibernate ) and created the WAR file using the tomcat plugin compiler. When I deploy the war file into Tomcat 6 the file is deployed properly and i can view the website properly. But when I try to deploy the the WAR file from Oracle 9i Application Server I get the following error.
Failed to deploy web application "mytest". Nested exception Root Cause: Error loading web-app 'mytest' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version; nested exception is: java.lang.InstantiationException: Error loading web-app 'SFPD' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version.
My Current web.xml is this.
<?xml version="1.0" ?>
<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>My Test Project System</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
</web-app>
thanks in advance,Thanks for the reply sasesha,
I've changed my web.xml to
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>My Test Project System</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
During the initial upload the previous error doesn't show anymore, however, I'm getting this new error and currently I'm a bit at a loss since i included the spring.jar library file in my war file. I tried the new war file in Tomcat and the war file deploys fine. Am I missing a configuration or setup ?
Failed to deploy web application "mytest". Nested exception Root Cause: Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException. Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException
Thanks again,
sethsera -
IOS 5 Release Notes - Detailed Descriptions
Hi,
Where can I find more detailed descriptions of the iOS5 Software Update? Below is what I received when I downloaded the update, but this is very vague. I want to know more about the iMessage.
Thank you.
iOS5 Software Update
Thisupdate contains over 200 new features, including the following:
Notifications
◦ Swipe from the top of any screen to viewnotifications in one place with Notification Center
◦ New notifications appear briefly at the topof the screen
◦ View notifications from lock screen
◦ Slide the notification app icon to the righton the lock screen to go directly to the app
iMessage
◦ Send and receive unlimited text, photo, andvideo messages with other iOS 5 users
◦ Track messages with delivery and readreceipts
◦ Group messaging and secure encryption
◦ Works over cellular network and Wi-Fi*
Newsstand
◦ Automatically organizes magazine andnewspaper subscriptions on Home Screen
◦ Displays the cover of the latest issue
◦ Background downloads of new issues
Reminders for managing to do lists
◦ Syncs with iCloud, iCal and Outlook
◦ Location-based reminders when you leave orarrive at a location for iPhone 4S and iPhone 4
Built-in support for Twitter
◦ Sign-in once in Settings and tweet directlyfrom Camera, Photos, Maps, Safari and YouTube
◦ Add location to any tweet
◦ View twitter profile pictures and usernamesin Contacts
Camera improvements for devices with cameras
◦ Double click the home button when device isasleep to bring up a camera shortcut on iPhone 4S, iPhone 4, iPhone 3GS andiPod touch (4th generation)
◦ Volume Up button to take a picture
◦ Optional grid lines to line up shots
◦ Pinch to zoom in the preview screen
◦ Swipe to camera roll from preview screen
◦ Tap and hold to lock focus and exposure,iPad 2 and iPod touch (4th generation) only support exposure lock
Photo improvements for devices with cameras
◦ Crop and rotate
◦ Red eye removal
◦ One tap enhance
◦ Organize photos into albums
Mail improvements
◦ Format text using bold, italic, orunderlined fonts
◦ Indentation control
◦ Drag to rearrange names in address fields
◦ Flag messages
◦ Mass mark messages as flagged, read orunread
◦ Customize mail alert sounds
◦ S/MIME
Calendar improvements
◦ Year view on iPad and new Week view foriPhone and iPod touch
◦ Tap to create an event
◦ View and add event attachments
Game Center improvements
◦ Use personal photos for your Game Center account
◦ Compare your overall achievement scores withyour friends
◦ Find new Game Center friends with friendrecommendations and friends of friends
◦ Discover new games with custom gamerecommendations
AirPlay Mirroring for iPad 2 and iPhone 4S
Multitasking Gestures for iPad
◦ Use four or five fingers to pinch to theHome Screen
◦ Swipe up to reveal the multitasking bar
◦ Swipe left or right to switch between apps
On-device setup, activation andconfiguration with Setup Assistant
Software updates available over the airwithout tethering
iCloud support
◦ iTunes in the Cloud
◦ Photo Stream
◦ Documents in the Cloud
◦ Apps and Books automatic download andpurchase history
◦ Backup
◦ Contacts, Calendar, and Mail
◦ Find My iPhone
Redesigned Music app for iPad
Hourly weather forecast
Real-time stock quotes
Wireless sync to iTunes
Keyboard improvements
◦ Split keyboard for iPad
◦ Improved autocorrection accuracy
◦ Improved Chinese and Japanese input
◦ New Emoji keyboard
◦ Personal dictionary for autocorrection
◦ Optionally create keyboard short cuts forfrequently used words
Accessibility improvements
◦ Option to light LED flash on incoming callsand alerts for iPhone 4S and iPhone 4
◦ Custom vibration patterns for incoming callson iPhone
◦ New interface for using iOS withmobility-impairment input devices
◦ Option to speak a selection of text
◦ Custom element labeling for VoiceOver
Exchange ActiveSync improvements
◦ Wirelessly sync tasks
◦ Mark messages as flagged, read or unread
◦ Improved offline support
◦ Save a new contact from a GAL service
More than 1,500 new developer APIs
Bug fixes
Productscompatible with this software update:
iPhone 4S
iPhone 4
iPhone 3GS
iPad 2
iPad
iPod touch (4th generation)
iPod touch (3rd generation)
*Normal carrier data rates may apply. Messages will be sent as SMS when iMessageis unavailable, carrier messaging fees apply.
Forinformation on the security content of this update, please visit this website:
http://support.apple.com/kb/HT1222"You will need to look in Apple's developer documentation
http://developer.apple.com/
or perhaps there is or will be an in depth review at Ars Technica
http://arstechnica.com/apple/ -
Change the description of the product attributes
Hi,
I want to change the description of the product attributes from 1 - 6(Check Box) in MM02 in the SALES : Sales Org 2 Tab.
How to do this.
Kindly let me know.
Regards
ManojHi dude,
You can try Text Enhancements for ur Data Element in CMOD.
Tcode CMOD, Goto>text enhancements>Data Elements-->NewDEcust Doc.
Regards
Srikanth M -
How to tag attribute member with standard dimension member in EIS
hi,
would any one please help me how to tag attribute member with standard dimension member in EIS
THANK U IN ADVANCEIn your OLAP model, view columns for the base dimension table. Go into the column properties and for the columns that have Attribute values highlight them and click the Attribute button.
Go into Metadata Model and those fields will be available to drag into your outline as attribute members.
Once in the outline, go into the properties of the attribute and assign the level of the base dimension they associate with. -
JSP ${} expressions in JSF tag attributes
Does anyone know why the expert group decided not to allow ${} style expressions within JSF tag attributes? I understand that a different syntax is needed to implement the 'late binding' #{} expressions used to link input controls to form beans, but not why the JSF tags actually prevent the use of immediately evaluated ${} expressions for accessing variables in the page scope in JSP 2.0.
I know there has been a lot of discussion about this and other threads mention a security loophole that would be opened up by allowing expressions like #{blah.${someProperty}}, but I'm not sure why this sort of thing would cause a problem. Is there any way to enable this behaviour, such as editing the JSF tag library descriptors to allow runtime expressions (horrible though that sounds)? Or perhaps another JSF implementation that supports both immediately evaluated and late-binding expressions? It seems a rather unnecessary restriction that is going to cause much confusion and mistyping for all...
Thanks in advance,
Keith.Thanks Adam, I see the problem now. It's a fairly obscure loophole but serious nonetheless. Of course, this problem could also be avoided by not using request parameters within JSF tags as it doesn't affect the majority of legitimate uses for expressions.
I have to disagree with you about mixing ${} and #{} expressions though. The majority of developers will be used to writing ${} expressions in JSTL and JSP text and so will expect them to do work the same in JSF tags. Judging by the number of posts in this forum about being unable to use page scope variables in JSF tags this issue is already confusing a lot of people.
As a rule of thumb, "use ${} for expressions that are output to the page and #{} for binding controls to backing beans and invoking methods" (which perform clearly distinct functions) is a lot simpler and easier to learn IMHO than the current one, which is "use ${} for expressions that are output to the page except within a JSF tag, where you use #{} for the same thing and also to update form values and invoke action methods"! (OK, I'm exaggerating a little for effect, but you get the point... :-)
I agree that mixing both types of expression in the same attribute might be a little confusing, but this is an unlikely edge case that should probably be prevented in value binding or action attributes anyway. It's more of an issue for label values where mistyping one for the other is already very common and, although not especially difficult to debug, is just another pitfall awaiting the unwary JSP developer. I'm not sure that JSP expressions would be much more difficult to debug anyway as the value and method bindings will simply not work, which is pretty obvious as soon as you try and test the thing.
Is this something that the EG would be prepared to reconsider for the next release of JSF, or perhaps getting the security loophole addressed in the next JSP spec? In the meantime, is there any reason that developers shouldn't enable runtime expressions in the TLD file provided that they're willing to live with the consequences?
(Sorry to harp on about it, but I've already had several complaints about this after recommending JavaServer Faces for a major development project at ingenta.com.)
Many thanks,
Keith. -
E-commerce 5.0 for SAP ERP 6.0 ehp3: detailed description of product
Hello community,
I have installed and customized B2C shop (version 5.0) for SAP ERP 6.0 (NO TREX, NO IPC).
At first i maintained my shop with english language and after i checked out that all work properly i decided to localize it for russian language.
I created new shop for russian language and faced the following problem: list of products in my shop displays correctly but when i want to check detailed description of product (click on product in list) i see something like this Н о у т б у к instead of description on russian.
Can somebody help me to sort out this issue?
Thanks in advance.
BR,
DzmitryHI,
I can obtain detailed description of product on russian after i installed SAP E-commerce for SAP ERP version 7.0 instead of version 5.0.
Br,
Dzmitry -
Extract function not working with tag attributes
Hi all,
I have an xml document stored in the db as an xmlType. I am trying to use the extract function to retrieve values. The extract will work fine on tags without attributes. Any tags with attributes or tags beyond the tags with attributes will not be accessible.
<tag1>
<tag2>hi</tag2>
<tag3 att="hello">bye</tag3>
<tag4> hi again </tag4>
</tag1>
In the example above I can extract tag2 values but not tag3 or tag4 values.
here is my select statement
works
select e.xmlval.extract('/tag1/tag2').getStringval()
from test_xml e;
does not work
select e.xmlval.extract('/tag1/tag2/tag3').getStringval()
from test_xml e;
does not work
select e.xmlval.extract('/tag1/tag2/tag3/tag4').getStringval()
from test_xml e;
Any ideas?Hi all,
Found the issue. The problem was that I was not specifying the second argument to the extract function.
The tag attribute that I was not handling was xmlns="".
I used this atttribute as the second argument in the extract function and now I am off and running.
Hope this helps someone.
Cheers -
Custom tag attribute calculated by scriptlet expression
Hi,
If I set the rtexprvalue subelement of the attribute element in my tld to
"true", should I be able to dynamically determine the value of my custom tag
attribute using a scriptlet expression?
When I include the custom tag reference:
<prod:getCategory id="category"
categoryID="<%=request.getParameter("catID")%>" scope="page"/>
it actually gets written to the html as:
<prod:getCategory id="category" categoryID="2133" scope="page"/>
and is not recognized as a jsp tag.
I am using weblogic 6.0 sp1.
Thanks in advance!
daniel
I had the same problem in a design a couple of months ago and could not get around it so I switched the functionality into code and out of the tag lib.
I take it you are trying to do something like this?
<%
String value="hiworld";
%>
<mytaglib:saysomething value="<%=value%>"/> -
How to assign value of expression or variable to custom tag attribute in jsp?
I had the same problem in a design a couple of months ago and could not get around it so I switched the functionality into code and out of the tag lib.
I take it you are trying to do something like this?
<%
String value="hiworld";
%>
<mytaglib:saysomething value="<%=value%>"/> -
GRC AC 10 Role Detailed Description - Table
Hi Everyone
We are trying to find the Table in GRC that holds the Detailed Description of a Role. The information we want to find in found on the following screen
Additional Details -> Detailed Description when you build a role.
We want to export/extract this data into a BW table for a custom report.
Thanks for the help in advance
SimonI have been told by some of our technical guys that..
It is based on SAP standard long texts which are stored in a cluster and not a table, not sure what this means but hope it helps
Maybe you are looking for
-
I've been working this for two days and can't get it to work. I created a form from word and made fillable in pdf. Here is a link http://www.comancheflyer.com/NS/conv_regis_distributed.pdf I can fill it out OK but at the top left it say it sen
-
Why are my recordings shortened to ~18 minutes
I made a series of recordings in 2006 using Quicktime 7.0.3 and added to an iTunes 6.0.1 library. Each of these recordings is about 25-27 minutes. With either the last iOS or iTunes update these recordings quickly show the correct time but are then
-
Alternative for the ActiveX object for the other browsers excluding IE?
I need open a word document (Doc/Docx) then edit and save in client side itsetf.forthat i'm using ActiveXObject and javascript.it is working fine with IE but it's not working in other browsers(Chrome,Firefox). var w = new Active
-
Filtering in FileDialog (urgent please)
Hello everybody, I was watching one problem with JFileChooser ( Error: "There is no A drive...." at this forum , as i was also facing the same problem. BUT when someone suggested , i tried FileDialog and I could get rid of that Error BUT now i have p
-
Uploading photos to websites i.e. facebook/myspace
I cant upload photos to any websites since installing iphoto 8, does anyone know why?