Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Bryancan Cantwell
struts link returns wrapped with phantom div tags!!!
May 9, 2008 10:34 AM
Answer

Bryancan Cantwell

Rank: Junior Member

Posts: 26

Join Date: June 18, 2006

Recent Posts

I've had success here in getting to my struts actions.
I have one last challenge:
When i create a url like this:
<portlet:renderURL windowState="exclusive"><portlet:param name="_spage" value="/portlet_action/mass_acknowledge/detail" /></portlet:renderURL>

the resulting page comes back wrapped with
<div>tags

I should see:

1{ 2page: 1, 3total: 239, 4rows: [ 5{id:'AD',cell:['AD','ANDORRA','Andorra','AND','20']}, 6{id:'AE',cell:['AE','UNITED ARAB EMIRATES','United Arab Emirates','ARE','784']}, 7{id:'AF',cell:['AF','AFGHANISTAN','Afghanistan','AFG','4']}, 8{id:'AG',cell:['AG','ANTIGUA AND BARBUDA','Antigua and Barbuda','ATG','28']}, 9{id:'AI',cell:['AI','ANGUILLA','Anguilla','AIA','660']},10{id:'AL',cell:['AL','ALBANIA','Albania','ALB','8']},11{id:'AM',cell:['AM','ARMENIA','Armenia','ARM','51']},12{id:'AN',cell:['AN','NETHERLANDS ANTILLES','Netherlands Antilles','ANT','530']},13{id:'AO',cell:['AO','ANGOLA','Angola','AGO','24']},14{id:'AQ',cell:['AQ','ANTARCTICA','Antarctica','','']},15{id:'AR',cell:['AR','ARGENTINA','Argentina','ARG','32']},16{id:'AS',cell:['AS','AMERICAN SAMOA','American Samoa','ASM','16']},17{id:'AT',cell:['AT','AUSTRIA','Austria','AUT','40']},18{id:'AU',cell:['AU','AUSTRALIA','Australia','AUS','36']},19{id:'AW',cell:['AW','ARUBA','Aruba','ABW','533']}]20}

but really get:

1<div> 2{ 3page: 1, 4total: 239, 5rows: [ 6{id:'AD',cell:['AD','ANDORRA','Andorra','AND','20']}, 7{id:'AE',cell:['AE','UNITED ARAB EMIRATES','United Arab Emirates','ARE','784']}, 8{id:'AF',cell:['AF','AFGHANISTAN','Afghanistan','AFG','4']}, 9{id:'AG',cell:['AG','ANTIGUA AND BARBUDA','Antigua and Barbuda','ATG','28']},10{id:'AI',cell:['AI','ANGUILLA','Anguilla','AIA','660']},11{id:'AL',cell:['AL','ALBANIA','Albania','ALB','8']},12{id:'AM',cell:['AM','ARMENIA','Armenia','ARM','51']},13{id:'AN',cell:['AN','NETHERLANDS ANTILLES','Netherlands Antilles','ANT','530']},14{id:'AO',cell:['AO','ANGOLA','Angola','AGO','24']},15{id:'AQ',cell:['AQ','ANTARCTICA','Antarctica','','']},16{id:'AR',cell:['AR','ARGENTINA','Argentina','ARG','32']},17{id:'AS',cell:['AS','AMERICAN SAMOA','American Samoa','ASM','16']},18{id:'AT',cell:['AT','AUSTRIA','Austria','AUT','40']},19{id:'AU',cell:['AU','AUSTRALIA','Australia','AUS','36']},20{id:'AW',cell:['AW','ARUBA','Aruba','ABW','533']}]21}22</div>

is there some way to prevent this?
Ray Augé
RE: struts link returns wrapped with phantom div tags!!!
May 9, 2008 10:44 AM
Answer

Ray Augé

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1195

Join Date: February 7, 2005

Recent Posts

May I ask which version of the portal you are using?
Bryancan Cantwell
RE: struts link returns wrapped with phantom div tags!!!
May 12, 2008 9:06 AM
Answer

Bryancan Cantwell

Rank: Junior Member

Posts: 26

Join Date: June 18, 2006

Recent Posts

4.3.6