Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Application Frameworks and the fly likes Frontman 2.0 with ConstantsMapTag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply Bookmark "Frontman 2.0 with ConstantsMapTag" Watch "Frontman 2.0 with ConstantsMapTag" New topic
Author

Frontman 2.0 with ConstantsMapTag

John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 171
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

Joined: Jan 10, 2002
Posts: 56218
    
  13

I'll have to check later on... in hysteria mode right now!


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 171
Sounds good
John Schretz
Ranch Hand

Joined: Sep 10, 2008
Posts: 171
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

Joined: Sep 10, 2008
Posts: 171
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Frontman 2.0 with ConstantsMapTag
 
Similar Threads
Is tld file necessary?
Taglib uri in TLD vs. taglib-uri in web.xml
[UPDATED] Announcing FrontMan 1.6.2
tag in tld; HF S&JSP
Tiles .tlds.... download location?