[JBoss-dev] [Design of JBoss Portal] - Re: Strurts portlets on jBoss Portal?

2005-03-16 Thread karanmg
The code: struts-config.xml: | | | | | main.ftl | <#assign html=JspTaglibs["/WEB-INF/struts-html.tld"]> | <#assign bean=JspTaglibs["/WEB-INF/struts-bean.tld"]> | This is main.ftl in stack2.war. | If you see this, it means basic Struts action-mapping

[JBoss-dev] [Design of JBoss Portal] - Strurts portlets on jBoss Portal?

2005-03-16 Thread karanmg
Has anyone transferred their Struts application to run as a JSR168 portet in jBoss Portal?? I am using jBossAS 4.0.1sp1 and jBoss Portal v2.0. Whats confusing me is this: In struts, every action defines the html/jsp/freemarker etc page that should be displayed. on the user's screen. However, to

[JBoss-dev] [Design of JBoss Portal] - Re: jboss-web.xml? MVC Application as Portlet

2005-03-14 Thread karanmg
okay. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870056#3870056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870056 --- SF email is sponsored by - The

[JBoss-dev] [Design of JBoss Portal] - jboss-web.xml? MVC Application as Portlet

2005-03-14 Thread karanmg
Whats the purpose of jboss-web.xml and jboss-service.xml? Are they required to be in the war (even though they don't hold any significant content) for a portlet to work? I want to write an MVC application which will run inside a portlet. So what's the difference in content between jboss-web.xml

[JBoss-dev] [Design of JBoss Portal] - Re: Multiple portlets, 1 war

2005-03-11 Thread karanmg
jz. I can't beleive that's what I was doing wrong. Blame it on Fridays. Thank Thomas. It works fine now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869795#3869795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-dev] [Design of JBoss Portal] - Re: Multiple portlets, 1 war

2005-03-11 Thread karanmg
Ok, here's what im trying to do: I have made 4 helloworld portlets (basically copies of the basic helloworld with different names for each class). I want all these 4 portlets to display on the same html page. Each portlet prints out a line on stdout whenever its accessed. My WEB-INF contains j

[JBoss-dev] [Design of JBoss Portal] - Re: Multiple portlets, 1 war

2005-03-11 Thread karanmg
Ok, that last post was a little ambigious. Here's an explanation: I want to put multiple portlets on the same portal html page. I understand I can define their locations (left, right) in the portlet.xml file. I can put their different classes in the same war. I don't clearly understand the conc

[JBoss-dev] [Design of JBoss Portal] - Re: Multiple portlets, 1 war

2005-03-10 Thread karanmg
Another thing: In *-portal.xml, I define the portlet-name only once, but I can define multiple pages. How does that work? Does one portlet have multiple pages (i.e. like the Portal itself)? So for multiple portlets on the same page, I can have multiple -portal.xml files? Can someone clear up t

[JBoss-dev] [Design of JBoss Portal] - Multiple portlets, 1 war

2005-03-10 Thread karanmg
FOA, congratulations on getting the beta version out. I have a SunSamples.war, which is a war file I downloaded from Sun One/JSR168 website and Im trying to deploy this in jBossAS/Portal. The structure of this directory is: deploy/Portlets/SunSamples.war/ -- this dir holds some jsps. deploy/Po

[JBoss-dev] [Design of JBoss Portal] - Re: Problem building Portal downloaded from cvs

2005-03-09 Thread karanmg
Its working. Finally. The problem was between the ant on my system and the ant supplied with the Portal src. I have Ant 1.6.2 installed on my system, and I think to build the Portal requires Ant 1.5. This is in buildmagic.ent: | | | I am guessing thats the reason I was unable to buil

[JBoss-dev] [Design of JBoss Portal] - Re: Problem building Portal downloaded from cvs

2005-03-09 Thread karanmg
It diddn't work. I checked out jboss-portal-2.0 from the cvs again, opened a new terminal, modified local.properties and postgresql.properties. I unset the CLASSPATH and modified PATH to be: /usr/local/j2sdk1.4.2_06/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/karan/bi

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-09 Thread karanmg
The basic problem is that I am unable to build the portal downloaded from cvs. I have created a new thread here: [url] http://www.jboss.com/index.html?module=bb&op=viewtopic&t=61227 [/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869387#3869387 Reply t

[JBoss-dev] [Design of JBoss Portal] - Problem building Portal downloaded from cvs

2005-03-09 Thread karanmg
Hello, I think this problem deserves an independent thread instead of being stuck deep inside here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=60946&postdays=0&postorder=asc&start=10 I want to run the helloworld portlet from http://docs.jboss.org/jbportal/helloworld.war.zip in th

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-08 Thread karanmg
I read thru some posts. This is the command I'm using to get a copy of jboss portal: cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-portal-2.0 JBOSS_home is set. The jar files (jgroup, cache, rmoting) are copied into default/lib. The databse to be built for is postgres, and I hav

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-08 Thread karanmg
Thanks for the info Thomas. I was trying to get your helloworld.war to work in the alpha release. Thats why it was not working. I have downloaded the cvs version of jBoss Portal. However, its not building. At first I was getting the error: class org.jbosnukes.Explode not found. I rectified

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-08 Thread karanmg
Hi. No replies as yet?? How did you get the source code for the forums portlet?? Are the portlets supplied with jBoss Portal (CMS, Forums etc) JSR 168? I don't understand why I cannot get the supplied HelloWorld portlet to run on jBoss Portal? I am doing everythign straight from the book. I ha

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-07 Thread karanmg
JBoss Version: 4.0.1sp1(build: CVSTag=JBoss_4_0_1_SP1 date=200502160315) Version Name: Zion Built on: February 16 2005 JVM Version: 1.4.2_06-b03 (Sun Microsystems Inc.) JVM Name: Java HotSpot(TM) Server VM I downloaded the jBoss binaries. The above is what I see on the jBoss Administration Cons

[JBoss-dev] [Design of JBoss Portal] - Re: JBoss Portal Webinar

2005-03-07 Thread karanmg
How do i view this from a linux system? Is there an alternate player? Regards, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869055#3869055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869055 ---

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-04 Thread karanmg
Thanks a lot for that example. It gives me (and surely many others) a starting point. http://localhost:8080/index.html?_id=page.default.helloworld This just displayed the jboss main page. Using this: http://localhost:8080/portal/index.html?_id=page.default.helloworld gave me: Http 500 javax.ser

[JBoss-dev] [Design of JBoss Portal] - Re: JBoss Portal on non MySQL???

2005-03-04 Thread karanmg
I have updated the jBoss Portal Wiki, explaining how to use jBoss Portal on Postgres. http://www.jboss.org/wiki/Wiki.jsp?page=JBossPortal HTHs, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868878#3868878 Reply to the post : http://www.jboss.org/ind

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-04 Thread karanmg
Roy, I read one of your replies, that you will be putting up a concrete example after jBoss World. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=60363 I'll wait for that. Regards, Karan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868875#386887

[JBoss-dev] [Design of JBoss Portal] - Re: Forums portlet

2005-03-04 Thread karanmg
Yeah!! Puhlz include some sort of an example or documentation on adding cutom portlets to jBoss Portal. If possible, a short tutorial on how to write your own portlet would be great. I've downloaded portletsamples.war from the JSR168 website. It has some custom portlets like notepad, bookma