hello,
i have problems with jbp 2.2.1 and Jboss AS 4.04 RC2.
portal 2.2.1 works fine with JBoss AS 4.0.3.
I first had an error with transactionManager, and i fixed it like said in this
post :
http://jboss.org/index.html?module=bb&op=viewtopic&t=79815&postdays=0&postorder=asc&start=0
now i have
"[EMAIL PROTECTED]" wrote : So subclass the MyFaceGenericPortlet, and add this
logic to your new render method.
yes, this is what i have done.
i override the render method and also, the processaction method, to access the
actionresponse.setWindowState.
i get the name of the view_ID (the name o
it is not really my problem :p
because i don't want to change the content of the page depending on the
windowstate but i want to change the entire page.
if portlet is in state normal: i render page1.jsp
if portlet is in state maximized: i render page2.jsp
(=> i realised this with a DefaultViewSe
hello,
I'm developping MyFaces Portlets.
but i have some problems with the windowstate of my jsf pages.
in the navigation rules, we can set which pages to render from what outcome,
but it is not possible to parameter their windowstate.
I have made a ViewSelector to set a maximized view page wh
what is your code source ?
| The executeUpdate method must not return a result set.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938716#3938716
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938716
i think you can inject the service in the portlet :
in jboss-portlet.xml:
| UserModule
|
org.jboss.portal.core.modules.UserModule
| :service=Module,type=User
|
and get the usermodule in the portlet :
userModule = (UserModule)getPortletContext().getAttribute("Us
why don't use the UserModule ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938636#3938636
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938636
---
Using Tomcat b
hello,
i know there is a fix for the logout bug but it's for the 2.4 version.
i search a way to fix this bug in version 2.2.
i have a custom user portlet where i try to disconnect and redirect in the
login page.
i really don't know how to do it.
if somebody can help me ;)
thank you
regards,
liferay
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938343#3938343
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938343
---
Using Tomcat but need to do more? Nee
you can add security constraints to the windows (which are link with an
instance of a portlet)
then, use a roleModule to check if the user has this role.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937762#3937762
Reply to the post :
http://www.jboss.com/
Subject comes from the javax.security package
and SimpleGroup from org.jboss.security package
when you retrieve the Subject, you can manipulate as you want, if it's not read
only.
in the portlet, it's not.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39374
I have made a preference portlet where an user can change his context.(
a context is a set of role)
I get the Jaas subject and modify his simplegroup "roles"
Subject sub =
(Subject)PolicyContext.getContext("javax.security.auth.Subject.container");
if the SimpleGroup sg, contains the "ro
there are two problems in fact.
first, the role are changed with the role module but the jaas subject is not
affected, so the roles will not be change until the user will reconnect.
second, logout didn't work, so the user don't see the changes until his session
goes down and he has to reconnect
it works fine ;)
i can retrieve the jaas subject and my specific object too.
thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935547#3935547
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935547
---
ok, i'll take a look on what informations i can add to the subject.
and after, how can i get these informations in the portal ?
how can i retrieve the subject ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935273#3935273
Reply to the post :
http://www.jb
i tried to explain it last week in this post :
http://jboss.org/index.html?module=bb&op=viewtopic&t=80165
but my english is quite bad, so :p
i had the same problem.
easy way to reproduce it:
add a portlet with a security contraint, and a role like "myrole"
connect as admin.
add role "myrole" to
hi,
I've made my own implementation of the jaas loginmodule to authenticate my
users.
this loginmodule ask an LDAP to authenticate the user and then i ask the user's
roles to an other service.
after that, i build an user object which contains all informations about user
identity and user role
sorry i forgot something.
i say that i need to restart server to see the changes apply but it's because
the logout() don't work ! :p
what i need is to be able to changes roles and see the changes apply without
logout.
ty
View the original post :
http://www.jboss.com/index.html?module=bb&op
I,
i work with JBP 2.2.1RC1
i have a user with role admin and role1
i have a portlet "toto" with role "toto" in the main page.
the user add himself the role "toto" with the roleportlet or the userportlet.
i refresh the page/portal but the user don't see the portlet "toto".
i have to restart the
ty mholzner for your response :p
what i want to do :
each portlet in my portal must have their own icon in the left side of their
header.
so, in my renderset, i have to render the right icon for the right portlet.
to know which icon is set for a portlet, my first idea was to set an init-param
f
hi,
accessing window properties when portlet is rendering work, but i have to stop
my server if i change the properties.
am i the only one who wants to access portlet properties in the renderer when
the portal and the portlets are rendering ?
ty
View the original post :
http://www.jboss.
ok, i can have the icon of the portlet if i had a property "icon" to the
portletwindow in the -portal.xml
it's a little bitt dirty :p
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931923#3931923
Reply to the post :
http://www.jboss.com/index.html?module=
up :p
in the portletcontext, i have information about, the instance, the window, the
region but nothing about the portlet itself.
i want to read some of init-param, put in the portlet-xml for the portlet i'am
rendering.
for example: what icone is set to this portlet ?
thanks for help !
View t
hi
here is my class :
public class CpagePortletRenderer implements PortletRenderer {
|
|/**
| * @see PortletRenderer#render
| */
|public void render(RenderContext renderContext, PortletContext
state, WindowResult result)
| throws RenderExcep
hi,
i've made my own renderset, based on the Divrenderer (window, portlet,
decoration, region)
i want to get some information from the render method about the portlets.
i have a portletcontext, a windowresult and a rendercontext but i don't find
information about portlets.
i have their region
hi,
I hot deploy a portletA in an external warn, my jboss server is running
in the jboss-portal.sar/conf/data/default.object.xml file, i add the elements
(window and instance) to add my PortletA to the default page of the default
portal.
but it doesn't hot deploy and i have to stop and run th
same problem with JBP 2.2.1 and Oracle 9i
regards,
Lionel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921412#3921412
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921412
--
Hi,
I try the inter portlet communication
I juste take the two portlets examples sources (Portlet A and Portlet B) of the
portal-samples.war and i make a special war for it.
it doesn't work. I have this error when I submit in portlet A :
ERROR [org.jboss.portal.core.command.InvokeWindowActi
hi,
i deploy a two portlets in a war file.
the two portlets are in a page, testPage.
when i deploy the war, i can see a tab with my testPage and the 2 portlets.
but I want that this page is only visible for authenticated users.
so in my file-object.xml i use the security-constraint tag like th
+1 !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919534#3919534
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919534
---
This SF.net email is sponsored by: Splun
Hi,
I would like to run a portlet in debug mode in eclipse.
i really don't know the best way to perform it ?
can some one help me ?
thanks
regards,
Lionel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918397#3918397
Reply to the post :
http://www.jboss.
i have the same problem.
i gave up oracle for a while, and test functionnalities with the bundle portal
and hsql.
for CMS_XXX table, try to change the data CLOB in varchar, so that way, some
tables are create.
btw, i think the problem comes from the hibernate layer and the CLOBs datatype !
ma
btw, i have a bug in the management portlet :
when you create a new instance of portlet without specify a name for this
instance, it's never more possible to destroy it when the instance with no name
is added in a page.
moreover, i ask myself where does the portal store this information ?
i jus
hi,
is it possible to customize the number of columns in the portal ?
in JBP 2.0, there were 3 columns and in JBP2.2, there are 2.
i think it's about the layout JSP and the layout strategy but i'don't find
where and how to create other region than left, center, navigation
is someone has a
i think it's a problem with hibernate, oracle and the CLOBs
is anybody succeed with a combination Oracle 9i / JBP2.2 ?
thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914122#3914122
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
I got the same error.
Linux + Oracle9i.
I give all the rights of writing, reading ... in the folder of deploy, but it
didn't change anything.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912555#3912555
Reply to the post :
http://www.jboss.com/index.htm
hi,
1) with jmx-console, i've destroyed and recreate the DB
2) wipe out the 3 dir.
I still have this problem:
09:51:42,226 WARN [PortalDeployment] Cannot create portal object because the
parent that the deployment descriptor references does not exist
| 09:51:42,231 WARN [PortalDeployment]
hi,
I try to deploy the new version of jboss portal (2.2), with Jboss AS 4.03 RC2.
I have no error in the log, just warning which tells :
[PortalDeployment] Cannot create portal object because the parent that the
deployment descriptor references does not exist
|
previous version worked fine
"[EMAIL PROTECTED]" wrote : it is not possible because the sessions are not the
same.
=> impossible to a portlet to get informations put in the httpsession of the
portal ? so, what is the mecanism of that code in my portlet
req.getAttribute(RenderRequest.USER_INFO ) ?
"[EMAIL PROTECTED]" wrot
Hi,
work this JBP 2.0
main question : how can I exchange informations between the portal and a
portlet ?
=>
I try to do an Hello User Portlet: an user connect to the portal and the
portlet say Hello + UserName
to do so, i have this code in my class and it works well :
| public class HelloU
hi,
I try to deploy the helloworld portlet in the default page of the default
portal.
if i take the basic helloworld portlet, it deploys, but not the way I want.
Just an item in the menu portlet => I click and it opens a new page
(helloworld) with the portlet and its content.
I've modified the
41 matches
Mail list logo