[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-25 Thread thomas.he...@jboss.com
Thanks !
Applied: https://jira.jboss.org/jira/browse/JBPORTAL-2401

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232957#4232957

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232957
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-25 Thread thomas.he...@jboss.com
Instead of 'sequence' I've used 'all' which doesn't mind the order.
The descriptor shipped with JBoss Portal wouldn't have parsed otherwise. It's 
better for backward compatibility.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4233013#4233013

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4233013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-22 Thread hilmer
Thanks for the pointer.
I have changed the xsd (see below). I do not know if this is as intended, but 
now deployment works for me on CR1 :-)

--Soren


  | ?xml version=1.0?
  | 
!--~~~
  |   ~ JBoss, a division of Red Hat
  ~
  |   ~ Copyright 2006, Red Hat Middleware, LLC, and individual 
  ~
  |   ~ contributors as indicated by the @authors tag. See the  
  ~
  |   ~ copyright.txt in the distribution for a full listing of 
  ~
  |   ~ individual contributors.
  ~
  |   ~ 
  ~
  |   ~ This is free software; you can redistribute it and/or modify it 
  ~
  |   ~ under the terms of the GNU Lesser General Public License as 
  ~
  |   ~ published by the Free Software Foundation; either version 2.1 of
  ~
  |   ~ the License, or (at your option) any later version. 
  ~
  |   ~ 
  ~
  |   ~ This software is distributed in the hope that it will be useful,
  ~
  |   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of  
  ~
  |   ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  ~
  |   ~ Lesser General Public License for more details. 
  ~
  |   ~ 
  ~
  |   ~ You should have received a copy of the GNU Lesser General Public
  ~
  |   ~ License along with this software; if not, write to the Free 
  ~
  |   ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  
  ~
  |   ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  ~
  |   
~~~--
  | 
  | xsd:schema xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | xmlns:jbxb=http://www.jboss.org/xml/ns/jbxb;
  | elementFormDefault=qualified
  | 
  | xsd:element name=identity-ui-configuration
  | xsd:complexType
  | xsd:annotation
  |xsd:appinfo
  |  jbxb:class 
impl=org.jboss.portal.core.identity.services.metadata.IdentityUIConfiguration/
  |/xsd:appinfo
  | /xsd:annotation
  | 
  | xsd:sequence
  | !-- User portlet and user management portlet 
preferences --
  | xsd:element name=subscription-mode 
type=subscriptionMode default=jbp_identity_validation_workflow/
  | xsd:element name=admin-subscription-mode 
minOccurs=0 maxOccurs=1 type=subscriptionMode default=automatic/
  | xsd:element name=overwrite-workflow 
type=xsd:boolean default=false/
  | xsd:element name=email-domain minOccurs=1 
maxOccurs=1 type=xsd:string default=example.com /
  | xsd:element name=email-from minOccurs=1 
maxOccurs=1 type=xsd:string default=no-re...@example.com /
  | xsd:element name=password-generation-characters 
minOccurs=1 maxOccurs=1 type=xsd:string/
  | xsd:element name=default-roles type=defaultRoles 
minOccurs=1 maxOccurs=1/
  | 
  | !-- user interface components --
  | xsd:element name=ui-components minOccurs=1 
maxOccurs=1
  | xsd:annotation
  | xsd:appinfo
  | jbxb:class 
impl=java.util.HashMap/
  | /xsd:appinfo
  | /xsd:annotation
  | xsd:complexType
  | xsd:sequence
  | xsd:element name=ui-component 
minOccurs=1 maxOccurs=unbounded type=UIComponent /
  | /xsd:sequence
  | /xsd:complexType
  | /xsd:element
  | !-- end: user interface components --
  | /xsd:sequence
  | /xsd:complexType
  | /xsd:element
  | 
  | !-- restictions for subscription-modes --
  | 
  | xsd:simpleType name=subscriptionMode
  | xsd:restriction base=xsd:string
  | xsd:enumeration value=custom /
  | xsd:enumeration value=automatic /
  | xsd:enumeration value=jbp_identity_validation_workflow /
  | xsd:enumeration 
value=jbp_identity_validation_approval_workflow /
  | /xsd:restriction
  | /xsd:simpleType
  | 
  | xsd:complexType name=defaultRoles
  | xsd:sequence
  | xsd:element name=role minOccurs=1 type=xsd:string 
maxOccurs=unbounded/
  | /xsd:sequence
  | /xsd:complexType
  | 
  | xsd:complexType name=validators
  | 

[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread mwringe
Support for JBoss AS5 is being worked on
http://blog.jboss-portal.org/2009/03/jboss-portal-running-on-jboss-as5.html


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232241#4232241

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread hilmer
Yes, the explanation provided by the link you sent is exactly what I have used.
And everything is fine on JBoss AS 5.1.0 Beta1 but gives the above error using 
JBoss AS 5.1.0 CR1

--Soren

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232242#4232242

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232242
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread mwringe
oh, ok, so its a problem when using  AS 5.1.0 CR1 :(


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232251#4232251

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread mwringe
For CR1 the -Dxb.builder.useUnorderedSequence=true is already set.

The issue appears to be that an xsd file is setup wrong and that its using a 
choice when it really wants multiple options. It appears that this is now being 
enforced in 5.1 when it hasn't in the past.

XSD in question:
http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7_AS5/core-identity/src/resources/portal-identity-sar/conf/schema/identity-ui-configuration.xsd

And xml file which is causing issues:
http://anonsvn.jboss.org/repos/portal/branches/JBoss_Portal_Branch_2_7_AS5/core-identity/src/resources/portal-identity-sar/conf/identity-ui-configuration.xml

The xml tag in question is identity-ui-configuration

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232327#4232327

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread emuckenhuber
mwringe wrote : For CR1 the -Dxb.builder.useUnorderedSequence=true is already 
set.
  | 
  | The issue appears to be that an xsd file is setup wrong and that its using 
a choice when it really wants multiple options. It appears that this is now 
being enforced in 5.1 when it hasn't in the past.
  | 
Indeed the choice in the xsd does not make sense, and looks like i'm also the 
one to blame ;)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232333#4232333

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232333
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal on JBoss AS5

2009-05-20 Thread emuckenhuber
for CR1 you could add the -Dxb.builder.useUnorderedSequence=true flag. This 
will be the default for 5.1.0.GA

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232298#4232298

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232298
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user