Re: [Dev] [WSO2 IS] Issue whien trying to customize user form creation

2016-12-22 Thread Vinod Kavinda
Hi,
How did you add the modified jar? You need to add it as a patch. Here is a
guide [1].

[1] - https://docs.wso2.com/display/Carbon420/Applying+a+Patch+to+the+Kernel


Regards,
Vinod

On Wed, Dec 21, 2016 at 10:35 PM, Hanen Ben Rhouma 
wrote:

> Hello,
>
> I am trying to enrich the user creation form within WSO2 IS. For this I
> checked out the source code of org.wso2.carbon.user.mgt.ui-5.6.34 and
> changed it a bit by adding an "organization" attribute within the first
> step in user creation form (modified *add-step1.jsp*,
> *add-finish-ajaxprocessor.jsp* and *UserBean.java*).
>
> After generating the jar and restarting WSO2 IS I noticed that the field
> is there and I can fill it and the creation if successfully finished but
> when I display my user profile the "organization" field is empty and even
> within ApacheDs the information wasn't persisted.
>
> Do I have to modify the server bundle as well
> (org.wso2.carbon.user.mgt_5.6.34). If so could you please guide me where
> the new attribute needs to be declared.
>
>
> Regards,
> Hanen
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
[image: http://wso2.com/signature]

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [WSO2 IS] Issue whien trying to customize user form creation

2016-12-21 Thread Hanen Ben Rhouma
Hello,

I am trying to enrich the user creation form within WSO2 IS. For this I
checked out the source code of org.wso2.carbon.user.mgt.ui-5.6.34 and
changed it a bit by adding an "organization" attribute within the first
step in user creation form (modified *add-step1.jsp*,
*add-finish-ajaxprocessor.jsp* and *UserBean.java*).

After generating the jar and restarting WSO2 IS I noticed that the field is
there and I can fill it and the creation if successfully finished but when
I display my user profile the "organization" field is empty and even within
ApacheDs the information wasn't persisted.

Do I have to modify the server bundle as well
(org.wso2.carbon.user.mgt_5.6.34). If so could you please guide me where
the new attribute needs to be declared.


Regards,
Hanen
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev