You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Iñaki Paz <ji...@si.ehu.es> on 2003/11/27 17:01:26 UTC
New Portlet Mode
Hello,
Ive got a problem. I wanted to add a new Portlet Mode for the
Portlets. I touched the src files:
org.apache.wsrp4j.util.Modes
org.apache.wsrp4j.consumer.app.driver.AggregationImpl
org.apache.wsrp4j.consumer.app.driver.ConsumerEnvironmentImpl
org.apache.wsrp4j.consumer.app.driver.SwingConsumer
To add the newMode to the consumer.
Now in JSR168, I add in the Portlet.xml the new mode for the Portlet.
This way, I have added the new WSRP mode in the consumer and in the
Portlet. But I dont know where the mapping is done between both modes
in the WSRP4J application container so that the translation can be done
from the new WSRP Mode and the new JSR mode, and viceversa.
Is there any other class that should be modified to support the new
mode??
Does anybody know where this translation is done (class to modify)??
Thanx in advance,
Iñaki Paz
New Portlet Mode
Posted by Iñaki Paz <ji...@si.ehu.es>.
I should also say that Maybe I should modify the methods from Modes that
try to translate them from one to the other but, in the version ive
seen, it only does it with standard modes, and this class specifies more
modes that are not reflected in this methods. Thats why I havent
touched them.
Can anybody help me???
Please,
Iñaki Paz
Previous e-mail:
Hello,
Ive got a problem. I wanted to add a new Portlet Mode for the
Portlets. I touched the src files:
org.apache.wsrp4j.util.Modes
org.apache.wsrp4j.consumer.app.driver.AggregationImpl
org.apache.wsrp4j.consumer.app.driver.ConsumerEnvironmentImpl
org.apache.wsrp4j.consumer.app.driver.SwingConsumer
To add the newMode to the consumer.
Now in JSR168, I add in the Portlet.xml the new mode for the Portlet.
This way, I have added the new WSRP mode in the consumer and in the
Portlet. But I dont know where the mapping is done between both modes
in the WSRP4J application container so that the translation can be done
from the new WSRP Mode and the new JSR mode, and viceversa.
Is there any other class that should be modified to support the new
mode??
Does anybody know where this translation is done (class to modify)??
Thanx in advance,
Iñaki Paz