-
1. Re: JBoss Portal 2.4 problem
julien1 Jul 11, 2006 4:16 AM (in response to ericmacau)does your form use a method="POST" or method="GET" ?
-
2. Re: JBoss Portal 2.4 problem
ericmacau Jul 11, 2006 4:43 AM (in response to ericmacau)I used POST in FORM.
But sometimes I use RenderURL for link, if I use a parameter "action" it cannot procceed my action.
And now, I changed all the parameter "action" to "_action", everything works fine.
Eric -
3. Re: JBoss Portal 2.4 problem
julien1 Jul 11, 2006 8:22 AM (in response to ericmacau)you mean you are using a RenderURL in a form ?
-
4. Re: JBoss Portal 2.4 problem
julien1 Jul 11, 2006 8:25 AM (in response to ericmacau)can you provide me a small war file that show the issue ?
-
5. Re: JBoss Portal 2.4 problem
ericmacau Jul 11, 2006 9:59 AM (in response to ericmacau)How can I send it to you the WAR ?
-
6. Re: JBoss Portal 2.4 problem
ericmacau Jul 11, 2006 10:12 AM (in response to ericmacau)Hi Julien,
Since I have no right to attach file to the forum, please download it from
https://simflet.dev.java.net/files/documents/5319/37284/phonebook-test.war
And my I ask how can attach file to forum?
Best regards,
Eric -
7. Re: JBoss Portal 2.4 problem
julien1 Jul 11, 2006 10:19 AM (in response to ericmacau)you can attach to a jira issue that you create rather.
I am going to try this one. -
8. Re: JBoss Portal 2.4 problem
julien1 Jul 12, 2006 5:33 AM (in response to ericmacau)Thanks for the report, I fixed it in 2.4 CVS and it should be in the CR2 release.
I noticed that you did not add security constraint in the -object.xml of your war file, you should rather use :<deployments> <deployment> <if-exists>overwrite</if-exists> <parent-ref>default</parent-ref> <page> <page-name>Phonebook</page-name> <window> <window-name>PhonebookPortletWindow</window-name> <instance-ref>PhonebookPortletInstance</instance-ref> <region>center</region> <height>0</height> </window> <security-constraint> <policy-permission> <unchecked/> <action-name>viewrecursive</action-name> </policy-permission> </security-constraint> </page> </deployment> </deployments>
-
9. Re: JBoss Portal 2.4 problem
ericmacau Jul 12, 2006 6:03 AM (in response to ericmacau)Thanks, I changed it after sending the WAR to you.
Eric