Your last mail have the same thing! :confused:
Dont have nathing changed!!
Michał 'Gandalf' Stawicki wrote:
Yes, it was wrong. I have posted correct one, working. see my previous
mail.
On 18/08/07, ignicolist [EMAIL PROTECTED] wrote:
Hi again, Tks for your great example, i do every
for me.
On 18/08/07, ignicolist [EMAIL PROTECTED] wrote:
Your last mail have the same thing! :confused:
Dont have nathing changed!!
Michał 'Gandalf' Stawicki wrote:
Yes, it was wrong. I have posted correct one, working. see my previous
mail.
On 18/08/07, ignicolist [EMAIL
here!!
Michał 'Gandalf' Stawicki wrote:
http://www.mail-archive.com/users@myfaces.apache.org/msg41756.html
You copied whole class from this post and it still doesn't work? Worked
for me.
On 18/08/07, ignicolist [EMAIL PROTECTED] wrote:
Your last mail have the same thing
Any help please?
Tks!
ignicolist wrote:
Its what i am doing but don´t work!
an example:
DefaultScheduleEntry entry = new DefaultScheduleEntry();
entry.setId(1);
model.removeEntry(entry);
this code is supose to remove the entry from de model with id 1 no? i just
want
entry from the
database, using the supplied id, before you delete it?
Jurgen
Op donderdag 16-08-2007 om 14:01 uur [tijdzone -0700], schreef
ignicolist:
Its what i am doing but don´t work!
an example:
DefaultScheduleEntry entry = new DefaultScheduleEntry();
entry.setId(1
model.removeEntry(entry);//*2
model.refresh();
}
this is was the method that remove a selected entry from the example in
myfaces, so i change *1 and *2 that was supose to work no? but dont work!
Any sujesction?
ignicolist wrote:
Yes, because the entry
);
ScheduleEntry foo2 = new MyScheduleEntry(bar);
model.addEntry(foo);
model.removeEntry(foo2); // wrong
mode.removeEntry(foo); //ok
On 17/08/07, ignicolist [EMAIL PROTECTED] wrote:
Yes, because the entry when i select it remove with
model.removeSelectedEntry(); but if i specify his
'Gandalf' Stawicki wrote:
I wrote the code in 'on the fly' just to give you idea how should it
look, I didn't try it
On 17/08/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote:
Simply casting it should be fine:
for(ScheduleEntry e : (TreeSetScheduleEntry)entries)
On 17/08/07, ignicolist
the
entries.
ignicolist wrote:
Well i am a litle noob to all these, so i cant put your ideas to work!
:-((
So i am using SimpleScheduleModel, so you say to create that class in the
component Schedule or in my aplication?
Because i create the class in my aplication and don´t work. Dam
;
}
private TreeSetScheduleEntry entries;
}
On 17/08/07, ignicolist [EMAIL PROTECTED] wrote:
Sorry to bee so boring and noob, but i realy need to do this, i need a
funcionality to show and occult calendars, and i have a entry associate
to a
calendar, so when i need occult the calendar i need
;
}
return false;
}
private TreeSetScheduleEntry entries;
}
On 17/08/07, ignicolist [EMAIL PROTECTED] wrote:
Sorry to bee so boring and noob, but i realy need to do this, i need a
funcionality to show and occult calendars, and i have
;
}
return false;
}
}
On 17/08/07, ignicolist [EMAIL PROTECTED] wrote:
i have the class correct without errors. But when i call it show a blank
page!
ExtendedScheduleModel x = new ExtendedScheduleModel();
x.Remove2(8);
I call the class like that. I
. In that removeEntry
method, you just delete it with your Hibernate DAO.
You could of course add a method removeEntry(String/Long/Whatever id)
that does all of this.
Jurgen
Op donderdag 16-08-2007 om 11:20 uur [tijdzone -0700], schreef
ignicolist:
Hi to all, i want to eliminate a especific
Hi, i have this code:
h:selectOneRadio id=mode value=#{scheduleSettings2.mode}
f:selectItem itemValue=0 itemLabel=day/
f:selectItem itemValue=1
itemLabel=workweek/
f:selectItem itemValue=2
you can get param value like this:
this.operation =
(String)getApplication().createValueBinding(#{param.operation}).getValue(facesContext);
I hope it will help you.
- Mensaje original
De: ignicolist [EMAIL PROTECTED]
Para: users@myfaces.apache.org
Enviado: jueves, 9 de
Hi, i need some help, i have a aplication in jsf, with a sql database using
hibernate, and i want implement a login and logout, but i dont know how, i
google much, but all the solutions are so complicated. so i have a example
with a filter, and a put that filter block the pages for non log
is if you could send to me i would apreciate very much.
TKS
Anton Gavazuk wrote:
What you mean - filter for sessions?
I can send you some pieces of my own app with login\logut funcs
2007/8/8, ignicolist [EMAIL PROTECTED]:
Hi, i need some help, i have a aplication in jsf
this approach. unfortunately
I can't share my code.
On 08/08/07, ignicolist [EMAIL PROTECTED] wrote:
is if you could send to me i would apreciate very much.
TKS
Anton Gavazuk wrote:
What you mean - filter for sessions?
I can send you some pieces of my own app with login\logut funcs
in if he wants to access pages that need hi to be
logged in, and redirect to login page if he is not.
there were some good articles describing this approach. unfortunately
I can't share my code.
On 08/08/07, ignicolist [EMAIL PROTECTED] wrote:
is if you could send to me i would
is logged in if he wants to access pages that need hi to be
logged in, and redirect to login page if he is not.
there were some good articles describing this approach. unfortunately
I can't share my code.
On 08/08/07, ignicolist [EMAIL PROTECTED] wrote:
is if you could send to me i would
Tks kito, and good Book You write. Congr!
kito99 wrote:
-Original Message-
From: ignicolist [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 08, 2007 10:28 AM
To: users@myfaces.apache.org
Subject: RE: JSF Authentication
My way is like in the book: JavaServer Faces JSF
://www.acegisecurity.org/ If you should need help with this I
can help.
Martin - http://www.martinahrer.at/blog/
ignicolist wrote:
Hi, i need some help, i have a aplication in jsf, with a sql database
using hibernate, and i want implement a login and logout, but i dont know
how, i google much
ignicolist:
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
,Date) and loadDayAttributes(Date). In the first method,
you
load the entries for the specified period of time from the database.
Jurgen
2007/7/31, ignicolist [EMAIL PROTECTED]:
Hi, i am making a project using myfaces schedule. and everything is
working
fine, but my problem is how i
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 loadentries in SimplesScheduleModel.java, can i do this?
Is
this correct? Because it give me error. I want to know
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 loadentries in SimplesScheduleModel.java, can i do this?
Is
this correct? Because it give me error. I want to know
=markup
Make sure that the id property of each ScheduleEntry is unique. You can
use the database primary key for this.
Jurgen
Op woensdag 01-08-2007 om 06:42 uur [tijdzone -0700], schreef
ignicolist:
Hi, first of all tks for your patience to me.
i have this in loadEntries:
private
Hi, i am making a project using myfaces schedule. and everything is working
fine, but my problem is how i coud make the the entries of schedule could be
read by a database?
And how to put the views day,week and moth using the same model? Because if
i use diferent models the entries in day view
org.apache.myfaces.custom.schedule.model.AbstractScheduleModel for
convenience. Now you just need to implement the methods
loadEntries(Date,Date) and loadDayAttributes(Date). In the first method,
you
load the entries for the specified period of time from the database.
Jurgen
2007/7/31, ignicolist [EMAIL PROTECTED]:
Hi, i
Database in Schedule Tomahawk
Search:
Hi, i am very new jsf an java, so i am making a project using schedule from
tomahawk myfaces, and i need some help in puting a database to read de
entries and save. i am using hibernate and mysql.
If someoane have any examples to help me...i apreciate.
Tks
30 matches
Mail list logo