render in input typetext

Ads

 
 

Share on Google+Share on Google+

erik
render in input typetext
2 Answer(s)      4 years and 2 months ago
Posted in : Java Server Faces Questions

Hi. I can not set the value in the input type text tag when I link to other page.The input type text appear with empty value. thanks in advance

MBEAN
@ManagedBean
@SessionScoped
public class OrganizacionController {
private String razon;
//getter and setter
//

}

PAGE1:
<h:form ">
<h:commandLink action="page2.faces" value="Go">
<f:setPropertyActionListener value="#{test}" target="#{organizacionController.razon}"/>  
</h:commandLink>            
</h:form>
PAGE2:
<h:form>
<h:inputText value="#{organizacionController.razon}" />
</h:form>
Ads
View Answers

August 14, 2013 at 11:18 PM


PAGE1:

<h:form id="formulario" name="frm1">
<h:commandLink action="test2.faces" value="Ir" >
<f:setPropertyActionListener value="#{erik}" 
target="#{organizacionController.razon}" />  
</h:commandLink>
</h:form>

PAGE:2

<h:form id="formulario" name="frm1">
<h:outputText value="#{organizacionController.razon}"></h:outputText>
<h:inputText value="#{organizacionController.razon}" disabled="true"/>
</h:form>


August 14, 2013 at 11:18 PM


PAGE1:

<h:form id="formulario" name="frm1">
<h:commandLink action="test2.faces" value="Ir" >
<f:setPropertyActionListener value="#{erik}" 
target="#{organizacionController.razon}" />  
</h:commandLink>
</h:form>

PAGE:2

<h:form id="formulario" name="frm1">
<h:outputText value="#{organizacionController.razon}"></h:outputText>
<h:inputText value="#{organizacionController.razon}" disabled="true"/>
</h:form>

Ads









Related Tutorials/Questions & Answers:
render in input typetext
render in input typetext  Hi. I can not set the value in the input type text tag when I link to other page.The input type text appear with empty value. thanks in advance MBEAN @ManagedBean @SessionScoped public class
input
input  a java program that will exchange the last names of two students that were input by a user
Advertisements
Version of com.bladejava>blade-render-beetl dependency
List of Version of com.bladejava>blade-render-beetl dependency
Version of com.bladejava>blade-render-jetbrick dependency
List of Version of com.bladejava>blade-render-jetbrick dependency
Version of com.bladejava>blade-render-velocity dependency
List of Version of com.bladejava>blade-render-velocity dependency
input box
input box  give me the code of input box in core java
input box
input box  give me the code of input box in core java
Array and input
to input one of the above numbers then i want to print the array without the number user input. how will i do tht
keyboard input
keyboard input  how do I use JOptionPane to accept keyboard input? I know how to import but not specific command on input line   import javax.swing.*; class JOPtionPaneExample { public static void main(String
Maven Dependency blade-render-jetbrick >> 1.0.1
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-jetbrick version1.0.1 in your project
Maven Dependency blade-render-jetbrick >> 1.0.7
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-jetbrick version1.0.7 in your project
Maven Dependency blade-render-velocity >> 1.0.1
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-velocity version1.0.1 in your project
Maven Dependency blade-render-beetl >> 1.0.4
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-beetl version1.0.4 in your project
Maven Dependency blade-render-jetbrick >> 1.0.4
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-jetbrick version1.0.4 in your project
Maven Dependency blade-render-jetbrick >> 1.0.6
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-jetbrick version1.0.6 in your project
Maven Dependency blade-render-jetbrick >> 1.0.8
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-jetbrick version1.0.8 in your project
Maven Dependency blade-render-velocity >> 1.0.4
You should include the dependency code given in this page to add Maven Dependency of com.bladejava >> blade-render-velocity version1.0.4 in your project
input output
input output  java program using fileinputstream and fileoutputstream   Hi Friend, Try the following code: import java.io.*; class FileInputStreamAndFileOutputStream { public static void main(String[] args
input output
input output  java program using fileinputstream and fileoutputstream   Hi Friend, Try the following code: import java.io.*; class FileInputStreamAndFileOutputStream { public static void main(String[] args
input output
Input And Output       Introduction The Java I/O means Java Input/Output and is a part... character input stream and buffering characters. It also reads
store input and display previous input as well current input. in jsp
store input and display previous input as well current input. in jsp  Hi Friend, In this JSP program i want display the previous input as well current inputs also. currently only current input i am able to display whenever i
How to create an input box?
How to create an input box?  How to create an input box
escaping user input in php
escaping user input in php  Is it possible to escape the user input while submitting data into database in PHP
php date input calendar
php date input calendar  I'm having an issue while writing the date input calendar function in PHP.. any help? Thanks
how to render my htmlstring from java class in velocity template?
how to render my htmlstring from java class in velocity template?  Hi, I have a java class generates html string dynamically based on the logic. I'm sending that string to vm as a context veriable. But I'm unable to draw html
Input in Stateless Bean - EJB
Input in Stateless Bean  Hello, I am having problem in taking the input in stateless bean, when I am trying to get integer or double type input from the user in the client file, It shows me the error
validate input php
validate input php  How to validate the input fields in PHP & HTML.   Hi, Please let's know many fields is to be validated. Then I will make an example for you. Thanks
To render imageicon to image component - Java Server Faces Questions
To render imageicon to image component  Hi, I am trying to retrieve an image from SQL Server database and render the corresponding image icon to an image component in visual web jsf component. But, I am not able to display
Data input & output Stream
Data input & output Stream  Explain Data Input Stream and Data Output Stream Class.   DataInputStream and DataOutputStream A data input stream lets an application read primitive Java data types from an underlying input
Take input in batch file
Take input in batch file  How to take input in batch file? Thanks   Hi, You can use the following line of code in your batch file: set /p myfile=Enter file name: In the above code myfile variable will hold the data
The input device used by computer is
The input device used by computer is  The input device used by computer is 1. Motherboard 2. Central Processing Unit 3. Keyboard 4. System Unit 5. All of the above   Answer: 2. Central Processing Unit

Ads

 
Advertisement null

Ads