Forms 6i PopupMenu
Is it possible to change the popupmenu for an item programmatically?
I have a button bar in which I would like to have various actions depending on which tab page I'm on. The only other idea I can think of is to have multiple buttons in the button bar and to display them (or hide them) depending on which tab I've clicked on.
Thanks,
Chad
Chad, I don't think it is possible to change the whole popmenu. However, what you can do is use set_menu_item_property to visable or not depending upon what tab page you are on. Therefore the popmenu has all possible options but you make them visable or not accordingly to your business requirements.
Similar Messages
-
Urgent help required for configuring forms server 6.0
Hi every one/anyone
i will really appreciate if i can get your attention and a little
bit of your help in configuration of Developer Server.
i have similar kind of a problem i hopeany one can shed some
light on it as well.
I am using
Pentium III 450 MHZ 256 MB Ram
NT server 4.0 with Service pack 3.
Oracle 8.1.5
IIS 4 or OAS 4.0.7
Developer 6.0 down loaded from OTN.
Internet Explorer 5.
I have failed to run forms 6.0 on the web, i have tried all the
option
JDK supplied with the Developer 6.0 Software on DOS prompt.
Jinitiator 1.1.7.11
When i run forms from the Designer they work But When i try them
to run form the browser Every thing works the status bar
of the Internet Explorer 5 says applet initialized but the forms
do not show up. when i press the refresh button of the browser
the status bar show applet running and a forms window appear's
but with out showing the form. I have checked from the Java
Console it shows the same error on and again with or without
jinitiator. I have almost tried every setting.
Oracle JInitiator version 1.1.7.11
Using JRE version 1.1.7.11o
User home directory = E:\WINNT\Profiles\Administrator
Proxy Configuration: Manual Configuration
Proxy:
Proxy Overrides: <local>
Opening http://an.ma/web/oracle/forms/engine/Main.class no proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedApplet.class
Opening http://an.ma/web/oracle/ewt/popup/PopupApplet.class
Opening http://an.ma/web/oracle/ewt/popup/PopupOwner.class
Opening http://an.ma/web/oracle/ewt/event/tracking/MouseGrabPr
ovider.class
Opening http://an.ma/web/oracle/ewt/help/HelpCapable.class
Opening http://an.ma/web/oracle/ewt/lwAWT/ImmediatePainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBufferer.class
Opening http://an.ma/web/oracle/ewt/lwAWT/VirtualComponent.class
Opening http://an.ma/web/oracle/ewt/lwAWT/FocusRoot.class
Opening http://an.ma/web/oracle/ewt/lwAWT/KeyProcessor.class
Opening http://an.ma/web/oracle/forms/test/Test.class
Opening http://an.ma/web/oracle/ewt/painter/PaintContext.class
Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent.class
Opening http://an.ma/web/oracle/forms/ui/mdi/MDIContainer.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContainer.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItemContainer.clas
s
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenu.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItem.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/AbstractPainterComponent.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuInvoker.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenu.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuSeparator.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/Desktop.class
Opening http://an.ma/web/oracle/forms/ui/mdi/MDIWindowMenu.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuListener.clas
s
Opening http://an.ma/web/oracle/ewt/popup/PopupFrame.class
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedFrame.class
Opening http://an.ma/web/oracle/ewt/painter/Painter.class
Opening http://an.ma/web/oracle/ewt/popup/PopupHandler.class
Opening http://an.ma/web/oracle/ewt/UIManager.class
Opening
http://an.ma/web/oracle/ewt/UIManager$LookAndFeelInfo.class
Opening http://an.ma/web/oracle/ewt/LookAndFeel.class
Opening
http://an.ma/web/oracle/bali/share/collection/StringKey.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleLookAndFe
el.class
Opening http://an.ma/web/oracle/ewt/laf/basic/BasicLookAndFeel
.class
Opening http://an.ma/web/oracle/ewt/painter/BorderPainter.clas s
Opening http://an.ma/web/oracle/ewt/ColorScheme.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleColorSche
me.class
Opening http://an.ma/web/oracle/ewt/UIDefaults.class
Opening http://an.ma/web/oracle/ewt/HashTableDefaults.class no
proxy
Opening http://an.ma/web/oracle/ewt/MultiUIDefaults.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/basic/ColorizingFilter
.class
Opening http://an.ma/web/oracle/ewt/lwAWT/VComponentPaintConte
xt.class
Opening http://an.ma/web/oracle/ewt/painter/ImagePainter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractPainter.cl
ass
Opening http://an.ma/web/oracle/ewt/laf/basic/PerComponentUIIn
stantiator.class
Opening http://an.ma/web/oracle/ewt/UIInstantiator.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/StatusBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/ComponentUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleStatusBar
Painter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractBorderPain
ter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractWrappingPa
inter.class
Opening http://an.ma/web/oracle/ewt/painter/NullPainter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleUIUtils.c
lass
Opening http://an.ma/web/oracle/ewt/graphics/ImageSet.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBuffer.class
Opening http://an.ma/web/oracle/ewt/plaf/TextUI.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleInsetBord
erPainter.class
Opening http://an.ma/web/oracle/ewt/painter/FixedBorderPainter
.class
Opening http://an.ma/web/oracle/ewt/util/ImmInsets.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/ToolBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleToolBarPa
inter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/ScrollBoxBorder
Painter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/DisabledBGPaint
er.class
Opening http://an.ma/web/oracle/ewt/painter/ColorChange.class
Opening http://an.ma/web/oracle/ewt/painter/FilledRectPainter.
class
Opening http://an.ma/web/oracle/ewt/painter/FGBGColorChange.cl
ass
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleRoundedPa
inter.class
Opening http://an.ma/web/oracle/ewt/graphics/SynthesizingImage
Set.class
Opening http://an.ma/web/oracle/ewt/graphics/NullImageFilter.c
lass
Opening http://an.ma/web/oracle/ewt/painter/ImageSetPainter.cl
ass
Opening http://an.ma/web/oracle/ewt/painter/TextPainter.class
Opening http://an.ma/web/oracle/ewt/painter/TruncatingTextPain
ter.class
Opening http://an.ma/web/oracle/ewt/laf/basic/DisablingPainter
.class
Opening http://an.ma/web/oracle/ewt/laf/basic/StringInstantiat
or.class
Opening http://an.ma/web/oracle/ewt/UIDefaults$DeferredValue.c
lass
Opening http://an.ma/web/oracle/ewt/laf/basic/SingletonUIInsta
ntiator.class
Opening http://an.ma/web/oracle/ewt/lwAWT/SharedPainter.class
Opening http://an.ma/web/javax/swing/JInternalFrame.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/LocaleUtils.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/WindowUtils.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/WindowUtils$ActiveWin
dowTracker.class
Opening http://an.ma/web/oracle/forms/engine/MainBeanInfo.clas s
Opening http://an.ma/web/sun/beans/infos/MainBeanInfo.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedAppletBeanIn
fo.class
Opening http://an.ma/web/sun/beans/infos/BufferedAppletBeanInf
o.class
Opening http://an.ma/web/oracle/ewt/popup/PopupAppletBeanInfo.
class
Opening http://an.ma/web/sun/beans/infos/PopupAppletBeanInfo.c
lass
Opening http://an.ma/web/oracle/ewt/help/HelpProvider.class no
proxy
Opening http://an.ma/web/oracle/ewt/event/AnyEventListener.cla
ss
Opening http://an.ma/web/oracle/forms/ui/FormMouseGrabProvider
.class
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
ainer.class
Opening http://an.ma/web/oracle/forms/engine/Runform.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/MessageHandler.cl
ass
Opening http://an.ma/web/oracle/forms/registry/MessageManager.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow.cl
ass
Opening http://an.ma/web/oracle/ewt/event/tracking/KeyFilterPr
ovider.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopEven
t.class
Opening http://an.ma/web/oracle/ewt/event/EwtEvent.class no
proxy
Opening http://an.ma/web/oracle/ewt/EwtComponent.class
Opening http://an.ma/web/oracle/ewt/scrolling/Scrollable.class
Opening http://an.ma/web/oracle/ewt/dnd/Autoscroll.class no
proxy
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider$Proxy.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericLookAnd
Feel.class
Opening http://an.ma/web/oracle/ewt/laf/generic/SystemColorSch
eme.class
Opening http://an.ma/web/oracle/ewt/laf/generic/FixedColorSche
me.class
Opening http://an.ma/web/oracle/forms/engine/icons/splash.gif
Opening http://an.ma/web/oracle/ewt/graphics/ImageUtils.class
Opening http://an.ma/web/oracle/ewt/graphics/ImageLoader.class
Opening http://an.ma/web/oracle/forms/engine/Splashscreen.clas s
Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent$PaintCtx
t.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericInsetBo
rderPainter.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericRectang
lePainter.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericDesktop
UI.class
Opening http://an.ma/web/oracle/ewt/laf/basic/BasicComponentUI
.class
Opening http://an.ma/web/oracle/ewt/laf/basic/AbstractComponen
tUI.class
Opening http://an.ma/web/oracle/ewt/plaf/DesktopUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/WindowManag
er.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/BaseWin
dowManager.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopList
ener.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/MouseWi
ndowActivater.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/KeyWind
owActivater.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/ModalStyle.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow$Fo
cusTransferComp.class
Opening http://an.ma/web/oracle/ewt/event/tracking/TrackingUti
ls.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
ainer$WindowEnum.class
Opening http://an.ma/web/oracle/ewt/event/ListenerManager.clas s
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopLayo
ut.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericCompone
ntUI.class
Opening http://an.ma/web/oracle/ewt/scrolling/ScrollableExcept
ion.class
Opening http://an.ma/web/oracle/forms/ui/mdi/ActivationTracker
.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/ScrollableAda
pter.class
Opening http://an.ma/web/oracle/ewt/scrolling/arrowBox/ArrowBo
x.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuBar
UI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuBarCo
ntroller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredRowL
ayout.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContain
er$AddLsnr.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuEv
ent.class
Opening http://an.ma/web/oracle/ewt/popup/NoPopupOwnerExceptio
n.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericPopupMe
nuUI.class
Opening http://an.ma/web/oracle/ewt/plaf/PopupMenuUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/PopupMenu
Controller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredColu
mnLayout.class
Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en_
US.class
Opening http://an.ma/web/oracle/forms/engine/RunformBundle.cla
ss
Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en.
class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuIte
mUI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuItemUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemC
ontroller.class
Opening http://an.ma/web/oracle/ewt/painter/AndOrStatePainterS
witcher.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractPainterSwi
tcher.class
Opening http://an.ma/web/oracle/ewt/painter/DirectionalBorderP
ainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/KeyStroke
Painter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemP
ainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelCo
lorChange.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericSelecti
onPainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelTe
xtColorChange.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/DragRedispatc
her.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuSep
aratorUI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuSeparatorUI.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWCheckboxMen
uItem.class
Opening http://an.ma/web/oracle/ewt/thread/Task.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuUI.
class
Opening http://an.ma/web/oracle/ewt/plaf/MenuUI.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/SubmenuIc
on.class
Opening http://an.ma/web/oracle/ewt/painter/PainterJoiner.clas s
Opening http://an.ma/web/oracle/forms/engine/icons/bgnd.gif no
proxy
Opening http://an.ma/web/oracle/ewt/painter/FixedImagePainter.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/HorzMenuC
ontroller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar$Acc
elFilter.class
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider$Disp.class
Opening http://an.ma/web/oracle/forms/handler/UICommon.class
Opening http://an.ma/web/oracle/forms/handler/IHandler.class
Opening http://an.ma/web/oracle/forms/api/IObject.class no
proxy
Opening http://an.ma/web/oracle/forms/handler/FormWindow.class
Opening http://an.ma/web/oracle/forms/engine/RunformException.
class
Opening http://an.ma/web/oracle/forms/net/Connection.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/MessageHandler2.c
lass
Opening http://an.ma/web/oracle/forms/engine/FlushQueue.class
Opening http://an.ma/web/oracle/ewt/util/ClipboardProxy.class
Opening http://an.ma/web/oracle/forms/engine/Registry.class no
proxy
Opening http://an.ma/web/oracle/forms/registry/Registry.dat no
proxy
Opening http://an.ma/web/oracle/forms/registry/default.dat no
proxy
Opening http://an.ma/web/oracle/forms/net/SocketConnection.cla
ss
Opening http://an.ma/web/oracle/forms/net/EncryptedOutputStrea
m.class
Opening http://an.ma/web/oracle/forms/net/EncryptedInputStream
.class
Opening http://an.ma/web/oracle/forms/net/StreamMessageReader.
class
Opening http://an.ma/web/oracle/forms/net/StreamMessageWriter.
class
Opening http://an.ma/web/oracle/forms/engine/Message.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/TerminalMessage.c
lass
Opening http://an.ma/web/oracle/forms/engine/IndexTag.class no
proxy
Opening http://an.ma/web/oracle/forms/net/SingleAccessorQueue.
class
Opening http://an.ma/web/oracle/forms/engine/DeleteMask.class
Opening http://an.ma/web/oracle/forms/engine/FontEntry.class
Forms Applet version is : 4
Opening http://an.ma/web/oracle/forms/engine/DeferredMessage.c
lass
when i press refresh on the ie5 then it says applet started
creates a window inside the browser with borders
but does now show any thing expect a few more lines in the
console window as following
Opening http://an.ma/web/oracle/ewt/util/StringUtils.class
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedPanel.class
Opening http://an.ma/web/oracle/ewt/popup/PopupPanel.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/WaitingDoubleBuffer.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/BalkingDoubleBuffer.class
Opening http://an.ma/web/oracle/ewt/graphics/GraphicUtils.class
Opening http://an.ma/web/oracle/ewt/util/ComponentUtils.class
Opening
http://an.ma/web/oracle/ewt/layout/DirectionalLayout.class
I hope any one can help me. I have been trying to run this thing
for almost 2 months.
bye
nullI had the same problem for the longest time... The problem is
the "SplashScreen" it hangs everything up...
My solution was add this line to your html:
<param name="splashScreen" value="no">
Good luck,
Let me know if that works..
Jeff.
mobeen (guest) wrote:
: Hi every one/anyone
: i will really appreciate if i can get your attention and a
little
: bit of your help in configuration of Developer Server.
: i have similar kind of a problem i hopeany one can shed some
: light on it as well.
: I am using
: Pentium III 450 MHZ 256 MB Ram
: NT server 4.0 with Service pack 3.
: Oracle 8.1.5
: IIS 4 or OAS 4.0.7
: Developer 6.0 down loaded from OTN.
: Internet Explorer 5.
: I have failed to run forms 6.0 on the web, i have tried all
the
: option
: JDK supplied with the Developer 6.0 Software on DOS prompt.
: Jinitiator 1.1.7.11
: When i run forms from the Designer they work But When i try
them
: to run form the browser Every thing works the status bar
: of the Internet Explorer 5 says applet initialized but the
forms
: do not show up. when i press the refresh button of the browser
: the status bar show applet running and a forms window appear's
: but with out showing the form. I have checked from the Java
: Console it shows the same error on and again with or without
: jinitiator. I have almost tried every setting.
: Oracle JInitiator version 1.1.7.11
: Using JRE version 1.1.7.11o
: User home directory = E:\WINNT\Profiles\Administrator
: Proxy Configuration: Manual Configuration
: Proxy:
: Proxy Overrides: <local>
: I hope any one can help me. I have been trying to run this
thing
: for almost 2 months.
: bye
null -
Change font type/style of app.popUpMenu
Hi~~
I am using app.popUpMenu to show an array of items, in which there are some Chinese charaters but they are displayed as "..."
I guess the default font type of the popup menu cannot show these Chinese characters...
Is there any method to change the popup menu font type / style?
Also I tried to change the font of the textfield which populates the popup menu, but it doesn't work...
~~~~ thanks for any suggestions!hi radzmar~ thanks for your advice!
i tried but it cannot solve my problem...all the chinese characters can be shown correctly in the form except this app.popUpMenu
the chinese characters can also be shown in alert message box
any other suggestions >< -
"Java Applet Window" and keeping PopupMenu inside Applet
I just added a JPopupMenu to my Applet, and I want to remove the "Java Applet Window" at the bottom. I know this can be done by making sure the PopupMenu stays inside the Applet area. How can I make it stay inside the Applet area?
Hi Duncan,
thank you for your answer (on Forms Forum, too :-)
In the init function I do
public void init(IHandler handler)
mHandler = handler;
super.init(handler);
// getting the Forms Main class
formsMain = (Main) mHandler.getApplet();
// Accessor to the external frame
formsTopFrame = formsMain.getFrame();
The constructor does
optionPane = new JOptionPane( "some text", JOptionPane.INFORMATION_MESSAGE);
and before the showMessageDialog I put
formsTopFrame.add(optionPane);
but with no effect.
Do you have some more hints?
Regards,
Werner -
Why no Date Selector Form Field
Why has Acrobat Pro not included a date selector as one of their form fields when it is such an important and useful option?
Good question! This is something I've feature requested for some time. There's one for XFA forms created with LiveCycle Designer, Reader for iOS allows the native iOS date selector, and Forms Central forms have one. The problem with Acroforms is a new type of form field would have to be approved by the ISO folks who now control PDF. But it could also be implemented as a JavaScript method, similar to app.popUpMenu, which would allow backwards compatibility.
Please submit a feature request so there's some hope of this being added in the future. In the mean time, it's possible to built a date picker using a collection of form fields, as demonstrated with the free Form Router toolset: http://www.formrouter.com/tools/index.html -
Can you create or fake a Hierarchical Lists in Forms?
I am interested in creating something like this on a form.
Any general help in creating or faking a Hierarchical list in Acrobat forms would greatly be appreciated.
ThanksYou can also create a hierarchical list very similar to that with a custom dialog that you can create via JavaScript, but this and the pop-up menu Gilad mentioned don't get displayed on a page, but only transiently in popups. Such things are usually triggered by the user pressing a button or something similar. Both the app.popUpMenu and app.popUpMenuEx methods and information about custom dialogs are in the Acrobat JavaScript reference that's included in the free Acrobat SDK. Also online here: http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/ww help.htm?href=Introduction_Hel…
-
Add popupMenu to the elements of a jToolBar
Hi all,
I'm trying to add a popupMenu to the images that I have in a jToolBar. So my idea is to show the popupMenu when the user clicks with the secondary mouse button in one of the images. When the user clicks with the primary mouse button the application does another action. I have the ThumbnailAction class that implements it:
private class ThumbnailAction extends AbstractAction
*The icon if the full image we want to display.
private Icon displayPhoto;
private JPopupMenu jPopupMenu1 = new JPopupMenu();
private JPanel topPanel;
private JPopupMenu popupMenu;
* @param Icon - The full size photo to show in the button.
* @param Icon - The thumbnail to show in the button.
* @param String - The descriptioon of the icon.
public ThumbnailAction(Icon photo, Icon thumb, String desc){
topPanel = new JPanel();
topPanel.setLayout( null );
getContentPane().add( topPanel );
// Create some menu items for the popup
JMenuItem menuFileNew = new JMenuItem( "New" );
JMenuItem menuFileOpen = new JMenuItem( "Open..." );
JMenuItem menuFileSave = new JMenuItem( "Save" );
JMenuItem menuFileSaveAs = new JMenuItem( "Save As..." );
JMenuItem menuFileExit = new JMenuItem( "Exit" );
// Create a popup menu
popupMenu = new JPopupMenu( "Menu" );
popupMenu.add( menuFileNew );
popupMenu.add( menuFileOpen );
popupMenu.add( menuFileSave );
popupMenu.add( menuFileSaveAs );
popupMenu.add( menuFileExit );
topPanel.add( popupMenu );
// Action and mouse listener support
enableEvents( AWTEvent.MOUSE_EVENT_MASK );
menuFileNew.addActionListener( this );
menuFileOpen.addActionListener( this );
menuFileSave.addActionListener( this );
menuFileSaveAs.addActionListener( this );
menuFileExit.addActionListener( this );
// displayPhoto = photo;
// The short description becomes the tooltip of a button.
putValue(SHORT_DESCRIPTION, desc);
// The LARGE_ICON_KEY is the key for setting the
// icon when an Action is applied to a button.
putValue(LARGE_ICON_KEY, thumb);
public void processMouseEvent( MouseEvent event )
System.out.println("entra aki cony!");
if( event.isPopupTrigger() )
System.out.println("is popup!");//popupMenu.show( event.getComponent(), event.getX(), event.getY() );
this.processMouseEvent( event );
* Shows the full image in the main area and sets the application title.
public void actionPerformed(ActionEvent e) {
System.out.println("hay evento");
photographLabel.setIcon(displayPhoto);
/* Executable ex = null;
try {
ex.openDocument("C:/Documents and Settings/Administrador/iText/src/com/lowagie/tools/PDF's/pdf3.pdf");
} catch (IOException exc) {
exc.printStackTrace();
StringTokenizer st = new StringTokenizer (getValue(SHORT_DESCRIPTION).toString());
actualPDF =st.nextToken(". ");
actualPDF += ".pdf";
setTitle("Selected document: " + actualPDF);
The problem I have is that the app never goes to processMouseEvent(), I think I have problems with the inheritance or sth else. It would be thankful if somebody can help me, please!!!
Thanks in advance!!!If you want your video to play on anywhere then you don't want Flash. You should be able to use a simple html5 page to play your video and then redirect the user to a new page, or display a new div to get to the form. Here's a good discussion of doing that sort of thing: http://help.videojs.com/discussions/questions/509-videojs-and-passing-an-event-at-the-end- of-the-video You can also look at the regular html video dom reference: http://www.w3schools.com/tags/av_prop_ended.asp
-
Error when starting Adobe Form
I have an Adobe Form which works Ok in the development SAP Portal, but that, when I log in the production portal gives the following error:
Error when reinitializing the form (I guess, it's Error al reinicializar el formulario, in Spanish)
I think maybe there is something missing to transport, or some misconfiguration, but I haven't been able so far to find it...
Can someone give me a hand?
Thank you in advance,
S.Hi,
Can you tell me when does the error message comes? Does it comes when you are trying to open the Form or when you are trying to execute it.
Please check if it is still working in the development box?
Regards,
Susanta -
Data blocks in forms 6i, can not see the data
i have built an application in forms with some data blocks. the blocks a connect to some tables in the db. i have built them connectd as "system". but when i run the applicatio as user x i can do select, insert, update, delete, but i can not se the records in the datablocks (they are empty), but i can do all transactios. why?
First of all, developing from the System schema is not a good idea.
Who owns the tables your form is connecting to? The table owner should create a public synonym for each table name, and also needs to grant user x access to the table. -
SSO to Oracle Forms 6.0 and Oracle Reports 6.0
Hi,
Could somebody please explain how I should implement the SSO so that I can log on a forms application?
Should I use external partner app. ??
How can I parse the right parameters to the forms server ??
thanks,
JeromeHi,
Oracle Forms 6i does not support Advances Security for SQL*Net if this is what your question is. ASO is supported with Forms 9i and above
Frank -
Portal Forms are not getting displayed in the new oracle environment.
Hi All,
The Forms in our Portal applications are not getting displayed after we have done the upgradation of Database in Unix from 8i to 9i. The reports are working fine.The forms that were added as portlets are not getting displayed and other forms that are called thorough links returns error when it is run. The Newly created forms are also not running but returns error. The Portal Version is 3.0.9.8.3. Pls help.
Regards,
TomHi ,
Based on the requirement , check whether the customer contact has been done carried out for the invoice , then possibility it must have gone out of the worklist , chekc whether the Invoice posted in the AR has been transferred to FSCM collection . -
Data is not getting displayed in my form
hi,
i have declared variable to hold amount in that as v_amt type konv-kwert in my program and in form interface in import parameters i gave it the same as v_amt type konv-kwert..............and in text i gave the variable v_amt.............
but it is not getting displayed................Hi!
on the application toolbar on the top a icon is there for Field list on/off.
click on it.
below left hand side field names will be displayed.
now from the import parameter drag that parameter and drop it in the text boc where you are to display it.
try this way.....it can work.....sometimes there is problem when u don't drag and drop the fields from the list box in the text nodes.
Regards. -
Not null and enable or disable column in tabular form
Hi,
Using apex version 4.1 and working on tabular form.
ACT_COA_SEGMENT_MAS is Master table
and
ACT_SEGMENT_VALUES_MAS is detail table
I have entered 8 rows in master table and PARENT_SEGMENT_ID is column in master table which is null able. If i specified PARENT_SEGMENT_ID with value in master table then in detail table there is column PARENT_ID that should not be null and enable.
How i can enable or disable column when in master table PARENT_SEGMENT_ID column is null then in detail table PARENT_ID column should disable and vice versa.
I have created tabular form on Detail table. before insert into the tabular form Check in master table in first entry if PARENT_SEGMENT_ID is not null in first row of master table then in tabular form PARENT_ID should enable and not null able in corresponding to this first row id's lines in tabular form.
Same should check for second row in master table if PARENT_SEGMENT_ID is not null then entered rows with PARENT_ID into tabular form corresponding to 2nd id in master table should not nullable and column should enable in tabular form.
Thanks & Regards
Vedant
Edited by: Vedant on Jan 9, 2013 9:12 PMVedant,
You need to create you own manual tabular form and not use the wizard.
Using APEX_ITEM api you should be build you own form and you will be able to control how you wan to display the rows. (See Link [Apex Item Help|http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_item.htm#CACEEEJE] )
select case when PRIMARY_TABLE_COLUMN is null then APEX_ITEM.DISPLAY_AND_SAVE(3 , DETAIL_COLUMN ) else APEX_ITEM.TEXT(2,detail_column) end "ALIAS" from detail table
Hope that help.
Vivek -
Form feed, null and StringTokenizer
is form feed recognized as null when using the StringTokenizer?
i currently have my StringTokenizer set with a blank space and i am attempting to read until the value is (EOF) null and while it hasMoreTokens. the text file that i am reading from spans across several pages. my code falls out of my loop when it hits the last space on my first page.a form feed (\f) is not a null but that shouldn't be stopping the StringTokenizer, I suspect that the manner in which you're reading in the data may be the culprit. Try to use the BufferedReader class to read your file.
V.V. -
Contact form check boxes will not work on a Tablet
Hi there,
I created a website (Desktop) and a mobile version (Phone). I did not create one for a tablet but have relied on the Desktop version if someone views it on a Tablet.
Here's the thing, I created a contact form with checkboxes. It works great on a desktop (because people check the boxes with their mouse), however, it doesn't work on a Tablet, when you try and check the boxes with your finger.
Help!Please share the site URL.
Maybe you are looking for
-
I cannot import my vCard to iCloud...it shows error.."1 contact could not be imported because there was a problem reading the vCard"
-
How can I uninstall Acrobat 7.1.0 professional
I can not uninstall Acrobat, it always pop a window "internal error 2753 .uninstmanager.dll " ,But i can not reinstall it also. Can anybody tell me how to uninstall acrobat completely? Thanks!
-
Hi I am using this XSLT mapping with the source and target structure as same, since i need to include some constants in it.I am doing more than two nesting for loop. Since it is the same structure it looks simple. But i cannot produce the nested outp
-
Authorization Control on Transaction Type Fields
Hi Friends, I have created 4 customised fields in Complaint Transaction Type. Lets say A1,A2 and B1,B2. Now the requirement is to control the fields based on roles or users. Is this Possible? if yes how? I mean UserA will be able to see and edit fiel
-
Getting message: Cannot complete your request because it's not the right type of document
I am taking a CS6 Photoshop class, I downloaded the data files from cengagebrain.com, my task in the book is to click File on the Menu bar, then click Open, then navigate to the drive and folder where you store you Data Files. When I click the corre