<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>user@beehive.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/beehive-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/beehive-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/beehive-user/</id>
<updated>2013-05-25T17:26:29Z</updated>
<entry>
<title>Deadlock in HttpSessionMutexListener$Mutex</title>
<author><name>Vamshi Mugatha &lt;dartanian75@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201006.mbox/%3cAANLkTinoQwPfZQUy9FvfIl0yDTY1MqOOs6Kac7T-YDGu@mail.gmail.com%3e"/>
<id>urn:uuid:%3cAANLkTinoQwPfZQUy9FvfIl0yDTY1MqOOs6Kac7T-YDGu@mail-gmail-com%3e</id>
<updated>2010-06-26T11:39:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,&#010;&#010;We are using Weblogic Portal 10.3 and seeing deadlocks in&#010;HttpSessionMutexListener$&#010;Mutex. I was searching on Google and came across the following where it says&#010;the issue was fixed in version 1.0.2 of NetUI.&#010;&#010;http://mail-archives.apache.org/mod_mbox/beehive-user/200607.mbox/%3C20060721023755.DEAF710FB006@asf.osuosl.org%3E&#010;&#010;https://issues.apache.org/jira/browse/BEEHIVE-1135&#010;&#010;&#010;I have checked the version of NetUI that weblogic is using and it shows&#010;1.0.2.2 and I am still seeing this issue.&#010;&#010;Any one else has seen this issue?&#010;&#010;Thread dump attached&#010;&#010;Vamshi&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Beehive Framework - eclipse</title>
<author><name>Ivan Ivankovic &lt;ivankoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201006.mbox/%3cAANLkTimwGiFlWj2t9AbO-E0Ft_BzvvcMj1HATJpMBoYr@mail.gmail.com%3e"/>
<id>urn:uuid:%3cAANLkTimwGiFlWj2t9AbO-E0Ft_BzvvcMj1HATJpMBoYr@mail-gmail-com%3e</id>
<updated>2010-06-03T11:53:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Unless you are playing with some legacy application, the simple answer&#010;would... do not use beehive anymore.&#010;&#010;Go to beehive home page and see for yourself that it is a retired project.&#010;Weblogic in the latest versions is not using beehive anymore, you will not&#010;find it in the documentation.&#010;&#010;Cheers,&#010;Ivan&#010;&#010;&#010;On Thu, Jun 3, 2010 at 1:43 PM, narayanyr &lt;narayanyr@gmail.com&gt; wrote:&#010;&#010;&gt;&#010;&gt; Hi,&#010;&gt;&#010;&gt;  I am totally new to eclipse and want to setup and use beehive framework to&#010;&gt; develop webpages.Kindly advise clearly as to how this can be done.I am&#010;&gt; using&#010;&gt; weblogic server 10.3&#010;&gt;&#010;&gt; Thanks&#010;&gt; --&#010;&gt; View this message in context:&#010;&gt; http://old.nabble.com/Beehive-Framework---eclipse-tp28766405p28766405.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Beehive Framework - eclipse</title>
<author><name>narayanyr &lt;narayanyr@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201006.mbox/%3c28766405.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c28766405-post@talk-nabble-com%3e</id>
<updated>2010-06-03T11:43:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hi,&#010;  &#010; I am totally new to eclipse and want to setup and use beehive framework to&#010;develop webpages.Kindly advise clearly as to how this can be done.I am using&#010;weblogic server 10.3&#010;&#010;Thanks&#010;-- &#010;View this message in context: http://old.nabble.com/Beehive-Framework---eclipse-tp28766405p28766405.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Require Scroll Bar For &lt;netui:rows&gt;</title>
<author><name>joshinirav &lt;nirav.joshi@capgemini.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201005.mbox/%3c28469919.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c28469919-post@talk-nabble-com%3e</id>
<updated>2010-05-06T06:53:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hi all,&#010;i am currently using Beehive API for rendering data on the JSP page.&#010;I have one datagrid and i want the scroll bar in my datagrid while&#010;displaying rows.&#010;&#010;but when i am simply using &lt;div&gt; for the &lt;netui:rows&gt; portion to display the&#010;scroll bar it will not rendering in proper format.&#010;&#010;What i had found that if i will use &lt;div&gt; tag in code like &#010;&#010;&lt;netui-data:dataGrid dataSource="pageFlow.listDocComments"&#010;name="customerGrid" styleClassPrefix="kissDataGrid"&gt;&#010;&#009;&#009;&#009;&lt;netui-data:configurePager disableDefaultPager="true"&#010;defaultPageSize="${pageFlow.numberOfDocComments}" /&gt;&#010;&#009;&#009;&#009;&lt;div class='fixedwidth'&gt; &#010;&#009;&#009;&#009;&lt;netui-data:header&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:headerCell cellStyleClass="lockedHor"&#010;cellStyle="color:#F0F0F0;" headerText=" X " /&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:headerCell cellStyleClass="lockedHor"&#010;headerText="${bundle.labels.popup_edit_remarks_page_number}" /&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:headerCell cellStyleClass="lockedHor"&#010;headerText="${bundle.labels.popup_edit_remarks_page_description}" /&gt;&#010;&#009;&#009;&#009;&lt;/netui-data:header&gt;&#010;&#009;&#009;&#009;&lt;/div&gt;&#010;&#009;&#009;&#009;&lt;div class='lipsum'&gt;&#010;&#009;&#009;&#009;&lt;netui-data:rows&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:templateCell&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;netui:button action = "goToEditRemark" value=" "&#010;styleClass="imageDetailButton"&gt;&#010;&#009;&#009;&#009;&#009;&#009;&#009;&lt;netui:parameter name="index" value="${container.index}" /&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;/netui:button&gt;&#010;&#009;&#009;&#009;&#009;&lt;/netui-data:templateCell&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:spanCell value="${container.item.commentNr}" /&gt;&#010;&#009;&#009;&#009;&#009;&lt;netui-data:anchorCell cellStyle="white-space: normal;"&#010;value="${container.item.description}" action="goToEditRemark"&gt;&#010;&#009;&#009;&#009;&#009;&#009;&lt;netui:parameter name="index" value="${container.index}" /&gt;&#010;&#009;&#009;&#009;&#009;&lt;/netui-data:anchorCell&gt;&#010;&#009;&#009;&#009;&lt;/netui-data:rows&gt;&#010;&#009;&#009;&#009;&lt;/div&gt;&#010;&#009;&#009;&lt;/netui-data:dataGrid&gt;&#010;&#010;&#010;the &lt;div class='lipsum'&gt; was writing 3 times on the page.&#010;so that the GUI design of that page was not maintain.&#010;I mean i was getting three extra scroll bars on the page.&#010;&#010;I had tried the CSS solutions but because of IE8 issue i am unable to get&#010;this.&#010;&#010;Can anyone help me on this ?&#010;-- &#010;View this message in context: http://old.nabble.com/Require-Scroll-Bar-For-%3Cnetui%3Arows%3E-tp28469919p28469919.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Storing array in database via BEEHIVE database control</title>
<author><name>&quot;Miller, John W (N-NG)&quot; &lt;john.w.miller@lmco.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201003.mbox/%3cAC8868228F90704CB9C719C0E5542D460182089DE2@HVXMSP4.us.lmco.com%3e"/>
<id>urn:uuid:%3cAC8868228F90704CB9C719C0E5542D460182089DE2@HVXMSP4-us-lmco-com%3e</id>
<updated>2010-03-03T17:07:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Greetings&#010;&#010;I have a database Table where i am storing form data. 2 of the 8 columns of this table are&#010;columns where I am storing arrays. The first array column contains a select box where 1 value&#010;is selected. The second array column is a textArea for comments. I am loading/storing up to&#010;45 items in each Array. I am using BEEHIVE in this web app. So my database control is handling&#010;the methods to excute the request to save the data from my form (45 rows). How do I get BEEHIVE/SQL&#010;to store an array to a database column already defined as an array type? Please advise.&#010;&#010;&#010;[cid:image001.jpg@01CABAC9.D9DEA380]TASC, INC&#010;John Miller&#010;Software Engineer&#010;Compliance Verification Team (CV)&#010;(o) 301.543.5282&#010;email: john.w.miller@lmco.com&lt;mailto:john.w.miller@lmco.com&gt;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Migration path for Beehive</title>
<author><name>Michael Thomsen &lt;mikerthomsen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201001.mbox/%3c22bb517f1001270742r76126ef8y1ead1a052b94b2f3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c22bb517f1001270742r76126ef8y1ead1a052b94b2f3@mail-gmail-com%3e</id>
<updated>2010-01-27T15:42:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Now that Beehive is in the Apache Attic, what should Beehive users do&#010;for their future needs? Is there a recommended path forward?&#010;&#010;Thanks,&#010;&#010;Mike&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a repeater in a repeater</title>
<author><name>Ram23 &lt;ramv176@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201001.mbox/%3c27250416.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c27250416-post@talk-nabble-com%3e</id>
<updated>2010-01-20T23:25:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;I have a problem using netui repeater inside a netui repeater.&#010;&#010;Below is the sample code which fails. I have an List of objects AccInfo&#010;which has 3 variables&#010;String acc, Object Address , String dept. I want to print it in that order.&#010;For the object Address to be printed I use the repeater inside repeater.&#010;String acc and object address get printed fine .. but the issue comes when I&#010;close the inner repeater and want to print String dept. Container.item after&#010;the close of inner repeater still points to object Address.&#010;&#010;Any suggestions.&#010;&#010;&#010;&lt;netui-data:repeater dataSource=pageFlow.AccInfo&gt;&#010;&lt;tr&gt;&#010;&#010;&lt;td class="col1"&gt;&#010;&lt;netui:span value="container.item.acc" defaultValue=""/&gt;&#010;&lt;/td&#010;&lt;td&gt;&#010;&lt;netui-data:repeater dataSource="container.item.address"&gt;&#010;&lt;netui:span value="${container.item.addressLine1}"&#010;&#009;&#009;defaultValue="&amp;nbsp;" /&gt;&#010;&lt;netui:span&#010;&#009;&#009;value="${container.item.city}" defaultValue="&amp;nbsp;" /&gt;&#010;&lt;netui:span&#009; value="${container.item.state}" defaultValue="&amp;nbsp;" /&gt;&#010;&lt;/netui-data:repeater&gt;&#010;&lt;/td&gt;&#010;&lt;td class="last"&gt;&#010;${container.item.dept}&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/netui-data:repeater&gt;&#010;-- &#010;View this message in context: http://old.nabble.com/Use-a-repeater-in-a-repeater-tp27250416p27250416.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Beehive moving to the Attic</title>
<author><name>&quot;Eddie O'Neil&quot; &lt;ekoneil@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201001.mbox/%3ce9ac83541001091027j2ce54c7ax93ecddf429bf4eb7@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce9ac83541001091027j2ce54c7ax93ecddf429bf4eb7@mail-gmail-com%3e</id>
<updated>2010-01-09T18:27:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
  If you have any questions about this process, why / how the PMC made&#010;this decision, etc, feel free to drop me a line.&#010;&#010;  And, speaking for myself - though I'm sure there are other PMC&#010;members who feel similarly - I enjoyed working on the project, working&#010;with many of you, and hope that you in turn enjoyed using it!&#010;&#010;Cheers,&#010;Eddie&#010;&#010;&#010;On Thu, Jan 7, 2010 at 11:13 PM, Henri Yandell &lt;bayard@apache.org&gt; wrote:&#010;&gt; A heads up for the Beehive user community that the Beehive project has&#010;&gt; been 'moved to the Attic'. This means that the Beehive developers (more&#010;&gt; formally its Project Management Committee) have voted to retire Beehive&#010;&gt; and move the responsibility for its oversight over to the Attic project.&#010;&gt;&#010;&gt; Loosely speaking this means that the projects resources will be moved to a&#010;&gt; read-only state.&#010;&gt;&#010;&gt; You can read more about the Apache Attic and the process of moving to the&#010;&gt; Attic at http://attic.apache.org.&#010;&gt;&#010;&gt; You can follow this process in JIRA:&#010;&gt;&#010;&gt;  https://issues.apache.org/jira/browse/ATTIC-55&#010;&gt;&#010;&gt; Thanks,&#010;&gt;&#010;&gt; Henri Yandell on behalf of Beehive + the Attic.&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Beehive moving to the Attic</title>
<author><name>Henri Yandell &lt;bayard@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/201001.mbox/%3c2d12b2f01001072313t20db558epda1f4732ed339f77@mail.gmail.com%3e"/>
<id>urn:uuid:%3c2d12b2f01001072313t20db558epda1f4732ed339f77@mail-gmail-com%3e</id>
<updated>2010-01-08T07:13:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
A heads up for the Beehive user community that the Beehive project has&#010;been 'moved to the Attic'. This means that the Beehive developers (more&#010;formally its Project Management Committee) have voted to retire Beehive&#010;and move the responsibility for its oversight over to the Attic project.&#010;&#010;Loosely speaking this means that the projects resources will be moved to a&#010;read-only state.&#010;&#010;You can read more about the Apache Attic and the process of moving to the&#010;Attic at http://attic.apache.org.&#010;&#010;You can follow this process in JIRA:&#010;&#010; https://issues.apache.org/jira/browse/ATTIC-55&#010;&#010;Thanks,&#010;&#010;Henri Yandell on behalf of Beehive + the Attic.&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Invoking an action via an HTML Button without submitting the form</title>
<author><name>Ivan Ivankovic &lt;ivankoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200910.mbox/%3cfa26a35c0910010036x36789918gddb4db2d626c5374@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa26a35c0910010036x36789918gddb4db2d626c5374@mail-gmail-com%3e</id>
<updated>2009-10-01T07:36:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Well instead of binding your HTML form elements to FormBean, you can make&#010;properties in your PageController that holds the action methods. You can&#010;reference them from your JSP (the one with the form) with *&#010;pageFlow.propertyName*.&#010;&#010;Having two methods, one for each action, in your PageController and a&#010;propertiy for each form filed, in the same controller, should do the job.&#010;&#010;Of course if I understood your probelm :)&#010;&#010;Reagrds,&#010;Ivan&#010;&#010;On Wed, Sep 30, 2009 at 5:56 PM, deck &lt;jmshaver@gmail.com&gt; wrote:&#010;&#010;&gt;&#010;&gt; I am trying to invoke a PageFlow action via an html button.  I am curious&#010;&gt; to&#010;&gt; know if there is a way to invoke the action without Beehive requireing the&#010;&gt; Form Bean as an input parameter for the action.&#010;&gt;&#010;&gt; Basically, I have an HTML form which has two buttons, one submits the form&#010;&gt; to an action which processes the input and performs some task.  The other I&#010;&gt; want to simply cancel the operation and invokes another action which&#010;&gt; navigates to a different part of the application.&#010;&gt;&#010;&gt; Is there anyway I can use an HTML button to invoke an action without&#010;&gt; beehive&#010;&gt; requiring the form bean as an input parameter?&#010;&gt;&#010;&gt; Right now I get an exception thrown for each form element:&#010;&gt;&#010;&gt; Throwable: java.lang.RuntimeException: Can not update the identifier&#010;&gt; "accountType" on a null value object.&#010;&gt;&#010;&gt;&#010;&gt; Any ideas?&#010;&gt; --&#010;&gt; View this message in context:&#010;&gt; http://www.nabble.com/Invoking-an-action-via-an-HTML-Button-without-submitting-the-form-tp25683932p25683932.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;&#010;-- &#010;Pozdrav,&#010;Ivanko&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Invoking an action via an HTML Button without submitting the form</title>
<author><name>deck &lt;jmshaver@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200909.mbox/%3c25683932.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c25683932-post@talk-nabble-com%3e</id>
<updated>2009-09-30T15:56:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;I am trying to invoke a PageFlow action via an html button.  I am curious to&#010;know if there is a way to invoke the action without Beehive requireing the&#010;Form Bean as an input parameter for the action. &#010;&#010;Basically, I have an HTML form which has two buttons, one submits the form&#010;to an action which processes the input and performs some task.  The other I&#010;want to simply cancel the operation and invokes another action which&#010;navigates to a different part of the application.&#010;&#010;Is there anyway I can use an HTML button to invoke an action without beehive&#010;requiring the form bean as an input parameter?&#010;&#010;Right now I get an exception thrown for each form element:&#010;&#010;Throwable: java.lang.RuntimeException: Can not update the identifier&#010;"accountType" on a null value object.&#010;&#010;&#010;Any ideas?&#010;-- &#010;View this message in context: http://www.nabble.com/Invoking-an-action-via-an-HTML-Button-without-submitting-the-form-tp25683932p25683932.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Force rendering of NetUI Tree</title>
<author><name>Ivan Ivankovic &lt;ivankoi@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200909.mbox/%3cfa26a35c0909250902s18fb962k8859c38dc756c985@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfa26a35c0909250902s18fb962k8859c38dc756c985@mail-gmail-com%3e</id>
<updated>2009-09-25T16:02:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;I am using Custom Tree Render in order to mark some Tree Elements with CSS&#010;style using &lt;span&gt; tag. The problem is that when I submit some form that&#010;lays besides the tree that action changes the status of some TreeElements,&#010;but their rendered the same and their visual style consequently stays the&#010;same. It seems that there is some caching going one that prevents Tree&#010;Element to be rendered with new style.&#010;&#010;In order to make this style change visible, I have to collapse the tree and&#010;expand it again. After that it is refreshed.&#010;&#010;Since this is pragmatically created tree on server and the form is submitted&#010;to the PagesFlow that has the reference to the tree, is there a way to force&#010;the tree to re-render so the changes become visible immediately after&#010;submitting the form.&#010;&#010;Regards,&#010;Ivanko&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize datagrid sort order</title>
<author><name>Sebastien ARBOGAST &lt;sebastien.arbogast@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200908.mbox/%3ca753b7f80908030231u70d0648fx9c70ed42938f04cc@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca753b7f80908030231u70d0648fx9c70ed42938f04cc@mail-gmail-com%3e</id>
<updated>2009-08-03T09:31:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm using NetUI in a Weblogic Portal 10.2 portlet and I'm trying to make&#010;sure my datagrid has a default order.&#010;Hence the following begin action:&#010;&#010;@Jpf.Action(&#010;        forwards={&#010;           @Jpf.Forward(name="index", action = "sortOpenCalls")&#010;        }&#010;    )&#010;    protected Forward begin()&#010;    {&#010;        Forward forward = new Forward("index");&#010;&#010;        //by default, order by descending date&#010;        DataGridConfig config = DataGridConfigFactory.getInstance();&#010;        Sort sortDate = config.createSort();&#010;        sortDate.setDirection(SortDirection.DESCENDING);&#010;        sortDate.setSortExpression("latestInformationIssueDate");&#010;        List&lt;Sort&gt; sorts = Arrays.asList(new Sort[]{&#010;            sortDate&#010;        });&#010;        SortModel sortModel = config.createSortModel(sorts);&#010;        DataGridState dataGridState =&#010;DataGridStateFactory.getInstance(getRequest()).getDataGridState("openCallsGrid");&#010;        dataGridState.setSortModel(sortModel);&#010;&#010;        return forward;&#010;    }&#010;&#010;Then the sortOpenCalls action loads the data and actually applies the sort:&#010;&#010;@Jpf.Action(forwards = { @Jpf.Forward(name = "success", path =&#010;"BrowseOpenCalls.jsp", actionOutputs = { @Jpf.ActionOutput(name =&#010;"openCalls", type = eu.europa.ec.digit.cap.portal.dto.CallListItem[].class,&#010;required = true), @Jpf.ActionOutput(name = "latestDatesOfCallPublications",&#010;type = java.util.Date[].class, required = true) }) })&#010;    public Forward sortOpenCalls() {&#010;        Forward forward = new Forward("success");&#010;&#010;        DataGridState dataGridState =&#010;DataGridStateFactory.getInstance(getRequest()).getDataGridState("openCallsGrid");&#010;        List&lt;Sort&gt; sorts = dataGridState.getSortModel().getSorts();&#010;        List&lt;Comparator&gt; comparators = new ArrayList&lt;Comparator&gt;();&#010;        if(sorts != null){&#010;            for(final Sort sort:sorts){&#010;                comparators.add(new Comparator(){&#010;                    public int compare(Object o1, Object o2) {&#010;                        try {&#010;                            if(sort.getDirection() == SortDirection.NONE){&#010;                                return 0;&#010;                            } else if(sort.getDirection() ==&#010;SortDirection.ASCENDING){&#010;                                return BeanUtils.getSimpleProperty(o1,&#010;sort.getSortExpression()).compareTo(BeanUtils.getSimpleProperty(o2,&#010;sort.getSortExpression()));&#010;                            } else if(sort.getDirection() ==&#010;SortDirection.DESCENDING){&#010;                                return -BeanUtils.getSimpleProperty(o1,&#010;sort.getSortExpression()).compareTo(BeanUtils.getSimpleProperty(o2,&#010;sort.getSortExpression()));&#010;                            } else return 0;&#010;                        } catch (IllegalAccessException e) {&#010;                            return 0;&#010;                        } catch (InvocationTargetException e) {&#010;                            return 0;&#010;                        } catch (NoSuchMethodException e) {&#010;                            return 0;&#010;                        }&#010;                    }&#010;&#010;                });&#010;            }&#010;        }&#010;&#010;        CallListItem[] openCalls = callService.getOpenCalls();&#010;&#010;        if(comparators.isEmpty()){&#010;            forward.addActionOutput("openCalls", openCalls);&#010;        } else {&#010;            List&lt;CallListItem&gt; sortedOpenCalls = new&#010;ArrayList(Arrays.asList(openCalls));&#010;            Collections.sort(sortedOpenCalls,&#010;ComparatorUtils.chainedComparator(comparators));&#010;            forward.addActionOutput("openCalls", sortedOpenCalls.toArray(new&#010;CallListItem[0]));&#010;        }&#010;&#010;        Date[] dates = callService.getLatestDatesOfCallPublications();&#010;        forward.addActionOutput("latestDatesOfCallPublications", dates);&#010;&#010;        return forward;&#010;    }&#010;&#010;Unfortunately, when the portlet loads, it is well sorted by&#010;latestInformationIssueDate BUT in ASCENDING order instead of DESCENDING&#010;order.&#010;Any idea what I did wrong?&#010;&#010;Sébastien Arbogast&#010;&#010;http://sebastien-arbogast.com&#010;http://mooplan.com&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Enum Netui Converter</title>
<author><name>&quot;Eddie O'Neil&quot; &lt;ekoneil@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200907.mbox/%3ce9ac83540907011848x13ad4933paf28d3789032881e@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce9ac83540907011848x13ad4933paf28d3789032881e@mail-gmail-com%3e</id>
<updated>2009-07-02T01:48:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
  Hi, Justin -- unfortunately, NetUI doesn't support the base Enum&#010;type in Java without explicitly listing all of the enums explicitly.&#010;&#010;Cheers,&#010;Eddie&#010;&#010;On Mon, Feb 2, 2009 at 3:10 PM, jnt30&lt;justin.r.nauman+nabble@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; The question I have is in regards to type converters and binding enums.&#010;&gt;&#010;&gt; I have seen other postings about enum conversion and the necessity to create&#010;&gt; type converters for String -&gt; enum.  I have been able to successfully&#010;&gt; declare a type converter for String -&gt; enum, however I would like to be able&#010;&gt; to create a more generic type converter that will convert between a String&#010;&gt; to any enum.  Is it possible to declare a type converter for anything other&#010;&gt; than the explicit class defined in the beehive-netui-config.xml file?&#010;&gt;&#010;&gt; Thanks in advance,&#010;&gt; Justin&#010;&gt; --&#010;&gt; View this message in context: http://www.nabble.com/Enum-Netui-Converter-tp21798448p21798448.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Display scrollbar for datagrid rows</title>
<author><name>&quot;Eddie O'Neil&quot; &lt;ekoneil@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200907.mbox/%3ce9ac83540907011847t19917b8neaf4d6ee8a5e5e49@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce9ac83540907011847t19917b8neaf4d6ee8a5e5e49@mail-gmail-com%3e</id>
<updated>2009-07-02T01:47:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
  Hey -- IIRC, displaying a scrollbar inside of &lt;div/&gt; is hard to do&#010;across browsers; I think getting it to work is a CSS hack in which&#010;case, this might help:&#010;&#010;  http://www.hesido.com/web.php?page=customscrollbar&#010;&#010;Eddie&#010;&#010;&#010;On Sat, Apr 25, 2009 at 6:27 AM, intis&lt;srinu.inti@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; Hi&#010;&gt;&#010;&gt; Need to display scrollbar for the the datagrid rows, not for the headercells&#010;&gt; and the footer.&#010;&gt;&#010;&gt; I tried by giving div for datagrid:rows, but actual alignment is losing.&#010;&gt;&#010;&gt; please help me in this !!!!!!!!!!!!!!!&#010;&gt;&#010;&gt;&#010;&gt; Thanks for your quick response....&#010;&gt;&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; View this message in context: http://www.nabble.com/Display-scrollbar-for-datagrid-rows-tp23231567p23231567.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Showing empty rows when no data in datagrid</title>
<author><name>&quot;Eddie O'Neil&quot; &lt;ekoneil@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200907.mbox/%3ce9ac83540907011843k30051568p3194e7c69853d33e@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce9ac83540907011843k30051568p3194e7c69853d33e@mail-gmail-com%3e</id>
<updated>2009-07-02T01:43:55Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
  Hey, this is a good question and something that the &lt;netui:dataGrid&gt;&#010;should support; unfortunately it's not a feature that's supported&#010;today and likely won't be something that is added unless you want to&#010;submit a patch. :)&#010;&#010;  One way to "fake" it is to pass the dataGrid an empty data structure&#010;that you could detect when the columns render, for example by using&#010;JSTL inside of the &lt;rows&gt; tag to know that the items are some kind of&#010;marker that says that the data set contains no data.&#010;&#010;  Hope that helps; apologies for the delayed reply.&#010;&#010;Eddie&#010;&#010;On Sat, Apr 25, 2009 at 6:23 AM, intis&lt;srinu.inti@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; Hi,&#010;&gt;&#010;&gt; I wanted to show minimum rows in the datagrid:rows irrespective of the data.&#010;&gt; for example, pagesize is 20, i have only 4 records in my pageflow object.&#010;&gt; this case, datagrid rows should show 20 rows by filling 4 actual records and&#010;&gt; rest 16 should be empty rows.&#010;&gt;&#010;&gt; Please help in the same..if you u have the solution........&#010;&gt;&#010;&gt;&#010;&gt; Thanks in Advance&#010;&gt;&#010;&gt;&#010;&gt; --&#010;&gt; View this message in context: http://www.nabble.com/Showing-empty-rows-when-no-data-in-datagrid-tp23231530p23231530.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: netui:select optionsDataSource cannot be set</title>
<author><name>John L &lt;leboldusj@saic.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200906.mbox/%3c23932375.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23932375-post@talk-nabble-com%3e</id>
<updated>2009-06-08T21:20:42Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;This has been cleared up, but the solution is unsatisfying.&#010;&#010;I pulled (nearly) everything from the page and put in this line:&#010;&#010;&lt;netui:select dataSource="pageFlow.selectedEditAcvListSequenceNumber"&#010;optionsDataSource="${pageFlow.acvListMap}" nullable="true" /&gt;&#010;&#010;it ran.&#010;I added everything in the page line by line, I ran and re-ran it, waiting&#010;for it to start failing. When it was exactly the same as when I started&#010;(confirmed with a diff) it still ran.&#010;&#010;I have to assume that it was some kind of eclipse/weblogic&#010;clean-build-deploy problem.&#010;&#010;Hope this saves some trouble for somebody else someday&#010;-- &#010;View this message in context: http://www.nabble.com/netui%3Aselect-optionsDataSource-cannot-be-set-tp23751452p23932375.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>netui:select optionsDataSource cannot be set</title>
<author><name>John L &lt;leboldusj@saic.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200905.mbox/%3c23751452.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23751452-post@talk-nabble-com%3e</id>
<updated>2009-05-27T21:51:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hello Beehive - User Forum!&#010;I'm new to Beehive and I'm having a problem that I hope someone here can&#010;help me out with.  I'm sure it has a simple solution, but what that solution&#010;is, I don't know.&#010;&#010;I'm trying to upgrade from Weblogic portal 8.1 to 10.3 and I'm using&#010;Oracle's Workshop for WebLogic 10.3 (it's eclipse 3.3)&#010;&#010;I've got the following line in a jsp&#010;&#010;&lt;netui:select dataSource="pageFlow.selectedEditAcvListSequenceNumber"&#010;optionsDataSource="pageFlow.acvListMap" nullable="true"/&gt;&#010;&#010;it produces this html&#010;&#010;&lt;input type="hidden"&#010;name="wlw-select_key:{pageFlow.selectedEditAcvListSequenceNumber}OldValue"&#010;value="true"&gt;&#010;&lt;select name="wlw-select_key:{pageFlow.selectedEditAcvListSequenceNumber}"&gt;&#010;&lt;option value="pageFlow.acvListMap"&gt;pageFlow.acvListMap&lt;/option&gt;&#010;&lt;option value="netui_null" selected&gt;&lt;/option&gt;&#010;&lt;/select&gt;&#010;&#010;So it takes the value of optionsDataSource and makes it an option.  I&#010;checked the documentation here:&#010;http://beehive.apache.org/docs/1.0/apidocs/taglib/beehive.apache.org/netui/tags-html-1.0/select.html&#010;(I also looked at the 1.0.2 javadoc, it seemed the same)&#010;&#010;and so I changed the line to:&#010;&lt;netui:select dataSource="pageFlow.selectedEditAcvListSequenceNumber"&#010;optionsDataSource="${pageFlow.acvListMap}" nullable="true"/&gt;&#010;&#010;this failed with this error to the browser:&#010;&#010;Static attribute must be a String literal, its illegal to specify an&#010;expression.&#010;                    &lt;netui:select&#010;dataSource="pageFlow.selectedEditAcvListSequenceNumber"&#010;optionsDataSource="${pageFlow.acvListMap}" nullable="true"/&gt;&#010;&#010;&#010;and a similar error in the console.&#010;&#010;I've tried to change the JSTL facet, but eclipse won't let me, I've tried to&#010;explicitly set the jsp to interpret EL.  I've tried a lot of things that I&#010;can't recall.&#010;&#010;Does anyone have any ideas?&#010;&#010;-- &#010;View this message in context: http://www.nabble.com/netui%3Aselect-optionsDataSource-cannot-be-set-tp23751452p23751452.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Display scrollbar for datagrid rows</title>
<author><name>intis &lt;srinu.inti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200904.mbox/%3c23231567.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23231567-post@talk-nabble-com%3e</id>
<updated>2009-04-25T12:27:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hi&#010;&#010;Need to display scrollbar for the the datagrid rows, not for the headercells&#010;and the footer.&#010;&#010;I tried by giving div for datagrid:rows, but actual alignment is losing.&#010;&#010;please help me in this !!!!!!!!!!!!!!!&#010;&#010;&#010;Thanks for your quick response....&#010;&#010;&#010;&#010;-- &#010;View this message in context: http://www.nabble.com/Display-scrollbar-for-datagrid-rows-tp23231567p23231567.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Showing empty rows when no data in datagrid</title>
<author><name>intis &lt;srinu.inti@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200904.mbox/%3c23231530.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c23231530-post@talk-nabble-com%3e</id>
<updated>2009-04-25T12:23:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hi,&#010;&#010;I wanted to show minimum rows in the datagrid:rows irrespective of the data.&#010;for example, pagesize is 20, i have only 4 records in my pageflow object.&#010;this case, datagrid rows should show 20 rows by filling 4 actual records and&#010;rest 16 should be empty rows.&#010;&#010;Please help in the same..if you u have the solution........&#010;&#010;&#010;Thanks in Advance&#010;&#010;&#010;-- &#010;View this message in context: http://www.nabble.com/Showing-empty-rows-when-no-data-in-datagrid-tp23231530p23231530.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Eclipse Plug-ins for Beehive</title>
<author><name>&quot;Eddie O'Neil&quot; &lt;ekoneil@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200903.mbox/%3ce9ac83540903021638l29fb51e5l880834059e14dc10@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce9ac83540903021638l29fb51e5l880834059e14dc10@mail-gmail-com%3e</id>
<updated>2009-03-03T00:38:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
  Hi, Justin; as far as I know, there unfortunately aren't any Eclipse&#010;plugins that are being actively developed which support Beehive&#010;development.&#010;&#010;Hope that helps.&#010;Eddie&#010;&#010;&#010;On Mon, Mar 2, 2009 at 10:32 AM, jnt30 &lt;justin.r.nauman.spam@gmail.com&gt; wrote:&#010;&gt;&#010;&gt; We are currently wanting to upgrade to Eclipse 3.4 instead of 3.2 but are&#010;&gt; unable to fully move over due to the lack of Beehive functionality in the&#010;&gt; new Weblogic Workshop.&#010;&gt;&#010;&gt; I was wondering if there was a site to download eclipse plug-ins that&#010;&gt; duplicate some of the functionality that Workshop offers in regards to&#010;&gt; beehive?&#010;&gt;&#010;&gt; Thanks for your time,&#010;&gt; Justin N.&#010;&gt; Chicago, IL&#010;&gt; --&#010;&gt; View this message in context: http://www.nabble.com/Eclipse-Plug-ins-for-Beehive-tp22292566p22292566.html&#010;&gt; Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Eclipse Plug-ins for Beehive</title>
<author><name>jnt30 &lt;justin.r.nauman.spam@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200903.mbox/%3c22292566.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c22292566-post@talk-nabble-com%3e</id>
<updated>2009-03-02T17:32:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;We are currently wanting to upgrade to Eclipse 3.4 instead of 3.2 but are&#010;unable to fully move over due to the lack of Beehive functionality in the&#010;new Weblogic Workshop.  &#010;&#010;I was wondering if there was a site to download eclipse plug-ins that&#010;duplicate some of the functionality that Workshop offers in regards to&#010;beehive?&#010;&#010;Thanks for your time, &#010;Justin N.&#010;Chicago, IL &#010;-- &#010;View this message in context: http://www.nabble.com/Eclipse-Plug-ins-for-Beehive-tp22292566p22292566.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>&lt;netui:errors/&gt; message order. Please help</title>
<author><name>gautam roy &lt;groy_subscription@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200902.mbox/%3c785518.35935.qm@web111115.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c785518-35935-qm@web111115-mail-gq1-yahoo-com%3e</id>
<updated>2009-02-27T10:02:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;I have several text box and text areas that need simple validation. I am using &lt;netui:errors/&gt;&#010;to display the validation error messages. But the order is not as in my JSP page. The error&#010;messages are like:&#010; &#010;SSH username is required&#010;Dist prefix is required.&#010;.............&#010; &#010;Here is my JSP page:&#010;&lt;!-- Error message start --&gt;&#010;&lt;netui:errors/&gt;&#010;&lt;!-- Error message end --&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&lt;span class="subheadorange"&gt; SSH credentials &lt;/span&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;This information should be provided by network administrator.&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr valign="top"&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="3"&gt;&#010;&lt;tr&gt;&#010;&lt;td width="10%" align="right"&gt;SSH Username:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.sshUserName" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;SSH Password:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.sshPassword" styleClass="text"&#010;password="true"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;SSH Hostname:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.sshHostName" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;SSH Port:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.sshPort" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&lt;span class="subheadorange"&gt; Customizable Text &lt;/span&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr valign="top"&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="3"&gt;&#010;&lt;tr&gt;&#010;&lt;td width="10%" align="right"&gt;Help Text1:&lt;br&gt;(512 Characters)&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textArea dataSource="actionForm.helpText1" rows="4" style="width:&#010;400px; font-size: 11px;" /&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td width="10%" align="right"&gt;Help Text2:&lt;br&gt;(512 Characters)&lt;/td&gt;&#010;&lt;td&gt;&lt;netui:textArea dataSource="actionForm.helpText2" rows="4" style="width: 400px;&#010;font-size: 11px;" onKeyPress="return maxLength(this,event,'512')"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td width="10%" align="right"&gt;Help Text3:&lt;br&gt;(512 Characters)&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textArea dataSource="actionForm.helpText3" rows="4" style="width:&#010;400px; font-size: 11px;" /&gt;&lt;/td&gt;&#010;&lt;/tr&gt; &#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="0"&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&lt;span class="subheadorange"&gt;Naming conventions &lt;/span&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr valign="top"&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&#010;&lt;td&gt;&#010;&lt;table width="100%" border="0" cellpadding="0" cellspacing="3"&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td width="10%" align="right"&gt;District prefix:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.distPrefix" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;District suffix:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.distSuffix" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;School prefix:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.schlPrefix" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="right"&gt;School sufix:&lt;/td&gt;&#010;&lt;td align="left"&gt;&lt;netui:textBox dataSource="actionForm.schlSuffix" styleClass="text"/&gt;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;td&gt;&#010;&lt;table width="50%" align="left" border="0" cellpadding="0" cellspacing="0"&gt;&#010;&lt;tr&gt;&#010;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;tr&gt;&#010;&lt;td align="left"&gt;&#010;&lt;netui:imageButton src="${pageContext.request.contextPath}/resources/images/btn-submit-wht.gif"&#010;align="absmiddle" alt="Submit"/&gt;&#010;&lt;netui:imageButton src="${pageContext.request.contextPath}/resources/images/btn-clear-gry.gif"&#010;align="absmiddle" alt="Reset" onClick="clearCustomConfiguration();return false;"/&gt;&#010;&lt;netui:imageButton src="${pageContext.request.contextPath}/resources/images/btn-cancel-wht.gif"&#010;align="absmiddle" alt="Cancel" onClick="cancelCustomConfiguration();return false;"/&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/td&gt;&#010;&lt;/tr&gt;&#010;&lt;/table&gt;&#010;&lt;/netui:form&gt;&#010; &#010;And my form is:&#010;@Jpf.FormBean(messageBundle = "resources.messages")&#010; public static class CustomConfigForm implements java.io.Serializable {&#010;  &#010;  private static final long serialVersionUID = -3981463030514779499L;&#010;  &#010;  private String sshUserName;&#010;  private String sshPassword;&#010;  private String sshHostName;&#010;  private String sshPort;&#010;  &#010;  private String helpText1;&#010;  private String helpText2;&#010;  private String helpText3;&#010;  &#010;  private String distPrefix;&#010;  private String distSuffix;&#010;  private String schlPrefix;&#010;  private String schlSuffix;&#010;  &#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.username",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getSshUserName() {&#010;   return sshUserName;&#010;  }&#010;  public void setSshUserName(String sshUserName) {&#010;   this.sshUserName = sshUserName;&#010;  }&#010;  &#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.password",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getSshPassword() {&#010;   return sshPassword;&#010;  }&#010;  public void setSshPassword(String sshPassword) {&#010;   this.sshPassword = sshPassword;&#010;  }&#010;  &#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.host",&#010;   validateRequired = @Jpf.ValidateRequired&#010;  )&#010;  public String getSshHostName() {&#010;   return sshHostName;&#010;  }&#010;  public void setSshHostName(String sshHostName) {&#010;   this.sshHostName = sshHostName;&#010;  }&#010;  &#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.port",&#010;   validateRequired = @Jpf.ValidateRequired,&#010;   validateType = @Jpf.ValidateType(type = int.class)&#010;  )&#010;  public String getSshPort() {&#010;   return sshPort;&#010;  }&#010;  public void setSshPort(String sshPort) {&#010;   this.sshPort = sshPort;&#010;  }&#010;  &#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.help1",&#010;   validateRequired = @Jpf.ValidateRequired,&#010;   validateMaxLength = @Jpf.ValidateMaxLength(chars = 512)&#010;  )&#010;  public String getHelpText1() {&#010;   return helpText1;&#010;  }&#010;  public void setHelpText1(String helpText1) {&#010;   this.helpText1 = helpText1;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.help1",&#010;   validateMaxLength = @Jpf.ValidateMaxLength(chars = 512)&#010;  )&#010;  public String getHelpText2() {&#010;   return helpText2;&#010;  }&#010;  public void setHelpText2(String helpText2) {&#010;   this.helpText2 = helpText2;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.help1",&#010;   validateMaxLength = @Jpf.ValidateMaxLength(chars = 512)&#010;  )&#010;  public String getHelpText3() {&#010;   return helpText3;&#010;  }&#010;  public void setHelpText3(String helpText3) {&#010;   this.helpText3 = helpText3;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.distprefix",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getDistPrefix() {&#010;   return distPrefix;&#010;  }&#010;  public void setDistPrefix(String distPrefix) {&#010;   this.distPrefix = distPrefix;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.distsuffix",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getDistSuffix() {&#010;   return distSuffix;&#010;  }&#010;  public void setDistSuffix(String distSuffix) {&#010;   this.distSuffix = distSuffix;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.schoolprefix",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getSchlPrefix() {&#010;   return schlPrefix;&#010;  }&#010;  public void setSchlPrefix(String schlPrefix) {&#010;   this.schlPrefix = schlPrefix;&#010;  }&#010;  @Jpf.ValidatableProperty(&#010;   displayNameKey = "displayname.schoolsuffix",&#010;   validateRequired = @Jpf.ValidateRequired()&#010;  )&#010;  public String getSchlSuffix() {&#010;   return schlSuffix;&#010;  }&#010;  public void setSchlSuffix(String schlSuffix) {&#010;   this.schlSuffix = schlSuffix;&#010;  }&#010; }&#010; &#010; &#010; &#010;&#010;&#010;      &#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Context param question</title>
<author><name>&quot;Robert Read&quot; &lt;r.read@auckland.ac.nz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200902.mbox/%3cAC3DC202DD1DF2409C475795C7FF9A0D01C06ED2@UXCHANGE2.UoA.auckland.ac.nz%3e"/>
<id>urn:uuid:%3cAC3DC202DD1DF2409C475795C7FF9A0D01C06ED2@UXCHANGE2-UoA-auckland-ac-nz%3e</id>
<updated>2009-02-12T03:36:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi again,&#010;&#010; &#010;&#010;I am hoping someone has the time to look into this problem I posted&#010;yesterday or has some experience in this area.&#010;&#010; &#010;&#010;I would appreciate any input.&#010;&#010; &#010;&#010;Thanks again,&#010;&#010;Robert&#010;&#010; &#010;&#010;Robert Read,&#010;&#010;Analyst Programmer,&#010;&#010;ITS Group Applications,&#010;&#010;The University of Auckland.&#010;&#010; &#010;&#010;Ph +64 9 923 2475&#010;&#010;Ext 82475&#010;&#010;Email r.read@auckland.ac.nz&#010;&#010;Web www.auckland.ac.nz&#010;&#010; &#010;&#010;________________________________&#010;&#010;From: Robert Read &#010;Sent: Wednesday, 11 February 2009 9:08 p.m.&#010;To: user@beehive.apache.org&#010;Subject: FW: Context param question&#010;&#010; &#010;&#010;Hi all,&#010;&#010; &#010;&#010;I have written a Custom Beehive Control that wraps the J2SSH Java&#010;library for obtaining an SSH connection and SFTP session with a remote&#010;host for the purpose of transferring a file.  The new control implements&#010;PGP authentication against the remote server using a public/private&#010;key-pair.&#010;&#010; &#010;&#010;This works fine between my desktop and an in-house remote host when the&#010;values for the host, port #, user, path to the keyfile, passphrase etc.&#010;are hard-coded.&#010;&#010; &#010;&#010;I have parameterised these values so that the control can be configured&#010;externally and I am attempting to use the&#010;http://beehive.apache.org/docs/1.0.1/controls/apidocs/javadoc/org/apache&#010;/beehive/controls/runtime/servlet/ServletBeanContext.html&#010;&lt;http://beehive.apache.org/docs/1.0.1/controls/apidocs/javadoc/org/apach&#010;e/beehive/controls/runtime/servlet/ServletBeanContext.html&gt;  to gain a&#010;reference to the ServletContext and get the values for the parameters&#010;from context-param entries in the web.xml config file by calling&#010;getInitParameter(String name) on the ServletContext.&#010;&#010; &#010;&#010;The Beehive documentation states that defining a reference in the&#010;Control implementation class and annotating it @Context will suffice for&#010;its initialisation, but I get the following stack trace:&#010;&#010; &#010;&#010;Exception in sendFile&#010;org.apache.beehive.controls.api.ControlException: Control initialization&#010;failure[org.apache.beehive.controls.api.ControlException: Contextual&#010;service org.apache.beehive.controls.runtime.servlet.ServletBeanContext&#010;is not available]&#010;Caused by: org.apache.beehive.controls.api.ControlException: Contextual&#010;service org.apache.beehive.controls.runtime.servlet.ServletBeanContext&#010;is not available&#010;    ... 40 more&#010;at&#010;org.apache.beehive.controls.runtime.bean.ControlBean.ensureControl(Contr&#010;olBean.java:325) &#010;at controls.SftpBean.sendFile(SftpBean.java:111) &#010;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &#010;at&#010;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav&#010;a:39) &#010;at&#010;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor&#010;Impl.java:25) &#010;at java.lang.reflect.Method.invoke(Method.java:585) &#010;at&#010;com.bea.wli.knex.runtime.jcs.container.JcsProxy.invokeBeehiveControl(Jcs&#010;Proxy.java:666) &#010;at&#010;com.bea.wli.knex.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:433&#010;) &#010;at controls.Sftp.sendFile(Unknown Source) &#010;at processes.UoaSerkoUserExtract.sftpPut1(UoaSerkoUserExtract.jws:122)&#010;&#010; &#010;&#010; &#010;&#010;I attempt to call the ServletBeanContext.getServletContext() method from&#010;the onAcquire() lifecycle method of my control.  I also have a&#010;ResourceContext associated with the onAcquire() method via an&#010;@EventHandler annotation. &#010;&#010; &#010;&#010;Any ideas why the ServletBeanContext is not available and what I could&#010;do to ensure it is?&#010;&#010; &#010;&#010;Cheers,&#010;&#010;Robert&#010;&#010; &#010;&#010;Robert Read,&#010;&#010;Analyst Programmer,&#010;&#010;ITS Group Applications,&#010;&#010;The University of Auckland.&#010;&#010; &#010;&#010;Ph +64 9 923 2475&#010;&#010;Ext 82475&#010;&#010;Email r.read@auckland.ac.nz&#010;&#010;Web www.auckland.ac.nz&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>FW: Context param question</title>
<author><name>&quot;Robert Read&quot; &lt;r.read@auckland.ac.nz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200902.mbox/%3cAC3DC202DD1DF2409C475795C7FF9A0D01C06D78@UXCHANGE2.UoA.auckland.ac.nz%3e"/>
<id>urn:uuid:%3cAC3DC202DD1DF2409C475795C7FF9A0D01C06D78@UXCHANGE2-UoA-auckland-ac-nz%3e</id>
<updated>2009-02-11T08:08:10Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,&#010;&#010; &#010;&#010;I have written a Custom Beehive Control that wraps the J2SSH Java&#010;library for obtaining an SSH connection and SFTP session with a remote&#010;host for the purpose of transferring a file.  The new control implements&#010;PGP authentication against the remote server using a public/private&#010;key-pair.&#010;&#010; &#010;&#010;This works fine between my desktop and an in-house remote host when the&#010;values for the host, port #, user, path to the keyfile, passphrase etc.&#010;are hard-coded.&#010;&#010; &#010;&#010;I have parameterised these values so that the control can be configured&#010;externally and I am attempting to use the&#010;http://beehive.apache.org/docs/1.0.1/controls/apidocs/javadoc/org/apache&#010;/beehive/controls/runtime/servlet/ServletBeanContext.html&#010;&lt;http://beehive.apache.org/docs/1.0.1/controls/apidocs/javadoc/org/apach&#010;e/beehive/controls/runtime/servlet/ServletBeanContext.html&gt;  to gain a&#010;reference to the ServletContext and get the values for the parameters&#010;from context-param entries in the web.xml config file by calling&#010;getInitParameter(String name) on the ServletContext.&#010;&#010; &#010;&#010;The Beehive documentation states that defining a reference in the&#010;Control implementation class and annotating it @Context will suffice for&#010;its initialisation, but I get the following stack trace:&#010;&#010; &#010;&#010;Exception in sendFile&#010;org.apache.beehive.controls.api.ControlException: Control initialization&#010;failure[org.apache.beehive.controls.api.ControlException: Contextual&#010;service org.apache.beehive.controls.runtime.servlet.ServletBeanContext&#010;is not available]&#010;Caused by: org.apache.beehive.controls.api.ControlException: Contextual&#010;service org.apache.beehive.controls.runtime.servlet.ServletBeanContext&#010;is not available&#010;    ... 40 more&#010;at&#010;org.apache.beehive.controls.runtime.bean.ControlBean.ensureControl(Contr&#010;olBean.java:325) &#010;at controls.SftpBean.sendFile(SftpBean.java:111) &#010;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &#010;at&#010;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav&#010;a:39) &#010;at&#010;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor&#010;Impl.java:25) &#010;at java.lang.reflect.Method.invoke(Method.java:585) &#010;at&#010;com.bea.wli.knex.runtime.jcs.container.JcsProxy.invokeBeehiveControl(Jcs&#010;Proxy.java:666) &#010;at&#010;com.bea.wli.knex.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:433&#010;) &#010;at controls.Sftp.sendFile(Unknown Source) &#010;at processes.UoaSerkoUserExtract.sftpPut1(UoaSerkoUserExtract.jws:122)&#010;&#010; &#010;&#010; &#010;&#010;I attempt to call the ServletBeanContext.getServletContext() method from&#010;the onAcquire() lifecycle method of my control.  I also have a&#010;ResourceContext associated with the onAcquire() method via an&#010;@EventHandler annotation. &#010;&#010; &#010;&#010;Any ideas why the ServletBeanContext is not available and what I could&#010;do to ensure it is?&#010;&#010; &#010;&#010;Cheers,&#010;&#010;Robert&#010;&#010; &#010;&#010;Robert Read,&#010;&#010;Analyst Programmer,&#010;&#010;ITS Group Applications,&#010;&#010;The University of Auckland.&#010;&#010; &#010;&#010;Ph +64 9 923 2475&#010;&#010;Ext 82475&#010;&#010;Email r.read@auckland.ac.nz&#010;&#010;Web www.auckland.ac.nz&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Enum Netui Converter</title>
<author><name>jnt30 &lt;justin.r.nauman+nabble@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200902.mbox/%3c21798448.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c21798448-post@talk-nabble-com%3e</id>
<updated>2009-02-02T21:10:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;The question I have is in regards to type converters and binding enums. &#010;&#010;I have seen other postings about enum conversion and the necessity to create&#010;type converters for String -&gt; enum.  I have been able to successfully&#010;declare a type converter for String -&gt; enum, however I would like to be able&#010;to create a more generic type converter that will convert between a String&#010;to any enum.  Is it possible to declare a type converter for anything other&#010;than the explicit class defined in the beehive-netui-config.xml file?&#010;&#010;Thanks in advance, &#010;Justin&#010;-- &#010;View this message in context: http://www.nabble.com/Enum-Netui-Converter-tp21798448p21798448.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Action for file download</title>
<author><name>&quot;Marxer, Attila&quot; &lt;attila.marxer@capgemini.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200901.mbox/%3c197E7403273D1A44854F646856D25FFA03FB4870@CORPMAIL33.corp.capgemini.com%3e"/>
<id>urn:uuid:%3c197E7403273D1A44854F646856D25FFA03FB4870@CORPMAIL33-corp-capgemini-com%3e</id>
<updated>2009-01-26T14:24:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everybody,&#010; &#010;I've been using Beehive for a couple of months now and I'm very happy&#010;with&#010;it. However, recently I've found myself facing a problem I couldn't get&#010;resolved:&#010; &#010;Is there a way to write a simple action to handle a file download? I've&#010;tried to write &#010;a simple action without any forwards that reads a file from disk, writes&#010;&#010;its contennt to the HttpServletResponse and then simply returns "null".&#010;However&#010;Beehive displays the file content "inline" in my page. Is there a way to&#010;force&#010;a "Content-Disposition: attachement" on the response?&#010; &#010;thanks in advance,&#010;Attila&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Hegde, Ramdas is out of the office.</title>
<author><name>Ramdas.Hegde@seagate.com</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200901.mbox/%3cOF644A8F7F.44B74757-ON88257538.0065D547-88257538.0065D548@seagate.com%3e"/>
<id>urn:uuid:%3cOF644A8F7F-44B74757-ON88257538-0065D547-88257538-0065D548@seagate-com%3e</id>
<updated>2009-01-08T18:32:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;I will be out of the office starting  12/22/2008 and will not return until&#010;01/12/2009.&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>using scriptlets with netui-data:datagrid</title>
<author><name>&quot;Prachi Deo&quot; &lt;pdeo@medsphere.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200901.mbox/%3cWC20090102064106.1000BE@medsphere.net%3e"/>
<id>urn:uuid:%3cWC20090102064106-1000BE@medsphere-net%3e</id>
<updated>2009-01-02T06:41:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010; A very happy new year.&#010;&#010;I am recently attempting to move from netui:table to netui-data:datagrid in &#010;order take advantage of the paging feature with datagrid. However, I see &#010;that netui-data:datagrid does not allow script. I desperately need java code &#010;since my columns(headercells) are based on some logic and dynamic. Does &#010;anybody know a way out - to use scriptlets with datagrids. I would &#010;appreciate getting some guidance with this.&#010;&#010;thanks.&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE:HI</title>
<author><name>&quot;Sebastien Layer&quot; &lt;sebastienlayer@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200811.mbox/%3ca78730a20811130627j2ba195b3j4e3be2c0d5043acc@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca78730a20811130627j2ba195b3j4e3be2c0d5043acc@mail-gmail-com%3e</id>
<updated>2008-11-13T14:27:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
-- &#010;Hey，&#010;how are you doing recently?&#010;I would like to introduce you a very good company and its website is&#010;www.worldtradingsky.com . It can offer you all kinds of electronic products&#010;that you may be in need,such as laptops ,gps ,TV&#010;LCD,cell  phones,ps3,MP3/4,motorcycles and etc........&#010;You can take some time to have a check ,there must be something interesting&#010;you 'd like to  purchase .&#010;The contact email: worldtradingsky@188.com.  MSN:&#010;worldtradingsky@hotmail.com&#010;TEL:  0086+137 2263 1839&#010;Hope you can enjoy yourself in shopping from that company !&#010;&#010;Regards&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>&lt;netui:formatDate pattern=&quot;MM/dd/yyyy hh:mm a&quot;/&gt; issue</title>
<author><name>doankhoavy &lt;doankhoavy@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200811.mbox/%3c20318484.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c20318484-post@talk-nabble-com%3e</id>
<updated>2008-11-04T09:03:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&#010;Hi All,&#010;&#010;i'm using beehive framework and have data-grid that use &lt;netui:formatDate&#010;pattern="MM/dd/yyyy hh:mm a"/&gt; tag but it always displays 11/11/2008 12:00&#010;AM in spite of database is not 12:00 AM.&#010;&#010;Anyone can help me to resove this issue?&#010;&#010;Thanks.&#010;-- &#010;View this message in context: http://www.nabble.com/%3Cnetui%3AformatDate-pattern%3D%22MM-dd-yyyy-hh%3Amm-a%22-%3E-issue-tp20318484p20318484.html&#010;Sent from the Beehive - User mailing list archive at Nabble.com.&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>is instance variable of page flow controller thread safe?</title>
<author><name>&quot;Tsai, George (EDS)&quot; &lt;George.Tsai@va.gov&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200810.mbox/%3cCCE9D85D9DDA40438132DE0B2B02CB380640CCE7@VHAISHMSGJ2.vha.med.va.gov%3e"/>
<id>urn:uuid:%3cCCE9D85D9DDA40438132DE0B2B02CB380640CCE7@VHAISHMSGJ2-vha-med-va-gov%3e</id>
<updated>2008-10-22T14:06:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I have a page flow controller that is a subclass of&#010;org.apache.beehive.netui.pageflow.PageFlowController running weblogic&#010;921. The essence of my question is: is instance variable of page flow&#010;controller thread safe?&#010;&#010;Here are the details. In the page flow controller, I have an instance&#010;variable "status" that stores the status of the patient, which is stored&#010;in the request. It sets the status after the patient status is retrieved&#010;from database. The set method is not synchronized. &#010;&#010;This works fine during normal test. But it failed during load test. Does&#010;a page flow controller instance shared among different requests? If so,&#010;how can I store the status for each request? &#010;&#010;Thanks,&#010;&#010;G T&#009;&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Is it possible to use Struts 2 with Beehive NetUI?</title>
<author><name>&quot;Carlin Rogers&quot; &lt;carlin.rogers@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200810.mbox/%3cba6911de0810202141n61257320id3d7a7fe21480d9c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cba6911de0810202141n61257320id3d7a7fe21480d9c@mail-gmail-com%3e</id>
<updated>2008-10-21T04:41:15Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Shylesh,&#010;&#010;Unfortunately, no. Beehive NetUI does not support Struts 2. I haven't seen&#010;activity or plans in the Beehive dev community about future work such as&#010;Struts 2 support.&#010;&#010;The following email in the Beehive dev alias provides some information about&#010;Beehive activity.&#010;&#010;http://mail-archives.apache.org/mod_mbox/beehive-dev/200807.mbox/%3Ce9ac83540807102126x30120403r55bc19caec096a11@mail.gmail.com%3E&#010;&#010;Kind regards,&#010;Carlin&#010;&#010;On Mon, Oct 20, 2008 at 8:51 PM, Shylesh Gopalakrishnan &lt;&#010;shylesh.g@in.ibm.com&gt; wrote:&#010;&#010;&gt; Hi,&#010;&gt;&#010;&gt; Is it possible to use Struts 2 with Beehive NetUI?&#010;&gt; Please let me know the current status and the road map for beehive&#010;&gt; project.&#010;&gt; Is the beehive project not active?&#010;&gt;&#010;&gt;&#010;&gt; Thanks and Regards,&#010;&gt; _________________________________________________________&#010;&gt; Shylesh G&#010;&gt; Staff Application Programmer,&#010;&gt; IBM India Private Limited - Application Innovation Services Global&#010;&gt; Delivery,&#010;&gt; Application Development (Communications)&#010;&gt; MK-2B-384,Manyata Embassy Business Park,&#010;&gt; Outer Ring Road,Nagavara, Bangalore&#010;&gt; Phone +91.80.40257605;  Mobile +91.9008922990&#010;&gt; Internet: shylesh.g@in.ibm.com&#010;&gt;&#010;&gt;&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Is it possible to use Struts 2 with Beehive NetUI?</title>
<author><name>Shylesh Gopalakrishnan &lt;shylesh.g@in.ibm.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200810.mbox/%3cOFE5276366.4CC27EE3-ON652574E9.000F6D7A-652574E9.000FB749@in.ibm.com%3e"/>
<id>urn:uuid:%3cOFE5276366-4CC27EE3-ON652574E9-000F6D7A-652574E9-000FB749@in-ibm-com%3e</id>
<updated>2008-10-21T02:51:25Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;Is it possible to use Struts 2 with Beehive NetUI?&#010;Please let me know the current status and the road map for beehive &#010;project.&#010;Is the beehive project not active?&#010;&#010;&#010;Thanks and Regards,&#010;_________________________________________________________&#010;Shylesh G&#010;Staff Application Programmer,&#010;IBM India Private Limited - Application Innovation Services Global &#010;Delivery,&#010;Application Development (Communications)&#010;MK-2B-384,Manyata Embassy Business Park, &#010;Outer Ring Road,Nagavara, Bangalore&#010;Phone +91.80.40257605;  Mobile +91.9008922990&#010;Internet: shylesh.g@in.ibm.com&#010;&#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Extensible Custom Control with invoke method: how to get a reference to the extended bean instance?</title>
<author><name>&quot;Eduardo Gouvea&quot; &lt;ecgouvea@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200810.mbox/%3ccec934340810031529k10a2f300oac5fcbcf79142120@mail.gmail.com%3e"/>
<id>urn:uuid:%3ccec934340810031529k10a2f300oac5fcbcf79142120@mail-gmail-com%3e</id>
<updated>2008-10-03T22:29:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,&#010;&#010;I'm try to implement both a Extensible and its extended Custom Control&#010;to log any method invocation issued in a extended custom control instance.&#010;&#010;I have 2 interfaces and 2 implementations:&#010;&#010;@ControlInterface&#010;... MyCustomControl {&#010;}&#010;&#010;@ControlImplementation&#010;... MyCustomControlImpl ... implements Extensible ... {&#010;    public Object invoke(Method m, Object[] args)  ... {&#010;        // How to invoke the method been issued in the extended custom&#010;control instance&#010;        // without losing its state, without instantiate a new bean?&#010;        return ...&#010;    }&#010;}&#010;&#010;@ControlExtension&#010;@ControlInterface&#010;... MyExtendedCustomControl ...{&#010;    public void sayHello();&#010;}&#010;&#010;@ControlImplementation&#010;... MyExtendedCustomControlImpl ... extends MyCustomControlImpl implements&#010;MyCustomControl ... {&#010;}&#010;    public void sayHello() {&#010;        System.out.println("Hello!");&#010;    }&#010;}&#010;&#010;But, given the parameters of the "invoke" method, I'm not able to actually&#010;invoke&#010;the extended custom control method after logging some information about it.&#010;&#010;How to get a reference to the extended custom control instance within the&#010;"invoke" method&#010;in order to call the intercepted method in that instance?&#010;&#010;Att.&#010;Eduardo Gouvea&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>RE: SharedFlowControllers can't access the session in non-action methods</title>
<author><name>&quot;Adkinson, Sean&quot; &lt;SAdkinson@kcdistancelearning.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200809.mbox/%3c4BC3276ED3887B41B2CBB023C996EF660316D3F7@PDXC6002V.corp.edu-resources.com%3e"/>
<id>urn:uuid:%3c4BC3276ED3887B41B2CBB023C996EF660316D3F7@PDXC6002V-corp-edu-resources-com%3e</id>
<updated>2008-09-30T22:58:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Here is the actual stacktrace I see.  Note that this was hit from the&#010;begin() method instead of the beforeAction() method I used as an example&#010;in the last email.&#010;&#010; &#010;&#010; &#010;&#010; &#010;&#010;&lt;Sep 30, 2008 3:00:33 PM PDT&gt; &lt;Notice&gt; &lt;Stdout&gt; &lt;000000&gt; &lt;30 Sep&#010;2008&#010;15:00:33,227 ERROR UtilityController: stacktrace:&#010;java.lang.IllegalStateException: getS&#010;&#010;ession was called outside of a valid context.&gt;&#010;&#010;&lt;Sep 30, 2008 3:00:33 PM PDT&gt; &lt;Notice&gt; &lt;Stdout&gt; &lt;000000&gt; &lt;30 Sep&#010;2008&#010;15:00:33,227 ERROR UtilityController: message:We're sorry, but an error&#010;has occurred.&gt;&#010;&#010; &#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.FlowController.getSession(FlowControll&#010;er.java:1003)&#010;&#010;        at&#010;com.kcdistancelearning.pageflow.sharedFlow.utility.UtilityController.get&#010;PortalOrganizationId(UtilityController.java:225)&#010;&#010;        at portlets.login.LoginController.begin(LoginController.java:60)&#010;&#010;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#010;&#010;        at&#010;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav&#010;a:39)&#010;&#010;        at&#010;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor&#010;Impl.java:25)&#010;&#010;        at java.lang.reflect.Method.invoke(Method.java:585)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(Flow&#010;Controller.java:879)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(&#010;FlowController.java:809)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowCon&#010;troller.java:478)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(Pag&#010;eFlowController.java:306)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.&#010;java:336)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(&#010;FlowControllerAction.java:52)&#010;&#010;        at&#010;org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr&#010;ocessor.java:431)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(Pa&#010;geFlowRequestProcessor.java:97)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.&#010;execute(PageFlowRequestProcessor.java:2044)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInte&#010;rceptors.wrapAction(ActionInterceptors.java:91)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processAction&#010;Perform(PageFlowRequestProcessor.java:2116)&#010;&#010;        at&#010;org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:&#010;236)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processIntern&#010;al(PageFlowRequestProcessor.java:556)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageF&#010;lowRequestProcessor.java:853)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(Auto&#010;RegisterActionServlet.java:631)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlow&#010;ActionServlet.java:158)&#010;&#010;        at&#010;org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)&#010;&#010;        at&#010;com.kcdistancelearning.servlet.IqOesPageFlowActionServlet.doGet(IqOesPag&#010;eFlowActionServlet.java:38)&#010;&#010;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)&#010;&#010;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&#010;&#010;        at&#010;weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St&#010;ubSecurityHelper.java:225)&#010;&#010;        at&#010;weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH&#010;elper.java:127)&#010;&#010;        at&#010;weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2&#010;83)&#010;&#010;        at&#010;weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:1&#010;75)&#010;&#010;        at&#010;weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDis&#010;patcherImpl.java:496)&#010;&#010;        at&#010;weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatche&#010;rImpl.java:245)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler&#010;.forward(DefaultForwardRedirectHandler.java:128)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(Pag&#010;eFlowRequestProcessor.java:1801)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFl&#010;owRequest(PageFlowRequestProcessor.java:741)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processIntern&#010;al(PageFlowRequestProcessor.java:474)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageF&#010;lowRequestProcessor.java:853)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(Auto&#010;RegisterActionServlet.java:631)&#010;&#010;        at&#010;org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlow&#010;ActionServlet.java:158)&#010;&#010;        at&#010;org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)&#010;&#010;        at&#010;com.kcdistancelearning.servlet.IqOesPageFlowActionServlet.doGet(IqOesPag&#010;eFlowActionServlet.java:38)&#010;&#010;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)&#010;&#010;        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)&#010;&#010;        at&#010;weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(St&#010;ubSecurityHelper.java:225)&#010;&#010;        at&#010;weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityH&#010;elper.java:127)&#010;&#010;        at&#010;weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:2&#010;83)&#010;&#010;        at&#010;weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)&#010;&#010;        at&#010;weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:&#010;42)&#010;&#010;        at&#010;com.kcdistancelearning.servlet.filter.IqOesTransactionFilter.wrapInTrans&#010;action(IqOesTransactionFilter.java:60)&#010;&#010;        at&#010;com.kcdistancelearning.servlet.filter.IqOesTransactionFilter.doFilter(Iq&#010;OesTransactionFilter.java:51)&#010;&#010;        at&#010;weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:&#010;42)&#010;&#010;        at&#010;weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r&#010;un(WebAppServletContext.java:3212)&#010;&#010;        at&#010;weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu&#010;bject.java:321)&#010;&#010;        at&#010;weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121&#010;)&#010;&#010;        at&#010;weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServ&#010;letContext.java:1983)&#010;&#010;        at&#010;weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletCont&#010;ext.java:1890)&#010;&#010;        at&#010;weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java&#010;:1344)&#010;&#010;        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)&#010;&#010;        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)&#010;&#010; &#010;&#010; &#010;&#010; &#010;&#010;Sean Adkinson&#010;&#010;________________________________&#010;&#010;From: Adkinson, Sean &#010;Sent: Tuesday, September 30, 2008 3:42 PM&#010;To: 'user@beehive.apache.org'&#010;Subject: SharedFlowControllers can't access the session in non-action&#010;methods&#010;&#010; &#010;&#010;Hey there,&#010;&#010; &#010;&#010;We have recently started utilizing shared flow controllers for session&#010;getters that used to be in inherited controllers.  The reason for this&#010;was to abstract out our inherited controllers in order to be used across&#010;multiple applications in a common code sort of way, but still have a&#010;central location for accessing certain session values.&#010;&#010; &#010;&#010;However, it doesn't appear as if you can access the session in a&#010;SharedFlowController when you haven't come in through an action, since&#010;setPerRequestState is never called in FlowController in this case.&#010;Would it be appropriate to call setPerRequestState for each&#010;SharedFlowController whenever setPerRequestState is called?&#010;&#010; &#010;&#010;Here are snippets of what I am doing:&#010;&#010; &#010;&#010; &#010;&#010;@Jpf.Controller(...)&#010;&#010;public class UtilityController extends SharedFlowController&#010;&#010;{&#010;&#010; &#010;&#010;public Integer getOrganizationId()&#010;&#010;{&#010;&#010;return&#010;(Integer)getSession().getAttribute(SessionConstants.ORGANIZATION_ID);&#010;&#010;}&#010;&#010; &#010;&#010;}&#010;&#010; &#010;&#010; &#010;&#010;@Jpf.Controller(&#010;&#010;      ...&#010;&#010;sharedFlowRefs = { @Jpf.SharedFlowRef(name = "utilityController", type =&#010;UtilityController.class) }&#010;&#010;)&#010;&#010;public class LoginController extends PageFlowController&#010;&#010;{&#010;&#010; &#010;&#010;@Jpf.SharedFlowField(name = "utilityController")&#010;&#010;private UtilityController utilityController;&#010;&#010; &#010;&#010; &#010;&#010;protected final synchronized void beforeAction() throws Exception&#010;&#010;{&#010;&#010;      //fail here&#010;&#010;      System.out.println("Organization ID: " +&#010;utilityController.getOrganizationId());&#010;&#010;}&#010;&#010;}&#010;&#010; &#010;&#010; &#010;&#010;When getOrganizationId() lived in an inherited controller, the method&#010;worked fine, since setPerRequestState() had been called for this&#010;controller.  If the code were changed to call setPerRequestState() for&#010;each of the shared controllers when it called was called for the current&#010;controller, this looks like it would work just fine.&#010;&#010; &#010;&#010;Any thoughts or suggestions?  Thanks for you help!  &#010;&#010; &#010;&#010; &#010;&#010;Sean Adkinson  |  Web Developer/Programmer  |  KCDL  |&#010;sadkinson@klcorp.com  |  (503) 731-5488  |  (503) 866-0852 cell&#010;&#010; &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>SharedFlowControllers can't access the session in non-action methods</title>
<author><name>&quot;Adkinson, Sean&quot; &lt;SAdkinson@kcdistancelearning.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200809.mbox/%3c4BC3276ED3887B41B2CBB023C996EF660316D3D4@PDXC6002V.corp.edu-resources.com%3e"/>
<id>urn:uuid:%3c4BC3276ED3887B41B2CBB023C996EF660316D3D4@PDXC6002V-corp-edu-resources-com%3e</id>
<updated>2008-09-30T22:41:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hey there,&#010;&#010; &#010;&#010;We have recently started utilizing shared flow controllers for session&#010;getters that used to be in inherited controllers.  The reason for this&#010;was to abstract out our inherited controllers in order to be used across&#010;multiple applications in a common code sort of way, but still have a&#010;central location for accessing certain session values.&#010;&#010; &#010;&#010;However, it doesn't appear as if you can access the session in a&#010;SharedFlowController when you haven't come in through an action, since&#010;setPerRequestState is never called in FlowController in this case.&#010;Would it be appropriate to call setPerRequestState for each&#010;SharedFlowController whenever setPerRequestState is called?&#010;&#010; &#010;&#010;Here are snippets of what I am doing:&#010;&#010; &#010;&#010; &#010;&#010;@Jpf.Controller(...)&#010;&#010;public class UtilityController extends SharedFlowController&#010;&#010;{&#010;&#010; &#010;&#010;public Integer getOrganizationId()&#010;&#010;{&#010;&#010;return&#010;(Integer)getSession().getAttribute(SessionConstants.ORGANIZATION_ID);&#010;&#010;}&#010;&#010; &#010;&#010;}&#010;&#010; &#010;&#010; &#010;&#010;@Jpf.Controller(&#010;&#010;      ...&#010;&#010;sharedFlowRefs = { @Jpf.SharedFlowRef(name = "utilityController", type =&#010;UtilityController.class) }&#010;&#010;)&#010;&#010;public class LoginController extends PageFlowController&#010;&#010;{&#010;&#010; &#010;&#010;@Jpf.SharedFlowField(name = "utilityController")&#010;&#010;private UtilityController utilityController;&#010;&#010; &#010;&#010; &#010;&#010;protected final synchronized void beforeAction() throws Exception&#010;&#010;{&#010;&#010;      //fail here&#010;&#010;      System.out.println("Organization ID: " +&#010;utilityController.getOrganizationId());&#010;&#010;}&#010;&#010;}&#010;&#010; &#010;&#010; &#010;&#010;When getOrganizationId() lived in an inherited controller, the method&#010;worked fine, since setPerRequestState() had been called for this&#010;controller.  If the code were changed to call setPerRequestState() for&#010;each of the shared controllers when it called was called for the current&#010;controller, this looks like it would work just fine.&#010;&#010; &#010;&#010;Any thoughts or suggestions?  Thanks for you help!  &#010;&#010; &#010;&#010; &#010;&#010;Sean Adkinson  |  Web Developer/Programmer  |  KCDL  |&#010;sadkinson@klcorp.com  |  (503) 731-5488  |  (503) 866-0852 cell&#010;&#010; &#010;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Jira Iissue 1193</title>
<author><name>&quot;Carlin Rogers&quot; &lt;carlin.rogers@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200809.mbox/%3cba6911de0809162017i106f5796qd46a50153bc28591@mail.gmail.com%3e"/>
<id>urn:uuid:%3cba6911de0809162017i106f5796qd46a50153bc28591@mail-gmail-com%3e</id>
<updated>2008-09-17T03:17:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Srinivas,&#010;&#010;Looks like the bug lists the fix as SVN revision 538018. I did a quick&#010;google search and found the description of the change in the archived SVN&#010;notification. See...&#010;&#010;http://mail-archives.apache.org/mod_mbox/beehive-commits/200705.mbox/%3C20070514233636.3A0C91A9838@eris.apache.org%3E&#010;&#010;Hope that helps. Kind regards,&#010;Carlin&#010;&#010;On Tue, Sep 16, 2008 at 12:26 PM, Srinivas Surapaneni &lt;&#010;srinivas.surapaneni@gmail.com&gt; wrote:&#010;&#010;&gt; There is a fix for JIRA issue 1193 in Beehive&#010;&gt;&#010;&gt; https://issues.apache.org/jira/browse/BEEHIVE-1193&#010;&gt;&#010;&gt; It is fixed, but there are no case notes what files were changed.&#010;&gt;&#010;&gt; I am trying to apply the patch to the beehive version that came part of&#010;&gt; Weblogic 9.2 MP3&#010;&gt;&#010;&gt; Can you provide more details what files we need to get to apply the patch?&#010;&gt;&#010;&gt; Thank You&#010;&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>Jira Iissue 1193</title>
<author><name>&quot;Srinivas Surapaneni&quot; &lt;srinivas.surapaneni@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200809.mbox/%3c6aad58900809161126u1b9df5fdv764fcc0fffd4573e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c6aad58900809161126u1b9df5fdv764fcc0fffd4573e@mail-gmail-com%3e</id>
<updated>2008-09-16T18:26:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There is a fix for JIRA issue 1193 in Beehive&#010;&#010;https://issues.apache.org/jira/browse/BEEHIVE-1193&#010;&#010;It is fixed, but there are no case notes what files were changed.&#010;&#010;I am trying to apply the patch to the beehive version that came part of&#010;Weblogic 9.2 MP3&#010;&#010;Can you provide more details what files we need to get to apply the patch?&#010;&#010;Thank You&#010;&#010;
</pre>
</div>
</content>
</entry>
<entry>
<title>NavigateTo.currentPage in inherited page flows throw NoPreviousPageException</title>
<author><name>&quot;Philipp Jardas&quot; &lt;philipp@jardas.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/beehive-user/200809.mbox/%3c7d9335c40809020322k385398b1k49883e03b065b51c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7d9335c40809020322k385398b1k49883e03b065b51c@mail-gmail-com%3e</id>
<updated>2008-09-02T10:22:32Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi everyone,&#010;&#010;I use an abstract page flow which is inherited by several concrete&#010;page flows as follows:&#010;&#010;package foo.bar;&#010;&#010;@Jpf.Controller(...)&#010;public abstract class ParentController extends ... {&#010;  @Jpf.Action(&#010;    forwards = { ... },&#010;    validationErrorForward = @Jpf.Forward(name = "validation",&#010;navigateTo = Jpf.NavigateTo.currentPage)&#010;  )&#010;  public Forward submitPersonalData(PersonalDataForm form) {&#010;    ...&#010;  }&#010;}&#010;&#010;&#010;package foo.bar.concrete;&#010;&#010;@Jpf.Controller(inheritLocalPaths = true)&#010;public class ConcreteController extends ParentController {&#010;  ...&#010;}&#010;&#010;&#010;The two controllers reside in separate packages, of course, so I have&#010;to use "inheritLocalPaths = true" to use JSP in the parent package.&#010;The page flow works flawlessly as long as the user enters valid data.&#010;If the form bean validation fails, I would expect the user to be&#010;forwarded back to the input page. However, this results in an&#010;exception as below:&#010;&#010;org.apache.beehive.netui.pageflow.NoPreviousPageException: No relevant&#010;page for return-to="currentPage" on action submitPersonalData in page&#010;flow /.../.../ConcreteController.jpf.&#010;&#010;I've tried implementing alwaysTrackPreviousPage() returning true to no avail.&#010;&#010;Does anyone have an idea about this?&#010;&#010;Thanks a lot in advance,&#010;&lt;P&gt;&#010;&#010;
</pre>
</div>
</content>
</entry>
</feed>
