Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tapestry 5.1 and multivalued parameters

 
R. Duval
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks,

I'm trying to use a form with multivalued parameters in tapestry but I'm not sure if it supports this kind of feature or how it does. I searched the web for some clues but couldn't find any decent information about multi parameters request using this framework.

The problem is I'm generating a grid and in one cell I'm using a TextField which is supposed to be multivalued, this way:



My page's java component:



Trying to set the newSpecialValue as a Collection<String> (something like WebWork OGNL type conversion) gave me an exception: Render queue error in BeginRender[Index:textfield]: Parameter 'translate' of component Index:textfield is bound to null. This parameter is not allowed to be null.

If anyone has any clue or a link with information I'd be very glad.
 
R. Duval
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For those with the same issue, an interesting resource may be this one:

http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/editablegrid1

The link was provided by Otho from tapestry users list. Very good one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic