Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2.1.6 dojo textarea inside form

 
Konstantin Chikarev
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I write next code in JSP for Struts 2.1.6 and DOJO tags

The code works well but when html renders textarea appears above the form. What should I do?
 
Bilal A. Siddiqui
Ranch Hand
Posts: 53
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Konstantin

when your prefix is "s", why are you using "sx" with textarea ??
 
Konstantin Chikarev
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi BilalSiddiqui Siddiqui,

I use these taglibs:

The convention you can find in documentation since Struts 2.1
 
Konstantin Chikarev
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've find the solution:

I hope someone can tell the better way

Thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that *is* the "better way"; since the Dojo tags were moved into a plugin, they're theme-agnostic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic