On 2007-09-25, George Lefter <[EMAIL PROTECTED]> wrote:
>
> I'm afraid this is not a simple config. One would have to search through the
> xhtml files for date formats:
><f:convertDateTime pattern="dd/MM/yyyy" />
> and change them. I have to admit that this is not very nice.
I've done some searching the mailing lists for installation info and the
like, and it seems that this change would be overwritten on each
upgrade, yes? How do people maintain their own xhtml files across
upgrades? Is everyone maintaining local branches in some version
control system, and merging?
In fact, I had downloaded 5.1.1.GA and now want to upgrade to a 5.1
snapshot, so this is a perfect opportunity to test. How could I
accomplish this upgrade without zapping xhtml files in which I've
tweaked convertDataTime?
Thanks again to everyone for the hints.
I have played with the sample repo and read through the basic tutorial
and book. I'm confused by two things:
1) The sample project adds a language field to the document
(not the metadata tab). It modifies the value on the metadata
tab, but uses a pulldown list (unlike the one on the metadata tab).
But it's not defined in a schema anywhere, nor documented anywhere
I could see. How & why is this done?
2) Try as I could, I can't get the sample1 or sample2 fields to show
up for searching in the Advanced Search box. I tried adding this to
my OSGI-INF/core-types-contrib.xml file:
<extension target="org.nuxeo.ecm.core.search.service.SearchServiceImpl"
point="indexableDocTyp">
<indexableDocType name="Sample" indexAllSchemas="true"/>
</extension>
but it didn't help. What am I missing?
3) Let's say I want to do nothing but add some string fields to
documents. Could I: 1) modify the core Document type to support
this, without having to declare a new type at all? 2) accomplish
this without having to write any Java code? (just XML hacking)
4) What's the deal with facets? They don't seem to be in the docs...
I notice that Sample extends Document, yet declares a Downloadable
facet. Does that mean that facets don't automatically come down
when you extend something? And if not, where can I find what
all facets Document uses?
I did google and search the list archives before asking.
I will say too that I found the instructions to set up a maven
environment clear once I plunged in. Only one minor problem, but it all
worked quite well. I have no idea what it all did, downloading all
these megabytes of stuff but only winding up with a 240K directory, but
"ant install" did its thing in the end, so I'm happy ;-)
-- John
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm