Component checkboxes?
Hi all.
I just want to know if someone has a simple script for
looping over several
checkboxes in a movie.
Tried some from different sites but I wanna know if I´m
missing something.
lets say we have 4-5 checkboxes with a simple button
(component) to trigger
a result that return checked boxes-values (labels).
/tnx.
When you create them, add their references to an Array and
then loop the array.
Similar Messages
-
Flash Component Problem in D11
I have a project where I am using flash component CheckBoxes. I loaded them onto the screen and when I try to make the sprite width of each checkbox wider, the sprite seems to disappear on the stage. If I dont mess with the width, they display just fine and work correctly.
Is this a common error for flash components in director 11? Is it even possible to use lingo to adjust a flash component's sprite width?
BTW - the setting of the Flash Component's sprite width occurs on an exitframe, not on a beginsprite
Any help or info to point me in the right direction woiuld be appreciated.
Thanks guysI specifically asked you for a file with a single component and a script attached that demonstrated what you were reporting. I asked for this so that I didn't have to waste time wading through extraneous code trying to figure out what was at issue.
Your problem is that when you set the width, the height drops to zero. I don't know why. In a simple test case with a single component and a behavior attached that sets the sprite.width in the #beginSprite handler this doesn't happen - the width changes and the (original) height is maintained. Perhaps it's a consequence of makeScriptedSprite() - possibly because there is no sprite in place to start with, and therefore no original height to maintain.
Here is your script "SetStaticProp" with my amendments:
property pMyLinkInfo
property pSetMyFlashProps
property mySprite
on new me, iNum, bSetProps, lInfo
mySprite = sprite(iNum)
pSetMyFlashProps = bSetProps
pMyLinkInfo = lInfo
return me
end
on endSprite me
mySprite = VOID
end
on exitFrame me
if pSetMyFlashProps = 1 then
mySprite.static = not (pMyLinkInfo.enabled)
mySprite.label = pMyLinkInfo.name
tHeight = mySprite.height
mySprite.width = 160
mySprite.height = tHeight
pSetMyFlashProps = 0
end if
end
and here is the amended fragment from your "Generate Link Instance" parent script:
--****Next Line causes CheckBox to go missing********
-- sprite(CheckBoxSnum).width = 160
myScript = script("SetStaticProp").new( CheckBoxSnum, 1, duplicate(myInfo) )
sprite(CheckBoxSnum).scriptInstanceList.add(myScript)
gItemSelectionList.add(myInfo) -
How to keep track of which checkboxes are checked
I have 21 checkboxes on a scene and want a user to have to
pick at least four of them, i will then use the ticked checkboxes
to bring data back from a database. My question is how do i keep
track of which checkboxes are clicked so i can put them in to a sql
statement like this?
select * from table where title in (checkbox1, checkbox2,
checbox13);
And how do i make sure the user has picked four boxes before
being allowed to leave the current frame?
EDIT: sorry this is probably in the wrong forum it should go
under basics, but instead of posting the thread there can someone
please reply to it here, thank you.i am using flash component checkboxes, i tried to come up
with my own way to do this i am doing different:
on CheckBoxState -- name of custom handler
TickedBoxes = [] -- a empty list will be filled where ever a
checkbox is ticked
CheckBoxNames = ["dr no", "from russia","goldfinger",
"thunderball", "you only live" ]
-- the above is a list containing the names of all my
checkboxes
repeat with i = 1 to 5 - repeat for each checkbox
CurrentCheckbox = CheckBoxNames
-- used to keep track of which box is checked this sets
currentcheckbox to value of i, i is a checkbox from checkboxname
list
if the hilite of member(CurrentCheckbox) then -- if
currentcheckbox hilite is true (checked)...
append(TickedBoxes, CurrentCheckbox) -- ... add
currentcheckbox to the tickedboxes list
end if
end repeat -- end repeat
return TickedBoxes -- return the list of checked boxes
end
on mouseUp me -- on mouse click
choosenBoxes = me.CheckBoxState() -- chosenboxes is a
variable calls the handler on it
-- will put sql here
end
this is the only script i have which is attahced to my
submit button, but for some reason when i try to trace the results
in the message window it always return void can anybody tell me
what i am doing wrong? -
How to use own paintComponent in DefaultCellEditor
Hello,
I implemented my own cell editor for checkbox. The code works, but I want to change the painting of the editor. How can I do this? Can I override the painComponent method of the checkbox in the CellEditor class?
(See my actual code below.)
Thanks!
import javax.swing.DefaultCellEditor;
import javax.swing.JCheckBox;
import java.awt.Component;
import javax.swing.JTable;
public class CheckBoxEditor extends DefaultCellEditor {
JCheckBox component;
boolean cellValue = false;
public CheckBoxEditor(JCheckBox checkBox) {
super(checkBox);
component = checkBox;
public Component getTableCellEditorComponent(JTable table, Object value,
boolean isSelected, int row,
int column) {
if (Boolean.TRUE.equals(value)) {
cellValue = true;
component.setSelected(cellValue);
else {
cellValue = false;
component.setSelected(cellValue);
return component;
public Object getCellEditorValue() {
return ((JCheckBox)component).isSelected();
}Can I override the painComponent method of the checkbox in the CellEditor class?Does the DefaultCellEditor class have a "paintComponent" method? You can't override a method if the class doesn't contain that method.
If you want to override the paintComponent(...) method of JCheckBox then you need to create a class with the following signature:
public class CheckBoxEditor extends JCheckBox implements TableCellEditor -
How can I enable item level security on a menu?
I would like different users to see only parts of a menu.
Portal 3.0.8.9.2
I unchecked the "Inherit from Component" checkbox and can grant security to the menu as a whole, but not to a submenu or item. Is this possible?
Thanks,
GaryHi Gary
Although we are using version 3.0.9.8.1 I don't think that this makes the difference. For me there is a certain contradiction between your basic question and your actual answer.
My conclusion: In the matter of fact you didn't uncheck the 'inherit from component' checkbox in the develop tab, but the 'inherit from application' one in the access tab,
what is wrong and doesn't help to solve your problem!
Find the 'inherit from component' checkbox - by editing the top level menu - near checkboxes like 'inherit from component' under COMMON OPTIONS like e.g. 'Show Timing' or 'Log Activity' and uncheck it. The SECURITY 'multi select box' is shown immediately.
Hope this helps!
Thanks
Peter -
I would like rename the fields of the classes java in the file of configuration XML, to remove for example the prefix in the name of the classes.For example if my table appele TRF_ACTOR Toplink workbench will be called it TrfActor. I would like that it appele Actor.
There is a tool to do it automatically?
Thank you by advanceHello,
I read this mail and I'm interessed to know if the problem was solved. I'm working with Delphi7 and I found the same problem, in my case I renamed the classes during the ActiveX importing (TButton with TS_TButton, this for each class), but I have troubles with the TSequenceView and TCheckBox classes. In fact when I want to insert the components in the form these errors are displayed:
1. Component SequenceView: Access violation at address 05BD29F2 in module 'Seqview.dll'. Read of address 0000046C.
2. Component CheckBox: Access violation at address 00000000 in module 'Seqview.dll'. Read of address 00000000.
I would like to develop an User Interface in Delphi7 using the Activex controls 'NI TestStand UI Controls 3.1'.
Thank you for your help!
Best regards! -
Error compiling the proyect in a new instalation
Hi,
i have to install my Studio creator 2.1 in a new machine, and after i have done the installation with any king of problem, but when i have trying to compile the project that i already have working in the debug windows trows the errors, and is imposible to continue deploying in the appserver 8.0
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Compiling 28 source files to C:\Espaceland\Aplicacion\Emasa\build\web\WEB-INF\classes
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:10: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Body;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:11: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Form;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:12: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Head;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:13: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Html;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:14: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Link;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:15: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Page;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:19: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Table;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:20: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.TableRowGroup;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:21: package com.sun.rave.web.ui.model does not exist
import com.sun.rave.web.ui.model.DefaultTableDataProvider;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:22: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.TableColumn;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:23: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.StaticText;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:24: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Checkbox;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:25: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.Button;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:26: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.TextField;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:28: package com.sun.rave.web.ui.component does not exist
import com.sun.rave.web.ui.component.DropDown;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:29: package com.sun.rave.web.ui.model does not exist
import com.sun.rave.web.ui.model.SingleSelectOptionsList;
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:82: cannot find symbol
symbol : class Page
location: class emasa.ConfiguracionInformes
private Page page1 = new Page();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:84: cannot find symbol
symbol : class Page
location: class emasa.ConfiguracionInformes
public Page getPage1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:88: cannot find symbol
symbol : class Page
location: class emasa.ConfiguracionInformes
public void setPage1(Page p) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:92: cannot find symbol
symbol : class Html
location: class emasa.ConfiguracionInformes
private Html html1 = new Html();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:94: cannot find symbol
symbol : class Html
location: class emasa.ConfiguracionInformes
public Html getHtml1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:98: cannot find symbol
symbol : class Html
location: class emasa.ConfiguracionInformes
public void setHtml1(Html h) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:102: cannot find symbol
symbol : class Head
location: class emasa.ConfiguracionInformes
private Head head1 = new Head();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:104: cannot find symbol
symbol : class Head
location: class emasa.ConfiguracionInformes
public Head getHead1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:108: cannot find symbol
symbol : class Head
location: class emasa.ConfiguracionInformes
public void setHead1(Head h) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:112: cannot find symbol
symbol : class Link
location: class emasa.ConfiguracionInformes
private Link link1 = new Link();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:114: cannot find symbol
symbol : class Link
location: class emasa.ConfiguracionInformes
public Link getLink1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:118: cannot find symbol
symbol : class Link
location: class emasa.ConfiguracionInformes
public void setLink1(Link l) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:122: cannot find symbol
symbol : class Body
location: class emasa.ConfiguracionInformes
private Body body1 = new Body();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:124: cannot find symbol
symbol : class Body
location: class emasa.ConfiguracionInformes
public Body getBody1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:128: cannot find symbol
symbol : class Body
location: class emasa.ConfiguracionInformes
public void setBody1(Body b) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:132: cannot find symbol
symbol : class Form
location: class emasa.ConfiguracionInformes
private Form form1 = new Form();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:134: cannot find symbol
symbol : class Form
location: class emasa.ConfiguracionInformes
public Form getForm1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:138: cannot find symbol
symbol : class Form
location: class emasa.ConfiguracionInformes
public void setForm1(Form f) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:242: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
private Table table1 = new Table();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:244: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
public Table getTable1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:248: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
public void setTable1(Table t) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:252: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
private TableRowGroup tableRowGroup1 = new TableRowGroup();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:254: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
public TableRowGroup getTableRowGroup1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:258: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
public void setTableRowGroup1(TableRowGroup trg) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:262: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn1 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:264: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:268: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn1(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:272: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
private StaticText staticText1 = new StaticText();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:274: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
public StaticText getStaticText1() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:278: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
public void setStaticText1(StaticText st) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:282: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn2 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:284: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:288: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn2(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:292: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
private StaticText staticText2 = new StaticText();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:294: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
public StaticText getStaticText2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:298: cannot find symbol
symbol : class StaticText
location: class emasa.ConfiguracionInformes
public void setStaticText2(StaticText st) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:342: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
private Button agregar = new Button();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:344: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public Button getAgregar() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:348: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public void setAgregar(Button b) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:352: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
private TextField m_Descripcion = new TextField();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:354: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public TextField getM_Descripcion() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:358: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public void setM_Descripcion(TextField tf) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:382: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
private TextField m_Codigo = new TextField();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:384: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public TextField getM_Codigo() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:388: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public void setM_Codigo(TextField tf) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:392: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
private Table table2 = new Table();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:394: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
public Table getTable2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:398: cannot find symbol
symbol : class Table
location: class emasa.ConfiguracionInformes
public void setTable2(Table t) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:402: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
private TableRowGroup tableRowGroup2 = new TableRowGroup();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:404: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
public TableRowGroup getTableRowGroup2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:408: cannot find symbol
symbol : class TableRowGroup
location: class emasa.ConfiguracionInformes
public void setTableRowGroup2(TableRowGroup trg) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:412: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn3 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:414: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn3() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:418: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn3(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:422: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn4 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:424: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn4() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:428: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn4(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:432: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn5 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:434: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn5() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:438: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn5(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:442: cannot find symbol
symbol : class DropDown
location: class emasa.ConfiguracionInformes
private DropDown listaInformes = new DropDown();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:444: cannot find symbol
symbol : class DropDown
location: class emasa.ConfiguracionInformes
public DropDown getListaInformes() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:448: cannot find symbol
symbol : class DropDown
location: class emasa.ConfiguracionInformes
public void setListaInformes(DropDown dd) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:452: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
private Button agregar2 = new Button();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:454: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public Button getAgregar2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:458: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public void setAgregar2(Button b) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:462: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
private TextField m_CampoModulo = new TextField();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:464: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public TextField getM_CampoModulo() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:468: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public void setM_CampoModulo(TextField tf) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:472: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
private TextField m_CampoDescripcion = new TextField();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:474: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public TextField getM_CampoDescripcion() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:478: cannot find symbol
symbol : class TextField
location: class emasa.ConfiguracionInformes
public void setM_CampoDescripcion(TextField tf) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:482: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn6 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:484: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn6() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:488: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn6(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:492: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
private Button modificar2 = new Button();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:494: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public Button getModificar2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:498: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public void setModificar2(Button b) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:502: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
private TableColumn tableColumn7 = new TableColumn();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:504: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public TableColumn getTableColumn7() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:508: cannot find symbol
symbol : class TableColumn
location: class emasa.ConfiguracionInformes
public void setTableColumn7(TableColumn tc) {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:512: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
private Button eliminar2 = new Button();
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:514: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public Button getEliminar2() {
C:\Espaceland\Aplicacion\Emasa\src\emasa\ConfiguracionInformes.java:518: cannot find symbol
symbol : class Button
location: class emasa.ConfiguracionInformes
public void setEliminar2(Button b) {
100 errors
C:\Espaceland\Aplicacion\Emasa\nbproject\build-impl.xml:233: The following error occurred while executing this line:
C:\Espaceland\Aplicacion\Emasa\nbproject\build-impl.xml:122: Compile failed; see the compiler error output for details.
GENERACIÓN INCORRECTA (tiempo total: 6 segundos)
Edited by: Salvador_merino on Nov 20, 2008 9:22 AMI had some problems one time when the "object" userexits was locked in another transport request by another developer. The error message was pretty close to yours (don't remember the wording, been some weeks), and only by debugging the error message I found out what was happening. Could that be the problem? All development in that area has to go into one single request, until that one is released at least.
Regards,
Thomas -
Hi All
Please tell if this possible in Oracel Portal. I have a menu with 2 submenus & 2 reports as links in the main menu. Currently i have 2 portal users who access this menu. Both of them can access all teh 4 components(2 sub menus & 2 reports) . What i want to acheive is to disable access to 1 sub menu & 1 report from 1 portal user . Something like it should appear on screen but be disabled.
Kindly reply
Regards
SushantHi,
You can do this using item level privileges. All you have to do is, at design time uncheck "inherit from component" checkbox and this would bring up a list of users and groups. Selecting these users / groups will grant execute privilege on that menu item to the selected users /groups.
Hope this helps
Thanks,
Sharmila -
Problem with checkbox on table component
Hello i am having a problem with checkbox in table component
i am developing something like a shopping cart app and i have a checkbox in my table component , i want users to select items from the checkbox to add to thier cart, They can select the items from cartegory combobox , my problem is when they select the items from the checkbox if they select another category the alread selected once do not display in my collection opbject please how can i maintain the state of the already selected items in my collection objectHi,
Please go through the tutorial "Understanding scope and managed beans". This is available at:
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
The details of the selected items need to be stored in an object that is in session scope.
Hope this helps
Cheers
Girish -
How can i uncheck a checkbox in table component on clicking a button
In my application I have a table component that display data from the database and a submit button outside the table component, the first column in the table component is a checkbox, How can i uncheck the checkbox in the table component when the submit button is clicked?
Thanks in advance.Something like this ... I THINK it will uncheck all checkboxes in table, but I'm not positive ... you can test!
if checkbox id is checkbox1...
<script type="text/javascript"><![CDATA[
function disableCheckbox()
document.getElementById('form1:checkbox1').selected = false;
}]]></script>Put above code inside of head tag in JSP View
NEXT...
go to Design View and select your button and go to properties section and select onClick property and insert this javascript in dialog...
setTimeout('disableCheckbox()', 1)Now run the project when you click the button does the checkbox become unselected?
Anyway this is where I would start...as far as selecting just the first checkbox if there is more than 1 record...I'm not sure...but I'm curious if this works.
Jason -
Problem: CheckBox component into DataGrid
Hello, this is my first post on this forum. This is my
problem:
First, i select a checkbox included into the DataGrid
(populated with DataSet--->XMLConnector), but when i rollover
the mouse on the check component, the checkbox turn off
(deselected) automatically, and the value all time is "undefined";
if i click, the checkbox turn selected (true), but when i rollout,
automatically change to deselected.
I use cellrenderer api to include the chackbox, the column of
the checkbox not need DataSet data.
Please, helpme. Thanxs.
P.D. Sorry, my english isn`t good.don't use getNextHighestDepth().
-
Generated pdf file from shared component missing checkbox
I have created a report queries under shared component. The output format is pdf. I have created a rtf template. In the template, I have to insert a checkbox. At first it didn't work, then I have added Checkbox shows fine when I preview the report using Microsoft Word (Add-Ins). I have added following two lines in the xdo.cfg file (under C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config):
<truetype path="C:\WINDOWS\fonts\wingding.ttf" /> and
<property name="rtf-checkbox-glyph">Wingdings;0254;0168</property>
After that, when I view output from word, it shows checkbox correctly. However, when I click Test Report button from Apex, everything looks fine except missing checkbox. It shows ? symbol instead of checkbox symbol. So something must been done in apex server side. Does anyone know how to config in the apex server side to make checkbox show up in the pdf file? Thanks advance.You need to setup BI Publisher. Follow the instuctions at http://chandramatta.blogspot.com/2009/10/bi-publisher-how-to-print-check-box-on.html
-
I have field in one of my VO which can contain only two values "Y" and "N". Now i created bounded query component by dragging All querable attributes for that VO to jspx page. I mentioned UI control type checkbox for this field. But now i m not finding any help how to map "true" to "Y" and "false" to "N" because checkbox is selected, it assigns value "true" but i have in db is "Y" for that. Kindly help me. I also tried to intercept query programmatically in my ViewObjectImpl class by overriding executeQueryForCollection but did not gain success because i was not able to find parameter there.
OK, you guys are correct - I should read the question a bit better before answering - I just saw the buzzword "transient attribute" in mkonio's answer and responded to that. I do believe that mkonio's solution will work; if you expect to do that type of query a lot, you may have to look into creating a function-based index in the database for performance reasons. I haven't dived into the inner workings of the af:query component too much yet, but it looks like the Query Descriptor object is where this kind of magic could happen, although I can't yet see an obvious way to customize/extend the inferred internal one that Oracle provides for business components. Perhaps someone else can comment on that?
Best,
John -
Multiline checkbox / radio button component
We're now up to Flash version 8 and we still don't have a
multiline checkbox / radio button component. Has anyone either:
a. Figured out how to add a multiline text label to the
existing Flash components; or
b. Found a third party component that has multiline labels.
I'm a developer for an eLearning company, so we use these
components all the time; so having this would be a huge plus.
Frankly, it's simply beyond me why Macromedia...er...Adobe hasn't
upgraded their components to have this feature. It seems like it
wouldn't be a big thing.
Anyway, any help you can provide would be most welcome.
Cheers,
AdamHopefully this might help.
http://livedocs.adobe.com/flash/mx2004/main_7_2/00002108.html -
Rollover for checkbox component
I'm working with the CheckBox component for making a quiz.
I've got CB components labeled A, B, C, etc. with a textfield next
to them with the various possible answers. I want to have it so
that the user can rollover or click the answer text to check off
their answers just as if they had hit the tiny little check box.
I've got the checking/unchecking part working. But I would
also like for rolling over the text to provide the same visual
feedback as moving the pointer over the checkbox. And here I run
into a dead end. I can't quite figure out how to do this.
Poking around a bit I found that if I set the checkboxes
phase to rollover and invalidate() it I will see the result I
expect. But I'm not sure if that is causing other problems.
Anybody know the "right" way to do this?wow rock - i suppose that you don't want to make the field
into a MC and use handlers for every one of them - and I'm betting
that you've built a dynamically propagated system. thought about
skinning them? with the field - seems like you'd have to modify the
base class then though. but I'm not sure how that would work either
- might be able to extend the class to handle text entry into the
field and maybe a glow filter to simulate the halo effect? i don't
know - just throwin stuff out there :)
Maybe you are looking for
-
Problem with win2000sp3 and Java web start
I have JRE and Java web start (1.2.0_01, build b01) which come downloading file j2re-1_4_1_01-windows-i586-i.exe from sun. I have win2000pro running on my PC. I had updated win2000 to service pack 2 and everything was fine. Now i decided to update to
-
FIREFOX 3.6.3 FOR MAC 10.4.11 tiger NO 3RD PARTY COOKIE BLOCK
FIREFOX 3.6.3, IDK if this is an update from what I had but it used to be on firefox I could block 3rd party cookies, now, even though I have found directions about how to do it, those choices are not showing up on my computer and so every cookie und
-
ITunes won't install or uninstall. :(
Howdy one and all, I've scoured your forums for an answer but I'm not really getting anywhere. :/ I wanted to install iTunes 7 to help fix my ipod (which subsequently fixed itself) but this message comes up each time. So I removed Quicktime from the
-
Selection checked for field HKONT in RSA6 / not possible
Hello gurus, I want to make the filed HKONT in datasource 0FI_GL_4, selection as checked in tcode RSA6 . but it appears to be grey. any clue how I can achieve the same. thanks in advance
-
Mac Book Battery not charging....
Hello All My Battery wont charge and instead works on direct power with green light on the charger. Here is the status...It says check battery . What should i do now ? Model Information: Serial Number: DP-ASMB016-375d-2845 Manufacturer: