Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frontman 2.0 with ConstantsMapTag

 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I wanted to incorporate the following in my application:

http://www.javaranch.com/journal/200601/Journal200601.jsp#a3

I am also using FM2.0 and it kinda looks like there is support for this already in FM2.0

I guess this is pretty much directed toward bear, but what would I have to do to set this up using frontman? and where can i find a suitable tld file to use because it looks like the tld file in the jar attached to the article doesnt use the same class packages.

thanks
John
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll have to check later on... in hysteria mode right now!
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds good
 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey just checking in on this.

Looking through the code the only class i see in common in FM2.0 is ConstantsMapTag
Looks like it was refactored from the original.

 
John Schretz
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So i believe i found a work around. Seems you only need the ConstantsMapTag.java that is in FM2.0 for this to work and I altered the tld file.

I removed all other tags and functions but the below tag:



Set it up as per below:



Seems to work doing a quick test

Updated tld file if anyone else wants to use this with FM2.0



John
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic