<div dir="ltr"><div><div><div>Hi,<br><br></div>thanks for the help!<br><br></div>Yes, I was coding according to the 1st documentation. But my problem is<br><br><a href="http://opencms.123.com/index.html" target="_blank">http://opencms.123.com/index.<wbr>html</a>(offline)<br>works!<br><a href="http://opencms.123.com/index.html" target="_blank">http://opencms.123.com/index.<wbr>html</a>(online)<br>works!<br><a href="http://www.123.com/index.html" target="_blank">http://www.123.com/index.html</a>(<wbr>online)<br>NOT working!<br><br><br></div>Do you have any idea why it happen?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-25 5:35 GMT+02:00 Jose Fermin Athie Campollo <span dir="ltr"><<a href="mailto:athiecampollo@gmail.com" target="_blank">athiecampollo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>Right now i can't see this page. <a href="http://www.opencms-wiki.org/wiki/Write_a_file_programatically" target="_blank">http://www.opencms-wiki.<wbr>org/wiki/Write_a_file_<wbr>programatically</a> in it you could find a way to create a resource and then publish it </div><div>Some one else publish the code to create a resource <a href="http://opencms.996256.n3.nabble.com/Create-resource-programatically-td15459.html" target="_blank">http://opencms.<wbr>996256.n3.nabble.com/Create-<wbr>resource-programatically-<wbr>td15459.html</a> </div><div><br></div><div>You should see the javadoc of<span class="m_457778963602854218inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> </span><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px">CmsObject </span><span class="m_457778963602854218inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> you can do a lot of thing with it. </span></div><div><span class="m_457778963602854218inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"><br></span></div><div><span class="m_457778963602854218inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px">Regards</span></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">El lun., 24 de oct. de 2016 a la(s) 19:10, 楊博凱 <<a href="mailto:ken@thesys.com.tw" target="_blank">ken@thesys.com.tw</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="m_457778963602854218gmail_msg">你要先儲存它至offline, 再利用api  publish它至online 版本。</p>
<div class="gmail_extra m_457778963602854218gmail_msg"><br class="m_457778963602854218gmail_msg"><div class="gmail_quote m_457778963602854218gmail_msg">2016年10月25日 上午12:38,"Qi Zhang" <<a href="mailto:kksjtu@gmail.com" class="m_457778963602854218gmail_msg" target="_blank">kksjtu@gmail.com</a>>寫道:<br type="attribution" class="m_457778963602854218gmail_msg"><blockquote class="gmail_quote m_457778963602854218gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg">Hi everyone,<br class="m_457778963602854218gmail_msg"><br class="m_457778963602854218gmail_msg"></div>I need to<b class="m_457778963602854218gmail_msg"><span style="color:rgb(0,0,0)" class="m_457778963602854218gmail_msg"> store</span> </b>submited web form <b class="m_457778963602854218gmail_msg">data</b> information<b class="m_457778963602854218gmail_msg"> into</b> a text<b class="m_457778963602854218gmail_msg"> file</b> (doesn't matter where, as long as reachable). Unfortunatelly I just got to know it is not allowed to have write access in online project.<span style="color:rgb(0,0,0)" class="m_457778963602854218gmail_msg"> <span style="background-color:rgb(255,255,255)" class="m_457778963602854218gmail_msg"><b class="m_457778963602854218gmail_msg">Anyone has idea of how to archive this?</b></span></span><br class="m_457778963602854218gmail_msg"><br class="m_457778963602854218gmail_msg"></div>I've tried to switch context to offline context. But it only works when I test it in the workspace. In the published real webpage it won't work with error HTTP 500..<br class="m_457778963602854218gmail_msg"><br class="m_457778963602854218gmail_msg"></div>Thanks a lot in advance!<br class="m_457778963602854218gmail_msg" clear="all"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><br class="m_457778963602854218gmail_msg">-- <br class="m_457778963602854218gmail_msg"><div class="m_457778963602854218m_-7225536183102109358m_7010192535923813676m_4426679182581046515gmail_signature m_457778963602854218gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div dir="ltr" class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div dir="ltr" class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg"><div class="m_457778963602854218gmail_msg">Best regards,<br class="m_457778963602854218gmail_msg"></div><div dir="ltr" class="m_457778963602854218gmail_msg">Qi Zhang<br class="m_457778963602854218gmail_msg"></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br class="m_457778963602854218gmail_msg">______________________________<wbr>_________________<br class="m_457778963602854218gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="m_457778963602854218gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="m_457778963602854218gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="m_457778963602854218gmail_msg" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg"></blockquote></div></div>
______________________________<wbr>_________________<br class="m_457778963602854218gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="m_457778963602854218gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="m_457778963602854218gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="m_457778963602854218gmail_msg" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
<br class="m_457778963602854218gmail_msg">
</blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Best regards,<br></div><div dir="ltr">Qi Zhang<br></div></div></div></div></div></div></div></div>
</div>