Hi all

First up, I'm working on a patch to add a 'nicer' editor to replace textareas 
in specific places (Kickstart pre/post scripts and config file creatation and 
editing).  The problem I'm having is when I change 

<html:textarea property="contents" rows="20" cols="80" /><br />

to

<textarea property="contents" rows="20" cols="80" 
id="contents">${revision.configContent}</textarea><br />

in 
java/code/webapp/WEB-INF/pages/common/fragments/configuration/channel/create.jspf,
 I get the following displayed in the textarea and the newly created file is 
empty.

com.redhat.rhn.domain.config.configcont...@21f3ee79[id=6,fileSize=0,md5sum=d41d8cd98f00b204e9800998ecf8427e,isBinary=false,contentsBlob=<null>,created=2009-01-05
 08:31:30.0,modified=2009-01-05 08:31:30.0]

I realise that ${revision.configContent} is giving me the complete object, how 
do I just what is contained in 'contentsBlob'?  i.e. the file data rather than 
the meta data.  I've tried ${revision.configContent.contentsBlob} and 
${revision.contentsBlob}, both give me tomcat errors.


Lastly, I'm pretty much fully sync'd with the git repo and what I find is I get 
errors in /var/log/tomcat5/catalina.out:
---
2009-01-05 11:36:02,618 [TP-Processor6] ERROR 
com.redhat.rhn.manager.kickstart.cobbler.CobblerLoginCommand - XmlRpcFault 
while logging in.  most likely user doesn't have permissions.
redstone.xmlrpc.XmlRpcFault: cobbler.cexceptions.CX:'login failed: spacewalk'
---

I've installed cobbler but not configured it.  Is there a howto for this as yet?

Thanks

CC

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.


_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to