Hello.
I use Seam 2.0.0 BETA1 with facelets (Sun JSF 1.2 RI)
I am having problem executing a WebRemote method and an action method from the
same commandButton.
On the frontend I have an xhtml page with an editor (FCKeditor) combined with a
form bound to a seam datamodel component. The remote m
It worked when i annotated the attribite with @In(required = false)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074539#4074539
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074539
___
Hello
I have a facelet view that triggers an page action when it loads.
|
|
|
@Stateful
| @Name("visitedUserAction")
| @AutoCreate
| public class VisitedUserActionBean implements VisitedUserAction {
|
| private String segment;
|
| pri
That is not a typo in the post. Sometimes I do that misstake, not using the
exact casing of the seam component name when declaring the property in my
action.
Thanks, it solved it!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072365#4072365
Reply to the p
messagemanager.setCellId(cellid)
should of course be
#{messagemanager.setCellId(cellid)}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072106#4072106
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072106
Hello. I use seam 2.0 B1, jboss AS 4.2 and Facelets Sun RI.
I have a facelets jsf file called showmessages.xhtml, a stateless seam
component called CellIdBean and an stateful seam component called
MessagesActionBean.
My use case is simply to load messages from db in the MessagesActionBean and
I have two, functionally identical forms on a jsf page on which the user can
execute an action in a seam stateful session bean. I want to keep separate
state for each form. How can I do this when the forms call the same action on
the same seam component? How will they be identified as two separa
Nothing happens. I tried it both in the portal deployment tag but also in the
dashboard context tag with value false to see if that affected the dashboard
but that did not change anything either. Also I tried it on my
custom-object.xml in my deployed warfile but that I guess should definitly not
After some analyzing it turns out that the positions of the dragged windows are
stored persistently into portal database after all. It is not the
DynaAjaxServlet that is requested upon DnD from the client. It is an
AjaxCommandFactory that is set up and the PortalServlet is recieving the
request
"[EMAIL PROTECTED]" wrote : yes there is no way as we don't have storage for
persisting long term the changes.
|
| it would work if you don't persist the changes.
Ok, maybe have had a little too high expectations (no offence) on the DnD
functionality. My aim is to persist the positions of t
"[EMAIL PROTECTED]" wrote : Put FredF wants shared dashboards (with lage
layout). So the state cannot be stored on the client.
|
| It is a very specific usecase. You could always create a URL mapper that
maps:
| /portal/doshbard/username to a user's dashboard. Then
I am not sure that cookies would be secure enough to decide if the user should
be able to DnD windows on a certain shared page. I think that I need a look up
in backend for each request to make sure the user doing the request really
should be able to DnD the actual page.
View the original post
I have looked at the possibility that dashboard can solve this but my use case
differs in an aspect; each users "usespace" must be public to all other users
by a unique url and therefore I decided that portal pages would make it
possible.
View the original post :
http://www.jboss.com/index.htm
Where do I set theme.dyna.dnd_enabled to true? Why will the window positions
not be stored in db?
I have been thinking about a solution for a while and would like discuss my
ideas with someone.
I intend to write my own taghandler for regions that takes a parameter
containsdraggable [true/fal
By tweaking I mean rewrite and/or extend the portal source code for my needs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042321#4042321
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042321
_
What does it require for me to tweak the portal so that it allows drag n drop
for arbitrary windows on arbitrary portal pages? I really need that for my
usecases.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042319#4042319
Reply to the post :
http://www.j
Ok, I see now in the PortalRenderSet.java source file that the
DynaRegionRenderer.class, DynaWindowRenderer.class, DynaPortletRenderer.class,
DynaDecorationRenderer.class files will be used for as renderset if ajaxenabled
is true.
I wonder how I can use this on arbritary portal objects like my
I use portal 2.6-CR1 and want to use the DynaRenderer for my pages. I couldn't
find it among the RenderSets for my page in the management portlet so I added
|
| true
|
org.jboss.portal.theme.impl.render.dynamic.DynaRegionRenderer
|
org.jboss.portal.th
How can I get a reference to a portletinvocer object? I have a facesContext.
Can find it in there?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041904#4041904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041904
___
I found out that I have the region reference in the RegionTagHandler. Now I can
write my own regiontag and provide the rendercontext with the
ThemeConstants.PORTAL_AJAX_OBJECT_DISABLED to the renderer.
The question is if
region.setProperty(ThemeConstants.PORTAL_AJAX_OBJECT_DISABLED, "true");
I fixed the problem by referencing the portlet with a correct path. I had to
use 'local.web-app.portletreferencename' and not just 'portletreferencename'
/Fredrik
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039606#4039606
Reply to the post :
http://www.
"fhh" wrote : Via
| facesContext.externalContext.request.session.id
| facesContext.externalContext.request.remoteAddr
|
| Regards
|
| Felix
If the request turns out to be a JBossRenderRequest (because the request was
made from a jsf-portlet), how can I then get the ip address?
Vie
I get a strange error when I try to create an Instance via the
instancecontainer.
19:29:49,197 ERROR [STDERR] java.lang.IllegalArgumentException: Bad portlet id
format AboutPortlet
| 19:29:49,200 ERROR [STDERR] at
org.jboss.portal.federation.impl.FederatingPortletInvokerService.getFederat
Forget my last reply. I fetched the InstanceContaner just as you suggested.
Then I don't need to instantiate the InstanceImpl.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037698#4037698
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
hello.
I think I have solved it by doing this:
| try{
| w = page.createWindow("DocumentCell");
| } catch ( Exception ex ) {
| ex.printStackTrace();
| }
| InstanceImpl inst = new Instan
I fixed it by putting the correct jar-fil (2.4, not 2.6) as external jar in
eclipse.
But now I can't call the setInstanceId on my instance? According to javadoc the
method should exist but the compiler does not recognize it. Why?
I provide the correct jar in my lib folder for javac.
View the ori
I am using portal 2.4 and the class is not abstract.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037192#4037192
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037192
___
jb
I have a portal with a two pages. On each page I have a window which shows a
portlet. I want to use two different instances of the portlet for the windows
(I have to identify each instance to populate it by specific data).
I could define these two instances in the portlet-instances.xml but I nee
Just as I thought. I had included the portal-api.jars in my portlet-war file.
This made the code confused because the ContextImpl was already loaded from the
jboss-portal.sar. Therefor the ClassCastException.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=403
Can there be some sort of class loading problem?
Here's something I read just now
http://www.onjava.com/pub/a/onjava/2003/11/12/classloader.html
In the case of a classloader problem maybe the ContextImpl class exists in
different packages loaded by different classloaders? I need to find out why
I have realized that the transaction exception is not the issue. It happened
due to time out when I was debugging the code. I increased it and now its not
thrown anymore.
I still have no clue about the classcastexception because the exception is
thrown inside the proxyObject for the "portal:co
I have debugged my code and jboss-jmx source code and found that there might be
something with the transaction. I have not encapsulated the code in a
transaction because there is already one started from jsf/jboss seam.
here is a stack trace
2007-04-06 00:58:19,495 INFO [STDOUT] CONTAINER=
I noticed that the package org.jboss.mx.util is located in different jar files
in my jboss installation.
jboss/client/jbossall-client.jar
jboss/client/jmx-client.jar
jboss/lib/jboss-jmx.jar
Because the container object is represented by a MBeanProxy object (located in
these packages) and the C
"agaudreau" wrote : Thanks to the injection hint I was able to make my custom
NavigationPortlet work which was missing the service injections in the
jboss-portlet.xml for the PortalObjectContainer... and:
|
| PortalAuthorizationManagerFactory
|
org.jboss.portal.security.spi.auth.PortalAut
I should mention that I get a reference to the container. The value when I do a
System.out.print is
MBeanProxy for portal:container=PortalObject (Agent ID:
my.domain.com_1175577884662)
but when I try to get the context with
myContainer.getContext()
I get the
| 2007-04-03 07:26:38,434 ER
I am using portal 2.4.1 by the way and this is the source of the code part:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87304[/url]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033185#4033185
Reply to the post :
http://www.jboss.com/index.html
I am trying to retrieve a context for the portalobjectcontainer
public class PortalService {
|
| private PortalObject po;
| private org.jboss.portal.core.model.portal.Context ctx;
| private org.jboss.portal.core.model.portal.PortalObjectContainer
container;
| publi
"[EMAIL PROTECTED]" wrote : no look at the property that inhibits ajax stuff
which is "theme.ajax.object_enabled". If on a portal object you put this
property with a value of "false" it should disable DnD for this part.
|
| you can set the property using the xml desc, it has not been redone
Hello
In the developer forum I asked a question regarding drag and drop feature on
portlets
http://jboss.org/index.html?module=bb&op=viewtopic&t=105181
but after the initial answer I had further questions.
I guess I should address this user forum instead.
I was told that I could set these c
"[EMAIL PROTECTED]" wrote :
http://docs.jboss.com/jbportal/v2.6/javadoc/org/jboss/portal/core/model/instance/Instance.html#setProperties(org.jboss.portal.portlet.state.PropertyChange[])
thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030195#4030195
"[EMAIL PROTECTED]" wrote :
| You could define a preference at the instance level, using
portlet-instances.xml
OK, I see. My intention is to programmatically create these portlet instances
with the core api.
| portal.createPage("User1");
| Page p1 = portal.getPage("User1");
| Window
Hello all.
I am using JBoss 4.0.5, JBoss portal 2.6 and JBoss seam 1.1.0.
My usecase is this:
I have a default portal and a page called 'Contacts' which contains two portlet
instances 'PortletInstanceInternalContacts' and
'PortletInstanceExternalContacts'.
The instances originiates from the sa
Ok. The thing here is that our use case is page centered and not user centered.
All users should experience the same theme when they see page A. The fact that
I mention users is that we want to restrict users to only set the theme for the
page they own.
Maybe you recognize this from an earlier
What URL do you mean? The url of the layout or the url of the portal page?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027992#4027992
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027992
"[EMAIL PROTECTED]" wrote : You could use the ThemeService.
| org.jboos.portal.theme.ThemService
|
| It has the following method:
| addTheme(RuntimeContext runtimeContext, PortalThemeMetaData metaData)
throws ThemeException;
|
| You should be able to achieve this goal.
Thank you fo
Hello.
Is there any hook in the portal core api which I can call to create a new
theme in the portal core? I am referring to the portal-themes.xml file. I have
a function that allows users in the portal to create their own theme (mainly
background image and portlet-frame images) and i want to au
thanks a bunch!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025419#4025419
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025419
___
jboss-user mailing list
jboss-user@list
Ok. Thats weird, because our "shipped" portal had just one css file with both
theme and layout defined in it. What do I name the file containing the layout
and where do I put it? Also how do I set a page to utilize this layout css file?
thanks.
View the original post :
http://www.jboss.com/ind
Hello.
I am using JBoss Portal 2.6 and I want to use the same theme on page A and page
B but use different number of columns for the pages. Is this possible? As far
as I can see, the number of columns is defined within each theme, so this is
"tightly coupled" and not separatable.
I do not want
My usecase is this: Each user "owns" a physical page object that is his own.
That page has a unique pagename (the name of the user for simplicity). The more
users, the more pages will have to be created in the portal. My aim is to only
let the owner of the page see the edit button on the portlet
Ok, thank you for the answer.
My next question is weather I can enable/disable the edit button per portlets
and pages. For example, I want only user A to be able to see/click the edit
button on portletinstance B when she visits page C (namely her own page). I
guess this is not implemented eith
Hello.
Is it possible for me as a JBoss Portal User to enable and disable drag and
drop on portlets based on pages and users?
For example, I want to disable portlet dragndrop on page A for everyone except
for logged in users with the role B.
Is this finegrained restrictions on dragndrop possi
I wonder if it is possible (with ease) to set up a portlet so that drag and
drop can be performed by clicking and dragging their body and not only the
header? The reason is that I want to remove the entire header and still have
drag and drop enabled, namely on what is left; the body.
I have not
"[EMAIL PROTECTED]" wrote : actually they are injected in the servlet context
of the web application.
|
| the portlet context is a mere wrapper of the servlet context.
Ok, thanks. I have solved the task in another way (the solution with the
mbeanserver inside a transaction). I reed this pos
"[EMAIL PROTECTED]" wrote : If you are using a web application you should look
at the file WEB-INF/jboss-portlet.xml of portal-core.war which provides the
capability to inject services in the servlet context of the web application
Ok, so I use the tag in WEB-INF/jboss-portlet.xml. But then I ca
I am developing some portlets using JBoss seam 1.0 and JBoss Portal 2.6.
A want to use the Portal Core API in order to add portal objects
programatically, e.g. portlet instances to pages and pages to portals.
I have looked at how the included manager portlet accomplishes this. I figured
out that
That did "susen" (as we say in sweden) ie: It works.
Thanks!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995649#3995649
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995649
_
This is the complete stack trace.
In the middle it says:
Caused by: org.jboss.seam.RequiredException: In attribute requires value for
component: post.message
That might be a clue..?
2006-12-21 16:44:37,562 ERROR
[org.jboss.portal.portlet.container.org_apache_myfaces_portlet_MyFacesGenericPort
Hello all.
I am having problem using the action attribute in the page element in the file
pages.xml.
I have a view-file which has a form and a datatable element.
I want to populate this datatable with data from a seam component when the user
loads the page, not in the response of the form subm
59 matches
Mail list logo