Sorry, it wasn't Cagatay of course, it was Jurgen who added the
template rendering stuff.
regards,
Martin
On 8/1/07, Martin Marinschek [EMAIL PROTECTED] wrote:
Hi Svilen,
obviously Cagatay had enabled the template rendering by default,
whenever the sandbox was added to an application. I
Hi Svilen,
obviously Cagatay had enabled the template rendering by default,
whenever the sandbox was added to an application. I suspect we should
definitely do more testing before doing so.
Can you open a jira-issue with the exception stack-trace you've
encountered? In the meantime, I've
Martin,
Thank you for the quick response! I'll try your quick fix first thing
tomorrow morning when nightly build updates. Here is the ticket in the
JIRA:
https://issues.apache.org/jira/browse/TOMAHAWK-1070
Let me know if I should update/provide additional information.
Regards,
Svi
2007/8/1,
Is there somewhere a template for this license grant?
Helmut
- Original Message -
From: Bernd Bohmann [EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Sent: Tuesday, July 31, 2007 6:24 PM
Subject: Re: [Tobago] How to provide source code modifications?
Hello Helmut,
Hi, this is my loadentries in SimplesScheduleModel.java, can i do this? Is
this correct? Because it give me error. I want to know if this is the
correct thing to do.
protected Collection loadEntries(Date startDate, Date endDate)
{
Session session =
I use the following code in my jsp page..:
htm:iframe src=#{sessionBean.vareURL} width=100% height=500
scrolling=auto/
and the iframe show what it should... The problem is that whereever I put this
statement in my jsp code, the
rendenering of the page stops after the iframe is shown... How do
Hmm, I think the getCurrentSession() will fail, because normally there
is no hibernate session when you start a request. Also the transaction
stuff isn't required, since it is only a read operation.
Jurgen
Op woensdag 01-08-2007 om 03:00 uur [tijdzone -0700], schreef
ignicolist:
Hi, this is my
Hi !!!
My requirement is to provide tooltip for every option in the
SelectOneMenu because label of option is so large
that its not possible to provide such a large size SelectOneMenu .So the
label is cutting. Thats why i need tooltip to show
the whole value on mouse over of the options in
Try using ui:include component.
~Sandeep
-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 5:16 PM
To: users@myfaces.apache.org
Subject: Problem using iframe?
I use the following code in my jsp page..:
htm:iframe
Hi, first of all tks for your patience to me.
i have this in loadEntries:
private ArrayList scheduleItems = new ArrayList();
if(scheduleItems.size() =1){
scheduleItems.clear();
}
if(scheduleItems.size() = 1){
scheduleItems.clear();
}
There's two ways, both are poor man's solution though.
1. Do a sendRedirect on the same page in your returnListener (you'll lose
the messages and request scoped variables though, like any redirect);
2. Set a partialTriggers on the first component under trh:body (most likely
tr:form)
Regards,
Can someone help me to understand the following piece of code.
1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler
base) constructor instead of default NavigationHandlerImpl() why?
2. JSF also will send the instance of NavigationHandlerImpl as parameter
when it calls
Hello All,
I would like to know if anyone has any idea to refresh the complete page
on returning from a dialog window.
I have a tr:commandlink, on click of which a dialog window opens up, the
necessary operation is performed and then the dialog is closed. At this
point, I want to refresh the
Hello Helmut,
in the attach file dialog is a checkbox for this.
Bernd
Helmut Swaczinna wrote:
Is there somewhere a template for this license grant?
Helmut
- Original Message - From: Bernd Bohmann
[EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Sent: Tuesday, July
Hello list,
I use spring webflow together with tobago 1.0.11 on java 1.4.
I have a sheet:
tc:sheet
value=#{tableSearchCriteria.tableList}
columns=100px;70px;70px;70px;* var=row
tc:column
Hi Helmut :-),
Sorry Leo, I've forgot the third possibility which is explained by Helmut.
In any case, you get the link current row through UIData.getRowData().
Regards,
Zied
2007/8/1, Helmut Swaczinna [EMAIL PROTECTED]:
Hi Leo,
I use this line of code to get the param in the
Hi, first of all tks for your patience to me.
i have this in loadEntries:
private ArrayList scheduleItems = new ArrayList();
if(scheduleItems.size() =1){
scheduleItems.clear();
}
if(scheduleItems.size() = 1){
scheduleItems.clear();
}
Thanks Simon, I tried the option-2. However, some components like
f:param were not getting updated. Not sure why?
Example (or some piece of code) for option-1 will be appreciated!
Thanks.
~Sandeep
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent:
Hi Leonhard,
you need the value of the parameter in your action?
Implement your actionListener like this:
public void test(ActionEvent event) {
String value =
(String)ComponentUtil.findParameter(event.getComponent(),
tableNameId);
...
}
Regards,
Volker
2007/8/1, Leonhard
to make it clear,
inside the handleNavigation(...) you can do soemthing like this, to
override the default behavior:
...
@Override
public void handleNavigation(FacesContext context, String fromAction,
String outcome) {
if(home.equals(outcome))
{
String viewId =/start.xhtml;
Hi Werner,
Bruno solved my problem yesterday:
- I had a PageNotFound.jsp page but as you see, forgot to call it
*.xhtml. (inherited extension of last project...)
- The path in my faces-config was /resources/pages instead of
/WEB-INF/resources/pages
These 2 combined give: the loginPage gave a
Hi,
i suppose to don't use binding if you can avoid it. At least you
should never use a binding pointing to a session scoped bean.
Regards,
Volker
2007/8/1, Zied Hamdi [EMAIL PROTECTED]:
Hi Leo,
You sould use one of these two
1. tc:sheet binding=tableSearchCriteria.table
2.
so, your system is now running?
Do you mind to put together a wiki page ?
thx,
Matthias
On 8/1/07, Wolf Benz [EMAIL PROTECTED] wrote:
Hi Werner,
Bruno solved my problem yesterday:
- I had a PageNotFound.jsp page but as you see, forgot to call it
*.xhtml. (inherited extension of last
Hi wolf, just asking conincidentally did you call the page with xhtml
extension, if yes, call it with the jsf extension, otherwise you wont
trigger jsf or the facelets.
Cheers
Werner
Wolf Benz schrieb:
Hi Bruno,
No, it's not, I just stripped a little too much in teh copy-paste to mail. :-)
On 8/1/07, MichaelWa [EMAIL PROTECTED] wrote:
Can someone help me to understand the following piece of code.
1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler
base) constructor instead of default NavigationHandlerImpl() why?
2. JSF also will send the instance of
Aha, I see your problem: you are returning a list of SelectItems, which
is wrong: you need a list of ScheduleEntry. You can find the source of
ScheduleEntry here:
Hello,
However, some components like f:param were not getting updated. Not sure
why?
Strange...
Example (or some piece of code) for option-1 will be appreciated!
In the page:
tr:commandButton partialSubmit=true useWindow=true returnListener=#{
myBean.redirectToSelf}/
In MyBean.java
public void
I also encounter a problem like this :i request the page,shou correct,when i
submit the page,rase an error.
jsf page:
h:selectManyListbox id=teams value=#{UserForm.userTeamIds}
f:selectItems value=#{UserForm.userTeamMap}/
/h:selectManyListbox
backing bean :
public class UserForm {
I realized the solution with the actionListener.
This are short snapshots of the solution:
I need the parameter as input parameter for a spring subflow with the
following definition:
subflow-state flow=describeTable-flow id=describeTable
attribute-mapper
input-mapper
Hi Volker,
I didn't know about that! does a session scoped bb hold old bindings, or why
shouldn't we use binding in that case?
Is it because of the tree view serialization when dormant?
I though binding is the best way to be in touch with the view and get user
entries efficiently...
Regards,
Serialize the model and the state, but not the component.
On 8/1/07, kewldude [EMAIL PROTECTED] wrote:
This is my situation, I have a t:tree2 component that has a treeBacker
class at the back end. I'm using t:saveState to save the state of the
treeBacker object. My problem right now is I
ich habe eine Liste, die 30 Objekten enthällt. ich darstelle sie mit
hilfe von t:dataTable und lässe 10 Objekte pro Seite anzeigen und mit
hilfe von t:datascroller kann ich durch die Seiten navigieren. das
läuft reibungslos. meine List ist vom Typ Arraylist.
I've got a List with 30 Objects
Hi, I just discovered that there are a number of names which cannot be
used for binding iterating component variables - such as in tr:table.
In short, I needed to render a set of parameters in a tr:table, so that
it seemed obvious to me setting var=param.
But the table was rendered empty, event
That's a nice issue, and we have no way to provide all the reserved names
either... I guess the best we could do is alter the parameter description to
mention that it must not take the value of any predefined object and should
not take the name of a managed bean either.
Anyone see a better
I found the problem, it was a bug in htmLib but thx...
BTJ
On Wed, 1 Aug 2007 18:38:23 +0530
sandeep gururaj [EMAIL PROTECTED] wrote:
Try using ui:include component.
~Sandeep
-Original Message-
From: Bjørn T Johansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007
Well - I admit was a bit unlucky to meet one of them - but after all
calling "param" a parameter shouldn't be too naif.
In the context of iterating components - param, header, cookie and view
might be dangerous names. All the others are quite unlikely to be used
this way.
Hopefully this game
Well, we do know the predefined objects:
pageContext
servletContext
session
request
response
param
paramValues
header
headerValues
cookie
initParam
pageScope
requestScope
sessionScope
applicationScope
facesContext
view
Plus in Trinidad
requestContext
pageFlowScope/processScope
All of these are
Well, I know from earlier tests that setting var=person if you have
a scoped bean named person will bring you into trouble as well - so
this is not only related to the predefined values.
regards,
Martin
On 8/1/07, Renzo Tomaselli [EMAIL PROTECTED] wrote:
Well - I admit was a bit unlucky to
Well, we could have a Set for the JSP predefined values as well as JSF ones,
but the problem is still going to happen when/if there's another unknown
Variable/ELResolver installed. So, we do know the standard predefined
objects, but not library predefined ones (except for Trinidad of course),
Just use:
private transient HtmlTree tree;
Since the component is saved in the component tree, there is no need
to serialize it with the backing bean.
On 8/1/07, kewldude [EMAIL PROTECTED] wrote:
Hi Andrew,
I dont know if I understood you, but this is how my code looks right now.
t:tree2
Hi again, but i cant make it! :-((
i have this:
private ArrayList scheduleItems = new ArrayList();
List scheduleResult = session.createQuery(select s.id, s.description,
s.comments, s.endTime, s.startTime, s.subtitle, s.title, s.isAllDay from +
Schedule as s).list();
(This relates to Trinidad/ADF, but may be of interest to general users)
I have a table backed by a list. Each row in the table becomes a link
and all the links fire the same action method in my backing bean. I
would like a way to know which row in the list I clicked the link of
af:table
Hi,
Can I use binding attribute of tomahawk datatable to iterate over the data.
I have the data in arraylist. I am thinking of using binding attribute (if
possible) to show the data so that I dont have to repopulate arraylist
between multiple requests.
Thanks in advance!
--
View this message
Hi!
I have the following problem: I have to evaluate values which have been
set using JSTL-Core-tags like set or forEach using JSF-Tags like
outputText to output them. The situation is like this:
-- test.jsp:
!-- ... --
jsp:useBean id=bean class=de.fhbswf.emaex.web.TestBean /
c:set var=test
I'm an idiot. I have since learned that getRowData is the correct method
to use, and sure enough there is a .getRowData() on that line, after
about 200 spaces, so I didn't see it.
Here's to using code formatters.
From: Hannum, Daniel [mailto:[EMAIL
When the page loads the textfield is disabled i.e. non-editable. It should be
editable only thru onchange event of other component
Here is the snippet
h:selectOneMenu id=assetMgmt value=#{deviceBean.selectedAsset}
f:selectItem itemLabel=
By default the JSTL c:set tag stores the attribute in the PAGE scope.
However, JSF does not know about the PAGE scope. If you really need
to use c:set then specify: scope='REQUEST'.
-Bryan
Christian Nolte wrote:
Hi!
I have the following problem: I have to evaluate values which have been
set
Hi
I am trying to create a JSF DataTable with a
Scroll Bar Option (instead of Pagination Control). If
i place the datatable in between div tag for example
DIV style=overflow:auto; width:100%; height:200px
datatable/datatable
/div
tags it supports scrolling. But I am unable to fix the
table
Hello all,
I'm getting a strange JavaScript error with the latest 1.2 build (cannot
really test it with 1.1) with client validation disabled. I cannot chose a
date from the date picker because of the following JavaScript error that
happens in both MSIE 7 and Firefox 2:
_dfs is not defined (line
do you have any faces messages as a result of changing the menu
(conversion error, validation message, etc.)?
On 8/1/07, bansi [EMAIL PROTECTED] wrote:
When the page loads the textfield is disabled i.e. non-editable. It should be
editable only thru onchange event of other component
Here is
Thank you ... that helps... Michael
Matthias Wessendorf-4 wrote:
On 8/1/07, MichaelWa [EMAIL PROTECTED] wrote:
Can someone help me to understand the following piece of code.
1. I noticed that JSF will call NavigationHandlerImpl(NavigationHandler
base) constructor instead of default
Hmmm, ok I solved my problem. It happened because I hooked all the
getConverter methods and stupidly returned null for the date component.
However, I don't think client validation code should fail like this,
although I don't have any idea how to make it react better...
Any opinion?
Simon
On
Hi,
There's an example datatable with builtin scrolling functionality here,
maybe it helps;
http://www.nightdev.devisland.net/yui4jsf-examples/datatableScrollable.jsf
Regards,
Cagatay
On 8/1/07, Sharath Ambati [EMAIL PROTECTED] wrote:
Hi
I am trying to create a JSF DataTable with a
Hi Everyone,
I am interested in getting more information about the ConversationTag
stuff that I saw on the components Wiki page
(http://wiki.apache.org/myfaces/MyFacesComponents). The description of
what it does is exactly the kind of thing I need to solve a problem in
my application - I need
Hello!
I'm currently skinning some applications using Trinidad and I have a
problem. Currently if I want a change in my skin, I have to copy the updated
CSS file in every web-module. I'd like to avoid this having only one CSS
file that can be used by every module. For example, using something
Hi Roger,
as Mario is on vacation, may I point you to Apache MyFaces Orchestra -
the successor of the s:conversation-tags, which uses Spring, though.
http://myfaces.apache.org/orchestra/
regards,
Martin
On 8/1/07, Roger Alix-Gaudreau [EMAIL PROTECTED] wrote:
Hi Everyone,
I am
How is the logging level for MyFaces set? I only want to print SEVERE
not WARNINGS and INFO.
Thanks
Kevin
begin:vcard
fn:Kevin Gutch
n:Gutch;Kevin
org:Protech Products, Inc;IT
adr:;;511 Central Park Drive;Sanford;FL;32771;United States
email;internet:[EMAIL PROTECTED]
title:Interactive
Hi Kevin,
include a log4j.properties file in the root-directory of your class-tree.
In include a sample log4j-file here - which will print only
log-statements of a level error or higher.
regards,
Martin
#for debugging log4j itself
log4j.debug=false
#Logger-Priorities:
#DEBUG lowest, prints
Hi all,
I am trying to install Trinidad for the first time and am running into
problems whenever I try to add trinidad-impl-*.jar. I have tried both
trinidad-1.0.1 and trinidad-1.2.1 with the same results...Tomcat gives me
an error when attempting to deploy my application.
Does anyone have an
ok thanks. Will do
Martin Marinschek wrote:
Hi Kevin,
include a log4j.properties file in the root-directory of your class-tree.
In include a sample log4j-file here - which will print only
log-statements of a level error or higher.
regards,
Martin
#for debugging log4j itself
Thanks very much. You solved my problem:-)
~Sandeep
From: Simon Lessard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 8:10 PM
To: MyFaces Discussion
Subject: Re: [Trinidad] Page refresh on return from dialog
Hello,
However, some components
What version of MyFaces Core are you using? Also,
are you behind a firewall?
-- Adam
On 8/1/07, Jessica Johnson [EMAIL PROTECTED] wrote:
Hi all,
I am trying to install Trinidad for the first time and am running into
problems whenever I try to add trinidad-impl-*.jar. I have tried
both
62 matches
Mail list logo