Hey guys,

I’m looking at the Book Document Type a lot, and while it’s really cool (the
ajax and seam examples are a nice touch), I’m having some difficulty giving it
content. Allow me to explain:

In a workspace, I click on the “New Document” button, and from the list of given
Document Types I choose “Book”. From there, I wanted to upload some content from
my computer. I upload the content, click the “Create” button, and I’m directed
to a 404 Error page. It said that it could not find the view_documents page.

These are the main errors I found in the data log:

ERROR [ConversionActionBean] error asking the any2pdf plugin whether null is
supported: null
ERROR [STDERR] Jun 17, 2008 9:30:10 AM com.sun.facelets.FaceletViewHandler\
handleRenderException

SEVERE: Error Rendering View [/view_documents.xhtml]

Javax.faces.FacesException: javax.el.ELException:
/widgets/extended_file_widget.xhtml @36.38 rendered=”#{isLiveEditable}”: Error
while evaluation MethodValueExpression
#{liveEditHelper.isCurrentDocumentLiveEditable
  (widget.fieldDefinitions[0].propertyName)}

*the previous two lines are really one whole line, but I had to shorten it
because of the 80 character line limit.

After looking at view_documents.xhtml, ConversionActionsBean.java, and
LiveEditBootstrapHelper.java, I discovered the problem was that something was
passing a null value – but I am unable to find out why it passes a null value.
Most likely the Book’s xml files is missing an extension that allows you to save
files...

But here is where it gets confusing: I click the Back button on my browser, and
then use the breadcrumb link to return to my workspace... The workspace’s list
of documents shows the book and the icon of the attached document, as if it were
really created. Whenever I click on the Book, though, I should get to the normal
page, but that leads me to a 404 Error as well. I check the log on my terminal,
and it gives me the exact same errors that I mentioned before.

How would I modify the Book extension so I could upload content to it? Thanks,
guys!

Chris

PS: For the sake of maintaining a clean E-mail, I'm omitting roughly 95% of the
error log I got. If you think you'll need to see the entire log, I'd be happy to
give it in a follow-up E-mail. Again, thanks a lot for your help!

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to