Hi Jim,

You are correct!
I've missed those the other day.

Do you know what XSD restriction I should use to allow the usage of
wicket:for attribute *only* in HTML <label> elements ?


On Tue, Jan 22, 2013 at 5:14 PM, Olson, Jim (US SSA) <
jim.ol...@baesystems.com> wrote:

> Hello Martin,
>
> Unless I'm not understanding it correctly, wicket-1.5.xsd under
> wicket-core/src/main/resources/META-INF defines wicket attributes as well
> as elements.
> If defines attributes wicket:id, wicket:enclosure, and wicket:message
> attributes
> but not the wicket:for attribute.
>
>
> https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-Attributewicket
> says there are 6 attributes but it looks like wicket:unknown and
> wicket:scope have gone away.
>
> Thanks, and please explain if I'm misunderstanding this.
> Jim Olson
>
>
>
> -----Original Message-----
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Monday, January 21, 2013 3:37 AM
> To: users@wicket.apache.org
> Subject: Re: wicket:for attribute definition in xsd
>
> Hi,
>
> wicket-1.5.xsd defines only the elements - <wicket:something>.
> wicket:for is an attribute to <label> element which is part of HTML spec.
> Is there a way to define attributes to elements from a different namespace
> ?
> If it is possible then please file a ticket with a patch. The same is valid
> for wicket:message when used as an attribute.
>
>
> On Fri, Jan 18, 2013 at 9:23 PM, Jim Olson <jimo...@gmail.com> wrote:
>
> > There’s no attribute definition for wicket:for in the xsd of wicket
> 6.4.0.
> >
> > Shouldn’t it define this attribute?
> >
> >
> > Thank you
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to