Hi Volker,
I can specify every attribute more than once as long as I don't include the
JSTL taglib.
Regards
Helmut
----- Original Message -----
From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <users@myfaces.apache.org>
Sent: Friday, April 27, 2007 11:56 AM
Subject: Re: [Tobago] Problem with JSTL and multiple markup attributes
Hi,Helmut,
no i can't.
what happens when you specifiy any other attribute multiple times?
Regards,
Volker
2007/4/27, Helmut Swaczinna <[EMAIL PROTECTED]>:
Hi Volker,
ok, I thought I can specify a markup attribute more than once because I
get
no error doing this without JSTL.
But I don't understand why the valdation is only executed, when the JSTL
taglib is included.
Can you explain this to me?
Regards
Helmut
----- Original Message -----
From: "Volker Weber" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <users@myfaces.apache.org>
Sent: Thursday, April 26, 2007 9:34 PM
Subject: Re: [Tobago] Problem with JSTL and multiple markup attributes
> Hi Helmut,
>
> you can't have multiple markup attributes at one tag. But you can set
> multiple markups in one attribute.
>
> The markup attribute takes a comma separated list of markups, or a
> valuebinding to a String[] property, or a valuebinding to a single
> markup string.
>
> Regards,
> Volker
>
>
> 2007/4/26, Helmut Swaczinna <[EMAIL PROTECTED]>:
>>
>>
>> Hi,
>>
>> when I include the JSTL taglib in my page (<%@ taglib
>> uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>) I
>> can't use
>> multiple markup attributes. JSTL seems to do some validation which
>> Tobago
>> itself does not:
>>
>> 04-26 18:41:54,234 ERROR GENA-WAPP [http-8080-Processor25 ] [jsp]
>> Servlet.service() for servlet jsp threw exception
>> org.apache.jasper.JasperException: <h3>Validation error
>> messages from TagLibraryValidator for c in
>> /edit/headView.jsp</h3><p>null:
>> org.xml.sax.SAXPars
>> eException: Attribute "markup" was already specified for element
>> "tc:textarea".</p>
>>
>> Is it possible to turm off this validation? What knows JSTL about
>> Tobago
>> tags?
>>
>> Regards
>> Helmut
>