Renaming Tag Attribute

Cannot rename an "a" tag attribute in a DWT. I go to Modify, Templates, Make Attribute Editable. In the pop up I click add, another pop_up box asks me to name the new attribute. However it will not let me type anyting in the naming box.
Any assitance is appreciated.
Thanks

Close. Here what we are supposed to do from the lesson from class. Taking intermediate Dreamweaver CS6.
What we need to do now is go through the links one at a time, selecting the anchor tags and then modifying the template so that the class attribute is editable for each anchor tag. Is your head spinning yet? Don't panic—this is easy.
Let's do it:
In your template's Document window, select the word Home on the navbar.
On the Tag Selector at the bottom of the Document window, click the <a> tag to select it.
Select Modify > Templates > Make Attribute Editable from the menu bar. This opens the Editable Tag Attributes dialog box, shown here:
Editable Tag Attributes dialog boxThere's only one problem—the attribute listed in the Attribute field isn't the one we want. The dialog box defaults to whatever attribute the tag currently has, and the only attribute in place right now is the href one. We want the class attribute, so we need to add it to the menu. We do that by clicking the Add button.
Click the Add button to the right of the Attribute field to bring up another small dialog box.
Type class into the field provided, as shown here:
Adding the class attribute
Now click OK to return to the original dialog box and finish our modifications.
In the Label field, enter Home_link.
Leave the Type field set to Text.
Leave the Default field empty, and click OK.
Above are the instructions for the lesson. I tried what you suggested but I stil cannot type in the pop up box

Similar Messages

  • 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,1

    Hi,
    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

  • 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 ADVANCE

    In 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.

  • Bug: unable to rename entity attribute (jdev903)

    Hi,
    I have an entity and a view on it.
    One of the entity attributes has the wrong name, so I tried to rename it, but jdev gave me a warning that it couldn't rename the attribute because the view is dependent on it. Sounds fair (although I wish it would rename the attribute in the view along with it, (refactoring)).
    Then I removed the attribute from the view, and try to rename the entity attribute again. It still can't rename it! I've verified twice to see if the attribute was actually removed from the view, which it was, so this is definitely a bug.
    Greetings,
    Ivo

    Ivo want's to rename the attribute in the entity object without first removing the attribute from the view object. That this isn't possible right now probably isn't a bug, because in your scenario you keep that in mind, so you manually first remove the attribute from the view object. But it would be nice if JDeveloper automatically renames the attribute in the view object too (instead of "complaining" about the dependency). And if you for example remove an attribute from an entity and a view object depends on it, it will ask you to remove the attribute from the view object(s) too etc.

  • 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%>"/>

  • Custom tag attribute question

    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%>"/>

  • 10g Preview: BUG: Infinite loop renaming entity attribute

    9.0.5.0.0, Build 1375, Win2k SP3.
    BACKGROUND:
    After attempting to rename an EO on which a VO was based I received an error that indicated the VO was dependent on the attribute to be renamed. I removed the VO attribute from the VO's attribute list and saved the changes. I then brought up the Entity Object wizard where I attempted to rename the attribute.
    When jdevw.exe is used to launch the IDE, the renaming action results in the IDE hanging. When jdev.exe is used, the console prints the following stack trace and the IDE gives a StackOverflowError.
    java.lang.StackOverflowError
         at java.lang.System.arraycopy(Native Method)
         at java.lang.StringBuffer.expandCapacity(StringBuffer.java:203)
         at java.lang.StringBuffer.append(StringBuffer.java:393)
         at oracle.jbo.dt.objects.JboBaseObject.getFullName(JboBaseObject.java:188)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
    [...a few hundred thousand more of these...]
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
    [...and a bunch of these...]
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeRemoveQuery(JboBaseObject.java:3394)
         at oracle.jbo.dt.objects.JboEntity.attributeChangeQuery(JboEntity.java:388)
         at oracle.jbo.dt.objects.JboChangeMulticaster.dispatchAttributeChangeQuery(JboBaseObject.java:3427)
         at oracle.jbo.dt.objects.JboObject.changeAttributeQuery(JboObject.java:107)
         at oracle.jbo.dt.ui.entity.AttributeSettingsPanel.attributeNameCheck(AttributeSettingsPanel.java:453)
         at oracle.jbo.dt.ui.entity.EOAttributePanel.leave(EOAttributePanel.java:279)
         at oracle.jbo.dt.ui.entity.EOAttributeTabPanel.leave(EOAttributeTabPanel.java:108)
         at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.updateCurrentAttr(EOEditAttributeTabPanel.java:330)
         at oracle.jbo.dt.ui.entity.EOEditAttributeTabPanel.leave(EOEditAttributeTabPanel.java:113)
         at oracle.jbo.dt.ui.main.dlg.DtjMddTraversable.onExit(DtuMddNavigable.java:278)
         at oracle.ide.panels.MDDPanel.exitTraversable(MDDPanel.java:761)
         at oracle.ide.panels.MDDPanel.onExit(MDDPanel.java:286)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.okAction(DtuWizard.java:1899)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.dismissDialog(DtjDialog.java:219)
         at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java)
         at java.awt.Component.dispatchEvent(Component.java)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:452)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog.show(Dialog.java:538)
         at java.awt.Component.show(Component.java:1134)
         at java.awt.Component.setVisible(Component.java:1089)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.setVisible(DtjDialog.java:137)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.setVisible(DtuWizard.java:1926)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.jbo.dt.ui.main.dlg.DtjDialog.showDialog(DtjDialog.java:114)
         at oracle.jbo.dt.ui.main.dlg.DtjMddWizardDialog.showDialog(DtuWizard.java:1885)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.createMddWizard(DtuWizard.java:422)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.setVisible(DtuWizard.java:276)
         at oracle.jbo.dt.ui.entity.EOWizard.setVisible(EOWizard.java:204)
         at oracle.jbo.dt.ui.main.dlg.DtuWizard.showDialog(DtuWizard.java:254)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEOWizard(JdxMenuManager.java:762)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEntityWizard(JdxMenuManager.java:741)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doEditMenuAction(DtuMenuManager.java:1341)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction(DtuMenuManager.java:1218)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction(JdxMenuManager.java:701)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1058)
         at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1041)
         at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doActionPerformed(JdxMenuManager.java:532)
         at oracle.jbo.dt.jdevx.ui.JdxMenuInvoker.run(JdxMenuManager.java:1285)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Thanks for the post, I've been able to reproduce this in the current builds and I've logged this as bug #3159091 to be fixed for 9.0.5 production.
    Ray

  • Using TAG Attributes within JSF Tags

    I'm using some .tag files for templating purposes. I'm using two tag attributes via <@% attribute %> directive. How can i access this attribute to do something like follows.
    <%@ tag display-name="Area de Trabajo" language="java" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
    <%@ attribute name="title" required="true"%>
    <%@ attribute name="location" %>
    <t:div styleClass="zonaArea#{(not empty location) ? location : 'Global'}">
      <h:panelGrid columns="1">
        <h:outputText value="#{title}" />
      </h:panelGrid>
      <jsp:doBody />
    </t:div>

    Hola Alberto.
    Any luck? Did you worked that around?
    I'm just trying to do the same thing...
    Tried to do something like:
    <%@attribute name="enabled" type="java.lang.String" %>
    <h:outputText value="test: #{requestScope['enabled']}" style="font-weight: bold;" /> to no avail...
    Let me know, please!
    Hi,
    Manrico

  • Updating tag attributes in design time

    I have a design time renderer for my custom component... As the component renders itself in design time, I set some of the component properties from within the renderer... The property sheet correctly shows those values... However, the associated JSP tag in the source view does not show those attributes... The JSP tag attributes dictate the runtime behavior and since they are not set properly, my component misbehaves.
    How do I make sure that the tag attributes sync up with the property sheet values?
    Also, what is the motivation behind the property sheet displaying the component values and not the JSP tag values? Having it the way it is right now opens itself up to a bunch of out-of-sync problems like the one I encountered.
    Thanks,
    Keyur

    Ok - here are a couple of scenarios:
    1. I have a component, say chart component associated with a connection component like this:
    <my:connection id="connection1" />
    <my:chart connectionId="connection1" />The user first drags and drops the connection component. The ID connection1 is automatically associated to it. Next he drops the chart component. Now, I would like to automatically populate the connectionId attribute without the user having to type it in manually. I am able to do that (in design time) in the renderer of the chart component - I programmatically look for a connection component on the page and set the connectionId attribute of the control. And when I do that it correctly shows the connectionId attribute populated in the property sheet but the corresponding tag attribute is not.
    Sure enough, at runtime, it is the tag attribute values that count and since those are not updated by the IDE, it does not work as expected.
    2. Creator updates the style attribute when I move or resize the component. Now, I also have position attributes left and top defined on my component and I use these attributes at runtime to position my component. So, in design time I extract the left and top values from the style attribute and set them on the component. But again, the tag attributes are not populated and so the component is not positioned properly.
    #1 is to convenience the user so that he doesn't have to manually enter values for attributes which can be automatically populated at design time.
    In fact for #1, I would ideally like to show the user a drop down list of all the connections available to him in the property sheet and select the first one by default. Is this possible?
    #2 is for backward compatibility reasons - We already have runtime renderers in place which use left and top attributes explicitly to render the components at runtime. And this is not restricted to left and top only but other client attributes as well - such as borders, backgrounds etc. which we expose as separate attributes.

  • EL in jtls tag attributes?

    I keep getting an exception when I try to use an expression in a jstl tag attribute and I don't understand why. I'm new to jstl, but everywhere I look online people are using these expressions just like I'm trying to. In fact, if I'm not mistaken, this is what the expression language was originally developed for, so I'm extra confused.
    an example:
    <c:forEach items="${someClass.someCollection}" var="myItem">
    blah blah blah
    </c:forEach>throws this exception:
    According to TLD or attribute directive in tag file, attribute items does not accept any expressionsthis happens when I run it with taglib uri set to http://java.sun.com/jstl/core but if I point it at a local .tld I get no exception. It appears that the tld at java.sun.com/jstl/core has a validator that disallows expressions in tag attributes, but I don't understand why. Will I always need to supply my own .tld files?
    any clarification of whats going on would help scrape off some of my shiny newbieness, and thus would be greatly appreciated.
    thanks

    what webserver are you running? And what version of JSTL are you using?
    You should go for a webserver that has JSP 2.0 support (Tomcat 5.5 for example) and you should use at least JSTL 1.1. You can download the latest version (1.2) here:
    http://people.apache.org/builds/jakarta-taglibs/nightly/projects/standard/
    Also be sure that in your web.xml file the servlet version is set to 2.4. It will look something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app 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">
    </web-app>Your best bet is to install an IDE like Netbeans and let it create a web project for you, then all the basic setup steps are performed for you and you have the correct library versions.

  • JSP in custom tag attributes...

    Sirs,
              A very nice feature from a development perspective, would be the ability
              to use JSP code within custom tags. Say I have a page on which I wish
              to give all the information on a widget. Say further that I have
              implemented a tag that writes out all the info of a widget as HTML
              table. I would like to write something like this:
              <mytaglib:widgetTag widgetID="<%=request.getParameter("widget_id")%>"
              />
              As far as I know, in the current implementation of custom taglibs this
              does not seem to be possible. Instead you end up writing something like
              this:
              <mytaglib:widgetTag>
              <mytaglib:getWidget><%=request.getParameter("widget_id")%>"</mytaglib:getWidget>
              <mytaglib:displayWidget />
              </mytaglib:widgetTag>
              Which is much more like a scripting language than a heirarchical XML .
              Now, I could always just use the request object within the tag helper
              classes, but this gives up flexibility and can introduce security
              issues, and it also makes the tags much more difficult to work with...
              In short, we should push for JSP evaluation of tag attributes. Weblogic
              could leap ahead of other app servers in this area (making up for the
              custom tag performance issues, to be solve in sp6) and Sun would, once
              again, follow Weblogic's lead and rewrite the standard to include this
              functionality.
              Regards,
              Carson Gross
              

    Carson,
              Perhaps the problem is that you are treating custom tags like one would
              construct an imperative language. I have never had to put Java or use beans
              or %= or even parameters to tags into a JSP because of custom tags.
              The real problem is writing/packaging/maintaining all those tags; sure could
              use a tool that did just that ;-)
              Peace,
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Carson Gross" <[email protected]> wrote in message
              news:[email protected]...
              > Sirs,
              >
              > A very nice feature from a development perspective, would be the ability
              > to use JSP code within custom tags. Say I have a page on which I wish
              > to give all the information on a widget. Say further that I have
              > implemented a tag that writes out all the info of a widget as HTML
              > table. I would like to write something like this:
              >
              > <mytaglib:widgetTag widgetID="<%=request.getParameter("widget_id")%>"
              > />
              >
              > As far as I know, in the current implementation of custom taglibs this
              > does not seem to be possible. Instead you end up writing something like
              > this:
              >
              > <mytaglib:widgetTag>
              >
              >
              <mytaglib:getWidget><%=request.getParameter("widget_id")%>"</mytaglib:getWid
              get>
              >
              > <mytaglib:displayWidget />
              > </mytaglib:widgetTag>
              >
              > Which is much more like a scripting language than a heirarchical XML .
              > Now, I could always just use the request object within the tag helper
              > classes, but this gives up flexibility and can introduce security
              > issues, and it also makes the tags much more difficult to work with...
              >
              > In short, we should push for JSP evaluation of tag attributes. Weblogic
              > could leap ahead of other app servers in this area (making up for the
              > custom tag performance issues, to be solve in sp6) and Sun would, once
              > again, follow Weblogic's lead and rewrite the standard to include this
              > functionality.
              >
              > Regards,
              > Carson Gross
              >
              

  • 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?
    TIA

    So, 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
    >

Maybe you are looking for

  • Is there a jabber client for windows users that's working?

    hello all, i've just deployed os x server 10.5 (standard configuration, upgraded to 10.5.3) and i have some users that are using ms windows. i can't seem to get google talk or any other windows jabber clients to successfully connect to the ichat serv

  • The backup was not performed because an error occurred while copying files to the backup disk

    Heeeelp!!! MBP Lion, Back up using time machine to an external HD 1T Seagate connected by USB, plenty of space left. Everything worked well, until it didn't! I can use Time machine to go back in time, and I can see/access/play movies from the library

  • JSPM ERROR- cannot add JAVA patches to deploy queue via JSPM

    Hi Experts! Last two days I have deployed java patches(SP13 to SP18).......almost finished......i have to deploy 2 more components only but suddenly i got error.now i cannot add java patches to JSPM deployment queue. am getting error '/usr/sap/BWP/DV

  • Deleting a number of files in one click ?

    How do i remove a number of managed masterfiles or versions in one step ? If i select a number of photos, file, delete master image and all versions....then only one photo at a time will be deleted ? Secondly, how do i delete all photos in total libr

  • Wave Studio says "device doesn't support this format"

    ?Wave Studio says "device doesn't support this format"'I have a X-Fi Extreme Music card I'm using in Windows 7 (x64). I haven't had any issues with the card or the software until I installed a codec pack: Shark Windows 7 Codec pack. It worked OK, but