<p>Another way to reach what you need:</p>
<p>If I have siblings which should behave differently according to the url they are located under, I usually read the request-url in the jsp and act according.</p>
<div class="gmail_quote">On 22 Jul 2011 13:24, "rajneesh kumar" <<a href="mailto:rajneeshsingh27@gmail.com">rajneeshsingh27@gmail.com</a>> wrote:<br type="attribution">> Thanks Michael.<br>> This will help us a lot.<br>
> Just a quick question here, consider the scenario:<br>> I have two sibling com/index.jsp and  intg/index.jsp. Now we want that in<br>> intg/index.jsp, we should have and extra textbox and this should not be a<br>
> party of com/index.jsp. Is it possible some how ?<br>> <br>> Thanks again for your help and response.<br>> <br>> Regards<br>> Rajneesh<br>> <br>> On Thu, Jul 21, 2011 at 6:07 PM, Michael Emmerich <<a href="mailto:m.emmerich@alkacon.com">m.emmerich@alkacon.com</a>>wrote:<br>
> <br>>> Hello Rajneesh<br>>><br>>><br>>> >    I instslled openCms7, database -oracle10g ,server - tomcat 6.0,it is<br>>> > working.<br>>> >    I logged in with Admin(default) user and created a folder in<br>
>> > /sites/default with<br>>> >    name as com,created one index.jsp.also.I created another folder in<br>>> > /sites/default<br>>> >    with name intg.<br>>> >      i created a  sibling of com/index.jsp in intg folder , it<br>
>> > automatically made the index.jsp in intg<br>>> >    folder.This is the expected behavior.But when I publish<br>>> > intg/index.jsp without checking the checkbox<br>>> > "publish all sibling", it reflects in com/index.jsp while it should only<br>
>> > be changed<br>>> >    in intg/index.jsp , as per my understsnding,Is there some type of<br>>> > setting<br>>> >    in openCms which i may be missing.<br>>> >    I tried with another user but still i am facing the same problem.<br>
>><br>>><br>>> You must understand how siblings in OpenCms work:<br>>><br>>> If yo have two siblings in OpenCms, com/index.jsp and  intg/index.jsp,<br>>> both share the same content entry in the Database. Better said, both<br>
>> files have the identical content, this content is "just" listed on two<br>>> different location in the virtual file system.<br>>><br>>> This means, if you change the content of one of those files, the content<br>
>> of the other file is changes, as it is the identical content item. If<br>>> you publish a sibling, the content changes are of course published for<br>>> all siblings, as all siblings share the same content.<br>
>><br>>> So what is the check box in the publish dialog for?<br>>> Siblings can have different properties. For example, you can give both<br>>> of your siblings a different title. If you now publish a sibling and do<br>
>> not select the check box, only the properties of the current file are<br>>> published, those of the other sibling stay the same.<br>>><br>>> Hope this makes it a bit clearer.<br>>><br>>> --<br>
>> Kind Regards,<br>>> Michael.<br>>><br>>> -------------------<br>>> Michael Emmerich<br>>><br>>> Alkacon Software GmbH  - The OpenCms Experts<br>>> <a href="http://www.alkacon.com">http://www.alkacon.com</a> - <a href="http://www.opencms.org">http://www.opencms.org</a><br>
>><br>>> _______________________________________________<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/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>>><br></div>