• neelam4435@gmail.com
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 6
    Replies

Hi,

I want to add cutom buttons "Save" and "Save and Send" in a custom object

I added custom buttons in custom objetcs but not able to show these in Edit Page Layout

How can i accomplish this, please advice

Thanks

is governor limits vary between Triggers and Apex classes

I am trying auto records when a record is created.I am using after insert trigger.

 

If in the trigger if i give after update also wat happens is when a recorded is edited and saved a record is created

 

 

I want to know as to how do i update the existing auto record than creation of new record.

 

If its not possible

 

How can i delete the existing auto record whenever the record is edited

i have develope a static home page for a website and i want to use repeat tag for the components the code used is:

use repeat on movies on f|oor and atest songs

<apex:page showHeader="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title></title>
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />

</head>

<body>

<apex:stylesheet value="{!URLFOR($Resource.bookmyshow, 'style.css')}"/>

<div id="outer-wrapper">

<div id="wrapper">
<div id="nav">
<ul>
<li><a href="/apex/testimage"><span>01</span>MOVIES ON FLOOR</a></li>
<li><a href="http://www.freewebsitetemplates.com"><span>02</span>TRAILERS </a></li>
<li><a href="http://www.freewebsitetemplates.com"><span>03</span>REGISTER</a></li>
<li><a href="http://www.freewebsitetemplates.com"><span>04</span>ADMIN</a></li>
<li><a href="http://www.freewebsitetemplates.com"><span>05</span> CONTACTS</a></li>
</ul>
</div>
<div id="topcon">
<div id="topcon-inner">
<h2>Welcome to eNSTA-BOOKING</h2>
<p>Don't forget to check <a href="http://www.freewebsitetemplates.com">free website templates</a> every day, because we add a new free website template almost daily.</p><p>You can remove any link to our websites from this template you're free to use the template without linking back to us.</p>

</div>
</div>
<div id="content">
<div id="body">
<div class="box" id="news">
<div class="box-t"><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">

<h2>NEWS &amp; EVENTS</h2>

<h3>05.03.2007</h3>
<p>Even more websites all about website templates on <a href="http://www.justwebtemplates.com">Just Web Templates</a>.</p>
<p> incude text here</p>

<div class="hr-yellow"> </div>

<h3>05.03.2007</h3>
<p>If you're looking for beautiful and professionally made templates you can find them at <a href="http://www.templatebeauty.com">Template Beauty</a>.</p>
<p>If you're having problems editing the template please don't hesitate to ask for help on <a href="http://www.freewebsitetemplates.com/forum/">the forum</a>.</p>
<p> write text here</p>

</div></div></div></div>
</div></div></div></div>
</div>
<div class="box" id="hits">
<div class="box-t"><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">

<h2>MUST WATCH</h2>

<h3>movie hits</h3>
<div class="right">
<apex:image url="{!URLFOR($Resource.bookmyshow, 'images/pic_1.jpg')}" width="90" height="110" alt="Pic 1" styleClass="Right"/>
</div>

<ul>
<li><a href="http://www.freewebsitetemplates.com">Lorem ipsum dolor s........</a></li>
<li><a href="http://www.freewebsitetemplates.com">Vivamus lobortis p........ </a></li>
<li><a href="http://www.freewebsitetemplates.com">Sit amet, consectetu.......</a></li>
<li><a href="http://www.freewebsitetemplates.com">Lorem ipsum dolor s........</a></li>
<li><a href="http://www.freewebsitetemplates.com">Vivamus lobortis p........ </a></li>
</ul>

<div class="hr-yellow"> </div>

<h3>TOP 5 SONGS</h3>
<div class="right">
<apex:image url="{!URLFOR($Resource.bookmyshow, 'images/pic_2.jpg')}" width="63" height="90" alt="Pic 2" styleClass="Right"/>
</div>
<ul>
<li><a href="http://www.freewebsitetemplates.com">Vivamus lobortis p........ </a></li>
<li><a href="http://www.freewebsitetemplates.com">Lorem ipsum dolor s........</a></li>
<li><a href="http://www.freewebsitetemplates.com">Vivamus lobortis p........ </a></li>
<li><a href="http://www.freewebsitetemplates.com">Sit amet, consectetu.......</a></li>
</ul>

</div></div></div></div>
</div></div></div></div>
</div>
<div class="box" id="new">
<div class="box-t"><div class="box-r"><div class="box-b"><div class="box-l">
<div class="box-tr"><div class="box-br"><div class="box-bl"><div class="box-tl">

<h2>NEW RELEASES</h2>

<h3>eestas sed</h3>
<div class="right">
<apex:image url="{!URLFOR($Resource.bookmyshow, 'images/pic_3.gif')}" width="70" height="60" alt="Pic 3" styleClass="Right"/>
</div>

<p>porta vel, nulla. Maecenas condi- mentum sollicitu</p>

<h3>Maecenas</h3>
<div class="right">
<apex:image url="{!URLFOR($Resource.bookmyshow, 'images/pic_4.jpg')}" width="70" height="60" alt="Pic 1" styleClass="Right"/>
</div>
<p>ndimentum sollicitudin quam. Sed convallis</p>

<h3>sollicitudin</h3>
<div class="right">
<apex:image url="{!URLFOR($Resource.bookmyshow, 'images/pic_5.jpg')}" width="70" height="60" alt="Pic 5" styleClass="Right"/>
</div>

<p>quam. Sed nvallis lacus .vallislacus arcu.vallis</p>

</div></div></div></div>
</div></div></div></div>
</div>
<div class="clear"> </div>
</div>
<div id="footer">
<ul>
<li><a href=>PICTURE</a> | </li>
<li><a href=>GALLERY</a> | </li>
<li><a href=">FREE MUSIC</a> | </li>
<li><a href=">FEATURES</a> | </li>
<li><a href="">CONTACTS</a> | </li>
</ul>
<p>&copy; Business Co <a href="http://www.freewebsitetemplates.com">Privacy Policy</a> | <a href="http://www.freewebsitetemplates.com">Terms of Use</a>.</p>
</div>
</div>
</div>

</div>

</body>


</apex:page>

  • February 20, 2012
  • Like
  • 0

Hi all,

 

The scenario is i want a default value say 'HELLO' to be present For <apex:inputText>

After that user can enter it's own value . so my onclick will clearthe last value 

But I  am not able to set a default value.

 

Here is the code snippet:

 

<apex:inputText  value="{!SomeValue}" onclick="clearinputtext(this);" />

 

Regards,

 

Subham

 

 

 

  • February 20, 2012
  • Like
  • 0