Hi there,
unfortunately I'm no longer able to reply to
http://groups.google.com/group/castle-project-users/browse_thread/thread/48a7b13d7f11b0b1/464bfdd016ad710a
so I have to start a new thread.
hammet wrote
Stub implementations of a repository needs to set the Id.
In-memory implementations
That's what I call a precise reply. Thank you! Now I've written a
filter that refreshes the menu item after the localization filter.
On 19 Mai, 16:59, Colin Ramsay colinram...@gmail.com wrote:
Why not just do everything in the filter then?
On Tue, May 19, 2009 at 3:56 PM, Flominator flomina
Hi there,
my aim: Localized navigation.
I tried it the following way:
- wrote an object ViewMenuItem that basically consists of strings
representing links and label for the links
- get the label texts from a resource manager
- display the ViewMenuItem and it's siblings in the view
Everything
Hi there,
is there any way to check the contents of the 1st level cache? I'd
like to find out what/how many objects are cached there.
Thanks,
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project
when it is an identity field. But it is no complete flush, so there is
for example no cascade. The common symptom is that you have to call
SaveAndFlush() for associated entities which should normally be
handled by cascading, but are not due to the early insert.
-Markus
2009/5/8 Flominator
= ActiveRecordMediator.GetSessionFactoryHolder();
var nHibernateConfiguration = holder.GetConfiguration( typeof(
ActiveRecordBase ) );
nHibernateConfiguration.GetProperty( dialect ) );
Flominator wrote:
Hi all,
I want to check, whether the database configured at my app.config file
is Firebird or not. So I thought I'd simply
Hi again and sorry for posting the next one,
what exactly are the consequences of the inverse property mentioned at
what exactly does the page
http://www.castleproject.org/ActiveRecord/documentation/trunk/usersguide/relations/hasmany.html
?
Thanks,
Flo
on Firebird or MSSQL
server.
Thanks,
Flo
On May 4, 6:16 pm, Markus Zywitza markus.zywi...@gmail.com wrote:
Hi Flo
2009/5/4 Flominator flomina...@gmx.net 1. I have one TransactionScope for
every row of data, which means 30
measurands (one for each channel). The method that opens and disposes
, NH assumes it has to update the
entity.
2. Are you using IDENTITY fields?
-Markus
2009/4/29 Flominator flomina..@gmx.net
Hi Markus,
thanks for your reply. I will try it, although my boss has his doubts,
since the domain logic requires it the other way round.
We have profiled
Hi there,
do you have any best practices about profiling AR applications? I've
now tried out ANTS, AutomatedQA and Rational Quantify, but got none of
them working ...
ANTS doesn't seem to show enough information, AutomatedQA closes the
application immediatelly and Quantify keeps on throwing
Hi there,
I use AR to store measurands which are in channels which are in a
measurement:
Part of Measurement.cs:
[HasMany(typeof(Channel), Table = Channels, ColumnKey =
measurementid, Lazy=true, Cascade =
ManyRelationCascadeEnum.AllDeleteOrphan)]
private IListChannel Channels
Part of
What should it be then?
On Apr 21, 9:47 am, Ayende Rahien aye...@ayende.com wrote:
Flominator,A collection that large shouldn't be a collection
On Tue, Apr 21, 2009 at 10:42 AM, Flominator flomina.@gmx.net wrote:
--~--~-~--~~~---~--~~
You received
Isn't this solution one directional?
On Apr 21, 10:10 am, Ayende Rahien aye...@ayende.com wrote:
Remove the collection, make the association one directional
On Tue, Apr 21, 2009 at 11:05 AM, Flominator flomina..@gmx.net wrote:
What should it be then?
On Apr 21, 9:47 am, Ayende
What do I have left after removing HasMany?
Is there any documentation on this?
On Apr 21, 10:18 am, Ayende Rahien aye...@ayende.com wrote:
Not if you have a collection of them.Remove the HasMany, basically
On Tue, Apr 21, 2009 at 11:13 AM, Flominator flomina..@gmx.net wrote:
Isn't
I'm also curious to know why you would ever want logging in your tests?
Because I sometimes do not only want to find out THAT there goes
something wrong, but also WHEN and WHERE it goes wrong.
Since I'm quite new to all of this, it might be the wrong approach,
though.
combination should
be unique.
-Markus
2009/4/1 Flominator flomina.@gmx.net
Hi,
I'm talking about the following database structure:
MEASUREMENTS
|
--CHANNELS
|
--- MEASURANDS
CHANNELS HasMany MEASURANDS via channel_id (int
Hi there,
I have some problems with BaseControllerTest vs. Log4net:
In my application everything works fine:
Log4net is configured and logs everything to a file. The Logger
property of the controllers is set at my BaseController class at
Initialize(). The model classes get theirs manually in
2009/3/6 Flominator flomina..@gmx.net
http://support.castleproject.org/projects/AR/issues/view/AR-ISSUE-237141
Thanks.
Do you want me to help with the id thing?
On 3 Mrz., 16:55, Markus Zywitza markus.zywi..@gmail.com wrote:
I added it to the documentation issue at donjon
; }
}
}
}
On Fri, Feb 20, 2009 at 9:37 AM, Flominator flomina..@gmx.net wrote:
Hi all,
the pagehttp://www.castleproject.org/components/validator/index.html112
mentions attribute driven syntax, but I can't find any attributes in
the sample domain object. May there be something missing
http://support.castleproject.org/projects/AR/issues/view/AR-ISSUE-237
Thanks.
Do you want me to help with the id thing?
On 3 Mrz., 16:55, Markus Zywitza markus.zywi...@gmail.com wrote:
I added it to the documentation issue at donjon.
-Markus
2009/3/3 Flominator flomina.@gmx.net
@eyal: It seems you can replace HasLast by TotalPages:
#if($items.HasPreviousPage ) $PaginationHelper.CreatePageLink( 1,
first ) #end
#if(!$items.HasPreviousPage ) first #end
#if($items.HasPreviousPage ) | $PaginationHelper.CreatePageLink
( $items.PreviousPageIndex, prev ) #end
was a regular DOM function. Apparently the correct call for
prototype.js is Event.stop(evnt);
On Feb 27, 11:07 am, Flominator flomina.@gmx.net wrote:
Hi there,
I tried downloading the example
fromhttp://using.castleproject.org/display/Contrib/Menu+Component88.
Finally I got
Hi,
some days ago I found out, that Castle doesn't care, if setters,
getters or even whole properties were marked as private. Now I wonder
why all tutorials on the Castle pages don't declare the setters of id
fields as private? Why would anyone want to allow to change the id
from within code?
Hi there,
I tried downloading the example from
http://using.castleproject.org/display/Contrib/Menu+Component.
Finally I got it running. I was even able to include it into my
project.
But everytime I click a node, I get a JS runtime error that tell me,
that the object evnt doesn't support
Hi all,
the page http://www.castleproject.org/components/validator/index.html
mentions attribute driven syntax, but I can't find any attributes in
the sample domain object. May there be something missing on this page?
Regards,
Flo
--~--~-~--~~~---~--~~
You
there? I've not got
VS
open in front of me so that's a question as much as an answer ;)
On Tue, Feb 10, 2009 at 7:59 AM, Flominator flomina..@gmx.net wrote:
Hi there,
is there any way to fill some fields in the PropertyBag within my
BaseController from which all of my controllers
Hi there,
yesterday I tried to implement log4net for my controllers. As expected
I ran into some problems:
1. When simply using Logger.Debug(bla bla); the property Logger at
my controller refers to Castle.Core.Logging.NullLogger
2. When trying the suggestion from
Hi Nicholas,
I've upgraded my current case study to trunk some weeks ago. Worked
quite well when following
http://codeprairie.net/blogs/chrisortman/archive/2008/01/09/catching-up-with-castle-trunk-4710.aspx
Best regards,
Flo
On 10 Feb., 00:21, Nicholas Piasecki nicho...@piasecki.name wrote:
Hi there,
is there any way to fill some fields in the PropertyBag within my
BaseController from which all of my controllers are inherited? I want
to have those feeds available in every Action of every Controller
unless I change it there.
BaseController itself inherits from
of the primarykey thing you are trying to add to the nested
object..
On Feb 6, 11:42 am, Flominator flomina..@gmx.net wrote:
Not quite sure what your plan is :)
My teacher wants me to implement the value object pattern.
When I tried putting only [Nested] in SystemUser and putting
mId; }
set { mId = value; }
}
Because if i remember correctly, the value you put into the Nested
attribute is used as a prefix for column names.
/Mark
On Feb 6, 8:24 am, Flominator flomina..@gmx.net wrote:
I uploaded it to this
google
Hi there,
I'm trying to use a nested object as primary key. When I try to
initialize Active Record I get
Could not determine type for: Messweb.Models.SystemUser.SystemUserId,
for columns: NHibernate.Mapping.Column(Id)
Is there a way to do this or are my attempts futile?
Thanks in advance,
Tried it with Selenium by following
http://danbunea.blogspot.com/2007/01/test-first-web-applications-tdding.html
and found out that you better put mSelenium.Start() into [SetUp]
instead of [SetUpFixture]. Else every test after the first one will
fail with sessionId should not be null; has this
Now using build 1025 and it works :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this
Hi again,
since I'm quite new to VS08, C# and Castle I started programming by
linking to the dll files at C:\Programm Files\Castle Project. Today
I wanted to do it better by creating a lib folder within the project
directory.
I seemed to have found all files necessary, all unit tests were
Forgot to mention: using RC3
Sorry,
Flo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from
It worked. Thanks, Mark!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send
Hi there,
while experimenting with Monorail during the last month I received a
lot of help at the forum, mainly by user mausch. Now I've finally read
the text below the forum link (which I always thought to be some kind
of disclaimer) and so I found this mailing list.
I'd like to ask a question
38 matches
Mail list logo