aspose file tools*
The moose likes Struts and the fly likes File and autocompleter tags doesn't work together Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File and autocompleter tags doesn Watch "File and autocompleter tags doesn New topic
Author

File and autocompleter tags doesn't work together

Mike Cobelmach
Greenhorn

Joined: Jun 17, 2009
Posts: 19
Hi friends, I have problem with using tags s:file and sx:autocompleter together in one form. Without s:file tag are sx:autocompleters in same form working correctly. I can post some code here, but I think that it is general problem.

My version of Struts is 2.1.8.1.

Thank's for help.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please see ItDoesntWorkIsUseless.
Mike Cobelmach
Greenhorn

Joined: Jun 17, 2009
Posts: 19
I have testStreets.jsp:



If I use this code with s:file tag, I get following values in autocompleter: {message, type, number} because of class StreetUrl.java (which generate Map<String, Integer> streets for autocompleter) is not called.

Then I get s:file tag out of testStreets.jsp and values for "street autocompleter" are generated correctly.
 
Consider Paul's rocket mass heater.
 
subject: File and autocompleter tags doesn't work together