Have you resolved this yet? Did you find anything in your startup logs?
Nils-H
On 8/16/07, Frederick N. Brier <[EMAIL PROTECTED]> wrote:
> I have deployed the struts-portlet example, and it works. I continue to
> make comparison's between all of its configuration files, my own, and
> other examp
I have deployed the struts-portlet example, and it works. I continue to
make comparison's between all of its configuration files, my own, and
other examples. For instance, your example does not specify a parent in
your pom.xml. The example does. The example pom.xml has no plugins.
Yours ha
What does your pom.xml look like?
Going back to your original problem, are you sure you don't get any
exceptions while running or starting up the portlet? Check your logs
to see if you find any exceptions. Also, try deploying the
struts2-portlet example portlet and see if that works.
Nils-H
On 8
Neither is working/generating content. In the case of the JBossPortal,
a portlet window is rendered with the appropriate title, but nothing in
it - not even an error, just a wide short box. Before I fixed some
other problems, I had seen what a portlet looks like when there is an
error, as wel
So it doesn't work in neither JBoss nor your tests? Or is it just your
test that is not working?
Since executeRegularServletResult is executed, the only two reasons are:
- The portletrequest and portletresponse objects are not available,
which means you're running outside the container.
- The url
In my portletunit test, I am using a url of
"view/viewMyPortlet.action". In JBossPortal, I create a Portlet
Instance from the Portlet Definition and then under the Portlet Objects
tab assign it to a region in the page layout. Is there somewhere I
would specify a URL? And what would it be? W
Are you creating the urls correctly using the s:url tag? Do you have
an example JSP? How do you invoke your portlet application? Remember
that you can't access the portlet using regular urls, they all have to
go through the portlet container.
Nils-H
On 8/15/07, Frederick N. Brier <[EMAIL PROTECTE
I am pretty sure this is a configuration issue, probably in struts.xml.
I am trying to create a JSR168 compliant portlet. I have been working
with the portletunit code to get it to execute in a unit test, as well
as running it with JBossPortal. The behavior is the same, so I am
hoping it is
8 matches
Mail list logo