You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Grey.Lee" <Le...@SunTrust.com> on 2004/08/27 09:24:21 UTC
Tapestry and AppFuse WAS: Error - Attribute "jwcid" must be declared for element type "html".
I made the file association change (thanks, Alex), but even in the
Tapestry Template Editor, all my Tapestry-related attributes have errors
such as 'Error - Attribute "jwcid" must be declared for element type
"html".'
This project began as an AppFuse project, and I have combined the
Tapestry servlet with AppFuse (Hibernate, Spring, Struts). I described
what I did at http://www.leegrey.com/hmm.
Something's not quite right about this project from Spindle's
perspective. I opened sc-tapestry-crud1 from
http://www.sandcastsoftware.com/articlesandtutorials/brownbag/index.html
, and the Tapestry Template Editor is happy with the jwcid attributes in
those .html pages. My AppFuse project is set as a Tapestry project, so
I'm not sure what the problem is. What else could be a factor here?
Jars, environment variables, classpath?
I'd love to successfully merge AppFuse and Tapestry. Any help would be
greatly appreciated.
Thanks,
Lee Grey
-----Original Message-----
From: Alex Zuroff [mailto:azuroff@sbcglobal.net]
Sent: Thursday, August 26, 2004 9:35 PM
To: Tapestry users
Subject: Re: Error - Attribute "jwcid" must be declared for element type
"html".
Window -> Preferences -> Workbench -> File
Associations.
Select *.html from the list of file types, remove
XMLBuddy as the associated editor, and add Tapestry
Template Editor (or another editor of your choice) as
the new editor. If you use the .htm extension, you'll
need to make the same change for that association.
Todd - are you using something else in place of
XMLBuddy? I just started using it yesterday, so if
there's something better, I'd like to hear about it.
Alex
--- Todd O'Bryan <to...@mac.com> wrote:
> There should be some way to have Spindle's editor of
> choice get picked
> for HTML files and then
> use XMLBuddy for XML files. Unfortunately, I
> couldn't find it. I dumped
> XMLBuddy and have been
> fine since.
>
> Todd
>
> On Aug 26, 2004, at 8:27 PM, Grey.Lee wrote:
>
> > I just found, in Window > Preferences > XMLBuddy >
> XML > Validation >
> > DTD, the place to add the DTD for the .page file.
> Now that I can do
> > that, I'm wondering what to do to make XMLBuddy
> happy for Tapestry HTML
> > files, with all the non-standard attributes. Is
> there a DTD for this,
> > and can XMLBuddy deal with two different choices
> for .html files?
> >
> > Am I lost in space, or should this stuff be
> documented somewhere? Or
> > do
> > you have to choose between XMLBuddy and Spindle?
> >
> > Thanks,
> > Lee
> >
> > -----Original Message-----
> > From: Grey.Lee
> > Sent: Thursday, August 26, 2004 8:11 PM
> > To: tapestry-user@jakarta.apache.org
> > Subject: Error - Attribute "jwcid" must be
> declared for element type
> > "html".
> >
> > I'm getting lots of attribute errors like the one
> in the subject. I'm
> > running Spindle and the free version of XMLBuddy,
> and it seems that
> > XMLBuddy doesn't understand the Tapestry schema,
> which is causing
> > problems for Spindle.
> >
> > The other major symptom I'm seeing is that the
> Finish button in the New
> > Tapestry Page wizard doesn't work. When the
> wizard opens, it tells me
> > "An error has occurred. See error log for more
> details," which is what
> > led me to discover the attribute errors above (by
> enabling the XML
> > Validate filters in the Eclipse Problems view. If
> I click OK on that
> > error box, I can fill in the New Tapestry
> Component dialog box, but the
> > Finish button goes in and out without ever closing
> the dialog box. I
> > am
> > assuming this is due to the attribute errors, but
> I don't know for
> > sure.
> >
> > Any idea what I can do to fix this?
> >
> > I am using Eclipse 3.0 and installed Spindle
> through Help > Software
> > Updates > Find and Install... If I open the
> Plug-ins view, I am
> > surprised to find com.iw.plugins.spindle.core
> (0.1.11) along with three
> > other low version-numbered spindle plug-ins. Are
> those numbers right?
> >
> > Thanks,
> > Lee Grey
> > http://www.leegrey.com/hmm
> > ************************************************
> > The information transmitted is intended solely
> > for the individual or entity to which it is
> > addressed and may contain confidential and/or
> > privileged material. Any review, retransmission,
> > dissemination or other use of or taking action
> > in reliance upon this information by persons or
> > entities other than the intended recipient is
> > prohibited. If you have received this email in
> > error please contact the sender and delete the
> > material from any computer.
> > ************************************************
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> > ************************************************
> > The information transmitted is intended solely
> > for the individual or entity to which it is
> > addressed and may contain confidential and/or
> > privileged material. Any review, retransmission,
> > dissemination or other use of or taking action
> > in reliance upon this information by persons or
> > entities other than the intended recipient is
> > prohibited. If you have received this email in
> > error please contact the sender and delete the
> > material from any computer.
> > ************************************************
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> >
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
************************************************
The information transmitted is intended solely
for the individual or entity to which it is
addressed and may contain confidential and/or
privileged material. Any review, retransmission,
dissemination or other use of or taking action
in reliance upon this information by persons or
entities other than the intended recipient is
prohibited. If you have received this email in
error please contact the sender and delete the
material from any computer.
************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Tapestry and AppFuse WAS: Error - Attribute "jwcid" must be declared for element type "html".
Posted by gl...@intelligentworks.com.
Lee,
You need to figure out which plugin is adding the error message and then check thier docs, drop a line on thier forum, or contact
them directly to get info on how to avoid this issue. Here's what I think is happening... The errors are being added by a project
builder contributed by a plugin. A builder run's independantly from any editors and adds markers to file that will show up in
*any* properly configured Eclipse editor. Spindle doesn't add this particular marker so I would check and see if XMLBuddy is
leaving behind markers that it never cleans up.
You can get clues to who's causung the problem by looking at the xml in the .project file, it will tell you what
project "natures" and "builders" are associated.
Lastly, you can clean up old abandoned markers in Eclipse 3.0 by doing a clean build. If you do that and the marker comes back,
the plugin causing you grief is still checking files and adding markers.
Geoff
"Grey.Lee" <Le...@SunTrust.com> said:
> I made the file association change (thanks, Alex), but even in the
> Tapestry Template Editor, all my Tapestry-related attributes have errors
> such as 'Error - Attribute "jwcid" must be declared for element type
> "html".'
>
> This project began as an AppFuse project, and I have combined the
> Tapestry servlet with AppFuse (Hibernate, Spring, Struts). I described
> what I did at http://www.leegrey.com/hmm.
>
> Something's not quite right about this project from Spindle's
> perspective. I opened sc-tapestry-crud1 from
> http://www.sandcastsoftware.com/articlesandtutorials/brownbag/index.html
> , and the Tapestry Template Editor is happy with the jwcid attributes in
> those .html pages. My AppFuse project is set as a Tapestry project, so
> I'm not sure what the problem is. What else could be a factor here?
> Jars, environment variables, classpath?
>
> I'd love to successfully merge AppFuse and Tapestry. Any help would be
> greatly appreciated.
>
> Thanks,
> Lee Grey
>
>
> -----Original Message-----
> From: Alex Zuroff [mailto:azuroff@sbcglobal.net]
> Sent: Thursday, August 26, 2004 9:35 PM
> To: Tapestry users
> Subject: Re: Error - Attribute "jwcid" must be declared for element type
> "html".
>
> Window -> Preferences -> Workbench -> File
> Associations.
>
> Select *.html from the list of file types, remove
> XMLBuddy as the associated editor, and add Tapestry
> Template Editor (or another editor of your choice) as
> the new editor. If you use the .htm extension, you'll
> need to make the same change for that association.
>
> Todd - are you using something else in place of
> XMLBuddy? I just started using it yesterday, so if
> there's something better, I'd like to hear about it.
>
> Alex
>
>
> --- Todd O'Bryan <to...@mac.com> wrote:
>
> > There should be some way to have Spindle's editor of
> > choice get picked
> > for HTML files and then
> > use XMLBuddy for XML files. Unfortunately, I
> > couldn't find it. I dumped
> > XMLBuddy and have been
> > fine since.
> >
> > Todd
> >
> > On Aug 26, 2004, at 8:27 PM, Grey.Lee wrote:
> >
> > > I just found, in Window > Preferences > XMLBuddy >
> > XML > Validation >
> > > DTD, the place to add the DTD for the .page file.
> > Now that I can do
> > > that, I'm wondering what to do to make XMLBuddy
> > happy for Tapestry HTML
> > > files, with all the non-standard attributes. Is
> > there a DTD for this,
> > > and can XMLBuddy deal with two different choices
> > for .html files?
> > >
> > > Am I lost in space, or should this stuff be
> > documented somewhere? Or
> > > do
> > > you have to choose between XMLBuddy and Spindle?
> > >
> > > Thanks,
> > > Lee
> > >
> > > -----Original Message-----
> > > From: Grey.Lee
> > > Sent: Thursday, August 26, 2004 8:11 PM
> > > To: tapestry-user@jakarta.apache.org
> > > Subject: Error - Attribute "jwcid" must be
> > declared for element type
> > > "html".
> > >
> > > I'm getting lots of attribute errors like the one
> > in the subject. I'm
> > > running Spindle and the free version of XMLBuddy,
> > and it seems that
> > > XMLBuddy doesn't understand the Tapestry schema,
> > which is causing
> > > problems for Spindle.
> > >
> > > The other major symptom I'm seeing is that the
> > Finish button in the New
> > > Tapestry Page wizard doesn't work. When the
> > wizard opens, it tells me
> > > "An error has occurred. See error log for more
> > details," which is what
> > > led me to discover the attribute errors above (by
> > enabling the XML
> > > Validate filters in the Eclipse Problems view. If
> > I click OK on that
> > > error box, I can fill in the New Tapestry
> > Component dialog box, but the
> > > Finish button goes in and out without ever closing
> > the dialog box. I
> > > am
> > > assuming this is due to the attribute errors, but
> > I don't know for
> > > sure.
> > >
> > > Any idea what I can do to fix this?
> > >
> > > I am using Eclipse 3.0 and installed Spindle
> > through Help > Software
> > > Updates > Find and Install... If I open the
> > Plug-ins view, I am
> > > surprised to find com.iw.plugins.spindle.core
> > (0.1.11) along with three
> > > other low version-numbered spindle plug-ins. Are
> > those numbers right?
> > >
> > > Thanks,
> > > Lee Grey
> > > http://www.leegrey.com/hmm
> > > ************************************************
> > > The information transmitted is intended solely
> > > for the individual or entity to which it is
> > > addressed and may contain confidential and/or
> > > privileged material. Any review, retransmission,
> > > dissemination or other use of or taking action
> > > in reliance upon this information by persons or
> > > entities other than the intended recipient is
> > > prohibited. If you have received this email in
> > > error please contact the sender and delete the
> > > material from any computer.
> > > ************************************************
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > > ************************************************
> > > The information transmitted is intended solely
> > > for the individual or entity to which it is
> > > addressed and may contain confidential and/or
> > > privileged material. Any review, retransmission,
> > > dissemination or other use of or taking action
> > > in reliance upon this information by persons or
> > > entities other than the intended recipient is
> > > prohibited. If you have received this email in
> > > error please contact the sender and delete the
> > > material from any computer.
> > > ************************************************
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> > >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> ************************************************
> The information transmitted is intended solely
> for the individual or entity to which it is
> addressed and may contain confidential and/or
> privileged material. Any review, retransmission,
> dissemination or other use of or taking action
> in reliance upon this information by persons or
> entities other than the intended recipient is
> prohibited. If you have received this email in
> error please contact the sender and delete the
> material from any computer.
> ************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org