hello everybody,
i'm trying to creat a form which contain textboxs, and i want to use one to fill in date by clicking in that zone
i use asp.net/vb
thks for all yr support
I currently use Textmate for most of my editing, but am taking a Java course and am wondering if there's a better editor out there, especially one that might have some form of intellisense or active debugging.
I've got the following in my view:
echo $form->input('Category', array('multiple' => 'checkbox', 'disabled' => true));
But, the checkboxes aren't disabled...
Hi! Im trying to call some windows forms code (like setting label.visible = true in some event code, everything compiles ok, but form does not react to change! What could be the problem?
Problem is in lines:
labelNewCall.Visible = true;
timerNewCall.Enabled = true;
code : http://pastebin.com/gV28PN4P
also other code did not work, until i reordered some of if (order is not important but it did not work otherwise... )
This happens only with Google Chrome and Safari. This is the page in question:
http://jqeedu.tuxfamily.org/pmr/
After opening the landing, click on post your apartment, a form is loaded via ajax, and the page automatically scrolls to the bottom and if you scroll up, it returns to the bottom again!
What is causing this?
Hi,
I am just learning Java EE, I have created a Persistence entity for a User object, which is stored in the database. I am now trying to create a JSP page that will allow a client to enter a new User object into the System. I am unsure of how the JSP page interacts with the User facade, the tutorials are confusing me a little.
This is the code for the facade:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add User to System</title>
</head>
<body>
<h2>Add User</h2>
<h3>Please fill out the details to add a user to the system</h3>
<form action="">
<label>Email:</label>
<input type="text" name="email"><br />
<label>Password:</label>
<input type="password" name="name"><br />
<label>Name:</label>
<input type="text" name="name"><br />
<label>Address:</label>
<input type="text" name="address"><br />
<label>Type:</label>
<select name="type">
<option>Administrator</option>
<option>Member</option>
</select><br />
<input type="submit" value="Add" name="add"/>
<input type="reset" value="clear" />
</form>
</body>
This is the code I have to add a new User object within the User facade class:
@Stateless
public class CinemaUserFacade {
@PersistenceContext(unitName = "MonashCinema-warPU")
private EntityManager em;
public void create(CinemaUser cinemaUser) {
em.persist(cinemaUser);
}
I am finding it a little difficult to get my head around the whole MVC thing, getting there but would appreciate it if someone could turn the light on for me!
I have a form in which products will be listed out when,i clich total chk box it will be calculated but,it will be integera only,i want this to print in words.
For eg:217 it should print in words two hundred seven only. Hope,this is clear.
Thnx in advance
Hi,
I have a wordpress page in which i have a form(used machform which redirects & stores data in session) submitting it redirects to another wordpress page. Now i want to use session value in the second page. I am new to wordpress, can i use php tags inside a page through admin interface so that i can retrieve the session value?
Please help me on this
Thanks
Hi, im traversing through the registry, taking the values of the keys and storing them as strings. I have discovered there are many different types. Some of these types are causing my filestream writer to fail. Is it possible to convert all of the below into a string form. The actual data value is not important, just the ability to differentiate between different values.
DWORD
ExpandString
Binary (is this just the same as byte[] ?)
MultiString
I have a form which once the Submit button is pressed, it goes to a blank page and returns any error messages on that blank page. However I have a website template and I wish that my script is run, and returns the the page which did the action POST and puts any error messages on that page.
Example of what is happening:
PAGE REQUESTS POST ---- SCRIPT RUNS --- RETURNS ERROR MESSAGE
What I want it to do is:
PAGE REQUESTS POST --- SCRIPT RUNS ---- GOES TO THE PAGE WHICH REQUESTED POST ---- SHOWS ANY ERROR MESSAGES WHICH THE SCRIPT PICKED OUT.
Is there any practical difference between these two extension methods?
class Extensions
{
public static void Foo<T>(this T obj) where T : class { ... }
public static void Foo(this object obj) { ... }
}
I was poking around in Extension Overflow and I came across the first form, which I haven't used before. Curious what the difference is.
how can i keep the combobox on the form in j2me with out using frameworks?
i have tried this but it is not showing any drop down for selection.
ChoiceGroup CoursePOP = new ChoiceGroup ("Pop Up choice", Choice.EXCLUSIVE, new String[] {"Python", "J2ME","Symbian"}, null);
In visual studio, when making a C++ windows application form. I want a picture to change when I click on it.
So when I double click the picture and it brings up the click action script, what script do I use.....
Similiar to
int temp = System::Int32::Parse(label1->Text);
temp++; label1->Text =
temp.ToString();
Which just increments an integer in a label
So, there is going to be one login form; however 1 of 3 types of members will be signing in member_type_a, member_type_b, member_type_c all of whom have some of the same properties, and some whom may have specific methods and/or properties to them. I want the class to be saved to a session variable for use with member area pages.
Any suggestions on applicable design patterns?
in the textbox when we pass the text within "< " bracket then it shows the error like
A potentially dangerous Request.Form value was detected from the client (grouplink$txtAddPerson="
In Codeigniter, I have a login/registration form all set up, working perfectly, however how can I output the current users username, i.e. When the user has logged in it would say "Welcome, [username]".
I also need to know this, to be able to output from the database the record based on the current users ID, how can I do that? I've browsed the docs on codeigniter but couldn't find what i was looking for. I'm using active record btw.
Thanks
In my .aspx page which derives from a master page I have a contact form which uses some validation, such as the RequiredFieldValidator and RegularExpressValidator.
At top of my page I have a link bar and whenver I am at contact.aspx I can't navigate to the other pages as if that I need to fill in the necessary data so that it satisfies the validator. How can I fix this?
I am running a Windows form application and I need to execute a piece of code when I switch to design mode. I have a handler for the OnEnterDesignMode debugger event and this gets hit if I am debugging the application and then switch to design mode. However, this does not get hit if I initially start without debugging and then switch to design mode. What event do I need to handle in order that certain code is executed when switching from Run mode to Design mode?
I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting the readonly attribute doesn't actually seem to do anything.
I'd rather not use Disabled, since I want the checked check boxes to be submitted with the rest of the form, I just don't want the client to be able to change them under certain circumstances.
$("input[id^='exc-flwup-<%=Model.Date%>']").click(function() {
$(this).val('');
});
I am using this to clear the input field..when i click on the input box its doign clear but.. on form submit if i ccheck at controler side I am still seeing this value there?
do I need to do anyting else here to make null inputbox?
Most mainstream IDEs use code-completion in the form of a linear list of suggestions (typically methods).
Are there any IDEs (mainstream or not) or IDE plugins that use a non-linear widget, such as a tree? (e.g., pick category first, then the actual recommendation)?
I'm working on an IDE feature and want to make sure I'm not reinventing the wheel or infringing some patent.
When a vote value is changed, the form POSTs the change, then refreshes the page. This is called on the top of the page upon load:
if (isset($_POST['q'.$question_id]))
{
$user->updateQuestionVotes($question_id, $_POST['q'.$question_id]);
}
Why does it update every time I refresh after the first time? Do I need to unset it somehow?
I need to be able to execute a shell command through LaTeX [*] and have the resulting output available for use later on in the form of a LaTeX 'variable' (e.g., via a subsequent \newcommand command). If necessary a temporary file could be used to hold the output, although I would like to avoid this. I have been able to use
\immediate\write18
to invoke a bash command before, but this was only used to write to a temporary file.
[*] I realise that the -shell-escape flag must be set for this to be allowed
This should work.. I think..
string ctrlName = "btnSomeButton" + someIndexValue;
this.Controls[ctrlName].Text = "Some value";
I get 'Object reference not set to an instance of an object.', the control does exist on the form. I've tried casting it.