SLiM: .xinitrc changes and logouts?
If anyone uses SLiM then maybe you can help me. I have installed the version in AUR and it seems to work well. I only have fluxbox as my session of choice but would like to add others (e.g. icewm). I would like to know what sorts of changes are necessary in my .xinitrc so that the session selected in SLiM (after pressing F1) will be the one used.
Also, in the slim.conf file there are things like halt_cmd, reboot_cmd and console_cmd. How do I use these? I currently exit fluxbox and the SLiM login appears. I then kill X with ctrl-alt-Backspace, login again and perform my shutdown. This is definitely not the way things are supposed to work...
I also cannot get the welcome_msg, shutdown_msg and reboot_msg entries from slim.conf to appear anywhere.
Any help would be appreciated for this old fart.
Thanks in advance,
-- Dr.U
What's the use of happiness? It can't buy you money. -- Henny Youngman
Well I tried out the suggestions and they work as stated: enter halt for the user and the root pw and the system goes down, reboot works the same way. Enter console for the user and you don't need a pw: just press enter and you get a login console. I noticed that if my slim.conf file had only one session listed in the sessions line then it did not show the name of the session when pressing F1. But as soon as I had more than one session listed then F1 worked:
sessions fluxbox # did not work
sessions fluxbox,blackbox # this worked
Thanks again.
Regards,
-- Dr.U
I'm such a good lover because I practice a lot on my own. -- Woody Allen
Similar Messages
-
HTML Code for Smart Link Edit and Logout items
I am using an HTML template and would like to include the Smart Link Edit and Logout items in a TABLE. How do I do this?
Is there a way to get the code for these Smart Links (ORACLE tags) and include them?According to Oracle Metalink "Note:368720.1 - When ILS is Enabled the Edit Smartlink is visible to Users that are not entitled to see it", that is the expected behavior whether you are using the "edit" substitution tags or the "edit" smartlink on a page when the page has item-level access enabled. I don't like it but I can understand why that is the behavior since an end user may have access to manage/edit just one item on a page or just one tabbed region on a page and they need a way to put the page into edit mode in order to edit their item(s). If a user has nothing to edit on a page, then they won't be able to do anything in edit mode anyway.
On the employee portal I work on, there is the possibility that every page may have a different set of users/groups that need to edit items/regions on the page AND the edit smartlink is published on the portal page template so basically, all employees can see the Edit link but if they click on it, only those employees that have items/regions to edit/manage will be able to really do anything while in edit mode.
However, on the customer portal I work on, there is only one group that manages content site-wide so I was able to publish the Edit smartlink on the portal page template and change its access to the one group that manages content so they're the only ones that can see the Edit link on every page.
The substitution tags for Logout are #PORTAL.LOGOUT.URL# and #PORTAL.LOGOUT.LABEL# (I use those so I can control the html & css) or just #PORTAL.LOGOUT# (which does both the label and url). The list of all substitution tags is available in Oracle Application Server Portal Help. -
Form setting change after logout or after change password
Hi,
Some user had the experienced that their customized form setting restore to default or doesn't work at all after they logout and login again.
However some of the user experienced it only after password change.
Can this be avoided? By logic, it should not restore to previous setting after the changed had been made, isn't it?
ThanksHi Olga
Please read SAP Note 715714 and 1951776, this is a system bug that is fixed in SAP version 9 higher patch level.
Workaround:
Whenever there is a need to modify the List of Items Form Settings Display, please ensure all users are logged off from SAP Business One program except for the user who is changing the List of Items Form Settings Display as the last SAP User who logout subsequently will override all earlier changes saved by the previous SAP User.
For example if there are three sessions open and one of the Users makes the changes on the first session, saved these changes and logged off, they will not be applied properly because by closing the other two session/instances afterwards over-rides all earlier changes.
Kedalene Chong -
HT203998 If I login from one account and logout from them
If I login from one account and logout from them, I can not see the user which I made hidden using the above commands, but when I restart my mac I can see that hidden user on login screen, please help, I don't want to see the hidden user even after restart.
Hi uddipatel,
Welcome to the Support Communities! Here is how you hide a user account in the login window on your Mac:
How to hide a user account in OS X - Apple Support
http://support.apple.com/en-us/HT203998
Hide a user account in OS X Yosemite
You can prevent a user account from appearing in the login window in OS X Yosemite by using these steps:.
1. Log in as an admin user.
2. Use this Terminal command, substituting the short account name name of the user you wish to hide for “hiddenuser”:
sudo dscl . create /Users/hiddenuser IsHidden 1
If you later want to show the hidden user, set the user’s IsHidden attribute to 0 like this:
sudo dscl . create /Users/hiddenuser IsHidden 0
You can optionally delete the IsHidden attribute instead of setting it to 0.
Additional Options
You can also move the hidden user's home directory to a place not visible from the Finder, and remove the hidden user's Public Folder share point.
The following command moves the home directory of "hiddenuser" to /var, a hidden directory:
sudo mv /Users/hiddenuser /var/hiddenuser
The following command updates the user record of "hiddenuser" with the new home directory path in /var:
sudo dscl . -create /Users/hiddenuser NFSHomeDirectory /var/hiddenuser
The following command removes the Public Folder share point for the user with the long name "Hidden User”:
sudo dscl . -delete "/SharePoints/Hidden User's Public Folder"
Hide a user account in earlier versions of OS X
There are three ways you can hide a user in versions of OS X earlier than Yosemite.
Set the Login window to display name and password fields
In the Users & Groups preferences pane (Accounts pane in Mac OS X v10.6 and earlier), click Login Options, then select "Display login window as: Name and password".
With this enabled, no user accounts are listed in the Login window.
If changing the Login Window to only display the name and password fields does not meet your needs, then you can use the following steps in this article to hide a user account.
Add users to the HiddenUsersList (advanced)
With Mac OS X v10.4 and later you can hide users from the Login window by adding them to the HiddenUsersList array in the /Library/Preferences/com.apple.loginwindow.plist file. The following command will hide the users "mei" and "anne" from the Login window:
sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add mei anne
Note: These users will still appear in the Accounts (Mac OS X v10.6 and earlier) or Users & Groups (OS X Lion) pane in System Preferences.
Lower the user's UID and enable the Hide500Users option (advanced)
You can use the advanced steps below to change a user's UID, adjust their home directory permissions and enable the Hide500Users option. An example user account "tom" is used below.
The following sample Terminal command changes the user tom's UID to 401. Note: Check to make sure the new UID is not in use before making this change.
sudo dscl . -create /Users/tom UniqueID 401
This command adjusts the permissions of the user's home directory:
sudo chown -R tom /Users/tom/
Enable the Hide500Users option with this command:
sudo defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool YES
Last Modified: Dec 8, 2014
All the best,
- Judy -
[Mobile Acc.] VERY slow logout when login on network AND logout off network
Hello,
I'm installing a macmini server (10.6.6) and want to use mobile user account.
I thought everything was fine so I tried to login and logout with my macbook pro (Snow Leopard).
Unfortunately I detected a pb :
- When I login on network and logout on network everything is fine
- When I login off network and logout off network everything is fine
- When I login on network and try to logout off network, the login is fine but the logout needs about 20 minutes!
I found in the console that the macbook is waiting to re-connect the afp share points.
How can I avoid that?
Thanks in advance
Extracts from the console :
20/03/11 17:43:00 kernel AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
20/03/11 17:43:01 configd[14] network configuration changed.
20/03/11 17:43:01 configd[14] setting hostname to "MacBook-Tom.local"
20/03/11 17:43:05 KernelEventAgent[404] tid 00000000 received event(s) VQ_NOTRESP (1)
20/03/11 17:43:05 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Users', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-1.2f00000f', not responding
20/03/11 17:43:05 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Groups', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-2.2f000010', not responding
20/03/11 17:43:05 KernelEventAgent[404] tid 00000000 found 2 filesystem(s) with problem(s)
20/03/11 17:43:05 kernel ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xbca3e58
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect started /Volumes/Users prevTrigger 0 currTrigger 1
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/Users
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/Users
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: Max reconnect time: 600 secs, Connect timeout: 0 secs for /Volumes/Users
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect started /Volumes/Groups prevTrigger 0 currTrigger 1
20/03/11 17:43:05 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:06 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Users', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-1.2f00000f', not responding
20/03/11 17:43:06 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Groups', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-2.2f000010', not responding
20/03/11 17:43:06 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:43:06 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:43:06 kernel AFP_VFS afpfs_DoReconnect: sleep for 2 seconds and then try again
20/03/11 17:43:06 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:07 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:08 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:43:08 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:43:08 kernel AFP_VFS afpfs_DoReconnect: sleep for 4 seconds and then try again
20/03/11 17:43:08 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:09 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:10 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:11 KernelEventAgent[404] tid 00000000 received event(s) VQ_NOTRESP (1)
20/03/11 17:43:11 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Users', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-1.2f00000f', not responding
20/03/11 17:43:11 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Groups', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-2.2f000010', not responding
20/03/11 17:43:11 KernelEventAgent[404] tid 00000000 found 2 filesystem(s) with problem(s)
20/03/11 17:43:11 [0x0-0xe20e2].com.skype.skype[2793] WirelessAttach: IOServiceOpen error: e00002c7
20/03/11 17:43:11 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:11 kernel AFP_VFS afpfs_DoReconnect: posting to KEA EINPROGRESS for /Volumes/Groups
20/03/11 17:43:12 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:43:12 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:43:12 kernel AFP_VFS afpfs_DoReconnect: sleep for 8 seconds and then try again
20/03/11 17:43:12 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:13 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:14 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:15 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:16 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:17 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:18 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:19 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:20 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:43:20 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:43:20 kernel AFP_VFS afpfs_DoReconnect: sleep for 10 seconds and then try again
20/03/11 17:43:20 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
20/03/11 17:43:21 kernel AFP_VFS afpfs_DoReconnect: reconnect already in progress for /Volumes/Groups, going back to wait
*...again and again and again...*
20/03/11 17:53:10 KernelEventAgent[404] tid 00000000 received event(s) VQ_DEAD (32)
20/03/11 17:53:10 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Users', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-1.2f00000f', dead
20/03/11 17:53:10 KernelEventAgent[404] tid 00000000 found 1 filesystem(s) with problem(s)
20/03/11 17:53:10 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Groups', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-2.2f000010', not responding
20/03/11 17:53:10 loginwindow[2705] AFP error -1 mapped to EIO
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Users
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Users failed 65.
20/03/11 17:53:10 kernel ]
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: posting to KEA to unmount /Volumes/Users
20/03/11 17:53:10 kernel ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 1 on so 0xbca3e58
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect started /Volumes/Users prevTrigger 1 currTrigger 2
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: already in unmount /Volumes/Users
20/03/11 17:53:10 kernel AFP_VFS afpfs_unmount: /Volumes/Users, flags 524288, pid 404
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: doing reconnect on /Volumes/Groups
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: Max reconnect time: 600 secs, Connect timeout: 0 secs for /Volumes/Groups
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:10 kernel AFP_VFS afpfs_DoReconnect: sleep for 1 seconds and then try again
20/03/11 17:53:11 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:11 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:11 kernel AFP_VFS afpfs_DoReconnect: sleep for 2 seconds and then try again
20/03/11 17:53:13 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:13 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:13 kernel AFP_VFS afpfs_DoReconnect: sleep for 4 seconds and then try again
20/03/11 17:53:17 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:17 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:17 kernel AFP_VFS afpfs_DoReconnect: sleep for 8 seconds and then try again
20/03/11 17:53:25 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:25 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:25 kernel AFP_VFS afpfs_DoReconnect: sleep for 10 seconds and then try again
20/03/11 17:53:35 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 17:53:35 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 17:53:35 kernel AFP_VFS afpfs_DoReconnect: sleep for 10 seconds and then try again
*...again and again and again...*
20/03/11 18:03:05 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 18:03:05 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 18:03:05 kernel AFP_VFS afpfs_DoReconnect: sleep for 10 seconds and then try again
20/03/11 18:03:15 KernelEventAgent[404] tid 00000000 received event(s) VQ_DEAD (32)
20/03/11 18:03:15 KernelEventAgent[404] tid 00000000 type 'afpfs', mounted on '/Volumes/Groups', from 'afp_4FLpM10E8KV40NIHSB2mlMQZ-2.2f000010', dead
20/03/11 18:03:15 KernelEventAgent[404] tid 00000000 found 1 filesystem(s) with problem(s)
20/03/11 18:03:15 loginwindow[2705] AFP error -1 mapped to EIO
20/03/11 18:03:15 loginwindow[3291] AFP error -1 mapped to EIO
20/03/11 18:03:15 kernel AFP_VFS afpfs_DoReconnect: connect to the server /Volumes/Groups
20/03/11 18:03:15 kernel AFP_VFS afpfs_DoReconnect: connect on /Volumes/Groups failed 65.
20/03/11 18:03:15 kernel ]
20/03/11 18:03:15 kernel AFP_VFS afpfs_DoReconnect: posting to KEA to unmount /Volumes/Groups
20/03/11 18:03:15 kernel ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 2 on so 0xbca3e58
20/03/11 18:03:15 kernel AFP_VFS afpfs_DoReconnect started /Volumes/Groups prevTrigger 2 currTrigger 3
20/03/11 18:03:15 kernel AFP_VFS afpfs_DoReconnect: already in unmount /Volumes/Groups
20/03/11 18:03:15 kernel AFP_VFS afpfs_unmount: /Volumes/Groups, flags 524288, pid 404
20/03/11 18:03:17 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[3713] Login Window Application Started
20/03/11 18:03:17 com.apple.ReportCrash.Root[3706] 2011-03-20 18:03:17.458 ReportCrash[3706:2903] Saved crash report for loginwindow[3291] version ??? (???) to /Library/Logs/DiagnosticReports/loginwindow2011-03-20-180317localhost.crashThanks to try but I'm not in this case.
Note that the pb appears only on logout. -
Hi Support team, somehow my mozilla settings have been changed and it became transparent, now how to change back to normal because everything is transparent, menus, pages etc.
This could be the same problem other users are reporting as a white screen or black screen, caused by an incompatibility between Firefox 33 and some older graphics card/chipset drivers.
Please disable hardware acceleration as a temporary workaround. Step-by-step directions in this thread: https://support.mozilla.org/questions/1025438
Does that work? -
Every time I try to buy a song, a message pops up stating "Your Apple ID has been disabled." That's it. Nothing else. I have changed and reset my email, password, security questions, and billing info. The message still pops up. I am just trying to buy some music. Any ideas?
Contact iTunes by:
Contact iTunes -
Revision: 9407
Author: [email protected]
Date: 2009-08-19 15:11:34 -0700 (Wed, 19 Aug 2009)
Log Message:
Reordering the if-statement in isMeasureFixed() exposed that hostFormat can be null when measure() is called if styles changed and measure is done before the next commitProperties. This states test exposed this.
We should rethink if we want to clear hostFormat rather than have a hostFormatChanged flag. If there is no hostFormat at measure then it has to be fixed because there is no line break format to check for auto-size.
QE notes:
Doc notes:
Bugs: SDK-22779
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22779
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.asOh my god, it is too long! You definitely check out types, casting and especially ODP.Net (it does everything for you)... etc. They can help you to simplify your code. I do not have enough time to copy paste it to Studio and understand and solve your issue, so I got title of your message as your main question.
In Oracle, you can create an autonumber field by using sequences object. This is really useful when you need to create a unique number to act as a primary key.
Basically you can create a sequence simply typing;
CREATE SEQUENCE MY_SEQUENCE;
now you have a sequence called "MY_SEQUENCE"... Then, I advice you select a number from sequence;
select MY_SEQUENCE.nextval from dual;
I said I advice actually kinda must, although it called sequence, I cannot be sequential. Do not even try to predict the value. You can be sure that it is unique number so you can use it.
Then insert you record and use that number part of your primary key. I think that's it. Have fun. -
Problem with changes and visualization in the forms
I have a problem with forms, the problem is the next, I do a modification in the database with a update or with form and in other station no visualized the change. The other station need close the form and open for visualize the modification.
Why I have this problemI am not sure what you mean. Are you saying that after one form changes and commits data, it is not visible on the other user's screen?
If that is the problem, unfortunately, that is the way Forms works. A form must re-query the data to see changes on the database. If your form must close and re-open, then you should create a trigger in your form to re-query the same data.
I hope this helps. -
Report for login and logout time
Dear All,
Please can some one help me urgently.
I have to find out users login and logout time over the last six months. I need to find out how many hours per user are being used. What report do I need to run to find out ?Hi,
Check the system log saved in your system.Normally the basis admin woulfd know better about this .Only they have the access and maintance for it.
Anyways u can try out some other ways also
Profile parameters rslg/local/file
/usr/sap/<SID>/D20/log/SLOG<SAP-instance_number> Specifies the location of the local log on the application server.
Alternatively try to table - SYST
Note: there are many transaction codes that can be accessed only by super users .do tell me if u have one so that i can give you? -
I have created a form in InDesign, exported to a pdf, then created an editable form and saved. When I open the form and make changes and save, then reopen the changes are there. If try to email this form as an attachment after editing, the attachment is always minus the edits. ????
Hi chuck,
If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
Can you please send the form to me at [email protected] so that I can have a look.
Regards,
Rave -
Problem with WHEN-CHECKBOX-CHANGED and ON-POPULATE-DETAILS
I have a detail block with a relationship set up to a second block. In my first block, if I cause an error but the next action I take is to press a checkbox on another record, my error will display and the raise form trigger failure is triggered but the checkbox changes it's value and the cursor is displayed on the record with the error. I didn't want the checkbox to change if an error occurred. I tracked this through the trace and saw the on-populate-details is fired between the error and the when-checkbox-changed trigger. I went through debug and saw because of the erorr, the system will do a 'return' back to the sending action. I beleive this return is causing the when-checkbox-changed to fire. I'm just guessing here. I tried a similar action on another form without a relationship set up. That would eliminate the on-populate-details trigger. When I did a similar error, I got exactly what I was looking for. I caused the error but pressed the checkbox on another record. The error displayed but the checkbox did not change and the cursor returned to the error record. I need the record to have this relationship. Consequently, I need the on-populate-details trigger. Can anyone think of a solution? I'm currently on Forms 6I. We are going to forms 10G in the next few months. But I really need a solution on my current set up. Thanks.
The getNextDatabankRecord() call is at the beginning of my run code. I use one step just for this line code.
Code :
public void run() throws Exception {
beginStep("CHARGEMENT DES DONNEES SUIVANTES");
info("Chargement des prochaines données...");
getDatabank("NouvellesIA").getNextDatabankRecord();
endStep();
Stop the user after this step and goto the finish section should not be a problem...
If I use the "When out of records" option, does it jump directly to the finish section ?
Thanks,
Benoit. -
Session Login and Logout in jsp page
hi
i am developing jsp page
i completed except logout.jsp page
my login page is in Jsp format and then business Logic in servlet and then get method & set method in bean.java
i have login and then it sucess page there i have singout button
if i sign out it should go to login page
how to do
how to make session invalidate
how to get session id
i have one more doubt i should check session invalidate each jsp page
regarding session login and logout in jsp
if anybody knows please give me a piece of code regarding login and logout
Regards
AkshathaThis is part of your filter class now you need login.jsp page
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="Stylesheet" type="text/css" href="/PAS/css/site.css"/>
<title>Automation System | Login Page</title>
</head>
<body>
<div align="center">
<h1>Photint Automation System</h1>
</div>
<br/><br/><br/>
<center>
<table border="1" cellpadding="0" cellspacing="0" width="40%" bgcolor="FFFFFFFF">
<thead>
<tr>
<th align="left" height="30"> <h3> Login</h3></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div align="center">
<form name="LOGIN" action="/PAS/LoginServlet" method="POST">
<table border="0">
<tbody>
<tr>
<td height="15"></td>
<td height="15"></td>
<td height="15"></td>
<td height="15"></td>
</tr>
<tr>
<td height="30"></td>
<td align="right" height="30">User Name : </td>
<td align="left" height="30"><input type="text" name="USERNAME" value="" size="35" /></td>
<td height="30"></td>
</tr>
<tr>
<td height="30"></td>
<td align="right" height="30">Password : </td>
<td align="left" height="30"><input type="password" name="PASSWORD" value="" size="35" /></td>
<td height="30"></td>
</tr>
<tr>
<td height="50"></td>
<td height="50"></td>
<td align="center" height="50"><input type="submit" value="Login" name="Login" /> <input type="reset" value="Reset" name="Reset" /></td>
<td height="50"></td>
</tr>
</tbody>
</table>
</form>
</div>
</td>
</tr>
</tbody>
</table>
</center>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br/><br/><br/>
<center>Copyright © 2009 Photint FZ LLC</center>
<center>Powered by Ali Jamali</center>
<center>Version : 1.0</center>
</body>
</html>And you need loginServlet.java
package com.ali.util.filter;
import com.ali.entity.user.UserEntity;
import com.ali.util.HibernateUtil;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class LoginServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String username = request.getParameter("USERNAME");
String password = request.getParameter("PASSWORD");
if (username == null || username.length() == 0) {
System.err.println(" Username textfeild is empty ..... !");
RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
dispatcher.forward(request, response);
return;
if (UserRegistry.isUserLoggedIn(username)) {
System.out.printf("User [%s] is already logged in. \n", username);
RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
dispatcher.forward(request, response);
return;
UserEntity user = null;
try {
user = (UserEntity) HibernateUtil.load(UserEntity.class, username);
if (user == null || !user.getPassword().equals(password)) {
RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
dispatcher.forward(request, response);
System.err.println(" Password or username is not valid ..... !");
return;
} catch (Exception e) {
e.printStackTrace();
RequestDispatcher dispatcher = request.getRequestDispatcher("Pages/user/LogIn.jsp");
dispatcher.forward(request, response);
return;
HttpSession session = request.getSession();
System.err.println(request.getRemoteAddr());
session.setAttribute("username", user.getFirstName());
session.setAttribute("userType", user.isAdmin());
UserRegistry.logInUser(username);
response.sendRedirect("/PAS/index.jsp");
}finally is you need to just one user can be online at time or need to know how many user & who is online you should at this class also
package com.ali.util.filter;
import java.util.ArrayList;
import java.util.List;
public class UserRegistry {
private static final List loggedInUsers = new ArrayList();
public static void logInUser(String username) {
loggedInUsers.add(username);
public static void logoutUser(String username) {
if (isUserLoggedIn(username)) {
loggedInUsers.remove(username);
public static boolean isUserLoggedIn(String username) {
return loggedInUsers.contains(username);
}If you have any more Q. or any comment , Most welcome
Thanks
Ali Jamali -
In MacBook Pro, where is the "DONE" button to save my editing changes and revert back to the iphoto library?
If you're using the Adjust editing pane there is no Done button. When you done with the editing just click on the Photos button at the top or use one of the arrows at the top to advance to the next photo. No done button required.
OT -
How can I change the account name in iCloud. My email has changed and I want to change it on iCloud.
To change your iCloud ID, go to Settings>iCloud, tap Delete Account, then sign back in with the new ID. This deletes the account and your iCloud data from your device, but not from iCloud. Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account. To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.
To change the ID on your Mac, go to System Preferences>iCloud, sign out, choose Delete for all the prompts (your data will still be in iCloud), then sign back in with the changed ID.
Maybe you are looking for
-
Adding Business Days to a Date to create New Date
I am looking to add a formula to auto calculate a new date, but only want to count business Days. Currently I am using formula to calculate how many days need to be added: //ODD Priority Business Days If left ({DEFECT.PRIORITY}, 1)= "1" then 10 e
-
Help: application I didn't install on computer and I can't find it!
Somehow I ended up with the Opera browser on my Mac. I know I did not install Opera, so I'm wondering if another application installed it. The thing is, it isn't in my Applications folder. The only way I discovered it was there was when right clickin
-
Converting subscription from a country to a region
I recently bought a subscription unlimited calls to landline Germany for 3 months , I wonder if I can convert it to be unlimited calls landline to Europe with paying the difference of money unlimited calls to Germany landline costed 142 SEK , a pric
-
How to make JList scrollable left right?
Hi, How to make JList scrollable left right? Ty.
-
DB Link , ORA - 02083: illegal database name character '-'
Hi, I work for an integration company and right now we are putting together an application that is moving a small subset of data from one db to another. I have created a db link to move the data. However, when I try to compile the procedure, that mov