Submit to is blank
I've spent about a day and a half trying to setup a qmaster network up and running. With no success. I can get qmaster to que up multiple scenes, but they will only render using my computer.
I've now set up a quad g5 as the Services and Controller and manually added his processors to the cluster. The Qmaster Administrator on my machine, with sharring set to services, will show other Clusters, but when I load Apple Qmaster to submit a file, the Submit is blank.
Any ideas?
Mac OS X (10.4.5) Qmaster
I think the issue is something that I was stuck on when I first started playing with QMaster.
The mistake you might be making is in making each client computer a Cluster. That is NOT what you want to do.
In the QMaster Preference Pane on EACH SERVICE NODE (a processor computer that is not the Services Controller {in your case, the G5 Quad} ) set to Services Only. AND make sure they are MANAGED.
Then, do the same on the G5, except, make it SERVICES AND CLUSTER CONTROLLER but ALSO make it MANAGED.
Now, on the G5 launch Apple QAdministrator. THIS is where you will make the Cluster. Remember, you have a Services Controller and a bunch of services only computers available. Making them MANAGED should make them appear as available to assign to a Cluster in QAdministrator.
Click the left most + sign and make a Cluster name. Click Apply to save it. Now select it and you can drag computers to. Click Apply when you've added them all and then quit.
NOTE: You have to turn off the FIREWALL setting in the Sharing Preference Pane on EACH COMPUTER or they will Beachball Spin and crash QAdministrator.
NOW, you should have only ONE specific Cluster available.
What program are you Primarily using this for? FCP, Compressor, Shake, other?
Regardless, if you submit a batch with the QMaster program there should only be ONE Cluster to choose from. The other choice will be THIS COMPUTER. But you want the Cluster you named in Apple QAdministrator.
I hope this was helpful. Good luck.
Similar Messages
-
In LIVECYCLE DESIGNER how do I code a submit button to only submit one page of a multipage PDF
I have a multipage PDF I've designed in Livecycle and have print and submit buttons on each unique form in the document. I am able to create code (which I've copied from someplace) that allows only one page to print but when I click the submit button it wants to submit the entire document. PS - I created the Submit from the blank button and have it set to submit PDF not XML.
I don't think you can submit just a page of your PDF like you printed just a page. The difference is that when you print, the PDF becomes dots on paper, while when you submit a PDF it must remain completely intact to be machine readable, especially since the forms on a LiveCycle (XFA) document can have complex dependencies between pages.
-
I'm using cfgrid in flash format with CFMX7. Let's see if I
can explain this in a way that will make at least a little bit of
sense. If I submit a row into the cfgrid with some columns left
blank, when I go back into the grid to add values in those blanks,
I can see my text while editing but if I move to another column,
the text I entered in the last column is gone. If I submit, the
text gets entered into the database so I know it was entered into
the column, I just couldn't see it. Its not a problem when I insert
a new row - I can insert a new row and add values to the row and
see what I added. It only happens when I submit a row blank and
then go back in at a later date to enter info into those blanks. Is
this a bug with cfgrid?Not sure if you got this already, but I achieved this when
binding to a CFC. One of the required parameters is "pagesize". I
do a quick check to see if query.recordCount is less than
"pagesize" and if it is, set pagesize = query.recordCount (see code
attached)
Cheers,
Davo -
Hi, I'm creating a Boggle game in Java and I'm in need of help importing what outputs on the 'status' into the JTextArea called 'textL' which is the left text area of the program. If you run the program, it should show a main panel with two text area on each side. I just need words to be sent to the left text area when the 'Submit' or 'Reset' button is clicked. I'm just trying to test out the JText to make sure it works. I've tried coding it myself in the AcitionPerform method, but had no luck. What I have tested was calling my 'text'(JText variable) and having it setText("asdf") when 'button' is clicked, there's not output into the text area.
All help is greatly appreciated.
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
// Your Class
public class Boggle extends JPanel implements ActionListener {
public final static int NUM_ROWS_COLUMNS = 5;
private JButton reset;
private JButton submit;//submit
// private JButton clrwrd;
private JButton arrayofButtons[][] = new JButton[NUM_ROWS_COLUMNS][NUM_ROWS_COLUMNS];
private JLabel status;
private JLabel messStatus;
private JTextArea textL;
private JTextArea textR;
private JButton prevButton;
private int prevRow, prevCol;
private Lexicon lex = new Lexicon("ENABL.txt");
// Your Constructor
public Boggle() {
BoxLayout ourLayout = new BoxLayout(this, BoxLayout.X_AXIS);
setLayout(ourLayout);
JScrollPane scrollLeft = new JScrollPane(buildTextAreaLeft());
scrollLeft.setVerticalScrollBar(scrollLeft.createVerticalScrollBar());
scrollLeft.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
JPanel MainAreaPanel = new JPanel();
MainAreaPanel.setLayout(new BoxLayout(MainAreaPanel, BoxLayout.Y_AXIS));
// MainAreaPanel.setPreferredSize(new Dimension(1000, 1000));
add(scrollLeft);
add(MainAreaPanel);
JScrollPane scrollRight = new JScrollPane(buildTextAreaRight());
scrollRight.setVerticalScrollBar(scrollRight.createVerticalScrollBar());
scrollRight.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
add(scrollRight);
MainAreaPanel.add(buildMainPanel());
MainAreaPanel.add(buildControlPanel());
MainAreaPanel.add(buildMessagePanel());
//Right JTextArea
private JTextArea buildTextAreaRight(){
JTextArea textR = new JTextArea();
textR = new JTextArea();
textR.setPreferredSize(new Dimension(300,200));
textR.setBorder(BorderFactory.createLineBorder(Color.black));
textR.setLineWrap(true);
textR.setEditable(true);
return textR;
//Left JTextArea
private JTextArea buildTextAreaLeft(){
JTextArea textL = new JTextArea();
textL= new JTextArea();
textL.setPreferredSize(new Dimension(300,200));
textL.setBorder(BorderFactory.createLineBorder(Color.black));
textL.setLineWrap(true);
textL.setEditable(true);
return textL;
// Your MainPanel
private JPanel buildMainPanel() {
JPanel panel = new JPanel();
GridLayout gridLayout = new GridLayout(0, NUM_ROWS_COLUMNS);
panel.setLayout(gridLayout);
for (int row = 0; row < arrayofButtons.length; ++row)
for (int column = 0; column < arrayofButtons[0].length; ++column) {
char letters = (char)(Math.random()*26+65);
// System.out.println(letters + 0);
arrayofButtons[row][column] = new JButton();
arrayofButtons[row][column].setBackground(Color.white);
arrayofButtons[row][column].setText(letters+"");// Set your letters
// in boxes.
arrayofButtons[row][column].setPreferredSize(new Dimension(100, 100));
arrayofButtons[row][column].addActionListener(this);
// Use actionCommand to store x,y location of button
arrayofButtons[row][column].setActionCommand(Integer.toString(row)+ " " + Integer.toString(column));
panel.add(arrayofButtons[row][column]);
// JTextArea textA = new JTextArea();
// panel.add(textA);
// BoxLayout ourLayout = new BoxLayout(textA, BoxLayout.X_AXIS);
// textA.setLayout(ourLayout);
// textA.setPreferredSize(new Dimension (100, 50));
return panel;
* Called when user clicks buttons with ActionListeners.
public void actionPerformed(ActionEvent e) {
JButton button = (JButton) e.getSource();
if (button == reset){
status.setText("");
for (int row = 0; row < arrayofButtons.length; ++row)
for (int column = 0; column < arrayofButtons[0].length; ++column){
char letters = (char)(Math.random()*26+65);
arrayofButtons[row][column].setText(letters+"");
arrayofButtons[row][column].setBackground(Color.white);
prevButton = null;
messStatus.setText("");
else if (button == submit){
boolean b = lex.contains(status.getText());
// System.out.println(lex); // checking what came in.
if (b==true){
messStatus.setText("'" + status.getText() + "'" + " found. ");
status.setText("");
textL.setText(status.getText());
for (int row = 0; row < arrayofButtons.length; ++row)
for (int column = 0; column < arrayofButtons[0].length; ++column){
arrayofButtons[row][column].setBackground(Color.white);
prevButton = null;
if (b!=true){
messStatus.setText("'" + status.getText() + "'" + " not found. ");
status.setText("");
for (int row = 0; row < arrayofButtons.length; ++row)
for (int column = 0; column < arrayofButtons[0].length; ++column){
arrayofButtons[row][column].setBackground(Color.white);
prevButton = null;
else {
String rowColumn[] = button.getActionCommand().split(" ");
int row = Integer.parseInt(rowColumn[0]);
int column = Integer.parseInt(rowColumn[1]);
if(prevButton == null){
prevButton = button;
prevRow = row;
prevCol = column;
arrayofButtons[row][column].setBackground(Color.orange);
status.setText(status.getText()+ arrayofButtons[row][column].getText());
else{
int dist = (int)Math.pow((prevRow - row)*(prevRow - row) + (prevCol - column)*(prevCol - column),0.5);
if(dist == 1 && button.getBackground() == Color.white ){
prevButton.setBackground(Color.green);
arrayofButtons[row][column].setBackground(Color.orange);
status.setText(status.getText()+ arrayofButtons[row][column].getText());
prevButton = button;
prevRow = row;
prevCol = column;
* when submit button is clicked, grab status and place in messStatus
// Your Control Panel
private JPanel buildControlPanel() {
JPanel panel = new JPanel();
BoxLayout ourLayout = new BoxLayout(panel, BoxLayout.X_AXIS);
panel.setLayout(ourLayout);
//Your reset button
reset = new JButton("Reset");
reset.addActionListener(this);
panel.add(reset);
//distance of status from Reset button
JPanel space = new JPanel();
space.setPreferredSize(new Dimension (10,10));
panel.add(space);
//Your status label
status = new JLabel();
panel.add(status);
//the distance from Reset button to Submit button
JPanel blank = new JPanel();
blank.setPreferredSize(new Dimension(400, 30));
panel.add(blank);
//your Submit button
submit= new JButton("SUMBIT");
submit.addActionListener(this);
panel.add(submit);
//button panel
panel.add(Box.createHorizontalGlue());
JLabel statusLabel = new JLabel();
panel.add(statusLabel);
panel.setBorder(BorderFactory.createLineBorder(Color.black));
return panel;
private JPanel buildMessagePanel(){
JPanel messPanel = new JPanel();
BoxLayout ourLayout = new BoxLayout(messPanel, BoxLayout.X_AXIS);
messPanel.setLayout(ourLayout);
messPanel.setPreferredSize(new Dimension(100,50));
messStatus = new JLabel();
messPanel.add(messStatus);
return messPanel;
// create and show GUI
private static void createAndShowGUI() {
// Create and set up the window.
JFrame frame = new JFrame("BoggleUI");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Add contents to the window.
frame.add(new Boggle());
// Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
// Schedule a job for the event-dispatching thread:
// creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}Edited by: user13813121 on Mar 22, 2011 8:39 AMI found this code, which is not so different from mine, but a lot simpler easier to understand. I just don't know how this code works even without implementing the Policies for JScroll.
import java.awt.*;
import javax.swing.*;
public class scrollDemo extends JFrame {
//============================================== instance variables
JTextArea _resultArea = new JTextArea(6, 20);
//====================================================== constructor
public scrollDemo() {
//... Set textarea's initial text, scrolling, and border.
_resultArea.setText("Enter more text to see scrollbars");
_resultArea.setLineWrap(true);
JScrollPane scrollingArea = new JScrollPane(_resultArea);
//... Get the content pane, set layout, add to center
JPanel content = new JPanel();
content.setLayout(new BorderLayout());
content.add(scrollingArea, BorderLayout.CENTER);
//... Set window characteristics.
this.setContentPane(content);
this.setTitle("TextAreaDemo B");
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.pack();
//============================================================= main
public static void main(String[] args) {
JFrame win = new scrollDemo();
win.setVisible(true);
} -
How to make form register in adobe edge?
hy, how to make coding form register in adobe edge? please help me
hy, master uboss..
could i ask again?
i was tried it as your suggestion but after i fill it data still cant send to database..
could you give some suggestion longer?
file connection.php
<?php
$host = "localhost";
$user = "root";
$password = "";
$database = "register";
mysql_connect($host,$user,$password) or die ("database tidak terhubung, cek koneksi");
mysql_select_db($database);
?>
file proses.php
<?php
include "koneksi.php";
$password=$_POST['password'];
$username=$_POST['username'];
$email=$_POST['email'];
$fullname=$_POST['fullname'];
$query=mysql_query("insert into daftar(password, username, email, fullname)
value('$password','$username','$email','$fullname')");
if($query){
echo "Data Berhasil ditambah";
?><a href="/bukutamu.php"> Lihat Data Masuk</a><?php
}else{
echo "Gagal input data";
echo mysql_error();
?>
file login.php
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<title>Senza nome</title>
<!--Adobe Edge Runtime-->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<script type="text/javascript" charset="utf-8" src="login_edgePreload.js"></script>
<style>
.edgeLoad-EDGE-1488021 { visibility:hidden; }
</style>
<!--Adobe Edge Runtime End-->
</head>
<form action="proses.php" method="POST">
<body style="margin:0;padding:0;">
<div id="Stage" class="EDGE-1488021">
</div>
</form>
</body>
</html>
after submit
database---->>> stil blank... -
Text not displaying on components
I have one swf file where im using the default textInput and
button components. Just so the user can enter a zip code and click
submit. When i publish that swf, everything looks fine. The problem
is that i am loading that swf into a master swf and when i view it
through the master swf, it displays the components without text.
The submit button is blank, it should say 'submit' on it, and no
characters display when you type into the textInput component. I am
able to type characters and submit the form, but i can't see what
im typing. I've tried messing with embedding fonts in the child swf
as well as the master to no avail. If anyone has any suggestions,
they would be greatly appreciated.Here's how to talk to your dynamic text box. Where you put
this bit depends
on how you are building the preloader, but since you say the
progress bar
works fine, I'll assume you know what you're doing there and
will be able to
get this in the right spot.
// variable that calculates a number for the percent loaded
preloaded = Math.floor((loadedBytes/totalBytes)*100);
// this line is talking to a dynamic text box named
"percentage_txt" that is
inside a movieClip named "preloader_mc" on the root timeline
// depending on your setup the path may be different, but
make sure
everything on the way to the text box is named
_root.preloader_mc.percentage_txt.text = preloaded + "%";
// You've probably left out the ".text = " bit. Just a guess,
but that's
the bit I always find
// I've left out when I'm having trouble with dynamic text.
// Also make sure your text color is not set to the same
color as your
background. Duh.
Good luck.
--KB
"patbegg" <[email protected]> wrote in
message
news:ejuu12$bmd$[email protected]..
> Hi,
> Cheeky little problem. I cannot get the dynamix text to
show on the
> preloader
> of a loaded movie. I am calling in a .swf which has a
preloader in it, the
> progress bar is fine but the text showing the percent
will not display.
>
> I have tried the _lockroot method, but no joy. Any ideas
anyone?
>
> Any help appreciated guys.
>
> Cheers,
> Pat
> -
I am the InContext administrator for as site at urbannaharborwalk.com.
Today my client told me he couldn't log on. I went to the site and entered my username and password. When I hit the submit button a blank page came up with "page cannot be found".
Does anyone know what's up with that?
Thanks,
DaveIt sounds similar to this:
http://forums.adobe.com/message/212541#212541
http://kb2.adobe.com/cps/406/kb406749.html
http://forums.adobe.com/message/1005086#1005086
Similar Issues -
How to reset an error from view or backing bean?
The JSF view shown below sets attributes 'required' and 'disabled' of an
h:inputText depending on the input value on a h:selectBooleanCheckbox.
It mostly works but a serious problem is that when the user enables the
h:inputText and pushes the submit button with blank input, message
"Validation Error: Value is required." is displayed. The error message
is quite natural but the core of the problem is that at this state,
changing the checkbox value to false(==unchecked) doesn't cause the
reset of error and disabling/non-requiring of the textfield. Checkbox
becomes unchecked by user mouse operation but textfield remains enabled.
How could I have the textfield disabled and non-required when the user
did some non-standard(?) operation described above?
[VIEW]
<f:view>
<h:form id="mform">
<h:selectBooleanCheckbox id="mflag" immediate="true"
value="#{mailBean.mailFlag}"
onchange="this.form.submit();" >
<h:outputText value="I'll send my mail address" />
</h:selectBooleanCheckbox>
<br>
<h:outputLabel for="mailtext" value="mlabel">
Enter Your Mail Address:</h:outputLabel>
<h:inputText id="mailtext"
required="#{mailBean.mailFlag}"
immediate="#{! mailBean.mailFlag}"
disabled="#{! mailBean.mailFlag}"
value="#{mailBean.mailText}"/>
<h:message for="mailtext"/>
<br>
<h:commandButton id="msubmit" value="submit" action="success"/>
</h:form>
</f:view>
[BEAN]...scope of the managed bean mailBean is session...
public class MailBean{
private boolean mailFlag = false;
private String mailText;
public void setMailFlag(boolean flag) {
mailFlag = flag;
if (! flag){
mailText = "";
public void setMailText(String str) {
mailText = str;
public boolean getMailFlag() {
return mailFlag;
public String getMailText() {
if (! mailFlag) {mailText = "";}
return mailText;
}The JSF view shown below sets attributes 'required'
and 'disabled' of an
h:inputText depending on the input value on a
h:selectBooleanCheckbox.
It mostly works but a serious problem is that when
the user enables the
h:inputText and pushes the submit button with blank
input, message
"Validation Error: Value is required." is displayed.
The error message
is quite natural but the core of the problem is that
at this state,
changing the checkbox value to false(==unchecked)
doesn't cause the
reset of error and disabling/non-requiring of the
textfield. Checkbox
becomes unchecked by user mouse operation but
textfield remains enabled.Have you tried setting the immediate property to true for the checkbox, and not using it for the inputText component? It looks to me like that's the one you want to run first, before validation is performed.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann ([email protected])
Principal Consultant, Virtua, Inc. (http://www.virtua.com)
Author, JavaServer Faces in Action
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
Are you using JSF in a project? Send your story to [email protected], and you could get your story published and win a free copy of JavaServer Faces in Action -
I had created a web page with a filter parameters on top of the web page and a report region with a report with an SQL query in PL/SQL Function Body Returning SQL Query. This is similar to the Issue Report in the Issue Tracker System example.
The problem is if you are on the last page of this report and then click edit to edit the last record on this page and delete it in the edit webpage then when you return to the Report page, you will see something like 1-5 of 25 in the list with a Next link on the right. If I click the Next link it just displays the same page again. You have to select some other item in the list then it will display some data again. How can I avoid coming back to an empty web page? Or just at least display the previous button so they can go to the last page of data which is now the last page of data. This does not seem quite right here. Also a similar problem happens with filtering if you are on the last web page. Sorry I am wordy and also new to HTML DB!I get this problem as well. The workaround is to fire a reset pagination process when the submit/delete button is pressed.
This will then reset the pagination to the first record on delete or submit avoiding the blank page problem (only draw back is you may be on the last record page and will now find your self back at the first record, but i think it beats getting a blank page!!) -
Databound RadioButtonList - anyone else have issues?
Hey all,
Using a regular radiobuttonlist, no problem. Bounding a database to text field and to a droplist no problem. Bounding a database to a radiobuttonlist, breakage. The field I'm binding to is just a varchar field in the database, and the values for the radiobuttonlistselectitems are strings (pulling from the Sessionbean, this actually works fine). Hoping I'm just doing this wrong and that it isn't a bug?
2004Q2 JSC, Win2000, Mysql4.0 backend
The actual error I get when hitting the submit button, even if the submit button is blank and whether it returns null or goes to a different page:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
root cause
java.lang.IllegalArgumentException
javax.faces.component.SelectItemsIterator.next(SelectItemsIterator.java:124)
javax.faces.component.UISelectOne.matchValue(UISelectOne.java:141)
javax.faces.component.UISelectOne.validateValue(UISelectOne.java:114)
javax.faces.component.UIInput.validate(UIInput.java:634)
javax.faces.component.UIInput.executeValidate(UIInput.java:838)
javax.faces.component.UIInput.processValidators(UIInput.java:412)
javax.faces.component.UIForm.processValidators(UIForm.java:170)
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)Hi,
I don't see this Exception, I tried this with mysql 4.1.2
here is what i did
- drag and drop Radibutton on to the visual editor
- drag and drop a mysql table on to the radiobutton, choose 'Fill the List' from popup dialog.
-Drag and drop a Button, handled an event to navigate to other page
- it works fine
Regards
Manjunath J -
I am using DW MX 2004.
I have three fields in a "form" that I applied "Validate
Form." They are
all text fields. When I applied the "Validate Form", I gave
each a value of
"Required" and "Accept anything". If I look at the code, I
have
onclick="MM_validateForm('title','','R','pub_date','','R','article','','R');return
document.MM_returnValue"
So, all three fields appear as arguments to validate form
function, as they
should.
Now, when I test the code by leaving all three fields blank,
I only get
error messages on the last two, pub_date and article. If I
put data in
pub_date and article, and submit (leaving title blank), I get
an error
message that "Column title cannot be null.", which is
correct, being
returned by the failed Insert SQL..
My question is, why isn't "Validate Form" finding the error
of there not
being any data in the title field?
Thank you...Start simple. Follow my directions re:selecting the form tag
on the QTS.
Then apply the behavior.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Bruce A. Julseth" <[email protected]>
wrote in message
news:[email protected]...
> It's not on line. It's local. I'm self teaching from the
Kent, Powers
> book.
>
> Let me try something. I'm building another page with the
same required
> parameters. Let me see if I get the correct result with
this page. If I
> do, I'll rebuild the page I'm having problems with. I
just might have
> "Screwed" up the DW code with some of my modifications.
>
> I'll be back when I'm completed the above.
>
> Thanks..
>
> Bruce
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Post a link to your page, please.
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Bruce A. Julseth"
<[email protected]> wrote in message
>> news:[email protected]...
>>>
>>> "Murray *ACE*"
<[email protected]> wrote in message
>>> news:[email protected]...
>>>> Nope - look at your code. You are applying
it to the <input> tag -
>>>>
>>>> <input name="Submit" type="submit"
onclick="MM_validateForm
>>>>
>>>> To do this right, click in the form, then
select the <form> tag on the
>>>> QuickTagSelector, NOW apply the validate
behavior.
>>>>
>>>> --
>>>> Murray --- ICQ 71997575
>>>> Adobe Community Expert
>>>> (If you *MUST* email me, don't LAUGH when
you do so!)
>>>> ==================
>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>> ==================
>>>>
>>>>
>>>> "Bruce A. Julseth"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>>
>>>>> "Murray *ACE*"
<[email protected]> wrote in message
>>>>>
news:[email protected]...
>>>>>> The validate behavior must be
applied to the FORM tag (<form>) with
>>>>>> onSubmit as an event, not to the
individual fields.
>>>>>>
>>>>>> --
>>>>>> Murray --- ICQ 71997575
>>>>>> Adobe Community Expert
>>>>>> (If you *MUST* email me, don't LAUGH
when you do so!)
>>>>>> ==================
>>>>>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>>>>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>>>>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>>>>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>>>>>> ==================
>>>>>>
>>>>>>
>>>>>> "Bruce A. Julseth"
<[email protected]> wrote in message
>>>>>>
news:[email protected]...
>>>>>>>I am using DW MX 2004.
>>>>>>>
>>>>>>> I have three fields in a "form"
that I applied "Validate Form."
>>>>>>> They are all text fields. When I
applied the "Validate Form", I gave
>>>>>>> each a value of "Required" and
"Accept anything". If I look at the
>>>>>>> code, I have
>>>>>>>
>>>>>>>
>>>>>>>
onclick="MM_validateForm('title','','R','pub_date','','R','article','','R');return
>>>>>>> document.MM_returnValue"
>>>>>>>
>>>>>>> So, all three fields appear as
arguments to validate form function,
>>>>>>> as they should.
>>>>>>>
>>>>>>> Now, when I test the code by
leaving all three fields blank, I only
>>>>>>> get error messages on the last
two, pub_date and article. If I put
>>>>>>> data in pub_date and article,
and submit (leaving title blank), I
>>>>>>> get an error message that
"Column title cannot be null.", which is
>>>>>>> correct, being returned by the
failed Insert SQL..
>>>>>>>
>>>>>>> My question is, why isn't
"Validate Form" finding the error of there
>>>>>>> not being any data in the title
field?
>>>>>>>
>>>>>>> Thank you...
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> I think I was applying it to the Form
Object. What I did was:
>>>>>
>>>>> In the "Design" view:
>>>>> Give my "Submit" button the focus..
>>>>> Click on "Windows" then Behaviors
(Shift+f4)
>>>>> under "Tag", Behaviors, click on the +
sign
>>>>> From the drop-down list, click on
"Validate Form."
>>>>> The "Update Form" dialog appears with
the 4 text fields I have on
>>>>> form: title, pub_date, caption, and
article.
>>>>> The three I want validated are title,
pub_date, and article.
>>>>> I highlight 'text"title"in form
"addArticle"
>>>>> I checkmark (Value) "Required" and
(Accept) Anything.
>>>>> I repeat this for the other two fields I
want validated, then click
>>>>> "OK"
>>>>> DW places the following line of code in
my procedure:
>>>>> <td><input name="Submit"
type="submit"
>>>>>
onclick="MM_validateForm('title','','R','pub_date','','R','article','','R');return
>>>>> document.MM_returnValue" value="Add
Article" /></td>
>>>>>
>>>>> As you can see, title is on the list of
parameters. I test my set up
>>>>> by sending the page ot my browser
(Firefox) and submitting with no
>>>>> data entered in any of the text fields.
An error dialog comes back,
>>>>> stating that data is required for both
pub_date and article. title is
>>>>> not in the list of missing items. I then
enter data in pub_date and
>>>>> article, and submit again. This time, as
it should, my SQL Insert
>>>>> fails with the "title is missing."
>>>>>
>>>>> I'm at a loss why title is not be found
as missing by the DW validate
>>>>> routine.
>>>>>
>>>>> BTW: I am learning from "PHP Web
Development with Macromedia
>>>>> Dreamweaver MX 2004, Chapter 9."
>>>>>
>>>>> Thank you..
>>>>>
>>>>> Bruce
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> Thanks. I applied to the form object and now
have the code:
>>> <form action="/GardenClub/addarticle.php?"
method="POST"
>>> name="addArticle" id="addArticle"
>>>
onsubmit="MM_validateForm('title','','R','pub_date','','R','article','','R');return
>>> document.MM_returnValue">
>>> Submitting my form with no data still does not
inform me that "title is
>>> required" yet "title" is in the parameter
list.What else might be doing
>>> wrong?Thanks for the help..Bruce
>>>
>>
>>
>
> -
Form problem-Hit submit and get a blank page
Hi and thanks for the help!
I have a form I created in Dreamweaver using Spry validation. It works most of the time, however, a few times the visitor hits the submit button and receives a blank screen but the results are submitted. Of course they have no way of knowing that as they stare down a blank page. Here is the website: http://tinyurl.com/klej69
I have successfully submitted it on Mac-Safari & Firefox and on PC on Firefox and Explorer 7.
The client wanted the questions numbered-is there a problem with the "name" starting with a number? I do have the "id" all lower case, no numbers.
Thanks so much for any help you can give me!
Cheers,
JanellSince it's not a consistent problem, you are likely having issues with specific browsers. Is the form page targeting another page, or is it submitting back to its self and supposed to be showing some sort of message?
I would venture to guess that there's a problem with the validation java script with some browsers. What it is probably doing is trying to validate and failing, which causes the blank screen, but since the validation failed the form get's submitted anyway. Try looking at the submitted forms to see any information, or lack of it that should have triggered a message. If you find it, the validation for that field could be your culprit.
Hope this helps you debug it.
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
www.twitter.com/LawrenceCramer -
Acrobat form with server side submit, posting blank data
Read more
Acrobat form with server side submit, posting blank data,
thanh xả tràn
I have a PDF form which gets submitted to the server using a submit (server-side) button. The data is then received in XML format by a ColdFusion component which does some validation and stores it into the database.
This PDF form is usually filled in by our clients using Adobe Reader 8 or below. While most of the times(and I mean like 96-97% of the times) everything goes well, at times we receive blank data into our database!! This renders couple of other features in our application useless as they try to parse an XML which does not exist.
I do believe that this is not a problem at the ColdFusion side because all it does is trim(ToString(toBinary(GetHttpRequestData().content))).
Does anyone has a clue as to why the data will be lost upon form submission?? I have done a lot of googling around it but in vain!There is an outside chance someone is just playing with you and submitting a blank form. Not uncommon if someone is not too familiar with forms.
-
New line break and extra blank space characters disappear after submit form?
Hello,
I have a PDF form with a Submit button that is dynamically created in my code to send the form data to the server in HTML format.
After the form data is received on the server side, all strings with new line break and extra blank spaces are gone.
For example, if I enter string in a text field as shown below on the form:
Hello ,
this is
just a
test
After the form data is sent to the server, this string would become:
Hello , this is just a test
New line breaks are gone. Also, if there is more than 1 blank space character between 2 characters, the extra blank space characters would be removed as well.
It does not only happen to multi-line text field, even with single-line text field. If I have a string like this in a single-line text field:
Hello this is just a test
After the form data is sent to the server, it would become:
Hello this is just a test
The form is created in OpenOffice then converted to PDF. The Submit button is created in my program using iText. I have no idea it is iText that trims my string or PDF itself does it.
Can anyone give me any possible explanation? Thanks.That is not what I get. Since it's URL-encoded, spaces are represented by the "+" character and carriage returns are represented by the "%0d%0a" (cr/lf) sequence.
Are you looking at the actual data that getting sent to the server or the output from the server after it processes it? -
Submit program with selection screen parameters - getting blank values
Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN ) but the value is blank in selection screen. I'm using the below code for this.
SUBMIT RMCPAMRP WITH MATNR_GL EQ I_MATNR SIGN 'I'
WITH WERKS_GL EQ I_WERKS SIGN 'I'
WITH PLSCN EQ I_TPLSCN SIGN 'I'
via selection-screen AND RETURN.
Could anyone please help me how to display value '000' rather than blanks.
thanks in advance.If I_MATNR, I_TPLSCN and I_WERKS are variable then try with
SUBMIT rmcpamrp
WITH matnr_gl = i_matnr
WITH plscn = i_tplscn
WITH werks_gl = i_werks
via selection-screen
AND RETURN .
If I_MATNR, I_TPLSCN and I_WERKS are of type range then try with
SUBMIT rmcpamrp
WITH matnr_gl IN i_matnr
WITH plscn IN i_tplscn
WITH werks_gl IN i_werks
via selection-screen
AND RETURN
Edited by: Pawan Kesari on Dec 24, 2009 3:33 PM
Maybe you are looking for
-
Pre-order discrepancies...
Bear with me on this... I was told initially, as many here were, that youcould only pre-order from Verizon. Then others spoke to Apple reps who claimed that yes, you could also pre-order from Apple. Then I was told by VW cs reps that if you pre-o
-
How to create linked server in sql 2005 to access free table visual foxpro 9 step by step
Hi All, I want to connect to dbf file visual foxpro by using linked server in sql 2005, but i can't do, i hope getting best anwser from every body in forum. Thanks all.
-
How to uniquely identify a users session
Hi, I need to identify a users session, I am aware of the wwctx_api.get_user function but this returns the user name, my problem is that, how do I identify a session, if the user logs on twice then the get_user() function is not unique basically I ne
-
Can anybody help me with this...I thought there might be a steep learning curve with the program, but I didn't expect it would start before I even open the program...thanks for any insight. -Matt
-
After updating to 25.0.1 shock flash plugin keeps on crashing
After updating to 25.0.1 shock flash plugin keeps on crashing. I tried reset, reinstall downgraded flash updated all plugin even though it's crashing. I'm facing this after updation of 25.0.1.. Please fix this issue asap.. Below crash report numbers