Re: [S2] Help for Ajax Tabbed Panel

2007-11-14 Thread Raghuveer Rawat
:38] | after Locale=en_US
   
[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | intercept }
   
[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Removed value [
[EMAIL PROTECTED] for key [
[EMAIL PROTECTED] from thread
[http-8080-Processor24]
   
[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing single Hibernate
  
Session
in OpenSessionInViewFilter
   
[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing Hibernate
   Session
   
   
  
   --
   View this message in context:
   http://www.nabble.com/-S2--Help-for-Ajax-Tabbed-Panel-tf4794501.html#a13722199
   Sent from the Struts - User mailing list archive at 
   Nabble.comhttp://nabble.com/
   .
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 



Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread lbastil
] addColumn
 HeaderCell[columnNumber=0,title=Rating,beanPropertyName=ratingCount]
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable()
 ::
 first iteration - adding header
 HeaderCell[columnNumber=3,title=Rating,beanPropertyName=ratingCount]
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doAfterBody called
 -
 iterating on row 1
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration called
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration() -
 iterator ended after 1 rows
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Entering nullPropertyValue
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 property=articleId_rowNum]
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag called
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] sorting full data
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | New SmartListHelper
 instantiated: list.size=[0], page size=[3], full list size=[0].
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | CurrentPage page is 1 of 0
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Returning sublist for page 1
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] writeTable called
 for table [articleId]
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag - end
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] |  Disabling the response for
 futher output
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | after Locale=en_US
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | intercept }
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Removed value [
 [EMAIL PROTECTED] for key [
 [EMAIL PROTECTED] from thread
 [http-8080-Processor24]
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing single Hibernate
 Session
 in OpenSessionInViewFilter
 
 [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing Hibernate Session
 
 

-- 
View this message in context: 
http://www.nabble.com/-S2--Help-for-Ajax-Tabbed-Panel-tf4794501.html#a13722199
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
  iteration=true
  (row number=1)
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
  HeaderCell[columnNumber=0,title=Date,beanPropertyName=lastUpdatedDate]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable()
  ::
  first iteration - adding header
  HeaderCell[columnNumber=2,title=Date,beanPropertyName=lastUpdatedDate]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
  iteration=true
  (row number=1)
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
  HeaderCell[columnNumber=0,title=Rating,beanPropertyName=ratingCount]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable()
  ::
  first iteration - adding header
  HeaderCell[columnNumber=3,title=Rating,beanPropertyName=ratingCount]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doAfterBody
 called
  -
  iterating on row 1
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration
 called
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration() -
  iterator ended after 1 rows
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Entering nullPropertyValue
  [EMAIL PROTECTED],
  [EMAIL PROTECTED],
  property=articleId_rowNum]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag called
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] sorting full
 data
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | New SmartListHelper
  instantiated: list.size=[0], page size=[3], full list size=[0].
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | CurrentPage page is 1 of 0
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Returning sublist for page 1
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] writeTable
 called
  for table [articleId]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag - end
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] |  Disabling the response for
  futher output
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | after Locale=en_US
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | intercept }
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Removed value [
  [EMAIL PROTECTED] for key [
  [EMAIL PROTECTED] from thread
  [http-8080-Processor24]
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing single Hibernate
  Session
  in OpenSessionInViewFilter
 
  [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing Hibernate Session
 
 

 --
 View this message in context:
 http://www.nabble.com/-S2--Help-for-Ajax-Tabbed-Panel-tf4794501.html#a13722199
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
/12 16:48:38] | Entering nullPropertyValue
   [EMAIL PROTECTED]
  ,
   [EMAIL PROTECTED] ],
   property=articleId_rowNum]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
   iteration=true
   (row number=1)
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
   HeaderCell[columnNumber=0,title=name,beanPropertyName=categoryName]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable
  ()
   ::
   first iteration - adding header
   HeaderCell[columnNumber=0,title=name,beanPropertyName=categoryName]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
   iteration=true
   (row number=1)
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
   HeaderCell[columnNumber=0,title=title,beanPropertyName=title]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable
  ()
   ::
   first iteration - adding header
   HeaderCell[columnNumber=1,title=title,beanPropertyName=title]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
   iteration=true
   (row number=1)
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
   HeaderCell[columnNumber=0,title=Date,beanPropertyName=lastUpdatedDate]
 
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable
  ()
   ::
   first iteration - adding header
   HeaderCell[columnNumber=2,title=Date,beanPropertyName=lastUpdatedDate]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] first
   iteration=true
   (row number=1)
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] addColumn
   HeaderCell[columnNumber=0,title=Rating,beanPropertyName=ratingCount]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | columnTag.addHeaderToTable
  ()
   ::
   first iteration - adding header
   HeaderCell[columnNumber=3,title=Rating,beanPropertyName=ratingCount]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doAfterBody
  called
   -
   iterating on row 1
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration
  called
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doIteration()
  -
   iterator ended after 1 rows
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Entering nullPropertyValue
   [target=[
  [EMAIL PROTECTED],
   [EMAIL PROTECTED],
   property=articleId_rowNum]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag
  called
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] sorting full
  data
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | New SmartListHelper
   instantiated: list.size=[0], page size=[3], full list size=[0].
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | CurrentPage page is 1 of 0
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Returning sublist for page
  1
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] writeTable
  called
   for table [articleId]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | [articleId] doEndTag - end
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] |  Disabling the response
  for
   futher output
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | after Locale=en_US
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | intercept }
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Removed value [
   [EMAIL PROTECTED] for key [
   [EMAIL PROTECTED] from thread
   [http-8080-Processor24]
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing single Hibernate
   Session
   in OpenSessionInViewFilter
  
   [WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Closing Hibernate Session
  
  
 
  --
  View this message in context:
  http://www.nabble.com/-S2--Help-for-Ajax-Tabbed-Panel-tf4794501.html#a13722199
  Sent from the Struts - User mailing list archive at 
  Nabble.comhttp://nabble.com/
  .
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



[S2] Help for Ajax Tabbed Panel

2007-11-12 Thread Raghuveer Rawat
Hi,
I am using Struts2, Tile2, Spring2, Display Tag.
I am implementing tabbed panel and all the tabs make remote calls. Each Tab
will contain a table which are implemented using DisplayTag. I am
implementing this table in a separagte JSP and want its content to be added
to tab in the main jsp after execution.

I can see Tabbed Panel but it is not able to load data. Request is reaching
to Action class but data is not reaching back to original jsp.
I am implementing like below..

*MyArticles.jsp*.. ...and it has Tabbed Panel.

 s:tabbedPanel id=test 
  s:div id=one label=Stories  theme=ajax
href=article/myArticles_articlesByAuthorId.action?channelId=1
labelposition=top 
  /s:div

  s:div id=two label=Poem  theme=ajax
href=article/myArticles_articlesByAuthorId.action?channelId=2
  /s:div

  s:div id=three label=Jokes/Humors  theme=ajax
href=article/myArticles_articlesByAuthorId.action?channelId=3
  /s:div

  s:div id=four label=Shayaries/Ghazal  theme=ajax
href=article/myArticles_articlesByAuthorId.action?channelId=4
  /s:div

 /s:tabbedPanel
*MyArticleDetail.jsp (*This jsp contain table, which will be added to tab*)*

display:table id=articleId name=articlesByAuthor
 requestURI= defaultsort=3 sort=list defaultorder=descending
pagesize=10 class=table

  display:column property=categoryName sortable=true
 title=name style=width:20%; class=text/

  display:column property=title  sortable=true
title=title style=width:20%; class=text /

  display:column property=lastUpdatedDate format={0,date,dd-MMM-}
sortable=true
title=Date style=width:20%; class=text /


  display:column property=ratingCount  sortable=true
title=Rating style=width:20%; class=text /


/display:table

*Struts.xml*
**

package name=article namespace=/article extends=struts-default

action name=myArticles_* method={1} class=
com.rawatsoft.write4smile.webapp.action.ArticleAction

result name=success type=dispatcher

param name=location/WEB-INF/jsp/MyArticlesDetail.jsp/param

/result

/action

/package

Error Log:

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Opening Hibernate Session

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | opened session at timestamp:
4894327269310466

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | No bean named '
org.apache.struts2.dispatcher.ServletDispatcherResult' found in
[EMAIL PROTECTED]:
defining beans
[dataSource,sessionFactory,transactionManager,articleDAO,userDAO,myMessageDAO,featuredArticlesDAO,myFriendsDAO,countryDAO,myInvitesDAO,writerInterestDAO,channelDAO,categoryDAO,securityQuestionsDAO,commentDAO,ratingDAO,testDAO,testServiceTarget,articleServiceTarget,countryServiceTarget,myInvitesServiceTarget,writerInterestServiceTarget,securityQuestionsServiceTarget,channelServiceTarget,categoryServiceTarget,userServiceTarget,myMessageServiceTarget,featuredArticlesServiceTarget,myFriendsServiceTarget,commentServiceTarget,ratingServiceTarget,testService,articleService,userService,myMessageService,featuredArticlesService,commentService,ratingService,myFriendsService,countryService,writerInterestService,channelService,categoryService,securityQuestionsService,myInvitesService];
root of factory hierarchy

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | setting flush mode to: NEVER

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Bound value [
[EMAIL PROTECTED] for key [
[EMAIL PROTECTED] to thread
[http-8080-Processor22]

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Creating [
java.util.LinkedHashMap]

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Checking ConfigurationProviders
for reload.

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Creating [
java.util.LinkedHashMap]

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Ignoring constructor [public
org.apache.struts2.dispatcher.ServletDispatcherResult(java.lang.String)] of
bean 'org.apache.struts2.dispatcher.ServletDispatcherResult':
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name '
org.apache.struts2.dispatcher.ServletDispatcherResult': Unsatisfied
dependency expressed through constructor argument with index 0 of type [
java.lang.String]: There are 0 beans of type [java.lang.String] available
for autowiring: []. There should have been exactly 1 to be able to autowire
constructor of bean 'org.apache.struts2.dispatcher.ServletDispatcherResult'.

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Forwarding to location
/WEB-INF/jsp/MyArticlesDetail.jsp

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] |
servletPath=/WEB-INF/jsp/MyArticlesDetail.jsp, pathInfo=null,
queryString=null, name=null

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] |  Path Based Forward

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Entering nullPropertyValue
[EMAIL PROTECTED],
[EMAIL PROTECTED], property=org]

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | Removed value [
[EMAIL PROTECTED] for key [
[EMAIL PROTECTED] from thread
[http-8080-Processor22]

[WRITE4SMILE] DEBUG [2007/11/12 16:48:38] | JspEngine --