List Info

Thread: Custom forms




Custom forms
user name
2006-05-23 13:20:59
Hello fedora-directory-users,

    I try to find more information about creating and use
custon forms
  for Fedora Directory Console. Example of this form we see
in "Edit
  user forms".  They templates is stored in
/clients/dswg/html...
    But no useful documentation about their customization
can be
  found.

    Can anyone give me more information about this?

-- 
Best regards,
 Pavel                          mailto:blazeelewise.com

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-23 14:10:49
Pavel 'Blaze' Vinogradov wrote:
> Hello fedora-directory-users,
>
>     I try to find more information about creating and
use custon forms
>   for Fedora Directory Console.
In the console or in the phonebook/gateway web app?  With
the former, it 
is difficult without writing some Java code.  With the
latter, it is 
easier to edit the html templates under clients/dsgw/html. 
But realize 
the console and the phonebook/gateway are two completely
different apps.
> Example of this form we see in "Edit
>   user forms".  They templates is stored in
/clients/dswg/html...
>     But no useful documentation about their
customization can be
>   found.
>
>     Can anyone give me more information about this?
>
>   
--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-23 14:44:30
Hello Richard,

Tuesday, May 23, 2006, 7:10:49 PM, you wrote:

>>     I try to find more information about creating
and use custon forms
>>   for Fedora Directory Console.
> In the console or in the phonebook/gateway web app? 
With the former, it
> is difficult without writing some Java code.  With the
latter, it is 
> easier to edit the html templates under
clients/dsgw/html.  But realize
> the console and the phonebook/gateway are two
completely different apps.
    We want to migrate out user DB to FDS. And try to find
way for use
  Fedora Directory Console to manage all user data. Now we
integrate
  our proxy, domain, mail and devel subsystems to storage
their data
  in FDS (More info get from FDS wiki, and i have some
contribute and
  corrections - and search way to put it back).
    And now we need visaul tool for manage this data. If we
can
  customize and add form which FDS get to us in Admin
Console - we
  build good tool. Now we need to create analogue for
"Posix login; NT
  user" and similar form... to manage mail info, squid
info etc..

    How can we do this?

-- 
Best regards,
 Pavel                            mailto:blazeelewise.com

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-24 21:51:28
Pavel 'Blaze' Vinogradov wrote:
> Hello Richard,
>
> Tuesday, May 23, 2006, 7:10:49 PM, you wrote:
>
>   
>>>     I try to find more information about
creating and use custon forms
>>>   for Fedora Directory Console.
>>>       
>> In the console or in the phonebook/gateway web app?
 With the former, it
>> is difficult without writing some Java code.  With
the latter, it is 
>> easier to edit the html templates under
clients/dsgw/html.  But realize
>> the console and the phonebook/gateway are two
completely different apps.
>>     
>     We want to migrate out user DB to FDS. And try to
find way for use
>   Fedora Directory Console to manage all user data. Now
we integrate
>   our proxy, domain, mail and devel subsystems to
storage their data
>   in FDS (More info get from FDS wiki, and i have some
contribute and
>   corrections - and search way to put it back).
>   
If you have any corrections to the wiki, please file a bug
at 
http://bugzilla.redhat.co
m/ for Fedora Directory Server, category wiki.
>     And now we need visaul tool for manage this data.
If we can
>   customize and add form which FDS get to us in Admin
Console - we
>   build good tool. Now we need to create analogue for
"Posix login; NT
>   user" and similar form... to manage mail info,
squid info etc..
>   
Right.  There is no simple template system to create new
forms.  You 
have to write some new Java code for the console to
implement support 
for new forms.
>     How can we do this?
>   
You can use the Advanced... editor.  It's not very pretty
but it works.
--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-25 09:56:04
> You can use the Advanced... editor.  It's not very
pretty but it works.

I'm having problems using the Advanced... editor: I add
mailRecipient
as a new value to the objectClass attribute, then select a
view of all
attributes, but cannot manage to add a value to the
mailRoutingAddress
attribute: right clicking on it then clicking in the Add
Value button
tries to add a value to the objectClass attribute instead.

I had to revert to using ldapmodify, which simply works.

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-25 12:48:40
You can write simple scripts or web-apps to do this, any
language you 
want will likely suffice, that's the beauty of LDAP.  I
manage our 
directory with a web app written in PHP and some command
line scripts 
written in Perl.  It's pretty simple in both languages.  Or
you can 
write a Java small app, no real need to make it part of the
console.

 
> Right.  There is no simple template system to create
new forms.  You 
> have to write some new Java code for the console to
implement support 
> for new forms.
>

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-25 14:07:53
Felipe Alfaro Solana wrote:
>> You can use the Advanced... editor.  It's not very
pretty but it works.
>
> I'm having problems using the Advanced... editor: I
add mailRecipient
> as a new value to the objectClass attribute, then
select a view of all
> attributes, but cannot manage to add a value to the
mailRoutingAddress
> attribute: right clicking on it then clicking in the
Add Value button
> tries to add a value to the objectClass attribute
instead.
Try doing a left click on the field you want to add the
value to, then 
right click on it to add the value (or use the Add Value
button in the 
right hand pane).
>
> I had to revert to using ldapmodify, which simply
works.
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-usersredhat.com
> https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
Custom forms
user name
2006-05-25 16:19:59
> Try doing a left click on the field you want to add the
value to, then
> right click on it to add the value (or use the Add
Value button in the
> right hand pane).

I haven't been able to manage it to work: left clicking the
attribute
name does nothing. However, I chose not to show all
attributes, then
clicked on Add Attribute and selected mailRoutingAddress
from the
listbox. It seems to work fine.

--
Fedora-directory-users mailing list
Fedora-directory-usersredhat.com
https://www.redhat.com/mailman/listinfo/fedora-dir
ectory-users
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )