PDA

View Full Version : Loading a static page into a panel in 4.x?



jclark42796
5 Jun 2012, 10:56 AM
What's the best way to load a static HTML page into a panel?

In 3.3, I created something like:


items:[{
autoLoad: '/somectx/mypage.html'
}]

The page is retrieved in 4.1, but retrieves the page as a "POST".

Is there are preferred way to do this? If this is the preferred way, how do I have this retrieve the page as a "GET". Currently, it is acting as a "POST". BTW, I didn't see a reference to 'autoLoad' in the panel API docs.

Thanks,
Jim

jclark42796
5 Jun 2012, 11:16 AM
this works



items:[{
autoLoad: {
url: '/somectx/mypage.html',
method: 'GET'
}}
]