Hello dear!
I'm starting to use Myfaces Trinidad and I'm with a problem when I try to use a
required inputText inside a panelTabbed component.
When the validation is activated the browser stop, and just come back to work
when you click with the mouse's left bottom in the page. It just
Hello,
here my jsp:
...
tr:table id=personManagementTable binding=#{personManagementActions.table}
value=#{personen.dataModel} var=row rows=10
partialTriggers=personManagementTable rowSelection=multiple
autoSubmit=true width=60% summary=Person List rowBandingInterval=1
Does anyone know how to place the control bar of a tr:table at the bottom
instead of the top?
Thanks
Bill
CONFIDENTIALITY NOTICE:
The information contained in this e-mail, including any attachment(s),
is confidential information that may be privileged and exempt from
disclosure under
AFAIK it is not possible at the moment.
On Mon, Apr 7, 2008 at 6:24 PM, Leng, William
[EMAIL PROTECTED] wrote:
Does anyone know how to place the control bar of a tr:table at the bottom
instead of the top?
Thanks
Bill
CONFIDENTIALITY NOTICE:
The information contained in this
Thanks Scott. I presume you are referring to addPartialTargets (or
findRelativeComponent) - which I didn't know about so far.
-- Renzo
Scott O'Bryan wrote:
Renzo, just use the component's id (ie. in the id attribute).
Trinidad will correctly resolve the scope if you use it right.
There is
1 - Any JSF Implementation that allows all this 3 features in the same
table?
2- Or can i make a mix with any other JSF Component that allow me to do
this?
3- If not, can i develop JSF Components to do this without tons of work and
uber knowledges (I'm Java developer mainly)?
4 - If any of you
Hi,
It would help me a lot if you would commit your code. But even if you
don't want to commit it, I would be very glad if you could post the code
here, so I could add it myself to my own copy of the trinidad source
code and recompile it...
On the other hand, if other people are interested
Hi,
I'm also very interested in such an attribute.
In my case, I have an inline editable table with an extra 'action' column
(the right most column) which contains links (visibility depends on the
action itself) for editing, deleting, canceling and updating of rows.
It would be great to disable
Henk,
would you open a JIRA issue, please?
--
Kind regards,
Mathias
-Original Message-
From: Henk Vanhoe [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 10, 2008 1:55 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] Disable details-link
Hi,
It would help me a lot if you
Hi,
I am trying to find out how saveState works? does it
save objects in the session or keeps it in a hidden
variable or what does it do?
any guidance or pointing in the right direction will
be helpful.
Thanks,
Nitin
__
Do You Yahoo!?
Tired of
saveState never save objects in session, this component is used to
avoid session overload, saveState serializes all objects somewhere in
you filesystem.
2008/4/10, Nitin Deshmukh [EMAIL PROTECTED]:
Hi,
I am trying to find out how saveState works? does it
save objects in the session or keeps
Open a jira-issue.
regards,
Martin
On 4/9/08, Michael Heß [EMAIL PROTECTED] wrote:
Hi list,
I just stumbled upon some weired problem. I have a rather basic myfaces
1.2.2 + facelets 1.1.3 setup. What I tried to achieve, is to NOT have
either Facelets nor MyFaces handle any of the error 500
Have you seen this:
http://wiki.apache.org/myfaces/Handling_Server_Errors
for disable error handling do this:
!-- if you want to disable the behaviour completely --
context-param
param-nameorg.apache.myfaces.ERROR_HANDLING/param-name
param-valuefalse/param-value
/context-param
Hi,
I have a small problem with t:dataList and Ajax4JSF. I'm going to step
through this in the debugger soon but maybe someone's already
encountered this.
I have a t:dataList like so:
t:dataList id=dataList var=element value=#{mbDataList.folderList}
layout=unorderedList
Ok I found the problem already, this would appear to be a bug with Tomahawk (as
I have the source attached here). Looks like itemStyleClass was omitted from
the saveState method. When I was debugging this I noticed the value for it was
null.
Listing from HtmlDataList.java
public Object
Thanks Kito for the information. I have moved ahead with using the myfaces
EL for now. In case we decide we need to use OGNL I'll take a look at the
facelets list.
Thanks anyways.
-Original Message-
From: Kito D. Mann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 09, 2008 12:35 PM
To:
Fix if anyone's interested :
public class HtmlDataList extends
org.apache.myfaces.custom.datalist.HtmlDataList {
public Object saveState(FacesContext context) {
Object [] values = new Object[2];
values[0] = super.saveState(context);
values[1] =
Hello,
Is there a way to limit the length of the drop down list in
selectOneMenu in JSF. I added size=10 but it is not working. The
print screen is from the user (who want only 10 values to be displayed
when he clicks on the down arrow).
Thanks.
td
select jsfc=h:selectOneMenu
Rogerio Pereira schrieb:
saveState never save objects in session, this component is used to
avoid session overload, saveState serializes all objects somewhere in
you filesystem.
This is not entirely true savestate uses the standard jsf save and
restory cycle to store the data. It simply
Hi all,
I'm trying to skin the link of the showDetails component (change the color of
the link and the font size)
I've managed to change the color by skinning .AFLinkForeground:alias but I
don't want to change every link.
af|showDetail:: prompt-link is not working for me at all.
Can someone
Hi Leonardo,
yes I found this, and as supposed before this actually helped. What
confused me, was the fact that myfaces uses the facelets error page.
Anyway, thank you for pointing this out.
bye, Michael
Leonardo Uribe schrieb:
Have you seen this:
We have a screen with a datatable, a Command Button and a SelectOneMenu
drop-down list. The user chooses an item from the drop-down, presses the
button to add this item to the datatable, and when the page re-displays the
datatable should have one more item, and the drop-down list should have one
Can you send your jspx page? Are you using PPR at all?
-Richard
On 4/10/08, wjones14 [EMAIL PROTECTED] wrote:
We have a screen with a datatable, a Command Button and a SelectOneMenu
drop-down list. The user chooses an item from the drop-down, presses the
button to add this item to the
Hi,
Skinning the link itself is quite nasty, because all the links in trinidad
also have the OraLink styleClass
that's because you can't use :link :active :hover pseudo-classes on
skin-selectors
so what you could do is something like this:
af|showDetail::prompt-disclosed .OraLink:link,
Hi Renzo, yes a simple invisible div or even span with the right id is
enough. PPR need that only to know where to place the refreshed item with
the specified id.
~ Simon
On Thu, Apr 10, 2008 at 12:17 PM, Renzo Tomaselli
[EMAIL PROTECTED] wrote:
Hi, I wonder if anybody can enlight me about
Thiago,
I'm not exactly sure what you're asking. Are you saying that you can't
switch tabs if you have not entered a proper value for a required field?
If so, then this is working as designed.
Scott
Thiago Santos da Costa wrote:
Hello dear!
I’m starting to use Myfaces Trinidad and I’m
Please note that this issue has already been addressed in the current
Tomahawk snapshot.
On Thu, Apr 10, 2008 at 6:46 AM, [EMAIL PROTECTED]
wrote:
Fix if anyone's interested :
*public* *class* HtmlDataList
*extends*org.apache.myfaces.custom.datalist.HtmlDataList {
*public* Object
With this code
h:outputLink
value=#{facesContext.externalContext.requestContextPath}/Print
target=_blank title=Print
h:graphicImage url=/images/22x22/printer.png title=Print alt=Print/
f:param name=type value=type1/
f:param name=id value=#{row.id}/
/h:outputLink
I've this uncorrect html output:
Panel group layout is pretty simple, and will do what you need.
Example:
tr:panelGroupLayout partialTargets=exampleButton
tr:commandLink rendered=#{buttonWasClicked} text=visible now!/
/tr:panelGroupLayout
tr:commandButton id=exampleButton text=Show it partialSubmit=true
Should have been partialTriggers.
This is just to illustrate the usage. Simon's reply is correct.
On Thu, Apr 10, 2008 at 11:42 AM, Andrew Robinson
[EMAIL PROTECTED] wrote:
Panel group layout is pretty simple, and will do what you need.
Example:
tr:panelGroupLayout
Hi Mirco,
set context-param org.apache.myfaces.STRICT_XHTML_LINKS to false in your
web.xml.
regards
christoph
On Thu, Apr 10, 2008 at 7:18 PM, Mirco Attocchi [EMAIL PROTECTED] wrote:
With this code
h:outputLink
value=#{facesContext.externalContext.requestContextPath}/Print
target=_blank
Why would this be needed?
amp;amp; is not valid xhtml, it should be amp; right?
On Thu, Apr 10, 2008 at 11:48 AM, Christoph Ebner
[EMAIL PROTECTED] wrote:
Hi Mirco,
set context-param org.apache.myfaces.STRICT_XHTML_LINKS to false in your
web.xml.
regards
christoph
On Thu, Apr 10, 2008
Thanks Christoph,
now it's ok.
Note:
I've this problem only in jsf pages running with Trinidad. I've made same
page without Trinidad and I've no render problem.
Mirco
On Thu, Apr 10, 2008 at 7:48 PM, Christoph Ebner [EMAIL PROTECTED]
wrote:
Hi Mirco,
set context-param
Sure, here's the jsp snippet containing the section I'm talking about:
**
t:saveState value=#{user_comp}/
h:dataTable id=userRolesTable
value=#{user_comp.userRoles}
var=role
Hi Markus,
Did you check the aliases to see if any of them could help?
http://myfaces.apache.org/trinidad/devguide/skinning.html#Alias_skinning_keys
http://myfaces.apache.org/trinidad/skin-selectors.html
Thanks,
Yee-Wah
Döring Markus wrote:
Hi all,
I’m currently skinning some input
Hi,
I've some trouble with special characters (i. e. german umlauts) and
tr:inputText. With IE 6, the characters will be converted to some unreadable
two-byte codes, but with FF2 it works well.
I'm using Trinidad 1.2.7, Sun JSF RI 1.2 and Facelets.
The head of the rendered page is
?xml
Hi Matthias,
You may have ISO-8859-1 set to JSP response. Instead, please use UTF-8,
like
jsp:directive.page contentType=text/html;charset=UTF-8/
Hope this helps
Kenneth
Mathias Walter wrote:
Hi,
I've some trouble with special characters (i. e. german umlauts) and
tr:inputText. With IE 6,
Hello,
I'm getting a NullPointerException when I add the MyFaces Extension
Filter to web.xml and navigate to a page with tomahawk tags that use the
filter.
java.lang.NullPointerException
Hi,
You may have ISO-8859-1 set to JSP response.
I don't use JSP, I'm using Facelets. But I give it a try and changed the XML
encoding. But it doesn't help.
As soon as I submit the form, the characters will be converted.
Why does this happens with IE and not with FF?
Ah, I forgot to mention
Use something like
.styleForSomeComponent {
-tr-rule-ref: selector(.styleForMyInputText);
}
regard
Bill
On Thu, Apr 10, 2008 at 3:51 PM, Yee-wah Lee [EMAIL PROTECTED] wrote:
Hi Markus,
Did you check the aliases to see if any of them could help?
after you manage to disable the detail column
it's really easy to have a link that does the same thing the original one
does
if you look a bit in the generated code you'll notice a pattern on the
onclick event:
to show:
return _submitHideShow('_idJsp1',1,'show','_idJsp12','_idJsp12dd2','2')
Can myfaces ppl come in and explain where it is store when the setting is in
server?
- Original Message -
From: Werner Punz [EMAIL PROTECTED]
To: users@myfaces.apache.org
Sent: 2008/04/10 9:47 PM ii
Subject: Re: How does t:saveState work?
Rogerio Pereira schrieb:
saveState never
The source is open... :)
On 4/10/08, jimmyau [EMAIL PROTECTED] wrote:
Can myfaces ppl come in and explain where it is store when the setting is in
server?
- Original Message -
From: Werner Punz [EMAIL PROTECTED]
To: users@myfaces.apache.org
Sent: 2008/04/10 9:47 PM ii
Subject: Re:
So this is the advantage and disadvantage of open source is it?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
I have following situation
JSF form1.xhtml has ui:include src=form2.xhtml /
form2.xhtml has Value-Binding to pojo i.e. model object
Now i wanna access these pojo i.e. model object in Form1Bean.java. I tried
doing this in two ways
1) retrieve the Component from Tree Model
2) using
Hi, Sir:
According to http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4
http://wiki.apache.org/myfaces/Trinidad_and_JDK_1%2e4
I use Retroweaver 2.0.5 and weaved Trinidad 1.0.7 jar file for JDK 1.4
successfully.
Then I put backport-util-concurrent.jar, retroweaver-rt-2.0.5.jar, and
Hi,
Normally JSF pages are package in a war file. Is it possbile to put a JSF
page in database, and loaded dynamically and rendered? What I like to achieve
is layout design that can be dynamically added.
Thanks for any idea.
Dave
Theoretically you could, but then you'd have to write it to the
filesystem and recompile. It would make for a very slow system.
Dave wrote:
Hi,
Normally JSF pages are package in a war file. Is it possbile to put a
JSF page in database, and loaded dynamically and rendered? What I
like to
48 matches
Mail list logo