So, one reason I thought it was a bug was the fact that the url it is 
requesting (/V2/app?service=asset&path=%2Fdojo%2Fsrc/widget/ContentPane.js) 
throws a 404 while manually requesting it at the correct URL 
(/V2/app?service=asset&path=%2Fdojo%2Fsrc/ContentPane.js) in fact returns the 
script.

I don't believe my web.xml contains any odd configuration. I'm not using any 
custom service encoders. Although I am using the standard page (.html 
extension) encoder, I have no default asset encoder (as evidenced by the URL 
from which it is requesting the asset and the subsequent success of pasteing a 
modified URL into the browser). 

Here are some relevant excerpts from my config:

hivemodule.xml:
<page-service-encoder id="page" extension="html" service="page"/>
<page-service-encoder id="external" extension="external" service="external"/> 

web.xml:
    <servlet>
        <servlet-name>tapestry</servlet-name>
        <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
        <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>tapestry</servlet-name>
        <url-pattern>*.html</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>tapestry</servlet-name>
        <url-pattern>/app</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>tapestry</servlet-name>
        <url-pattern>*.external</url-pattern>
    </servlet-mapping>


Thanks again for your help. I'm going to production in a few weeks so I 
wouldn't call it "racing to production". I'd highly appreciate it though if you 
let me know your recommendation (when is the 4.1.2 final release?). The product 
currently is planning on using the functionality. 

Thanks again!

Daniel Leffel


-----Original Message-----
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Tue 1/16/2007 5:55 PM
To: Tapestry users
Subject: Re: Problem with InlineEditBox and Tapestry 4.1.1
 
Hmmmm.......Sounds like it's a bug if it's possible for it to get like
that without any weird configuration.

What are the differences between the "basic" portions of your web.xml
and the ones used by the demo apps? (like TimeTracker or Workbench)

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/

I would start with thinking it's a url pattern issue of some sort,
either just in the web.xml definition or in the hivemodule definition.
If it's a bug and you're heading towards production I'll look at it
asap but will need more information to be able to re-produce this.

On 1/16/07, Leffel, Daniel <[EMAIL PROTECTED]> wrote:
> Does anyone have an opinion as to whether or not this something I'm
> doing wrong or a bug? I'm really stuck. Should I switch to a 4.1.2
> snapshot? Will this solve the problem? Only hesitation is that this is
> going to go to production soon... Help would be much appreciated.
>
> -----Original Message-----
> From: Leffel, Daniel [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 15, 2007 4:31 PM
> To: users@tapestry.apache.org
> Subject: Problem with InlineEditBox and Tapestry 4.1.1
>
> Hi all,
> I'm trying to use the InlineEditBox component. In looking at my debug, I
> see Dojo/Tapestry is trying to load the following classpath resource:
> "/dojo/src/widget/html/ContentPane.js". After inspecting the Tapestry
> 4.1.1 distribution jar, that content is actually located at
> "/dojo/src/widget/ContentPane.js". (See debug below)
>
> Am I doing something wrong? Source and debug is below:
>
> HTML:
> <html jwcid="@Shell" title="Vino Admin: Edit Styles"
> stylesheets='ognl:{getAsset("mainStyleSheet"),
> getAsset("adminStyleSheet")}'>
> <body jwcid="@Body" class="body">
>
> <span jwcid="@Form">
> <table border="0">
>   <tr jwcid="@For" source="ognl:styles" value="ognl:style" element="tr">
>     <td width="50"><span jwcid="@Checkbox" value="ognl:style.enabled"
> /></td>
>     <td width="200"><span jwcid="@InlineEditBox"
> value="ognl:style.styleName" /></td>
>   </tr>
> </table>
> </span>
>
> </body>
> </html>
>
>
>
> Console Debug:
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2Fsrc/widget/html/ContentPane.js with
> error: [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2Fsrc/widget/html.js with error:
> [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> DEBUG: failed loading /V2/app?service=asset&path=%2Fdojo%2Fsrc/widget.js
> with error: [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2Fsrc/__package__.js with error:
> [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> DEBUG: failed loading /V2/app?service=asset&path=%2Fdojo%2Fsrc.js with
> error: [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2F__package__.js with error:
> [SyntaxError: XML tag name mismatch (expected HR), file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 96]
> FATAL: Could not load 'dojo.widget.html.ContentPane'; last tried
> '__package__.js'
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2Fsrc/widget/ContentPane.js with
> error: [Error: Could not load 'dojo.widget.html.ContentPane'; last tried
> '__package__.js', file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 84]
> DEBUG: failed loading
> /V2/app?service=asset&path=%2Fdojo%2F../tapestry/namespace.js with
> error: [TypeError: dojo.hostenv.moduleHasPrefix is not a function, file:
> http://127.0.0.1:8080/V2/app?service=asset&path=%2Fdojo%2Fdojo.js, line:
> 116]
> DEBUG: no tag handler registed for type: dojo:inlineeditbox
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

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


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

Reply via email to