Never did any JSF, and did it with javascript when I was working with JSP.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



"Hockchai Lim" <lim.hock-chai@xxxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
06/14/2011 04:17 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
web400@xxxxxxxxxxxx
cc

Subject
Re: [WEB400] add row ID to the id attribute






does anyone know if I can use the <f:attribute> to set the id attribute?

For example:
<h:inputHidden value="#{MyBean.rowID}">
<f:attribute name="id" value=="#{MyBean.rowID}/>
<h:inputHidden>

"Bryce Martin" <BMartin@xxxxxxxxxxxx> wrote in message
news:mailman.48940.1308053357.2702.web400@xxxxxxxxxxxx...
You can do it with Javascript...


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



"Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
06/13/2011 05:17 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
<web400@xxxxxxxxxxxx>
cc

Subject
[WEB400] add row ID to the id attribute







It seems that jsf el expression is not allowed in the id attribute of
the html tag:
I tried this in eclipse IDE ==> <h:inputHidden value="#{MyBean.rowID}"
id="#{MyBean.rowID}" /> and Elicpse display "invalid indentifier error
on the id attribute.

Does anyone know how I can get around this problem?

thanks

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



--- This message (including any attachments) is intended only for the
use
of the individual or entity to which it is addressed and may contain
information that is non-public, proprietary, privileged, confidential,
and
exempt from disclosure under applicable law. If you are not the intended

recipient, you are hereby notified that any use, dissemination,
distribution, or copying of this communication is strictly prohibited.
If
you have received this communication in error, please notify us and
destroy this message immediately. ---



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.