Thanks James for hanging in there...

If we can crack this one I will post a comprehensive listing.

Less extra stuff

Here is the source build tree  layout for the private library

\proto.component\src\main\java\proto\component\ShowError.jwc
\proto.component\src\main\java\proto\component\ShowError.html
\proto.component\src\main\java\proto\component\ShowMessages.jwc
\proto.component\src\main\java\proto\component\ShowMessages.html
\proto.component\src\main\resources\proto\component\proto.component.library

And this is what that looks like in the jar
/proto/component/ShowError.jwc
/proto/component/ShowError.html
/proto/component/ShowMessages.jwc
/proto/component/ShowMessages.html
/proto/component/proto.component.library

The JAR is jar'd up into the WAR with the following path
WEB-INF/lib/proto.component-1.0.jar


Now for the WAR (just html tapestry stuff) (Everything renders/runs fine until I refer to <span jwcid="@ShowMessages"/>

\tap.proto\src\main\webapp\Login.html
\tap.proto\src\main\webapp\WEB-INF\Login.page

and refers to the component as follows:
<html jwcid="@Shell" title="message:page.title">
<body jwcid="@Body">

        <h1><span jwcid="@Insert" value="message:page.title"/></h1>
        <span jwcid="@ShowMessages"/>
        <form jwcid="@Form"
       success="listener:onFormSubmit"
       cancel="listener:onFormCancel" name="loginForm"
clientValidationEnabled="ognl:true" delegate="bean:validationDelegate">

                <table border="0">
                <tr>
           <td>
<span jwcid="@Insert" value="message:label.emailAddress">EmailAddress:</span>
           </td>

<td><input jwcid="[EMAIL PROTECTED]" value="ognl:person.emailAddress" validators="validators:required" displayName="message:label.emailAddress" size="40" /></td>
       </tr>
                <tr>
           <td>
                                <span jwcid="@Insert" 
value="message:label.password">Password:</span>
           </td>
<td><input jwcid="[EMAIL PROTECTED]" value="ognl:person.password" validators="validators:required" displayName="message:label.password" size="40"/></td>
       </tr>

       <tr>
           <td/>
           <td>
<input type="submit" jwcid="[EMAIL PROTECTED]" label="message:label.login" /> <input type="submit" jwcid="[EMAIL PROTECTED]" label="message:label.cancel" onclick="javascript:this.form.events.cancel();" />
           </td>
       </tr>
                <tr>
        <td/>
           <td>
                <span jwcid="@Insert" value="message:label.rememberMe"/>
                <input jwcid="[EMAIL PROTECTED]" value="ognl:rememberMe"/>
        </td>
       </tr>

                </table>
        </form>
        <p><a href="#" jwcid="@PageLink" page="Home">Home</a></p>
</body>
</html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to