Master P,
 
There's a list for MachII on CFC Dev?  I'll have to check that out.
 
anyways... so the goal of this is to prepare or load a properties file that is then used by a resource bundle in the view.  if i can build it into the plugin i have the plugin load the bundle for that view and i don't have to repeat myself in every view.  then all i need to do in my views is rb.getString("stringName").  i'm aware of the connection to the framework but I'm okay with this minor connection as it's easily implemented elsewhere.
 
right now i have a function in all the views to get the localized information.
<cfset localizeView(arguments.viewName) />
 
the preView seems ideal.  what do you think?  any other solutions that would be more ideal in your opinion?
 
thanks in advance for your thoughts.
 
-greg
 
btw.  love the cfweekly.  good stuff.
 
 
 
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter J. Farrell
Sent: Tuesday, May 23, 2006 2:25 PM
To: [email protected]
Subject: Re: [CFCDev] Re: MachII Plugin...

Greg Brown said the following on 5/23/2006 5:07 PM:
Does anyone know how to get the viewName from the preView method of a plugin in the MachII framework?
 
-greg
This is not possible unless you hack the framework to pieces.  There is no access in the Mach-II API to get this data.  Also, it unnecessarily ties you to the framework.  What are you trying to accomplish?  Maybe there is a better way of accomplishing your goals.  Feel free to move this to the Mach-II list (you'll probably get better responses).

Best,
.Peter
-- 
Peter J. Farrell - Maestro Publishing
Certified Adobe ColdFusion MX7 Developer
Member Team Mach-II and Team Fusion
--
Co-Host of the ColdFusion Weekly Podcast
The "Virtually Live" Call-In Show
http://www.coldfusionweekly.com



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected] ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to