<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>request forward</title>
  <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>request forward</subtitle>
  <entry>
    <title>can i view custom sql with embeded values</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=17677417" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=17677417</id>
    <updated>2012-11-04T09:59:41Z</updated>
    <published>2012-11-04T09:58:59Z</published>
    <summary type="html">hi&lt;br /&gt;can i print to view custom sql with embeded value that fill with qPos method after palced in location?</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-11-04T09:58:59Z</dc:date>
  </entry>
  <entry>
    <title>render url in mvcportlet</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16798083" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16798083</id>
    <updated>2012-10-01T08:21:46Z</updated>
    <published>2012-10-01T08:21:46Z</published>
    <summary type="html">hi &lt;br /&gt;i am developing a portlet  with liferay sdk&lt;br /&gt;i extend action class with mvcPortlet.&lt;br /&gt;in liferay src that extend PortletAction i have processAction and render method for override&lt;br /&gt;but in mvcPortlet just have processAction.&lt;br /&gt;i guess doView method is replacement for render but in render method for forward to jsp i have :&lt;br /&gt;return mapping.findForward(&lt;br /&gt;			getForward(renderRequest, &amp;#034;portlet.bookmarks.edit_entry&amp;#034;));&lt;br /&gt;but in doView method what is replacement?</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-10-01T08:21:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: how i should use hook in EditEntryAction</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16798007" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16798007</id>
    <updated>2012-10-01T08:13:54Z</updated>
    <published>2012-10-01T08:13:54Z</published>
    <summary type="html">i sovled it.&lt;br /&gt;i must use DynamicActionRequest class for process request:&lt;br /&gt;&lt;br /&gt;            DynamicActionRequest dynamicActionRequest =           new DynamicActionRequest(actionRequest);&lt;br /&gt;            int displayDateYear = ParamUtil.getInteger(&lt;br /&gt;                    actionRequest, &amp;#034;displayDateYear&amp;#034;);&lt;br /&gt;            int displayDateMonth = ParamUtil.getInteger(&lt;br /&gt;                    actionRequest, &amp;#034;displayDateMonth&amp;#034;);&lt;br /&gt;            int displayDateDay = ParamUtil.getInteger(&lt;br /&gt;                    actionRequest, &amp;#034;displayDateDay&amp;#034;);&lt;br /&gt;            int[] displayDateDetails = CalendarSainUtil.convertShamsiToMiladiDetails(displayDateYear, displayDateMonth, displayDateDay);&lt;br /&gt;            displayDateYear = displayDateDetails[Calendar.YEAR];&lt;br /&gt;            displayDateMonth = displayDateDetails[Calendar.MONTH];&lt;br /&gt;            displayDateDay = displayDateDetails[Calendar.DATE];&lt;br /&gt;            dynamicActionRequest.setParameter(&amp;#034;displayDateYear&amp;#034;, String.valueOf(displayDateYear));&lt;br /&gt;            dynamicActionRequest.setParameter(&amp;#034;displayDateMonth&amp;#034;, String.valueOf(displayDateMonth));&lt;br /&gt;            dynamicActionRequest.setParameter(&amp;#034;displayDateDay&amp;#034;, String.valueOf(displayDateDay));&lt;br /&gt;&lt;br /&gt;            originalStrutsPortletAction.processAction(&lt;br /&gt;                    originalStrutsPortletAction, portletConfig, dynamicActionRequest,&lt;br /&gt;                    actionResponse);</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-10-01T08:13:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: how i should use hook in EditEntryAction</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16165929" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16165929</id>
    <updated>2012-09-06T08:03:31Z</updated>
    <published>2012-09-06T08:03:31Z</published>
    <summary type="html">tanks.&lt;br /&gt;i read this article before ask this question , but i have previous question</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-09-06T08:03:31Z</dc:date>
  </entry>
  <entry>
    <title>how i should use hook in EditEntryAction</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16163476" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=16163476</id>
    <updated>2012-09-06T06:29:31Z</updated>
    <published>2012-09-06T06:29:31Z</published>
    <summary type="html">hi&lt;br /&gt;i want hook EditEntryAction in blog portlet.&lt;br /&gt;i change input date to persian date in jsp and i want save to database in gregorian format.&lt;br /&gt;for this i want get date parameter and convert to gregorian and save to database.&lt;br /&gt;if i use hook and overwrite competely that extend &amp;#034;BaseStrutsPortletAction&amp;#034; , happen some errors (for example in PortletURLImpl portletURL = new PortletURLImpl ... error occure)&lt;br /&gt;tanks</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-09-06T06:29:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: change jspf file without restart tomcat</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=14928987" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=14928987</id>
    <updated>2012-07-19T08:22:25Z</updated>
    <published>2012-07-19T08:22:25Z</published>
    <summary type="html">tanks for help&lt;br /&gt;but i don&amp;#039;t understand.&lt;br /&gt;i work with calendar portlet.&lt;br /&gt;i change summary.jspf&lt;br /&gt;how must update view.jsp that summary.jspf included in.&lt;br /&gt;please help me step by step</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-07-19T08:22:25Z</dc:date>
  </entry>
  <entry>
    <title>change jspf file without restart tomcat</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=14927132" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=14927132</id>
    <updated>2012-07-19T06:48:36Z</updated>
    <published>2012-07-19T06:48:36Z</published>
    <summary type="html">hi&lt;br /&gt;i work with liferay 6.1&lt;br /&gt;when i change a jspf file i must restart tomcat to i view my changes. but if i change jsp file this not required&lt;br /&gt;help me</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-07-19T06:48:36Z</dc:date>
  </entry>
  <entry>
    <title>searchable field in structure web content</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=13394277" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=13394277</id>
    <updated>2012-04-10T09:13:49Z</updated>
    <published>2012-04-10T09:13:49Z</published>
    <summary type="html">1. when i create a structure i see a searchable field that i don&amp;#039;t know where this is use.&lt;br /&gt;2. is this possible that i add a field to article such as &amp;#034;sub titr&amp;#034; that this field searchable in articles without programming (in the other words, i want add some fields that can be searchable and showable in content)&lt;br /&gt;thanks</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2012-04-10T09:13:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: file upload in liferay with vaadin in liferay 6</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8079274" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8079274</id>
    <updated>2011-03-31T07:23:49Z</updated>
    <published>2011-03-31T07:23:49Z</published>
    <summary type="html">when i implement PortletApplicationContext2.PortletListener then after i click upload button, handleActionRequest called instead of receiveUpload method.&lt;br /&gt;how i relate this two method that i access file that user upload.</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2011-03-31T07:23:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: unpack portlet-impl.jar and use that under tomcat lib dir</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8077637" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8077637</id>
    <updated>2011-03-31T05:33:31Z</updated>
    <published>2011-03-31T05:33:31Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Hitoshi Ozawa:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;When you build Liferay from source the first time, it will compile all the source code. However, on the second time, it will only compile the source you&amp;#039;ve modified.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;hi.&lt;br /&gt;you said correct. but my purpose is that with ant, compile take time.&lt;br /&gt;for example when i change one class and compile with my editor (intellij), time to compile is 3 second.&lt;br /&gt;but when i run &amp;#034;ant deploy&amp;#034; under portal-impl for compile and deploy my one class , this is 55 second.</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2011-03-31T05:33:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: unpack portlet-impl.jar and use that under tomcat lib dir</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8077593" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8077593</id>
    <updated>2011-03-31T05:18:55Z</updated>
    <published>2011-03-31T05:18:10Z</published>
    <summary type="html">tanks alot&lt;br /&gt;i develop my code in liferay core not ext.&lt;br /&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Manish Kumar Gupta:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;If you want to unpack portal-impl, you should use WEB-INF/lib of portal and not tomcat lib.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;what is your purpose from above . please explain more.</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2011-03-31T05:18:10Z</dc:date>
  </entry>
  <entry>
    <title>unpack portlet-impl.jar and use that under tomcat lib dir</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8065010" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8065010</id>
    <updated>2011-03-30T10:26:30Z</updated>
    <published>2011-03-30T10:24:47Z</published>
    <summary type="html">hi&lt;br /&gt;i want unpack portlet-impl.jar under tomcat lib dir and use this.&lt;br /&gt;because when portlet-impl.jar been packed when i change one class, i should use ant to compile many classes that this take time.&lt;br /&gt;&lt;br /&gt;if portlet-impl.jar be unpack, only one class that i changed must be compiled and deployed under tomcat lib directory.&lt;br /&gt;&lt;br /&gt;but when i unpack portlet-impl.jar under tomcat, portal not none and browser not bring site.&lt;br /&gt;&lt;br /&gt;please help me!</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2011-03-30T10:24:47Z</dc:date>
  </entry>
  <entry>
    <title>file upload in liferay with vaadin in liferay 6</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8024366" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=8024366</id>
    <updated>2011-03-27T09:02:28Z</updated>
    <published>2011-03-27T09:01:37Z</published>
    <summary type="html">hi &lt;br /&gt;i am trying to write a portlet that handle file uploading with vaadin.&lt;br /&gt;in my code add file upload component done correctly but when i click upload button then don&amp;#039;t enter in &amp;#034;receiveUpload&amp;#034; method to i do other tasks.&lt;br /&gt;my code in the below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class AddressBookApplication extends Application&lt;br /&gt;{&lt;br /&gt;    private Window main = new Window(&amp;#034;test&amp;#034;);&lt;br /&gt;&lt;br /&gt;    public void init() {&lt;br /&gt;        setMainWindow(main);&lt;br /&gt;    }&lt;br /&gt;    private Label result = new Label();&lt;br /&gt;&lt;br /&gt;       private LineBreakCounter counter = new LineBreakCounter();&lt;br /&gt;&lt;br /&gt;       private Upload upload = new Upload(&amp;#034;Upload a file&amp;#034;, counter);&lt;br /&gt;&lt;br /&gt;       public AddressBookApplication() {&lt;br /&gt;           main.addComponent(upload);&lt;br /&gt;           main.addComponent(result);&lt;br /&gt;           upload.addListener(new Upload.FinishedListener() {&lt;br /&gt;               public void uploadFinished(FinishedEvent event) {&lt;br /&gt;                   result.setValue(&amp;#034;Uploaded file contained &amp;#034;&lt;br /&gt;                           + counter.getLineBreakCount() + &amp;#034; linebreaks&amp;#034;);&lt;br /&gt;               }&lt;br /&gt;           });&lt;br /&gt;&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;       public static class LineBreakCounter implements Receiver {&lt;br /&gt;&lt;br /&gt;           private String fileName;&lt;br /&gt;           private String mtype;&lt;br /&gt;           private int counter;&lt;br /&gt;&lt;br /&gt;           /**&lt;br /&gt;            * return an OutputStream that simply counts lineends&lt;br /&gt;            */&lt;br /&gt;           public OutputStream receiveUpload(String filename, String MIMEType) {&lt;br /&gt;               // this line because of i know that enter in this method&lt;br /&gt;               System.out.println(&amp;#034;AddressBookApplication$LineBreakCounter.receiveUpload&amp;#034;);&lt;br /&gt;               counter = 0;&lt;br /&gt;               fileName = filename;&lt;br /&gt;               mtype = MIMEType;&lt;br /&gt;               return new OutputStream() {&lt;br /&gt;                   private static final int searchedByte = &amp;#039;\n&amp;#039;;&lt;br /&gt;&lt;br /&gt;                   @Override&lt;br /&gt;                   public void write(int b) throws IOException {&lt;br /&gt;                       if (b == searchedByte) {&lt;br /&gt;                           counter++;&lt;br /&gt;                       }&lt;br /&gt;                   }&lt;br /&gt;               };&lt;br /&gt;           }&lt;br /&gt;&lt;br /&gt;           public String getFileName() {&lt;br /&gt;               return fileName;&lt;br /&gt;           }&lt;br /&gt;&lt;br /&gt;           public String getMimeType() {&lt;br /&gt;               return mtype;&lt;br /&gt;           }&lt;br /&gt;&lt;br /&gt;           public int getLineBreakCount() {&lt;br /&gt;               return counter;&lt;br /&gt;           }&lt;br /&gt;&lt;br /&gt;       }&lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;please help me !!!</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2011-03-27T09:01:37Z</dc:date>
  </entry>
  <entry>
    <title>make a categorize module</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=2033801" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=2033801</id>
    <updated>2009-01-27T10:59:19Z</updated>
    <published>2009-01-27T10:59:19Z</published>
    <summary type="html">any objects in portal must be categorized.&lt;br /&gt;therefor if we have a module that perform this function, we can use this in any portlet.&lt;br /&gt;this module must be a complete feature.&lt;br /&gt;some of this feature is:&lt;br /&gt;- can make dynamically folders and subfolders&lt;br /&gt;- a profile can be assign to one or multi folders&lt;br /&gt;- when a profile seen then total path that this profile assign to this, will be listed and linked&lt;br /&gt;- a search box that search in current folder and a option that search in subfolders</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2009-01-27T10:59:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: cannot create new pages for communities</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=2033455" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=2033455</id>
    <updated>2009-01-27T10:21:28Z</updated>
    <published>2009-01-27T10:21:28Z</published>
    <summary type="html">hi&lt;br /&gt;maybe  this is a bug.&lt;br /&gt;please put your log file when you make a page from page management (not top of page with javascript)</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2009-01-27T10:21:28Z</dc:date>
  </entry>
  <entry>
    <title>request forward</title>
    <link rel="alternate" href="http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=427138" />
    <author>
      <name>mokhtar hatampoor</name>
    </author>
    <id>http://www.liferay.com/es/c/message_boards/find_message?p_l_id=&amp;messageId=427138</id>
    <updated>2008-01-26T16:25:06Z</updated>
    <published>2008-01-26T16:14:33Z</published>
    <summary type="html">hi &lt;br /&gt;&lt;br /&gt;i have a problem with jsp request forwarding in liferay&lt;br /&gt;    - i know when we want to forward request in jsp projects (no liferay), we must use &amp;lt;jsp:forward&amp;gt;&lt;br /&gt;    - i konw when we want to forward request in struts in struts project (no liferay), we must use &amp;lt;logic:forward&amp;gt;&lt;br /&gt;but i don&amp;#039;t know how forward a request in jsp page in liferay to another jsp page.&lt;br /&gt;&lt;br /&gt;tanks</summary>
    <dc:creator>mokhtar hatampoor</dc:creator>
    <dc:date>2008-01-26T16:14:33Z</dc:date>
  </entry>
</feed>

