er.extensions.components
Class ERXLocalizationEditor
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXLocalizationEditor
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable
public class ERXLocalizationEditor
- extends WOComponent
Editor page for the localized files that are supplied in your settings. Note that the "save"
overwrites the files in the bundle, so be sure to have it pointed to the original file and not
the built bundle.
- Author:
- ak
- See Also:
- Serialized Form
| Methods inherited from class com.webobjects.appserver.WOComponent |
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, appendToResponse, application, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding |
currentLanguage
public String currentLanguage
currentFilename
public String currentFilename
currentFramework
public String currentFramework
data
public NSMutableArray data
currentEntry
public NSMutableDictionary currentEntry
selectedFramework
public String selectedFramework
selectedFilename
public String selectedFilename
UNSET
public String UNSET
displayGroup
public WODisplayGroup displayGroup
keyToAdd
public String keyToAdd
ERXLocalizationEditor
public ERXLocalizationEditor(WOContext context)
awake
public void awake()
- Overrides:
awake in class WOComponent
availableLanguages
public NSArray availableLanguages()
frameworkSearchPath
public NSArray frameworkSearchPath()
fileNamesToWatch
public NSArray fileNamesToWatch()
urlForCurrentFile
public URL urlForCurrentFile()
urlForSelectedFile
public URL urlForSelectedFile()
fileExistsInLanguage
public boolean fileExistsInLanguage()
editFramework
public void editFramework()
isLargeEntry
public boolean isLargeEntry()
highlightClass
public String highlightClass()
- Returns a colored border style for unset values
valueCellWidth
public String valueCellWidth()
- Returns a width for the current columns
colspanForBatchNavigation
public int colspanForBatchNavigation()
valueComponentName
public String valueComponentName()
saveFramework
public void saveFramework()
throws IOException
- Throws:
IOException
hasCurrentValue
public boolean hasCurrentValue()
currentValue
public String currentValue()
setCurrentValue
public void setCurrentValue(String value)
sortEntries
public WOComponent sortEntries()
- Sorts the entries ascending with the selected language, brings empty entries to the first batches
addEntry
public WOComponent addEntry()
- Add an entry to the array of objects
removeEntry
public WOComponent removeEntry()
- Removes the current entry from all languages
Copyright © 2002 – 2007 Project Wonder.