Netui:textBox tag attributes - readonly and disabled
What's the difference between these two?
Thanks
Your solution only work with checkboxex. If u want to disable dropdown it is not
possible to disable the <td> tag. Does any one know how to disable dropdowns with
netui tags???
Murat
"Tom" <[email protected]> wrote:
>
If anyone wants to know....
my checkbox is in a table data cell... so I disabled the check box by
disabling
the table cell.
<td disabled><checkbox blah blah> </td>
"Tom" <[email protected]> wrote:
In a standard HTML form, you can disable a field from being editable
by specifying
DISABLED such as
<input type=checkbox name='Authorized' checked disabled>
In NETUI, some fields support the readonly flag..but others do not...
specifically
<netui:checkBox dataSource="{request.myCompany.cmcdEntitled}" >
How can I make a NETUI check box (or other fields) read only if it doesn't
have
the readonly flag?
thanks,
Tom
Similar Messages
-
Problem in marking an InputText to 'readonly' and 'disabled'
Hi,
I have page using inputText in JSF. It works okay. But when I try
to mark the username field to either 'readonly' or 'disabled' equals
to 'true'.
Like this:
<h:inputText value="#{userForm.user.username}" id="username"
required="true" styleClass="text large" readonly="true">
<v:commonsValidator type="required" arg="#{text['user.username']}"/>
</h:inputText>
the input field of the page in browser is not-changeable (as
expected). But when i try to do a submit my form, I get this
error message 'This username (null) or e-mail address (null) already
exists. Please try a different username.'
Can you please tell why the username becomes 'null' when I try to
submit? If i remove the 'readonly='true'' the submit works (i.e. the
username is not null).
Thank you for any help.What jsf impl are you using and what version?
-
Netui: anchor tag with target attribute.
I am using the netui:anchor tag inside an iframe to post to an action. But the
resulting page is displayed within the iframe. Will the target attribute of the
netui:anchor tag help solve the problem. What is a valid value of the target
attribute.
thanks,
Shankardoes the action have a formSubmit = true? If not then your modal dialog should be shown via the onclick and you have to javascript the link click (based on your modal dialog options)
If you do have a formSubmit=true, then you'd have the onclick show the modal dialog and you would have to write additional javascript to submit the form (Along with setting its action)
regards
deepak -
Netui:fileUpload tag and unicode
when i attach files using netui:fileUpload tag, korean file names are broken.
charset of my jsp page is UTF-8.
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
chinese and japanese can be used, so default charset can not be changed to EUC-KR.
but other data of netui:textBox or netui:select are normal.
and when using normal html tag(<input type="file">), that file name is normal.
how can i solve this problem..?
in advance, thanks~when i attach files using netui:fileUpload tag, korean file names are broken.
charset of my jsp page is UTF-8.
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
chinese and japanese can be used, so default charset can not be changed to EUC-KR.
but other data of netui:textBox or netui:select are normal.
and when using normal html tag(<input type="file">), that file name is normal.
how can i solve this problem..?
in advance, thanks~ -
Netui Form Tag Missing DOM Name Attribute
Without a way to specify the HTML name or DOM id of the form, you cannot access
the form in JavaScript. Both tag attributes (name, id) are already used for something
totally unrelated. Is this going to be fixed in the next service pack?
Thanks,
TroyVindhyachal,
You didn't include your checkbox tag code but I expect that you may not be
binding to the correct value which would be something like
"actionForm.checkBoxValue. I have attached code to an example that you can
play with. Remember that in page flows the form is scoped to request by
default.
If you are using 8.1 sp2 you should consider using page flow scoped forms if
you need to keep the form and its values around for more than a single
request.
I hope this example helps you.
- john
"vindhyachal" <[email protected]> wrote in message
news:4044a5e1$[email protected]..
>
Hi,
Iam first time using BEAPortal8.1,my probleum is i have a form inthat iam
using
<netui:form name="sri" scope="request or session" method="get"action="addUpdateRoleAction"
type="mytest.mytestController$FormAction" > this will call followingaction on
controller
* @jpf:action
* @jpf:forward name="success" path="index.jsp"
protected Forward addUpdateRoleAction(FormAction form)
try{
session = getRequest().getSession(false);
System.out.println("Value of check box "+form.adminrole);
System.out.println("Value of check box beforeFWD"+form.getAdminrole());
>
>
>
>
}catch(Exception e)
e.printStackTrace();
form.setAdminrole(true);
return new Forward( "success", form );
In this iam setting the value of adminrole to true but when the requestis forward
to index JSP value its displaying is false.So can u please tell me how tohandle
this probleum.If iam not using name,scope and type atrribute od<netui:form> then
its working fine.
Thanks[Controller.jpf]
[index.jsp] -
Tagid attribute in netui:textbox in jsp is not reflecting
Hi,
I included this netui tag in my jsp
<netui:textBox dataSource="{actionForm.custId}" tagId="custTagId"></netui:textBox>
But attribtue "tagid" doesnot seems to be reflecting in the html pages.
thanks,
shashiTanya,
This works well in a pageFlow. But it in the context of a portal it throws a JavaScript
error saying that document[getNetuiTagName("myForm")][getNetuiTagName("age")]
is null.
Thanks,
Anant
"tanya" <[email protected]> wrote:
>
I'm not sure what you mean by "reflecting", but if you're referring to
accessing
it via javascript, see the following:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conValidatingUserInput.html
You'll end up having to do something like this:
<netui:html>
<netui:textBox tagId="age" dataSource="{actionForm.age}" onBlur="isValidAge();"/>
</netui:html>
And this would be the JavaScript function isValidAge:
function isValidAge() {
if(document[getNetuiTagName("myForm")][getNetuiTagName("age")].value
<= 0)
alert('Wrong Age');
-Tanya
"shashishekar" <[email protected]> wrote:
Hi,
I included this netui tag in my jsp
<netui:textBox dataSource="{actionForm.custId}" tagId="custTagId"></netui:textBox>
But attribtue "tagid" doesnot seems to be reflecting in the html pages.
thanks,
shashi -
Form bean with int property and netui:select tag
Hi,
I've recently started using WebLogic 8.1 for a client project. There's
been a bit of a learning curve, but I've been able to find most of my
answers in the docs or on the dev2dev site. This one, though, I've been
unable to manage.
I have a database table, call it foo. In it I have columns for id
(numeric) and name (string). I created a database control to read that
data:
select id, name
from foo
I then want to use this data to populate a select list in a form, which
is going to be used to submit new records for another table. For the data:
id name
1 Foo
2 Bar
3 Bletch
I want to generate a select list (this is the output HTML, not the netui
tags):
<select name="foo">
<option value="1">Foo</option>
<option value="2">Bar</option>
<option value="3">Bletch</option>
</select>
My first question is what the best way to do this is. I was able to get
this working by creating a database control, which returns an array of a
custom Foo class. I then pass that array into a utility method which
converts it into a Map, and pass that map to the netui:select tag in the
optionDataSource attribute. This works, but it seems rather roundabout,
so I'm wondering if there's a better way to do it, without needing the
conversion utility method in the middle. I tried playing around with
the control, I tried using different netui tags (I thought I could do it
with a repeater and netui:selectOption tags, but that didn't work), and
nothing else worked.
The second problem arose when I was tying the result to a Form Bean. I
created a bean with all the data that I was reading from the form, and
at first, I just made everything in the form bean be a String. For this
select, though, the values are ids, so I thought I'd just make them be
ints in the form bean instead. However, when I did that, WL decided
that it wanted to add in a default option with a value of 0:
<select name="foo">
<option value="1">Foo</option>
<option value="2">Bar</option>
<option value="3">Bletch</option>
<option value="0" selected>0</option>
</select>
I've tried to find a way to get rid of that 0, and I can't. Is there a
way to prevent it from sticking in a default value like that? Or do I
have to just leave it as a String in the form bean to get it to work the
way I want?
Thanks in advance for your help.
Joe Robins Tel: 212-918-5057
Thaumaturgix, Inc. Fax: 212-918-5001
19 W. 44th St., Suite 810 Email: [email protected]
New York, NY 10036 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles.wrt your 2nd problem, in the jpf, for the form bean, are you declaring your id
like this:
private int id;
if so, try declaring it w/ a valid value, like:
private int id = 1;
-tanya
Joe Robins <[email protected]> wrote:
Hi,
I've recently started using WebLogic 8.1 for a client project. There's
been a bit of a learning curve, but I've been able to find most of my
answers in the docs or on the dev2dev site. This one, though, I've been
unable to manage.
I have a database table, call it foo. In it I have columns for id
(numeric) and name (string). I created a database control to read that
data:
select id, name
from foo
I then want to use this data to populate a select list in a form, which
is going to be used to submit new records for another table. For the
data:
id name
1 Foo
2 Bar
3 Bletch
I want to generate a select list (this is the output HTML, not the netui
tags):
<select name="foo">
<option value="1">Foo</option>
<option value="2">Bar</option>
<option value="3">Bletch</option>
</select>
My first question is what the best way to do this is. I was able to
get
this working by creating a database control, which returns an array of
a
custom Foo class. I then pass that array into a utility method which
converts it into a Map, and pass that map to the netui:select tag in
the
optionDataSource attribute. This works, but it seems rather roundabout,
so I'm wondering if there's a better way to do it, without needing the
conversion utility method in the middle. I tried playing around with
the control, I tried using different netui tags (I thought I could do
it
with a repeater and netui:selectOption tags, but that didn't work), and
nothing else worked.
The second problem arose when I was tying the result to a Form Bean.
I
created a bean with all the data that I was reading from the form, and
at first, I just made everything in the form bean be a String. For this
select, though, the values are ids, so I thought I'd just make them be
ints in the form bean instead. However, when I did that, WL decided
that it wanted to add in a default option with a value of 0:
<select name="foo">
<option value="1">Foo</option>
<option value="2">Bar</option>
<option value="3">Bletch</option>
<option value="0" selected>0</option>
</select>
I've tried to find a way to get rid of that 0, and I can't. Is there
a
way to prevent it from sticking in a default value like that? Or do
I
have to just leave it as a String in the form bean to get it to work
the
way I want?
Thanks in advance for your help.
Joe Robins Tel: 212-918-5057
Thaumaturgix, Inc. Fax: 212-918-5001
19 W. 44th St., Suite 810 Email: [email protected]
New York, NY 10036 http://www.tgix.com
thau'ma-tur-gy, n. the working of miracles. -
Problem in onClick attribute of the netui:anchor tag
Hi,
I have a String object to be passed to the javascript function with onClick attribute.
eg: <%String st = new String("helo");%>
<netui:anchor action="display" onClick="display()">
I want to pass the object st to the java script so that I can do some validations. how can I do that. If I say,
onClick="display('<%=st%>')" it is not working. can you please suggest me a solution.
Regards,
Satish.I haven't tried this with the netui:anchor tag, but it works with the netui:button tag.
<%
String onCl = "display('" + st + "')";
%>
<netui:anchor action="display" onClick="<%=onCl%>">
Apparently, you can place a scriptlet inside the onClick attribute, but you cannot intermingle the scriptlet with plain text.
Also, the onclick attribute appears not to support XScript ({request.whatever}). I find that weird. -
Repeating Regions and Editable Tag Attributes?
I want to produce a template that will let users create pages
that list items as a thumbnail image and a short text description,
one after the other.
I can set this up as a repeating region, but I would also
like to make only certain attributes of the image editable (src and
alt for example). However, when I use editable tag attributes to do
this, the image in each repeated region ends up with the same
attribute values - when I add a new repeat region and then change
the src tag through the Template Properties dialog,
all of the images take on the same src value. Looking at the
code, it looks like the editable instances in each repeated region
get the same name, and so I can see that DW will get confused.
Is this a limitation in DW? Is there a work around anyone can
suggest?
TIASo, you have some number of people who are editing the child
pages and you
want to constrain their editing choices? Are you using
Contribute?
Anyhow, I am not aware of any convenient way you can do
something like this
using DW's Template features.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"manicbananic" <[email protected]> wrote in
message
news:g7pimq$fvg$[email protected]..
>I want to produce a template that will let users create
pages that list
>items
> as a thumbnail image and a short text description, one
after the other.
>
> I can set this up as a repeating region, but I would
also like to make
> only
> certain attributes of the image editable (src and alt
for example).
> However,
> when I use editable tag attributes to do this, the image
in each repeated
> region ends up with the same attribute values - when I
add a new repeat
> region
> and then change the src tag through the Template
Properties dialog,
>
all
> of the images take on the same src value. Looking at the
code, it looks
> like
> the editable instances in each repeated region get the
same name, and so I
> can
> see that DW will get confused.
>
> Is this a limitation in DW? Is there a work around
anyone can suggest?
>
> TIA
> -
Revision: 7671
Author: [email protected]
Date: 2009-06-09 07:31:19 -0700 (Tue, 09 Jun 2009)
Log Message:
The SWF metadata tag has optional attributes widthPercent and heightPercent. The expected format is "[ws]double%[ws]". For example, [SWF (backgroundColor="#FFFFFF", widthPercent="92%", heightPercent="81%", frameRate="60" )]. Don't blindly strip off the last non-whitespace char and allow the % to be optional.
QA Notes:
Doc Notes:
Bugs: SDK-21436
Reviewers: Pete
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-21436
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java -
Struts2 and Tiles2 - Error executing tag: Attribute 'title' not found.
I keep getting Error executing tag: Attribute 'title' not found when I go to the baseLayout.jsp page. I am figuring it is not seeing the tiles.xml file, but I have placed it in the /WEB-INF directory like every web page I have found says too. Any help or pointers would be appreciated.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error executing tag: Attribute 'title' not found.
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)I am using maven to load my dependency, so here are the version numbers.
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-tiles-plugin</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>3.1</version>
</dependency>Struts.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation"
value="false" />
<constant name="struts.devMode" value="false" />
<constant name="struts.custom.i18n.resources"
value="forum" />
<package name="default" namespace="/" extends="struts-default">
<result-types>
<result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" />
</result-types>
<action name="login" class="net.game_tech.LoginAction">
<result name="success" type="tiles">/login.success.tiles</result>
<result name="error" type="tiles">/login.tiles</result>
</action>
<action name="login-form">
<result name="success" type="tiles">/login.tiles</result>
</action>
</package>
</struts>web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>Forum</display-name>
<listener>
<listener-class>
org.apache.struts2.tiles.StrutsTilesListener
</listener-class>
</listener>
<context-param>
<param-name>tilesDefinitions</param-name>
<param-value>/WEB-INF/tiles.xml</param-value>
</context-param>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>Mysql Forum</description>
<res-ref-name>jdbc/Forum</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>tiles.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<definition name="baseLayout" template="/baseLayout.jsp">
<put-attribute name="title" value="Simple Java Forums" />
<put-attribute name="header" value="/common/Header.jsp" />
<put-attribute name="menu" value="/common/MenuNav.jsp" />
<put-attribute name="body" value="" />
<put-attribute name="footer" value="/common/Footer.jsp" />
</definition>
<definition name="/login.tiles" extends="baseLayout">
<put-attribute name="header" value="/pvt/Login.jsp" />
</definition>
<definition name="/login.success.tiles" extends="baseLayout">
<put-attribute name="header" value="/pvt/Welcome.jsp" />
</definition>
</tiles-definitions>baseLayout.jsp
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><tiles:insertAttribute name="title" /></title>
<link href="css/main.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body>
<div id="page">
<tiles:insertAttribute name="header" />
<tiles:insertAttribute name="menu" />
<tiles:insertAttribute name="body" />
<tiles:insertAttribute name="footer" />
</div>
</body>
</html>I was playing around with it some more and was trying to follow this page:
http://www.vaannila.com/struts-2/struts-2-example/struts-2-tiles-example-1.html
I made sure I had the same jar versions. I still get the same exception in the Browser, but I get a few more log messages in the tomcat log;
Obviously I have something configured wrong. I'll see what searching brings up, and of course any help would be appreciated.
2010-08-24 10:30:59,885 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,920 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=struts]
2010-08-24 10:30:59,956 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [struts.actionMapping]
2010-08-24 10:30:59,957 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,967 DEBUG com.opensymphony.xwork2.config.ConfigurationManager.debug:57 - Checking ConfigurationProviders for reload.
2010-08-24 10:30:59,969 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:30:59,969 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.catalina.jsp_file]
2010-08-24 10:31:00,089 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,089 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.servlet.context.ServletTilesRequestContext.CURRENT_CONTAINER_KEY]
2010-08-24 10:31:00,099 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,100 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.AttributeContext.STACK]
2010-08-24 10:31:00,100 DEBUG com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.debug:57 - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@4ba76eff], property=org]
2010-08-24 10:31:00,100 WARN com.opensymphony.xwork2.ognl.OgnlValueStack.warn:45 - Could not find property [org.apache.tiles.AttributeContext.STACK]
Aug 24, 2010 10:31:00 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.tiles.jsp.taglib.NoSuchAttributeException: Attribute 'title' not found. -
How I disable my textbox at view time and Enable only when insert or edit t
hi master
Sir i have master detail form and i am not use toolbar i am usint my button add/edit/view/next/last and other
sir my requirement is all textbox disable at view time enable ony edit or inserting time
how I disable my textbox at view time and Enable only when insert or edit time.
i use this
if :system.form_status='change' then
if :system.form_status='insert' then
if :system.form_status='execute query' then
but not right work
please give my idea where i use what statment
send me sample
AamirAamir,
Set the text item's Enabled property to False at design time. Then, using SET_ITEM_PROPERTY (see Forms Help), set to Enabled in the relevent part of the code on the WHEN-BUTTON-PRESSED triggers on your Insert and Update buttons. Similarly, disable on your Save button once the cnahges are saved etc. -
How to get and set custom tag attributes
How do i get and set custom tag attributes from a jsp page?
Not sure if this is what your looking for, but....
example...
< taglibprefix:testtag attribute1="x" attribute2="y">
...of course, the attributes have to be defined in your taglib (.tld) file -
Error in form submit through netui:anchor tag onClick event
Hello,
I am working on a portal application. Below is my jsp code of a simple search screen. The search parameter is customername.
<netui:form action="searchCustomer" style="form" tagId="myForm">
<netui:textBox dataSource="{actionForm.customerName}"></netui:textBox>
<netui:anchor onClick="sayHello(); return false;" styleClass="button" action="searchCustomer" formSubmit="true"> Search</netui:anchor>
</netui:form>
I have an onClick event as I want to implement some customer logic on click of the anchor tag.
function sayHello(){
// customer implementation here
document.forms[getNetuiTagName("myForm",this)].method="POST";
document.forms[getNetuiTagName("myForm",this)].action="/searchCustomer.do";
document.forms[getNetuiTagName("myForm",this)].submit();
In the searchCustomer method of the controller, the form has zero parameters. The customerName has null value.
Can anyone tell me what am I doing wrong here.
Any help is appreciated.
Thanks
ManjuI also want to add a confirm() dialog before submitting. However, setting the onClick handler overrides the one generated when formSubmit="true". I worked around this by calling the generated function directly:
<... onClick="if (confirm('[msg]')) { anchor_submit_form(getNetuiTagName('[formName]'), this.href) } return false;">
Where [msg] is the message to display and [formName] is the name of the form containing the anchor.
Hope this helps someone. -
Netui anchor tag in netui:form
I have some code like following:
<netui:form action="action1" >
<netui:anchor action="action2">Check</netui:anchor>
</netui:form>
Action1 and action2 willl be finally redirected to the same JSP(for example one.jsp).
The weird thing is that: according to log output, it seems that one.jsp has been hit twice when user click "check" link.
Is it possible that when user click "check" link, weblogic not only trigger action2 but also trigger action1? forsubmit attribute is not set to true explicitly for netui:anchor tag.
Thanks in advancehi
verify from a browser trace tool (e.g. livehttpheaders, fiddler or firebug) how many requests your browser is making. (or you can inspect the code that portal generates in the HTML). Once we have determined whether its the browser making the two requests or something on the server, we can see if there are workarounds.
regards
deepak
Maybe you are looking for
-
I know,.... I'm still using FCP 7, but since there are no forums for this aaplication anymore, I figured I ask it here. I want to select multiple clips on the timeline and make them all stereo pair. I pressed "Option L", but that does not work.
-
Hi guys, I have a strange error here and I`m really disappointed. We currently try to do "Wired-802.1X" with our Windows XP SP3 Clients with EAP-TLS and "machine-only" authentication. We use ACS5.1 to authenticate the clients. At about 50% of the cli
-
What is the best way of selecting 99 colums from a table with 100 colums?
Hi All, Suppose in a table T, I have 100 colums .I want to select 99 columns.So what is the best way to do the same? Anyone Help! Thanx in advance. Piyush
-
BPEL designer-- in jdevstudio11110.
I have just install jdevstudio11110install, i want to create some soa applications that required BPEL design is this posible in jdevstudio11110install ? in general a soa developement in jdevstudio11110install is it posible ? if so a link will be very
-
Syncing the BB Bold 9930 with my laptop
In attempting to sync my Bold with my PC I am being told that this can't be accomplished because there is some sort of wireless activity going on with the Blackberry itself that I need to turn off - it's said that this can be found in the calendar op