It's too much trouble to get IntelliJ to ignore the elements in the
namespace; I just ignore the warnings.

The big challenge with IntelliJ is that it's very picky about which
files it copies into the out folder (which, along with compiled .class
files, is the runtime classpath).  You need to update Project Settings
-> Compiler; there's a resource patterns list there.

It really needs an option that says "everything in this folder".

On Fri, Jul 11, 2008 at 7:05 PM, kace <[EMAIL PROTECTED]> wrote:
>
> Hi fellas,
>
> grabbed the simple archetype for T5 and playing about with the layout
> feature.  Created Layout.java and Layout.tml and trying to use it on
> Index.tml but I get the error listed below...
>
> Also on the Index.tml page it doesn't like the following:
>
> <t:layout t:title="literal:My first use of layout component"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> ... it
> doesnt like the <t:layout -- Element must be declared ( intellij IDEA 7.0.3
> )
>
> using 5.0.13.
>
> Thanks
>
> ..kace
>
> # org.apache.tapestry5.ioc.internal.util.TapestryException
> Unable to resolve 'layout' to a component class name. Available component
> types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm,
> BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink,
> ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell,
> GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw,
> PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio,
> RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier,
> TextArea, TextField, TextOutput, Unless, Zone.
>
> location
>    context:Index.tml, line 1, column 125
>    1   <t:layout t:title="literal:My first use of layout component"
> xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>    2
>    3
>    4   <p> This is the start page for this application, a good place to start
> your modifications.
>    5   Just to prove this is liv4e: </p>
>    6
>
> # java.lang.IllegalArgumentException
> Unable to resolve 'layout' to a component class name. Available component
> types: ActionLink, AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm,
> BeanEditor, Checkbox, DateField, Delegate, Errors, EventLink,
> ExceptionDisplay, Form, FormFragment, FormInjector, Grid, GridCell,
> GridColumns, GridPager, GridRows, If, Label, Loop, Output, OutputRaw,
> PageLink, Palette, PasswordField, PropertyDisplay, PropertyEditor, Radio,
> RadioGroup, RemoveRowLink, RenderObject, Select, Submit, SubmitNotifier,
> TextArea, TextField, TextOutput, Unless, Zone.
> --
> View this message in context: 
> http://www.nabble.com/-T5--tp18415269p18415269.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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

Reply via email to