Forgot the jsps -- sorry!

=====
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
    <head>
        <title>Add Music Recording</title>
    </head>
    <body>
        <h3>
            Enter New Music Recording Details
        </h3>
        <div>
            <s:form action="add-music-recording.action">
                <s:select label="Select A Category" name="category" 
headerKey="1"
                    headerValue="-- Please Select --"
                    list="#{'Classical':'Classical', 'Jazz': 'Jazz', 
'Pop':'Pop'}" />
                <!-- Some editors will issue warnings here. You can ignore 
them. 
                Under JSP 2.1 the # character is now used by the JSP EL  but 
Struts 2 
                uses it differently -->    
                <s:textfield label="Title" name="title" size="30" 
maxlength="30" />
                <s:textfield label="Artist" name="artist" size="30" 
maxlength="30" />
    C2           <s:textfield label="Price" name="price" size="8" maxlength="8" 
/>
                <s:submit value="Add" />
            </s:form>
        </div>
    </body>

</html>
======

<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
    <head>
        <title>Music Recording Added Successfully</title>
    </head>
    <body>
    <div>
        <h3>
            Music Recording Added Successfully
        </h3>
        <table>
                <s:label label="Title" name="title" />
                <s:label label="Category" name="category" />
                <s:label label="Artist" name="artist" />
                <s:label label="Price" name="price" />
        </table>
    </div>
    </body>
</html>

=====


 


 

-----Original Message-----
From: Martin Gainty <mgai...@hotmail.com>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Wed, 25 Mar 2009 10:35 pm
Subject: RE: Config-browser properties tab broken (2.1.6)











can you post jsp and
 xml action config?

thx,
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
This message is confidential and may be privileged. If you are not the intended 
recipient, we kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.

> To: user@struts.apache.org
> Subject: Config-browser properties tab broken (2.1.6)
> Date: Wed, 25 Mar 2009 21:18:00 -0400
> From: musom...@aol.com
> 
> I find it doesn't matter which action you are looking at -- you get the same 
list of 38 key-value pairs which are clearly not the bean properties of your 
action. The list is pasted below:
> It looks very much like we are getting the bean properties of some Class<?> 
object ...?
> Chris M
> 
> annotation boolean 
> annotations [Ljava.lang.annotation.Annotation; 
> anonymousClass boolean 
> array boolean 
> canonicalName java.lang.String 
> classLoader java.lang.ClassLoader 
> classes [Ljava.lang.Class; 
> componentType java.lang.Class 
> constructors [Ljava.lang.reflect.Constructor; 
> declaredAnnotations [Ljava.lang.annotation.Annotation; 
> declaredClasses [Ljava.lang.Class; 
> declaredConstructors [Ljava.lang.reflect.Constructor; 
> declaredFields [Ljava.lang.reflect.Field; 
> declaredMethods [Ljava.lang.reflect.Method; 
> declaringClass java.lang.Class 
> enclosingC
lass java.lang.Class 
> enclosingConstructor java.lang.reflect.Constructor 
> enclosingMethod java.lang.reflect.Method 
> enum boolean 
> enumConstants [Ljava.lang.Object; 
> fields [Ljava.lang.reflect.Field; 
> genericInterfaces [Ljava.lang.reflect.Type; 
> genericSuperclass java.lang.reflect.Type 
> interface boolean 
> interfaces [Ljava.lang.Class; 
> localClass boolean 
> memberClass boolean 
> methods [Ljava.lang.reflect.Method; 
> modifiers int 
> name java.lang.String 
> package java.lang.Package 
> primitive boolean 
> protectionDomain java.security.ProtectionDomain 
> signers [Ljava.lang.Object; 
> simpleName java.lang.String 
> superclass java.lang.Class 
> synthetic boolean 
> typeParameters [Ljava.lang.reflect.TypeVariable; 
> 
> 

_________________________________________________________________
Windows Live™ SkyDrive: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009=



 

Reply via email to