Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 26 May 2008 15:21:01 -0000 Issue 8049

user-digest-help

2008-05-26


Author LoginPost Reply

user Digest 26 May 2008 15:21:01 -0000 Issue 8049

Topics (messages 186778 through 186795):

Re: Pagination problem with struts2,Please Please help me.
 186778 by: Musachy Barroso
 186779 by: vdeep.ygconsultants.com
 186781 by: Engr. Jherald Gerome Lacambra
 186782 by: vdeep.ygconsultants.com

Yes RE: Pagination problem with struts2,Please Please help me.
 186780 by: vdeep.ygconsultants.com

jsp renders before interceptors are finished
 186783 by: tekman
 186787 by: Jukka Välimaa
 186788 by: tekman

tree model
 186784 by: HelpMePlz

Exception:Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean
 186785 by: Alexander Furer

Problem with Struts 2 + Tiles 2 + Validation (result input)
 186786 by: Stetze2008

I18n In title with dynamic parameters
 186789 by: Regalut
 186791 by: Regalut

Re: Exception:Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already
 186790 by: Martin Gainty

[ANN] Struts 2.1.2 Beta release available
 186792 by: Don Brown
 186793 by: David Canos

validation problem
 186794 by: nuria

problem with tree tag (bug possibly)
 186795 by: nyilasypeter

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)

----------------------------------------------------------------------

Attachment: user_186778.ezm (zipped)
Are you sure there is data on that list? try this on your page

<s:property value="employeeList.size()" />

musachy

On Mon, May 26, 2008 at 12:53 AM, Varun Deep <vdeep@(protected):
> Request to All
>
> I am using pagination with display tag in struts2. Following is the code
> I included in my jsp file.
> I also include all the jar file. And tld files. In the respective
> folders
> 1.try
> <%@(protected)" %>
>
> The EmployeeList is coming from the Action file.
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
>
> I also try to perform the following code:
> ------------------------------------------------
> 2. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
> ------------------------------------------------------------------------
> -------------------------------------
> 3. try
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>/WEB-INF/displaytag.tld</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
> ------------------------------------------------------------------------
> -------------------------------------
>
> 4. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
> ------------------------------------------------------------------------
> --------------------------------------------------------------
> Problem.
>
> But it shows nothing, not even any error message.
>
> Please Please help me. And suggest me how I have to move
>
> Thanks in advance
>
> Varun
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Attachment: user_186779.ezm (zipped)
Yes, <s:property value="employeeList.size()" /> giving value 8 for this.

-----Original Message-----
From: Musachy Barroso [mailto:musachy@(protected)]
Sent: Sunday, May 25, 2008 10:07 PM
To: Struts Users Mailing List
Subject: Re: Pagination problem with struts2,Please Please help me.

Are you sure there is data on that list? try this on your page

<s:property value="employeeList.size()" />

musachy

On Mon, May 26, 2008 at 12:53 AM, Varun Deep <vdeep@(protected)>
wrote:
> Request to All
>
> I am using pagination with display tag in struts2. Following is the
code
> I included in my jsp file.
> I also include all the jar file. And tld files. In the respective
> folders
> 1.try
> <%@(protected)" %>
>
> The EmployeeList is coming from the Action file.
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
>
> I also try to perform the following code:
> ------------------------------------------------
> 2. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> -------------------------------------
> 3. try
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>/WEB-INF/displaytag.tld</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> -------------------------------------
>
> 4. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> --------------------------------------------------------------
> Problem.
>
> But it shows nothing, not even any error message.
>
> Please Please help me. And suggest me how I have to move
>
> Thanks in advance
>
> Varun
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


Attachment: user_186781.ezm (zipped)
One of my samples:

<%@(protected)"%>
<%@(protected)"%>
<%@(protected)"
  pageEncoding="ISO-8859-1"%>
<%@(protected)" %>
<%@(protected)" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="js/all.js"></script>
<link rel="stylesheet" href="css/displaytag.css" type="text/css" />
</head>
<body>

  <f:view>
    <h:form id="empForms" >
       <h:panelGrid id="empPanelGrid" binding="#{empPanelGrid}">

       </h:panelGrid>
       <input type="button" value="Submit" onclick="submitJsf()"/>
       <h:inputHidden id="method" value="#{action.method}"/>
       <h:inputHidden id="id" value="#{id}"/>
    </h:form>
  </f:view>
  <s:form action="add.action" name="empForm" id="empForm" >
    <s:textfield id="employeeId" label="Employee Id (Numeric)"
maxlength="5" required="true" name="employeeId" />
    <s:textfield id="firstName" label="Firstname" required="true"
name="firstName" />
    <s:textfield id="lastName" label="Lastname" required="true"
name="lastName" />
    <s:submit value="submit"></s:submit>
    <s:hidden name="method" id="method" value="add"></s:hidden>
    <s:hidden name="id" id="id"></s:hidden>
  </s:form>

  <display:table name="employeeList" requestURI="index.action"
decorator="org.jubabes.util.DisplayDecorator" >
    <display:column property="employeeId" title="Employee Id" />
    <display:column property="employeeName" title="NAME" />
    <display:column property="employeeEdit" />
    <display:column property="employeeDelete" />
  </display:table>
</body>
</html>

Method in action class:

public String index(){
    employeeList = this.employeeDAO.findAll();
    return SUCCESS;
  }





2008/5/26 Musachy Barroso <musachy@(protected)>:

> Are you sure there is data on that list? try this on your page
>
> <s:property value="employeeList.size()" />
>
> musachy
>
> On Mon, May 26, 2008 at 12:53 AM, Varun Deep <vdeep@(protected)>
> wrote:
> > Request to All
> >
> > I am using pagination with display tag in struts2. Following is the code
> > I included in my jsp file.
> > I also include all the jar file. And tld files. In the respective
> > folders
> > 1.try
> > <%@(protected)" %>
> >
> > The EmployeeList is coming from the Action file.
> >
> > <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> > <display:table name=" listofEmployee " pagesize="4" class="simple"
> > id="row">
> >            <display:column property="name" />
> >        </display:table>
> > I also include all the jar file. And tld files. In the respective
> > folders. And using them as necessary.
> >
> >
> >
> > I also try to perform the following code:
> > ------------------------------------------------
> > 2. try
> >
> > Web.xml
> >   <jsp-config>
> >                 <taglib>
> >
> > <taglib-uri>http://displaytag.sf.net</taglib-uri>
> >
> > <taglib-location>displaytag.tld</taglib-location>
> >                </taglib>
> >         </jsp-config>
> >
> > employee. Jsp
> >
> > <%@(protected)" %>
> >
> > <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> > <display:table name=" listofEmployee " pagesize="4" class="simple"
> > id="row">
> >            <display:column property="name" />
> >        </display:table>
> > I also include all the jar file. And tld files. In the respective
> > folders. And using them as necessary.
> >
> > ------------------------------------------------------------------------
> > -------------------------------------
> > 3. try
> > Web.xml
> >   <jsp-config>
> >                 <taglib>
> >
> > <taglib-uri>/WEB-INF/displaytag.tld</taglib-uri>
> >
> > <taglib-location>displaytag.tld</taglib-location>
> >                </taglib>
> >         </jsp-config>
> >
> > employee. Jsp
> >
> > <%@(protected)" %>
> >
> > <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> > <display:table name=" listofEmployee " pagesize="4" class="simple"
> > id="row">
> >            <display:column property="name" />
> >        </display:table>
> > I also include all the jar file. And tld files. In the respective
> > folders. And using them as necessary.
> >
> > ------------------------------------------------------------------------
> > -------------------------------------
> >
> > 4. try
> >
> > Web.xml
> >   <jsp-config>
> >                 <taglib>
> >
> > <taglib-uri>http://displaytag.sf.net</taglib-uri>
> >
> > <taglib-location>displaytag.tld</taglib-location>
> >                </taglib>
> >         </jsp-config>
> >
> > employee. Jsp
> >
> > <%@(protected)" %>
> >
> > <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> > <display:table name=" listofEmployee " pagesize="4" class="simple"
> > id="row">
> >            <display:column property="name" />
> >        </display:table>
> > I also include all the jar file. And tld files. In the respective
> > folders. And using them as necessary.
> >
> > ------------------------------------------------------------------------
> > --------------------------------------------------------------
> > Problem.
> >
> > But it shows nothing, not even any error message.
> >
> > Please Please help me. And suggest me how I have to move
> >
> > Thanks in advance
> >
> > Varun
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--
Jherald Gerome Lacambra

Attachment: user_186782.ezm (zipped)


Request to All

I am using pagination with display tag in struts2. Following is the code
I included in my jsp file.
I also include all the jar file. And tld files. In the respective
folders
1.try
<%@(protected)" %>

The EmployeeList is coming from the Action file.

<s:set name="listofEmployee" value="EmployeeList" scope="request"/>
<display:table name=" listofEmployee " pagesize="4" class="simple"
id="row">
           <display:column property="name" />
       </display:table>
I also include all the jar file. And tld files. In the respective
folders. And using them as necessary.



I also try to perform the following code:
------------------------------------------------
2. try

Web.xml
  <jsp-config>
                <taglib>

<taglib-uri>http://displaytag.sf.net</taglib-uri>

<taglib-location>displaytag.tld</taglib-location>
               </taglib>
        </jsp-config>

employee. Jsp

<%@(protected)" %>

<s:set name="listofEmployee" value="EmployeeList" scope="request"/>
<display:table name=" listofEmployee " pagesize="4" class="simple"
id="row">
           <display:column property="name" />
       </display:table>
I also include all the jar file. And tld files. In the respective
folders. And using them as necessary.

------------------------------------------------------------------------
-------------------------------------
3. try
Web.xml
  <jsp-config>
                <taglib>

<taglib-uri>/WEB-INF/displaytag.tld</taglib-uri>

<taglib-location>displaytag.tld</taglib-location>
               </taglib>
        </jsp-config>

employee. Jsp

<%@(protected)" %>

<s:set name="listofEmployee" value="EmployeeList" scope="request"/>
<display:table name=" listofEmployee " pagesize="4" class="simple"
id="row">
           <display:column property="name" />
       </display:table>
I also include all the jar file. And tld files. In the respective
folders. And using them as necessary.

------------------------------------------------------------------------
-------------------------------------

4. try

Web.xml
  <jsp-config>
                <taglib>

<taglib-uri>http://displaytag.sf.net</taglib-uri>

<taglib-location>displaytag.tld</taglib-location>
               </taglib>
        </jsp-config>

employee. Jsp

<%@(protected)" %>

<s:set name="listofEmployee" value="EmployeeList" scope="request"/>
<display:table name=" listofEmployee " pagesize="4" class="simple"
id="row">
           <display:column property="name" />
       </display:table>
I also include all the jar file. And tld files. In the respective
folders. And using them as necessary.

------------------------------------------------------------------------
--------------------------------------------------------------
Problem.

But it shows nothing, not even any error message.

Please Please help me. And suggest me how I have to move

Thanks in advance

Varun


Attachment: user_186780.ezm (zipped)


-----Original Message-----
From: vdeep@(protected)]
Sent: Sunday, May 25, 2008 10:17 PM
To: 'Struts Users Mailing List'
Subject: RE: Pagination problem with struts2,Please Please help me.

Yes, <s:property value="employeeList.size()" /> giving value 8 for this.

-----Original Message-----
From: Musachy Barroso [mailto:musachy@(protected)]
Sent: Sunday, May 25, 2008 10:07 PM
To: Struts Users Mailing List
Subject: Re: Pagination problem with struts2,Please Please help me.

Are you sure there is data on that list? try this on your page

<s:property value="employeeList.size()" />

musachy

On Mon, May 26, 2008 at 12:53 AM, Varun Deep <vdeep@(protected)>
wrote:
> Request to All
>
> I am using pagination with display tag in struts2. Following is the
code
> I included in my jsp file.
> I also include all the jar file. And tld files. In the respective
> folders
> 1.try
> <%@(protected)" %>
>
> The EmployeeList is coming from the Action file.
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
>
> I also try to perform the following code:
> ------------------------------------------------
> 2. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> -------------------------------------
> 3. try
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>/WEB-INF/displaytag.tld</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> -------------------------------------
>
> 4. try
>
> Web.xml
>   <jsp-config>
>                 <taglib>
>
> <taglib-uri>http://displaytag.sf.net</taglib-uri>
>
> <taglib-location>displaytag.tld</taglib-location>
>                </taglib>
>         </jsp-config>
>
> employee. Jsp
>
> <%@(protected)" %>
>
> <s:set name="listofEmployee" value="EmployeeList" scope="request"/>
> <display:table name=" listofEmployee " pagesize="4" class="simple"
> id="row">
>            <display:column property="name" />
>        </display:table>
> I also include all the jar file. And tld files. In the respective
> folders. And using them as necessary.
>
>
------------------------------------------------------------------------
> --------------------------------------------------------------
> Problem.
>
> But it shows nothing, not even any error message.
>
> Please Please help me. And suggest me how I have to move
>
> Thanks in advance
>
> Varun
>



--
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


Attachment: user_186783.ezm (zipped)

Hi all!

I am using a custom interceptor to capture old and new value for an
attribute in my page. This interceptors doBefore method is called before the
params interceptor is called. The doAfter method is called after the action
and the other interceptors are finished.
This new and old values is displayed in a log section of the page.

Pseudocode:
doIntercept()
doBefore()
invocation.invoke()
doAfter()

The problem is that the log page starts rendering before the interceptors
doAfter method is finished, and thus, the new value for the attribute is not
set
Anyone knows how to solve this?

Thanks in advance!
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186787.ezm (zipped)
Anything done after invoke will happen after the result is rendered. You
need to add a PreresultListener<http://struts.apache.org/2.0.6/docs/preresultlistener.html>before
calling invoke(). Put the functionality you need in the
preresultlisteners beforeResult method.

On Mon, May 26, 2008 at 9:43 AM, tekman <tekvisle@(protected):

>
> Hi all!
>
> I am using a custom interceptor to capture old and new value for an
> attribute in my page. This interceptors doBefore method is called before
> the
> params interceptor is called. The doAfter method is called after the action
> and the other interceptors are finished.
> This new and old values is displayed in a log section of the page.
>
> Pseudocode:
> doIntercept()
> doBefore()
> invocation.invoke()
> doAfter()
>
> The problem is that the log page starts rendering before the interceptors
> doAfter method is finished, and thus, the new value for the attribute is
> not
> set
> Anyone knows how to solve this?
>
> Thanks in advance!
> --
> View this message in context:
> http://www.nabble.com/jsp-renders-before-interceptors-are-finished-tp17466614p17466614.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_186788.ezm (zipped)

Thanks a bunch. That worked!


Jukka Välimaa wrote:
>
> Anything done after invoke will happen after the result is rendered. You
> need to add a
> PreresultListener<http://struts.apache.org/2.0.6/docs/preresultlistener.html>before
> calling invoke(). Put the functionality you need in the
> preresultlisteners beforeResult method.
>
> On Mon, May 26, 2008 at 9:43 AM, tekman <tekvisle@(protected):
>
>>
>> Hi all!
>>
>> I am using a custom interceptor to capture old and new value for an
>> attribute in my page. This interceptors doBefore method is called before
>> the
>> params interceptor is called. The doAfter method is called after the
>> action
>> and the other interceptors are finished.
>> This new and old values is displayed in a log section of the page.
>>
>> Pseudocode:
>> doIntercept()
>> doBefore()
>> invocation.invoke()
>> doAfter()
>>
>> The problem is that the log page starts rendering before the interceptors
>> doAfter method is finished, and thus, the new value for the attribute is
>> not
>> set
>> Anyone knows how to solve this?
>>
>> Thanks in advance!
>> --
>> View this message in context:
>> http://www.nabble.com/jsp-renders-before-interceptors-are-finished-tp17466614p17466614.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186784.ezm (zipped)

Hi to all


i am new to this forum can any one tell me how can we get the data in to
tree model from database . my jsp page is

<%@(protected)"%>
<%@(protected)" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Buttons</title>


   <link rel="stylesheet" type="text/css" href="tree_styles.css" />
   <script type="text/javascript"
src="/scriptone/javascript/cooltree.js"></script>
   <script type="text/javascript"
src="/scriptone/javascript/tree_format.js"></script>
   <script type="text/javascript"
src="/scriptone/javascript/tree_nodes.js"></script>
 </head>
<body>
<script>
   var tree1 = new COOLjsTree("file1", TREE_NODES, TREE_FORMAT);
   </script>
</body>
</html>


tree-format.js:
-----------------
// Tree format definition
var TREE_FORMAT = [
 // 0. left position
 10,
 // 1. top position
 10,
 // 2. show buttons ("+" and "-" images)
 true,
 // 3. button images: collapsed state, expanded state, blank image
 ["images/collapsed_button.gif", "images/expanded_button.gif",
"images/blank.gif"],
 // 4. size of buttons: width, height, indent amount for childless nodes
 [16, 16, 16],
 // 5. show icons ("folder" and "document")
 true,
 // 6. icon images: closed folder, opened folder, document
 ["images/closed_folder.gif", "images/opened_folder.gif",
"images/document.gif"],
 // 7. size of icons: width, height
 [16, 16],
 // 8. indent amount for each level of the tree
 [0, 16, 32, 48, 64, 80, 96, 112, 128],
 // 9. background color for the tree
 "",
 // 10. default CSS class for nodes
 "treeNode",
 // 11. individual CSS classes for levels of the tree
 [],
 // 12. "single branch" mode
 false,
 // 13. padding and spacing values for all nodes
 [0, 0]
];


tree-nodes.js:--
--------------------
// Tree structure definition
var TREE_NODES = [
 ["hi", null, null,
   ["hello", null, null,
     ["hello1", null, null],
     ["hello2", null, null],
     ["hello3", null, null]
   ],
   ["Sub Node 2", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ],
   ["Sub Node 3", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ]
 ],
 ["Node 2", null, null,
   ["Sub Node 1", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ],
   ["Sub Node 2", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ],
   ["Sub Node 3", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ]
 ],
 ["Node 3", null, null,
   ["Sub Node 1", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ],
   ["Sub Node 2", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ],
   ["Sub Node 3", null, null,
     ["Sub Sub Node 1", null, null],
     ["Sub Sub Node 2", null, null],
     ["Sub Sub Node 3", null, null]
   ]
 ]
];


if any one know the solution plz send me reply

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186785.ezm (zipped)
Hello
I'm evaluating struts2.
I've managed to successfully deploy struts2 application as war file.
I have freemarker-2.3.8.jar,ognl-2.6.11.jar,xwork-2.0.4.jar and
struts2-core-2.0.11.1.jar in WEB-INF/lib directory.
This works fine, but when i try to deploy the ear and have these files in
APP-INF/lib dir (and not in WEB-INF/lib) i'm getting this error.
I'm sure i don't have these jars in any other plase but APP-INF/lib.
I'm running WLS10.
What could be the problem ?
Thanks

Attachment: user_186786.ezm (zipped)
hi,

I'm using Struts 2 and Tiles 2 and have a problem concerning the form
validation.

If one action throws a validation error (because for example one form
field is empty) ALL other actions (which are part of the tiles template)
call the defined tiles definitions for the result "input" and not only
that action that throws the validation error. therefore my top module
jumps back to login mode if there is a validation error on the user's
profile page.

this is my *tiles.xml*:
<definition name="base.definition" template="/layouts/wmBoerseLayout.jsp">
    <put-attribute name="module" value="/menu/module.action"/>
    <put-attribute name="std_menu" value="/common/menu.jsp" />
</definition>

<definition name="page.user.profile" extends="base.definition">
    <put-attribute name="body-content" value="/pages/profile.jsp"/>
</definition>

this is my *struts.xml*:
<action name="module" class="userAction" method="module">
    <interceptor-ref name="myStack"/>
    <result name="user">/modules/user.jsp</result>
    <result name="admin">/modules/admin.jsp</result>
    <result name="login">/modules/login.jsp</result>
    <result name="input">/modules/login.jsp</result>
    <result>/modules/login.jsp</result>
</action>

<action name="editProfile" class="profileAction" method="editProfile">
    <result type="tiles">page.user.profile</result>
    <result name="input" type="tiles">page.user.profile</result>
</action>

The problem is that if the action editProfile returns a validation error
it uses the tiles definition page.user.profile defined for the result
input of this action.

But the definition page.user.profile extends the tiles definition
base.definition and in this base definition another action
(/menu/module.action) is called to determine the correct top module to
be shown. Now it seems that this action is not invoked but also for this
action the definition defined for the result input is shown (in this
case the login.jsp what is definitely wrong when the user is logged in)

I would be glad if anyone could help!

Best regards,
Stefan


Attachment: user_186789.ezm (zipped)

Hi:

I am doing an web application with struts 2 and tiles 2, and want that the
title, of every page, is internationalized and furthermore that will contain
dynamic parameters.

example: "Information of Nokia N95", being Nokia N95 the title of a product,
that is to say a dynamic information.

tiles.xml
<definition name="common.layout" template="/common/layout.jsp">
    <put-attribute name="tituloKey" value="" />
    <put-attribute name="tituloKeyParam1" value=""/>
...
</definition>
<definition name="pages.product" extends="common.layout">
    <put-attribute name="tituloKey" value="title.product" />
    <put-attribute name="tituloKeyParam1" value="%{product.title}" />
    <put-attribute name="contenido" value="/pages/product.jsp" />
</definition>

layout.jsp;
<tiles:importAttribute name="tituloKey"/>
<tiles:importAttribute name="tituloKeyParam1"/>
<title>
    <s:text name="%{#attr['tituloKey']}">
          <s:param value="%{#attr['tituloKeyParam1']}"/>
    </s:text>
</title>

ApplicationResources.properties:
title.product = Information of {0}

The problem is that if an action takes to me to pages.product the title
shows me " Information of %{product.title} "

How I can solve this?

Thanks.
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186791.ezm (zipped)

Ok.If I do <s:text name="%{#attr['tituloKey']}">, first he assesses the
#attr['tituloKey'] value and then it does s:text, so it´s as if do <s:text
name="title.product">.

I thought that would do the same with s:param, ie, evaluates
%{#attr['tituloKeyParam1']}, and then makes s:param, ie would do <s:param
value="%{product.title}"/>. But this is not true.

In addition I have also tried to do:
<s:set name="temp"><tiles:getAsString name="tituloKeyParam1"></s:set>
<s:param value="#temp"/>
With the idea that temp had %{product.title} value, and therefore would be
evaluated
<s:param value="%{product.title}"/>

But it does not work, s:set doesn´t allocate the body value to the variable
temp. I believe this was already Fixed since version 2.0.7 (I use the
2.0.11.1), did I do something wrong?
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186790.ezm (zipped)

Apparently you have already loaded a class and or libraries
Commentary from Webwork bug WW-2177 suggests
do not copy any XALAN jars into Tomcat's directories (find all XALAN in all lib folders not in webapps and rename)
https://issues.apache.org/struts/browse/WW-2177
HTHMartin ______________________________________________Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.> Date: Mon, 26 May 2008 10:23:12 +0300> From: iamfuric@(protected)
_________________________________________________________________
E-mail for the greater good. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ GreaterGood

Attachment: user_186792.ezm (zipped)
The Apache Struts group is pleased to announce that Struts 2.1.2 is
available as a "Beta" release. The Beta designation indicates the
release is feature complete and ready for more testing, but developers
looking for a production-ready release should refer to Struts
2.0.11.1, as it is the latest GA release available. Apache Struts may
be downloaded from<http://struts.apache.org/downloads.html>.

Apache Struts 2 is an elegant, extensible framework for creating
enterprise-ready Java web applications. The framework is designed to
streamline the full development cycle, from building, to deploying, to
maintaining applications over time.

This release includes a number of new features, fixes, and
improvements since the 2.0.x releases. Struts 2.1.2 is available in a
full distribution, or as separate library, source, example and
documentation distributions. The release is also available through the
central Maven repository under Group ID "org.apache.struts". The
release notes are available online at
<http://struts.apache.org/2.1.2/docs/release-notes-212.html>.

The 2.1.x series of the Apache Struts framework has a minimum
requirement of the following specification versions: Servlet API 2.4,
JSP API 2.0, Java 5, Backported Java 4 JARs are also available.

Should any issues arise with your use of any version of the Struts
framework, please post your comments to the user list, and, if
appropriate, file a tracking ticket at
<https://issues.apache.org/struts/secure/Dashboard.jspa>

Don Brown, on behalf of the
Apache Struts Project Management Committee
* http://struts.apache.org/kickstart.html
* http://struts.apache.org/roadmap.html
* http://struts.apache.org/helping.html

Attachment: user_186793.ezm (zipped)
broken link: <http://struts.apache.org/2.1.2/docs/release-notes-212.html>.

2008/5/26 Don Brown <donald.brown@(protected)>:

> The Apache Struts group is pleased to announce that Struts 2.1.2 is
> available as a "Beta" release. The Beta designation indicates the
> release is feature complete and ready for more testing, but developers
> looking for a production-ready release should refer to Struts
> 2.0.11.1, as it is the latest GA release available. Apache Struts may
> be downloaded from<http://struts.apache.org/downloads.html>.
>
> Apache Struts 2 is an elegant, extensible framework for creating
> enterprise-ready Java web applications. The framework is designed to
> streamline the full development cycle, from building, to deploying, to
> maintaining applications over time.
>
> This release includes a number of new features, fixes, and
> improvements since the 2.0.x releases. Struts 2.1.2 is available in a
> full distribution, or as separate library, source, example and
> documentation distributions. The release is also available through the
> central Maven repository under Group ID "org.apache.struts". The
> release notes are available online at
> <http://struts.apache.org/2.1.2/docs/release-notes-212.html>.
>
> The 2.1.x series of the Apache Struts framework has a minimum
> requirement of the following specification versions: Servlet API 2.4,
> JSP API 2.0, Java 5, Backported Java 4 JARs are also available.
>
> Should any issues arise with your use of any version of the Struts
> framework, please post your comments to the user list, and, if
> appropriate, file a tracking ticket at
> <https://issues.apache.org/struts/secure/Dashboard.jspa>
>
> Don Brown, on behalf of the
> Apache Struts Project Management Committee
> * http://struts.apache.org/kickstart.html
> * http://struts.apache.org/roadmap.html
> * http://struts.apache.org/helping.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_186794.ezm (zipped)

Hi!
I've got a problem with validation in my struts2 aplication. I have version
2.0.11.1.
I have a jsp page(page1) loaded in a div of another jsp page(page2). I need
validate the form of the page1, and i haven't be able with struts
documentation.
Is it possible to do this type of validation? I've tried to validate in the
action sending the response with a new action in struts.xml to the same
page. Sometimes it do it and sometime not, loading the entire jsp in the
explorer page. Probably because of the ajax.
To have proper validation should I change the version of struts to 2.1 to
use ajax validation?
And the last question..is it possible to validate a form with <result
name="input" type="redirectAction"> some action???
Sorry I used to use struts1 and I'm a bit confuse.

Thanks in advance
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_186795.ezm (zipped)

Hello!

I am using Struts 2.0.9. I tried to use the tree jsp tag. First I got an
exception, saying:

2008-05-26 16:55:27,923 INFO [STDOUT] 2008-05-26 16:55:27,923 ERROR
[FreemarkerTemplateEngine.java:126] : Could not load template
/template/xhtml/tree-close
2008-05-26 16:55:27,939 INFO [STDOUT] 2008-05-26 16:55:27,939 ERROR
[UIBean.java:486] : error when rendering
java.io.FileNotFoundException: Template /template/xhtml/tree-close.ftl not
found.
 at freemarker.template.Configuration.getTemplate (Configuration.java:489)
 at freemarker.template.Configuration.getTemplate (Configuration.java:452)
 at
org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate (FreemarkerTemplateEngine.java:115)
 at org.apache.struts2.components.UIBean.mergeTemplate (UIBean.java:530)
 at org.apache.struts2.components.UIBean.end (UIBean.java:484)
 at
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag (ComponentTagSupport.java:43)
 at
org.apache.jsp.jsp.NewUser_jsp._jspx_meth_s_005ftree_005f0(NewUser_jsp.java:375)
 at
org.apache.jsp.jsp.NewUser_jsp._jspx_meth_s_005fform_005f0(NewUser_jsp.java:197)
 at org.apache.jsp.jsp.NewUser_jsp._jspService(NewUser_jsp.java:99)
 at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:803)
 at
org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:373)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:336)
 at org.apache.jasper.servlet.JspServlet.service (JspServlet.java:265)
 at javax.servlet.http.HttpServlet.service (HttpServlet.java:803)

I checked it and the tree-close.ftl file really wasn't in struts2-core.jar
under template/xhtml, because it is in the /template/ajax directory. So I
copied all the tree-related ftl files to the xhtml dir and from hereon
static trees could be showed by Struts (athough it always puts my trees to
the top of the pages).
However when I try to show a tree poulated dinamically from java code with
the following jsp and java:
jsp:

   <s:tree id="ldaptree" rootNode="treeRoot"
   nodeIdProperty="nodeId" nodeTitleProperty="nodeTitle"
   childCollectionProperty="childCollection"/>

java function in the related action class to populate the tree:

private void populateLdapTree()
  {
   treeRoot = "root";
   nodeId = "nodeId";
   nodeTitle = "nodeTitle";
   childCollection.add("childCollection1");
   childCollection.add("childCollection2");
   childCollection.add("childCollection3");    
 }

I get a StackOverflowError error:

java.lang.StackOverflowError
 at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke (Method.java:597)
 at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:517)
 at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:931)
 at
ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53)
 at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121)
 at
com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:58)
 at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643)
 at
com.opensymphony.xwork2.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:101)
 at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643)
 at ognl.ASTProperty.getValueBody(ASTProperty.java:92)
 at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
 at ognl.SimpleNode.getValue(SimpleNode.java:210)
 at ognl.Ognl.getValue(Ognl.java:333)
 at ognl.Ognl.getValue(Ognl.java:310)
 at com.opensymphony.xwork2.util.OgnlUtil.getValue(OgnlUtil.java:190)
 at
com.opensymphony.xwork2.util.OgnlValueStack.findValue(OgnlValueStack.java:208)
 at
org.apache.struts2.views.freemarker.ScopesHashModel.get (ScopesHashModel.java:69)
 at freemarker.core.Environment.getGlobalVariable (Environment.java:976)
 at freemarker.core.Environment.getVariable (Environment.java:962)
 at freemarker.core.Identifier._getAsTemplateModel (Identifier.java:70)
 at freemarker.core.Expression.getAsTemplateModel (Expression.java:89)
 at freemarker.core.Dot._getAsTemplateModel (Dot.java:74)
 at freemarker.core.Expression.getAsTemplateModel (Expression.java:89)
 at freemarker.core.Dot._getAsTemplateModel (Dot.java:74)
 at freemarker.core.Expression.getAsTemplateModel (Expression.java:89)
 at freemarker.core.MethodCall._getAsTemplateModel (MethodCall.java:86)
 at freemarker.core.Expression.getAsTemplateModel (Expression.java:89)
 at freemarker.core.ListLiteral.getModelList (ListLiteral.java:119)
 at freemarker.core.MethodCall._getAsTemplateModel (MethodCall.java:89)
 at freemarker.core.Expression.getAsTemplateModel (Expression.java:89)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:87)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
 at freemarker.core.Environment.visit (Environment.java:351)
 at freemarker.core.IteratorBlock.accept (IteratorBlock.java:95)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.Environment.include (Environment.java:1375)
 at freemarker.core.Include.accept (Include.java:155)
 at freemarker.core.Environment.visit (Environment.java:196)
 at freemarker.core.MixedContent.accept (MixedContent.java:92)<