[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
Thanks for the clarification - that's not really a portal, portlet, or even a JSP question at this point then, right? It's more a question of 'how do use javascript to dynamically change a form action based on which link a user clicks?' Cheers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903600#3903600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903600 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
The problem is that I have several links on the page which point to the different actions but should submit the same form... Therefore I'm setting the form action with javascript and then submitting the form. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903571#3903571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903571 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
Here is an approach I use for dynamically creating form-submit URL's in portlet-JSP pages (Using JSP 2.0 - EL support and JSTL): | <%-- create a page-scoped var containing the submit URL --%> | | | Customize (EDIT) This Portlet | | | . | | | | The above code is simpler than what you are trying to do with your link code and setting the action property of a DOM object. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903539#3903539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903539 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
After further research I found out that JBoss does handle correctly following link: '> my action However, I need to submit the form data while executing the action. I'm trying to achieve this in the following way, but JBoss fails to process the action and displays a default portal page. ';document.currentStateForm.submit()'> my action Any idea How I can workaround this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903515#3903515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903515 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
I looked up that link for you.. http://developers.sun.com/prodtech/portalserver/reference/techart/university.html there are a lot of good resources here and I understand now that the source for that portlet is now there.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903246#3903246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903246 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How do I write Portlets for my Own Portal..
Well I am just starting to look at this portlet stuff again.. I am not totally sure I understand the question but I will venture an answer and hopefully it will be of some help to you. I am looking at a document that I got from the sun web page at http://developer.sun.org called the ?Introduction to JSR 168 ? The Java Portlet Specification?. I am sure that you can google it and find this exact location. In that document they go through the WeatherPorlet example. Which seems like a great example for people starting out, like me.. In this example they are displaying a link that you can click on and have it render a new ?page? in your portlet. Take a look at page 8 of this document, in the jsp code. It has something like; ?> | enter Zip Code: | | | Is this what you are asking about.. does this help? Take a peek at that document. If, and as, I find/discover more things I will post them for you.. ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903240#3903240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903240 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user