| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I noticed a fully EL-variable give warnings in IDEA. Maybe I'm doing something wrong, please look at the attached screenshot. If this indeed is a IDEA-error: -Do you have to add support for every variable of that kind manually? -Do I report such "small" bugs in the JIRA? It certainly isn't a big matter, but it's annoying, and I don't want to turn off the error marking, because It's working great in the other cases. |
|
#2
| |||
| |||
| this might be relevant http://www.intellij.net/forums/threa...sageID=5202895 is your "t:dataList" a custom tag ? |
|
#3
| |||
| |||
| It's Apache Tomahawk. So it's probably just missing information from their tld. |
|
#4
| |||
| |||
| Please, create JIRA request geofrank wrote: > It's Apache Tomahawk. So it's probably just missing information from their tld. -- Best regards, Maxim Mossienko IntelliJ Labs / JetBrains Inc. http://www.intellij.com "Develop with pleasure!" |
|
#5
| |||
| |||
| Do you have any pointers as to how I can modify the tld-file to provide this validation information? |
|
#6
| |||
| |||
| But isn't this a problem with Tomahawk's tld? |
|
#7
| |||
| |||
| if this isn't an IDEA isssue, this might be a good start http://java.sun.com/j2ee/sdk_1.3/tec...ExtraInfo.html |
|
#8
| |||
| |||
| You may specify valid TagExtraInfo class for the tag in question While this specifies information about Java variables, IDEA's el supports pick up this information (but e.g. variable defined via 'var' attribute is not returned by any tag extra info) geofrank wrote: > But isn't this a problem with Tomahawk's tld? -- Best regards, Maxim Mossienko IntelliJ Labs / JetBrains Inc. http://www.intellij.com "Develop with pleasure!" |
|
#9
| |||
| |||
| Ok, I'm not sure I understand exactly what you mean here. Am I correct if I understand it as this: I can define a TagExtraInfo, and that will work, but usually this is implemented directly in IDEA? |
|
#10
| |||
| |||
| when i had looked at this, i discovered another way for tld writers to do this. using the <variable> element in the tld like <tag> <name>myTag</name> <tag-class>aClass</tag-class> <variable> <name-from-attribute>var</name-from-attribute> </variable> .... </tag> But i didn't see this specified for the common taglibs IIRC |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.