I never see requests come through that should be my assests. It hits several times with path being "/" and once with path being "/home", which is Index page in my "home" package. The links returned are:
<link href="assets/tapestry/default.css" rel="stylesheet" type="text/css"> <link href="assets/resources/css/style.css" media="screen" rel="stylesheet" type="text/css"> (my own) One of the anchors on my layout component generates like this: <a class="activenavitab" href="home/index.layout.tab/home" id="tab"> My form's action (on the login component) looks like this: <form action="home/index.login.loginform" id="loginForm" method="post" name="loginForm"> It all looks normal to me. Why is it freaking out is beyond me.. -adam On Thu, May 22, 2008 at 1:30 PM, Josh Canfield <[EMAIL PROTECTED]> wrote: >> I stepped through AssetDispatcher and it is getting called, but it >> never finds path that starts with "/assets/" so it always returns >> false: > > Do you see requests come through that should be your assets? What is > getPath returning? > > Can you paste the <link> and <a> tags that are created? > > > > On Thu, May 22, 2008 at 11:18 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote: >> I stepped through AssetDispatcher and it is getting called, but it >> never finds path that starts with "/assets/" so it always returns >> false: >> >> String path = request.getPath(); >> >> // Remember that the request path does not include the context >> path, so we can simply start >> // looking for the asset path prefix right off the bat. >> >> if (!path.startsWith(TapestryConstants.ASSET_PATH_PREFIX)) return >> false; >> >> Why is it working when my app isn't JARred? >> >> On Thu, May 22, 2008 at 1:11 PM, Adam Zimowski <[EMAIL PROTECTED]> wrote: >>> Yeah, everything works if it isn't jarred. Thanks for pointing out >>> AssetDispatcher. I'll try to debug it. >>> >>> On Thu, May 22, 2008 at 12:52 PM, Josh Canfield <[EMAIL PROTECTED]> wrote: >>>>> What's weird is that internal Tapestry >>>>> resources aren't loading either. >>>> >>>> You said earlier that it worked if it wasn't jar'd, do the tapestry >>>> assets work in that environment? >>>> Are you getting anything in your log files? >>>> You might try stepping into the AssetDispatcher to see if it's getting >>>> called. >>>> >>>> Josh >>>> >>>> On Thu, May 22, 2008 at 10:22 AM, Adam Zimowski <[EMAIL PROTECTED]> wrote: >>>>> I tried that and no difference. What's weird is that internal Tapestry >>>>> resources aren't loading either. For instance: >>>>> >>>>> /assets/tapestry/default.css >>>>> >>>>> will not load either. This is consistent with the presentation. Again, >>>>> all functionality works, including data access, but on forms, for >>>>> instance, input errors aren't styled at all. Nothing. My styles, js, >>>>> and images are gone, and those of Tapestry are also gone. >>>>> >>>>> -adam >>>>> >>>>> On Thu, May 22, 2008 at 12:15 PM, Thiago HP <[EMAIL PROTECTED]> wrote: >>>>>>> <link rel="stylesheet" media="screen" type="text/css" >>>>>>> href="${asset:classpath:resources/css/layout.css}" /> >>>>>> >>>>>> Try ${asset:classpath:/resources/css/layout.css} (note the slash after >>>>>> 'classpath:'). >>>>>> >>>>>> -- >>>>>> Thiago >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> 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] >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> -- >>>> TheDailyTube.com. Sign up and get the best new videos on the internet >>>> delivered fresh to your inbox. >>>> >>>> --------------------------------------------------------------------- >>>> 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] >> >> > > > > -- > -- > TheDailyTube.com. Sign up and get the best new videos on the internet > delivered fresh to your inbox. > > --------------------------------------------------------------------- > 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]